Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printer tray selection
Message
From
17/11/1998 20:05:01
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Title:
Printer tray selection
Miscellaneous
Thread ID:
00158592
Message ID:
00158592
Views:
45
How can I direct a report (.frx) to a specific tray on a PCL laser printer? I have tried the followinf:

1) While editing the .frx, I go to Report | Page Layout | Print Setup | Source (a dropdown list)and select "MP Feeder" (Multi Purpose), save the form and print the report.

RESULT: Uses the default "Tray 1". When I go back to edit the report the Source has gon back to "Tray 1".

2) Same as above, but with a new Windows printer defined and set up with the desired tray as the default.

RESULT: Uses the default "Tray 1". When I go back to edit the report the new printer remains defined but the Source has gon back to "Tray 1". If I just click on the printer selection, the Source changes back to the "MP Feeder" that I set as the default for that printer deffinition.

3) At the top of the form I placed a field with the PCL escape code to select the desired tray. CHR(27) + '&l8H'

RESULT: It prints &l8H on the form.

4) On the line of code before Report Form ..., I ??? CHR(27) + '&l8H'

RESULT: It is ignored and prints to Tray 1.

Any help will be much appreciated.

Chuck
Reply
Map
View

Click here to load this message in the networking platform