Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing with a .PRG file
Message
 
To
09/03/2001 21:26:57
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00483766
Message ID:
00484075
Views:
22
1. There are PCL comands for paper orientation, size, source...
For HP Laserjet:
- landscape chr(27)+'&l1O' (lowercase leter l, digit 1, uppercase letter O)
- paper size chr(27)+'&l#A' where # can be 1, 2, 3.... (Executive, Letter, Legal...)
- paper source chr(27)+'&l#H' where # is 0, 1, 2, 3, 4 (print&eject current page, tray 2, manual feed paper, manual feed envelope, tray 1...
You'll probably need the printer manual.

2. Build the report in the report generator, use an array for headers, and a generic cursor for data.

3. Build a baseRep.frx in the report generator and use it as a source for building a custom tempRep.frx each time you print a report.
Doru
Previous
Reply
Map
View

Click here to load this message in the networking platform