Page 1 of 1

How do you print with DCPRINT on a paper roll

Posted: Tue Apr 11, 2017 12:37 pm
by alepap
With DCPRINT, you define the numbers of ROWs and the number of COLs.

On a receipt printer, using a roll, the number of ROWs changes at every printout.
In this case, what is the proper way to print?

Best regards,

AP

Re: How do you print with DCPRINT on a paper roll

Posted: Tue Apr 11, 2017 3:36 pm
by rdonnay
It really doesn't matter what you set rows to except that it affects the line spacing.

A large number of rows will space the lines closer.

Re: How do you print with DCPRINT on a paper roll

Posted: Tue Apr 11, 2017 4:20 pm
by alepap
Works with ROWS set to 60 or 66 like Roger said.

In case the receipt is longer than 60 lines or 66 lines, the rest is ignored.
I use DCPRINT ENDPAGE and DCPRINT STARTPAGE to simulate a new page.

Ok, works for receipt printers.
This is great to print graphics, logos, text of all size on a receipt printer. Now you can put your TOTAL bigger than the rest. Using the printer driver instead of TEXT DIRECTLY is very nice.

Enjoy !

Choo choo !!