diff --git a/app/Controllers/Prints.php b/app/Controllers/Prints.php index 2a3c075..8f35811 100644 --- a/app/Controllers/Prints.php +++ b/app/Controllers/Prints.php @@ -27,8 +27,8 @@ class Prints extends BaseController { $pathNetworkFolder = 'L:/Sampling_Labels/'; // Buka Mapping Drive PC Sampling - exec('net use S: \\\\10.148.5.20\\Labelshare /user:Administrator 2>&1', $output, $return_var); - $pathNetworkFolder = 'S:/Sampling_Labels/'; + // exec('net use S: \\\\10.148.5.20\\Labelshare /user:Administrator 2>&1', $output, $return_var); + // $pathNetworkFolder = 'S:/Sampling_Labels/'; $time = microtime(true); $logTime = date('d-m-Y_H_i_s', $time) . sprintf('_%03d', ($time - floor($time)) * 1000); @@ -38,18 +38,18 @@ class Prints extends BaseController { $sampleLable ="N OD q400 -Q224,24+0 +Q200,10+0 I8,A,001 D10 -A2,2,0,2,1,1,N,\"MRS.MIKAELA LETTA XABRIANA\" -A2,25,0,2,1,1,N,\"M 22Y\" -A2,60,0,2,1,1,N,\"SERUM\" -A290,60,0,2,1,1,N,\"24020840\" -B110,30,0,1,2,8,70,N,\"24020840\" -A2,110,0,2,1,1,N,\"PSA,HDL,LDL,BUN,SGOT\" -A2,131,0,1,1,1,N,\"LIS : 0978658\" -A2,145,0,1,1,1,N,\"HIS : 1252434\" -A270,140,0,2,1,1,N,\"02-12-2024\" +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 "; @@ -66,7 +66,7 @@ P1 } // Hapus Koneksi - exec('net use S: /delete 2>&1', $output, $return_var); + exec('net use L: /delete 2>&1', $output, $return_var); return $this->response->setJSON( [ 'message' => "Print Berhasil",