How do you print with DCPRINT on a paper roll

If you are converting a text-based Clipper application, a FoxPro application or just writing an application from scratch, use this forum for your eXpress++ questions.
Post Reply
Message
Author
User avatar
alepap
Posts: 94
Joined: Tue Jul 28, 2015 5:15 am

How do you print with DCPRINT on a paper roll

#1 Post 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

User avatar
rdonnay
Site Admin
Posts: 4339
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

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

#2 Post 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.
The eXpress train is coming - and it has more cars.

User avatar
alepap
Posts: 94
Joined: Tue Jul 28, 2015 5:15 am

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

#3 Post 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 !!

Post Reply