Print a Receipt Ticket in Pdf
Posted: Fri Aug 11, 2023 11:06 am
Hello!
Can anyone give a tip for this problem!
I'm using DcPrint On commands to print to a receipt printer. But sometimes it is necessary to send this receipt by email in Pdf.
It turns out that when I send it to PDF, the paper format is always A4. And the receipt appears with a large area around it in white!
How can I set the paper format?
I did some tests so I'm not getting it.
I wrote a small program to demonstrate the situation.
Many Thanks!
Can anyone give a tip for this problem!
I'm using DcPrint On commands to print to a receipt printer. But sometimes it is necessary to send this receipt by email in Pdf.
It turns out that when I send it to PDF, the paper format is always A4. And the receipt appears with a large area around it in white!
How can I set the paper format?
I did some tests so I'm not getting it.
I wrote a small program to demonstrate the situation.
Many Thanks!