Question: Cannot Print Receipt Local Host

Cannot Print Receipt Local Host

Hi Support, im using xampp to install the pos system. and plan to use the localhost(offline) and running our shop. im trying to setup the thermal printers using local host and enable auto pr

AA

ADI AFIF

Asked

Hi Support, im using xampp to install the pos system. and plan to use the localhost(offline) and running our shop. im trying to setup the thermal printers using local host and enable auto print receipt, but seems the receipt is not print using this method. but when i trying to use web browser it work to print the receipt, but its only on manual way. and still cannot print on enabling auto print receipt, and for your information i manage to print order using localhost, but only print order its work. the rest function is not work. Kindly assist me to trouble shoot the issues. Thank you

  • MS

    Mian Saleem

    Answered

    Hello,

    Can you please check your server’s php error logs and let me know the error details so that I can suggest.

    You can try to enable app log by changing the log_threshold to 1 in the app/config/config.php and then try to print. Lastly check the latest error logs in the app/logs/ folder.

    Thank you

  • AA

    ADI AFIF

    Answered

    I Already try to change the log_threshold but the issues still same, here i copy my latest app log for your reference, "ERROR - 2023-07-06 11:45:00 --> Could not find the language line “P822D” ERROR - 2023-07-06 11:45:06 --> Severity: error --> Exception: implode(): Argument #1 ($pieces) must be of type array, string given C:\xampp\htdocs\pos\vendor\mike42\escpos-php\src\Mike42\Escpos\PrintConnectors\WindowsPrintConnector.php 170 ERROR - 2023-07-06 11:45:14 --> Failed to load image. "

  • AA

    ADI AFIF

    Answered

    Here i attach my printer setting for your references,

  • MS

    Mian Saleem

    Answered

    Hello,

    If you can print order that means the setup is fine but something wrong with receipt/bill print.

    Please try to save settings and upload the logo before try again. Then check the logs for latest errors.

    Thank you

  • AA

    ADI AFIF

    Answered

    this is the latest log " ERROR - 2023-07-06 13:30:53 --> Could not find the language line “P822D” ERROR - 2023-07-06 13:35:26 --> Could not find the language line “P822D” ERROR - 2023-07-06 13:37:29 --> Could not find the language line “P822D” "

  • MS

    Mian Saleem

    Answered

    Hello,

    There is no errors but just for language keys. Did it print or not? If still not and there is no error, please restart machine to try again. If still the same, then it will be difficult to debug, please try using trial version of POS Print Server to test.

    Thank you

  • AA

    ADI AFIF

    Answered

    is there any services installation from you guys? because i think is hard for me to do it alone. or you have any guideline to setup the pos ?

  • AA

    ADI AFIF

    Answered

    i found the issue sir, its because of image on the receipt (simplepos). is there any option for me to not upload image in the store?

  • MS

    Mian Saleem

    Answered

    Hello,

    You can edit the logo column of the settings table in your database.

    Thank you

  • Login to Reply