edit for cloud print
This commit is contained in:
@@ -726,9 +726,9 @@
|
|||||||
createReceiptNoInFirstBillData(receipt_no,"");
|
createReceiptNoInFirstBillData(receipt_no,"");
|
||||||
|
|
||||||
// For Server Print - from jade
|
// For Server Print - from jade
|
||||||
if ($("#server_mode").val() == "cloud") {
|
//if ($("#server_mode").val() == "cloud") {
|
||||||
code2lab.printFile("/home/yan/workspace/sxrestaurant/" + result.filepath, result.printer_url);
|
code2lab.printFile(result.filepath.substr(6), result.printer_url);
|
||||||
}
|
// }
|
||||||
|
|
||||||
// console.log(result);
|
// console.log(result);
|
||||||
// code2lab.printBill(result.filepath, result.printer_model, result.printer_url);
|
// code2lab.printBill(result.filepath, result.printer_model, result.printer_url);
|
||||||
|
|||||||
Reference in New Issue
Block a user