How to print virtual receipts

Am intergrating sambapos with an eletronic receipting and invoicing system , and one of the requirements is to generate a QRCODE on the receipts , i have the print template configured but i have failed to get a virtual pdf printer to display the receipt properly, the one am using [Download EMF Virtual Printer - demo build allows you to test functionality](https://virtual printer) distorts the QR code
2022092819180200002000.pdf (215.3 KB)
when i use a physical printer

Is there a way i can display the receipt visual so that i can pass the requirement ??
@Memo

What are you using the virtual print driver for?

Am using them to display the receipt , since testing is done online the tester has to see the receipt being generated and that is why i need the virtual printer to display the receipt

Well, I can’t really help with that virtual driver you linked.

If it’s a requirement for EFRIS to see the receipt for your integration be approved, why not try the build-in windows pdf printer?

Can you try to use pdf creator Download PDFCreator and start creating PDF files - pdfforge and foxit reader

@Iteerstech i tried foxit and pdf creators but they all produce errors when am printing using ecs/pos emulated printer


If you’re printing to anything but an actual receipt printer, try setting the printer type to “Windows Printer”

@Memo if i change the printer type its printer but i need to print the qrcode which is only available when am using ecs/pos printer type
if i use windows printer it just display the test instead of generating a QRCODE

Change the printer type to Html.

Thank you for all the help
i found another way of printin the qrcode
Am using the html print type but i got a php script to generate the QRCODE in a PNG format then i just call the PNG from the print type like an image instead of the of using the tags

2 Likes