F
Asked
Hello, I recently purchased the POS Print Server and successfully configured my printer. The test data printed without any issues; however, when attempting to print a bill or order in the Simple POS, the printer did not respond at all. I would appreciate any assistance or guidance on resolving this issue. Thank you.
- MSAnsweredHello,
Please share the log file from the POS Print Server.
Thank you - FAnswered09:26:50 [INFO] Received print request: {"data":{"logo":"http://sma.test/assets/uploads/logos/logo1.png","printer":{"_id":"01HGZ76RBXTR99XDXGG5NJXTKA","channel":1,"codepage":"","command":"","density":"s24","encoding":"","font":"a","font_family":"Arial, sans-serif","font_size":28,"image_width":500,"mac_address":"","name":"Supermarket","network_ip":"","network_port":9100,"order":true,"pid":"","print_as":"text","printer_path":"Supermarket","printer_type":"usb","receipt":true,"serial_port":"","vid":"","width":42},"text":{"footer":"\nMerchant Copy\n","header":"\nBill\n\n","heading":"\nBill\n\n","info":"C: Walk-in Customer\nR: \nU: owner\nT: 19/04/2022 12:50\n\n","items":"#1 IT07 - Laptop\n 1 x 2,399.00 2,399.00\n","store_name":"Test Biller","totals":"Total 2,399.00\nGrand Total 2,399.00\n\nItems: 1 (1)\n"}},"type":"print-receipt"}
09:26:52 [ERROR] Logo fetch failed, "error sending request for url (http://sma.test/assets/uploads/logos/logo1.png): error trying to connect: dns error: No such host is known. (os error 11001)"
09:26:52 [INFO] Done :)
09:37:35 [INFO] Received print request: {"data":{"footers":[null,null],"headers":[null,null],"heading":"AKO Group Ltd","info":[["Order Id",null],["Reference","0"],["Date","Dec 6, 2023"],["Created by","Fiston Ntare(Ako)"],["Created at","Invalid Date"],["Printed at","Dec 6, 2023, 12:37 PM"],["Customer","undefined"]],"items":[["feed",{"name":"54491472\nCocaCola","price":"1,200.00","qty":"1.00","subtotal":"1,200.00","type":"item"}]],"logo":"images/LdSBhnl2cqiEg8Mr0AhsFuoPLgD550mFCKsgyXXm.png","notice":"This copy of bill is not official receipt but only to get the payment.","store_details":{"name":"LAPA BAR"},"store_heading":"Location","table_headers":[{"label":"Name"},{"label":"Price"},{"label":"Qty"},{"label":"Subtotal"}],"totals":[{"label":"Payable Amount","value":"1,200.00"}],"type":"Bill"},"type":"print-json-bill"}
09:37:39 [INFO] Received print request: {"data":{"footers":null,"headers":null,"heading":"AKO Group Ltd","info":[["Order Id",null],["Reference","0"],["Date","Dec 6, 2023"],["Created by","Fiston Ntare(Ako)"],["Created at","Invalid Date"],["Printed at","Dec 6, 2023, 12:37 PM"]],"items":[["feed",{"name":"54491472\nCocaCola","price":"1,200.00","qty":"1.00","subtotal":"1,200.00","type":"item"}]],"logo":"images/LdSBhnl2cqiEg8Mr0AhsFuoPLgD550mFCKsgyXXm.png","notice":null,"store_details":{"name":"LAPA BAR"},"store_heading":"Location","table_headers":["Name","Qty"],"totals":null,"type":"Order"},"type":"print-json-order"}
09:38:07 [INFO] Received print request: {"data":{"footers":[null,null],"headers":[null,null],"heading":"AKO Group Ltd","info":[["Id","36a081c7-7a5e-4f99-b911-d68687ab34ed"],["Order Id",null],["Reference","SC/2023/12/39"],["Date","Dec 6, 2023"],["Created by","Fiston Ntare(Ako)"],["Created at","Dec 6, 2023, 12:38 PM"],["Printed at","Dec 6, 2023, 12:38 PM"],["Customer","Ako Group"]],"items":[["feed",{"name":"54491472\nCocaCola","price":"1,200.00","qty":"1.00","subtotal":"1,200.00","type":"item"}]],"logo":"images/LdSBhnl2cqiEg8Mr0AhsFuoPLgD550mFCKsgyXXm.png","notice":"","store_details":{"address":"GGM","country":"United Republic of Tanzania","email":"[email protected]","name":"LAPA BAR","phone":"0754675571","state":"Geita"},"store_heading":"Location","table_headers":[{"label":"Name"},{"label":"Price"},{"label":"Qty"},{"label":"Subtotal"}],"totals":[{"label":"Total","value":"1,200.00"},{"label":"Tax Amount","value":"0.00"},{"label":"Grand Total","value":"1,200.00"},{"label":"Paid","value":"1,200.00"},{"label":"Balance Due","value":"0.00"}],"type":"Receipt"},"type":"print-json-receipt"}
09:38:12 [INFO] Received print request: {"data":{"footers":[null,null],"headers":[null,null],"heading":"AKO Group Ltd","info":[["Id","36a081c7-7a5e-4f99-b911-d68687ab34ed"],["Order Id",null],["Reference","SC/2023/12/39"],["Date","Dec 6, 2023"],["Created by","Fiston Ntare(Ako)"],["Created at","Dec 6, 2023, 12:38 PM"],["Printed at","Dec 6, 2023, 12:38 PM"],["Customer","Ako Group"]],"items":[["feed",{"name":"54491472\nCocaCola","price":"1,200.00","qty":"1.00","subtotal":"1,200.00","type":"item"}]],"logo":"images/LdSBhnl2cqiEg8Mr0AhsFuoPLgD550mFCKsgyXXm.png","notice":"","store_details":{"address":"GGM","country":"United Republic of Tanzania","email":"[email protected]","name":"LAPA BAR","phone":"0754675571","state":"Geita"},"store_heading":"Location","table_headers":[{"label":"Name"},{"label":"Price"},{"label":"Qty"},{"label":"Subtotal"}],"totals":[{"label":"Total","value":"1,200.00"},{"label":"Tax Amount","value":"0.00"},{"label":"Grand Total","value":"1,200.00"},{"label":"Paid","value":"1,200.00"},{"label":"Balance Due","value":"0.00"}],"type":"Receipt"},"type":"print-json-receipt"}
09:38:34 [INFO] Received print request: {"data":{"footers":[null,null],"headers":[null,null],"heading":"AKO Group Ltd","info":[["Id","36a081c7-7a5e-4f99-b911-d68687ab34ed"],["Order Id",null],["Reference","SC/2023/12/39"],["Date","Dec 6, 2023"],["Created by","Fiston Ntare(Ako)"],["Created at","Dec 6, 2023, 12:38 PM"],["Printed at","Dec 6, 2023, 12:38 PM"],["Customer","Ako Group"]],"items":[["feed",{"name":"54491472\nCocaCola","price":"1,200.00","qty":"1.00","subtotal":"1,200.00","type":"item"}]],"logo":"images/LdSBhnl2cqiEg8Mr0AhsFuoPLgD550mFCKsgyXXm.png","notice":"","store_details":{"address":"GGM","country":"United Republic of Tanzania","email":"[email protected]","name":"LAPA BAR","phone":"0754675571","state":"Geita"},"store_heading":"Location","table_headers":[{"label":"Name"},{"label":"Price"},{"label":"Qty"},{"label":"Subtotal"}],"totals":[{"label":"Total","value":"1,200.00"},{"label":"Tax Amount","value":"0.00"},{"label":"Grand Total","value":"1,200.00"},{"label":"Paid","value":"1,200.00"},{"label":"Balance Due","value":"0.00"}],"type":"Receipt"},"type":"print-json-receipt"}
09:38:56 [INFO] Received print request: {"data":{"footers":null,"headers":null,"heading":"AKO Group Ltd","info":[["Order Id",null],["Reference","0"],["Date","Dec 6, 2023"],["Created by","Fiston Ntare(Ako)"],["Created at","Invalid Date"],["Printed at","Dec 6, 2023, 12:38 PM"]],"items":[["feed",{"name":"54491472\nCocaCola","price":"1,200.00","qty":"1.00","subtotal":"1,200.00","type":"item"}]],"logo":"images/LdSBhnl2cqiEg8Mr0AhsFuoPLgD550mFCKsgyXXm.png","notice":null,"store_details":{"name":"LAPA BAR"},"store_heading":"Location","table_headers":["Name","Qty"],"totals":null,"type":"Order"},"type":"print-json-order"}
09:39:01 [INFO] Received print request: {"data":{"logo":"http://sma.test/assets/uploads/logos/logo1.png","printer":{"_id":"01HGZ7W3VWPRMPQFXV4J4ZGR61","channel":1,"codepage":"","command":"","density":"s24","encoding":"","font":"a","font_family":"Arial, sans-serif","font_size":28,"image_width":500,"mac_address":"","name":"Supermarket","network_ip":"","network_port":9100,"order":true,"pid":"","print_as":"text","printer_path":"Supermarket","printer_type":"usb","receipt":true,"serial_port":"","vid":"","width":42},"text":{"footer":"\nMerchant Copy\n","header":"\nBill\n\n","heading":"\nBill\n\n","info":"C: Walk-in Customer\nR: \nU: owner\nT: 19/04/2022 12:50\n\n","items":"#1 IT07 - Laptop\n 1 x 2,399.00 2,399.00\n","store_name":"Test Biller","totals":"Total 2,399.00\nGrand Total 2,399.00\n\nItems: 1 (1)\n"}},"type":"print-receipt"}
09:39:01 [ERROR] Logo fetch failed, "error sending request for url (http://sma.test/assets/uploads/logos/logo1.png): error trying to connect: dns error: No such host is known. (os error 11001)"
09:39:01 [INFO] Done :) - FAnsweredPlease check
- MSAnsweredHello,
I see that printer is unable to fetch the logo and throwing dns error. If the test prints out then there should be such issue with print by app :-( Can you please use the shared name as network path like `\\computerName\printerName`
What version of POS Print Server have you installed? If it's not v4, then you can download it from [here](https://npps-updates.s3.amazonaws.com/rpps/win/bundle/msi/POS+Print+Server_4.0.6_x64_en-US.msi.zip).
Thank you - Login to Reply