General information
Title:
Printer tray selection
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only