Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
HP Printing to wrong output tray / 1958 Error
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00065265
Message ID:
00065444
Views:
30
>When printing a report using the command REPORT FORM rptfile NEXT 1 NOCONSOLE TO PRINTER PROMPT the report selects tray 2 as the output eventhough the default is Auto Select < Letter >. This does not occur when printing from non VFP applications. The printer in some cases is a HP LaserJet 6P and in other cases the printer is a HP LaserJet 4. Both printers have the most recent drivers installed. This problem only occurs on about 5 percent of the users of the application. The printers are setup as network printers in most cases. A few are standalone. The application is written in VFP 5.0a running over a Novell 4.11 network utilizing Windows 95 with the Novell Client 32. version 2.2 being run.
>
>On occasion, other users have received the error number 1958 - Error Loading Printer Driver. This is very sporadic. The previous problem is consistent.
>
>Any suggestions on either of the problems listed above would be greatly appreciated.
>
>Thanks,
>
>Greg

Greg, keep in mind that VFP stores the printer name used during development, and tries to call that printer. To get around this, empty 3 fields in the first record of the FRX: Expr, Tag and Tag2. If it's a Landscape report, be sure you leave the ORIENTATION=1 line in EXPR. This will force the program to use the Windows default printer.

Don't forget to do this EVERY TIME you modify the report :-((

HTH
Barbara
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform