Printer Zebra Sampling_2
This commit is contained in:
parent
a4330028a3
commit
51b64e3f9f
@ -23,12 +23,12 @@ class Prints extends BaseController {
|
|||||||
// $sample = (string) $sample;
|
// $sample = (string) $sample;
|
||||||
|
|
||||||
// Buka Mapping Drive PC LAB
|
// Buka Mapping Drive PC LAB
|
||||||
exec('net use L: \\\\10.148.5.20\\Labelshare /user:Administrator 2>&1', $output, $return_var);
|
// exec('net use L: \\\\10.148.5.20\\Labelshare /user:Administrator 2>&1', $output, $return_var);
|
||||||
$pathNetworkFolder = 'L:/Sampling_Labels/';
|
// $pathNetworkFolder = 'L:/Sampling_Labels/';
|
||||||
|
|
||||||
// Buka Mapping Drive PC Sampling
|
// Buka Mapping Drive PC Sampling
|
||||||
// exec('net use S: \\\\10.148.5.20\\Labelshare /user:Administrator 2>&1', $output, $return_var);
|
exec('net use S: \\\\10.148.3.169\\Labelshare /user:Administrator 2>&1', $output, $return_var);
|
||||||
// $pathNetworkFolder = 'S:/Sampling_Labels/';
|
$pathNetworkFolder = 'S:/Sampling_Labels/';
|
||||||
|
|
||||||
$time = microtime(true);
|
$time = microtime(true);
|
||||||
$logTime = date('d-m-Y_H_i_s', $time) . sprintf('_%03d', ($time - floor($time)) * 1000);
|
$logTime = date('d-m-Y_H_i_s', $time) . sprintf('_%03d', ($time - floor($time)) * 1000);
|
||||||
@ -86,7 +86,7 @@ P1
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Hapus Koneksi
|
// Hapus Koneksi
|
||||||
exec('net use L: /delete 2>&1', $output, $return_var);
|
exec('net use S: /delete 2>&1', $output, $return_var);
|
||||||
return $this->response->setJSON(
|
return $this->response->setJSON(
|
||||||
[
|
[
|
||||||
'message' => "Print Berhasil",
|
'message' => "Print Berhasil",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user