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!
Print a Receipt Ticket in Pdf
Print a Receipt Ticket in Pdf
- Attachments
-
- Teste_Print_TICKET.rar
- (162.66 KiB) Downloaded 701 times
Pedro Alexandre
Re: Print a Receipt Ticket in Pdf
This appears to me to be a limitation of the Acrobat PDF viewer.
The eXpress train is coming - and it has more cars.
Re: Print a Receipt Ticket in Pdf
Hi Roger.
I found the source of the problem.
It is related to the FormSize of BullZip Pdf.
I found this excellent example \exp20\samples\printer\printerforms.prg and managed to create a specific formsize for 80 mm wide paper. Then in Dcprint On .... Formsize I refer to the formsize ID that I created and that works Ok.
I found the source of the problem.
It is related to the FormSize of BullZip Pdf.
I found this excellent example \exp20\samples\printer\printerforms.prg and managed to create a specific formsize for 80 mm wide paper. Then in Dcprint On .... Formsize I refer to the formsize ID that I created and that works Ok.
Pedro Alexandre
Re: Print a Receipt Ticket in Pdf
That's great! Good work!
The eXpress train is coming - and it has more cars.