Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to set paper size for continuos paper roll printer
Message
From
08/12/2011 19:02:26
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
08/12/2011 12:14:15
Yau Yat Hoong
3 Eye Security Sdn Bhd
Malaysia
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01530628
Message ID:
01530690
Views:
62
>I'm trying to setup a receipt printer with auto cut feature that comes supplied with continuos roll paper.
>As I'm printing a sales receipt, depending on the no of items, it could print more or less items and I would like to stop printing and cut the paper after the footer is printed.
>Haven't been able to figure out how to setup the paper size to be variable length in the VFP report writer.
>Hope someone can shed some light.

Last time I did that (13 years ago), it was in FPD and I wasn't using any reports. I was generating a text file which I'd then send to the printer. The file contained all the formatting command sequences (including a few glyph redefinitions), and the eject+cut command sequence in the end. You may still do the same, using various methods for generating text that Fox has. For sending to printer, use rawprint class, which you can find in downloads.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform