Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
HP LaserJet 2300 select tray on print
Message
 
 
To
29/08/2004 07:15:16
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00937368
Message ID:
00937393
Views:
23
Alan,

Clear printer related info from the report. Open your report as a table and blank out TAG and TAG2 fields in the first record. Also remove following printer related lines from EXPR field.
DRIVER=
DEVICE=
OUTPUT=
In VFP8 you can just uncheck 'Printer Environment' on the Report menu and save report.
The tray info is stored in the Expr memo also. Eiher change DEFAULTSOURCE=n to the value you need ot remove this line alltogether.

>I have an application in VFP8 that is printing to a LaserJet 2300. This is being installed in 250+ offices. Is there any way to control whick paper tray the printer pulls from.
>
>I have tried defining two printer one defaulting to tray 2 and a second defaulting to tray 3. The form type in the printer for both trays is set to plain paper. If I print to either of these printers from MS Word, it pulls from the expected paper tray. When I do the same from FoxPro, it always pulls from tray 3.
>
>If I set the paper type in the printer to a different type then report with the prompt parameter, I can select the form type and control the tray selection that way. I can't seem to find a way to do that programaticallyThere is no form code that can be specified on the report command and I can find no way to lock the form type to the report itself.
>
>I'm confused about why the default form tray setting in the printer definiton seems to work fine in MS Word, but is ignored in FoxPro.
>
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform