Printer Zebra Sampling

This commit is contained in:
mikael-zakaria 2024-12-02 19:58:45 +08:00
parent a08eb80886
commit a4330028a3

View File

@ -34,11 +34,32 @@ class Prints extends BaseController {
$logTime = date('d-m-Y_H_i_s', $time) . sprintf('_%03d', ($time - floor($time)) * 1000);
$filename = "sample_".$logTime;
$sampleLable ="N
// Printer Posteck
// $sampleLable ="N
// OD
// q400
// Q200,10+0
// I8,A,001
// D10
// A4,3,0,2,1,1,N,\"Mr.I Putu Agus Ariesta Adi Wawan\"
// A4,25,0,2,1,1,N,\"M 29Y\"
// A4,55,0,2,1,1,N,\"SAMPLE\"
// A4,75,0,2,1,1,N,\"Chapter\"
// B149,35,0,1,3,8,70,N,\"24020840\"
// A199,110,0,2,1,1,N,\"LAB 24020840\"
// A4,140,0,2,1,1,N,\"UH : 1B094943\"
// A4,160,0,2,1,1,N,\"BV : BV035725\"
// A195,156,0,2,1,1,N,\"03/12/2024 07:10\"
// P1
// ";
// Printer Zebra
$sampleLable ="N
OD
q400
Q200,10+0
Q185,10+0
I8,A,001
D10
A4,3,0,2,1,1,N,\"Mr.I Putu Agus Ariesta Adi Wawan\"
@ -53,7 +74,6 @@ A195,156,0,2,1,1,N,\"03/12/2024 07:10\"
P1
";
$fullPath = $pathNetworkFolder . $filename;
// Tulis file ke folder tujuan