Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP5 Report to 2 Printer Trays
Message
 
To
28/08/1997 04:45:21
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00047261
Message ID:
00047436
Views:
29
>>Is there anyway to split a report so the title page prints to one printer tray (for letterhead) and the remainder to the other tray (plain paper)?
>>
>>TIA,
>>Barbara
>
>Barbara,
>You could try this:
>
>****************************************************************************
>* SPECIAL NOTES
>* =============
>* This program is to allow Hewlett-Packard and compatibles to print to the
>* lower tray. There is nothing in the P_CODES table that allows for this.
>* It works in the User defined section of FoxPro's printer driver set-up.
>*
>****************************************************************************
>PARAMETER lowertray
>
>lowertray = lowertray+CHR(27)+"&l4H"
>RETURN
>
>This worked for me with FoxPro for DOS.
>
>Hope this helps,

Thank you, Bill. I've used similar code in DOS programs also, but we need to separate the Title page on a report from the remainder of the report, and I wouldn't know where to put the printer codes. It doesn't help that my own printer has only one tray, so testing is impossible :-(

Thanks,
Barbara
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform