Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Page size
Message
From
04/12/2007 19:42:12
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01273148
Message ID:
01273176
Views:
19
>Can I programatically change the paper lengh of reports in VFP 9 ?
>
>Sometimes I need to print paper where the page lengh is not fixed
>but will depend on the data amount (dot matrix printers)

That's relatively easy on dot matrix printers if you use ? and ?? for printing and use printer-specific escape sequences (ESC/P language, for instance). If you're looking for a more universal solution, that'd be rather tough.

IIRC, the sequence was chr(27)+"c"+chr(n) where n was number of lines on the page, so chr(27)+"c$" would make a 36 line page.

back to same old

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

Click here to load this message in the networking platform