cancel
Showing results for 
Search instead for 
Did you mean: 

Error while printing Sales Recepit with JPOS Format in a dot matrix printer

npinzon
Participant
0 Kudos

Dear all,

Right now i'm facing a trouble while printing the receipt format with a dot-matrix printer (Epson TM-U220D); whenever i try to print, it shows this next error message:

2018-12-12 16:24:25,547 [Thread-49] FATAL com.sap.scco.ap.pos.printer.PrintQueue - Error during the print. com.sap.scco.hl.JposRuntimeException: There is no function. at com.sap.vp.jpos.JposHardwareService.createJposRuntimeException(JposHardwareService.java:323) at com.sap.vp.jpos.CPOSPrinterService.printBarCode(CPOSPrinterService.java:528) at com.sap.vp.jpos.CPOSPrinterService.printLine(CPOSPrinterService.java:171) at com.sap.vp.jpos.CPOSPrinterService.printWithoutRecovery(CPOSPrinterService.java:289) at com.sap.vp.jpos.CPOSPrinterService.print(CPOSPrinterService.java:234) at com.sap.vp.jpos.CPOSPrinterService.print(CPOSPrinterService.java:266) at com.sap.vp.jpos.CPOSPrinterService.print(CPOSPrinterService.java:266) at com.sap.vp.jpos.CPOSPrinterService.print(CPOSPrinterService.java:218) at com.sap.scco.ap.pos.printer.printprocessor.JPOSPrintProcessor.print(JPOSPrintProcessor.java:168) at com.sap.scco.ap.pos.printer.printprocessor.JPOSPrintProcessor.print(JPOSPrintProcessor.java:139) at com.sap.scco.ap.pos.printer.PrintQueue.run(PrintQueue.java:79) 2018-12-12 16:24:45,717 [Thread-49] FATAL com.sap.scco.ap.pos.printer.PrintQueue - Error during the print. com.sap.scco.hl.JposRuntimeException: There is no function. at com.sap.vp.jpos.JposHardwareService.createJposRuntimeException(JposHardwareService.java:323) at com.sap.vp.jpos.CPOSPrinterService.printBarCode(CPOSPrinterService.java:528) at com.sap.vp.jpos.CPOSPrinterService.printLine(CPOSPrinterService.java:171) at com.sap.vp.jpos.CPOSPrinterService.printWithoutRecovery(CPOSPrinterService.java:289) at com.sap.vp.jpos.CPOSPrinterService.print(CPOSPrinterService.java:234) at com.sap.vp.jpos.CPOSPrinterService.print(CPOSPrinterService.java:266) at com.sap.vp.jpos.CPOSPrinterService.print(CPOSPrinterService.java:266) at com.sap.vp.jpos.CPOSPrinterService.print(CPOSPrinterService.java:218) at com.sap.scco.ap.pos.printer.printprocessor.JPOSPrintProcessor.print(JPOSPrintProcessor.java:168) at com.sap.scco.ap.pos.printer.printprocessor.JPOSPrintProcessor.print(JPOSPrintProcessor.java:139) at com.sap.scco.ap.pos.printer.PrintQueue.run(PrintQueue.java:79)

Have you got any idea of what could be happening with this format? The format is the one that comes with the standard product, none changes. I'm working with SCCO FP 6 PL 8.

If you think this might be an error, please let me know so I can report it as an issue.

Regards,

Nasmiye P.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member578974
Contributor
0 Kudos

Hi Nasmiye,
about the print templates, please, read the KBA 2717189 - How to customize the print templates in CCO according to your needs.

SAP first recommendation, as mentioned by Sebastian, is to never modify the standard templates because they will always be overwritten back to the standard layout once there is a system update.

Below you can find the steps recommended by SAP:

  1. Copy the original print template and keep it in the same directory (print_templates).
  2. In the configuration > Hardware > Print templates: Enter the name of the copied print template in the column ‘path’.
  3. Start editing your print template in an editor of your choice (e.g. Notepad++).
  4. Save your file.
  5. Make a print test > Immediately you will see the change on the printout.

I hope this helps you!
Regards,
Mateus

0 Kudos

Hi Nasmiye,

It could be that your dot-matrix printer does not support printing bar codes. You can try to find this information in the printer specification.

If you want to keep using this printer, you can adapt the "SalesReceiptPrintTemplateJPOS.ftl" print template to not print a bar code. You can find this print template in the folder "C:\SapCustomerCheckout\cco\print_templates".

Look for the line: "<@barcode value=receipt.receiptID/>" and remove it from the template.

Please be aware that we overwrite the standard print templates with each update. If you want to make sure that your changes are not overwritten during an update, then you should create a copy of the print template and adapt the print template settings to use the copied template.

Regards,

Sebastian Magin
Developer - SAP Customer Checkout