Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
HP Printing to wrong output tray / 1958 Error
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00065265
Message ID:
00065991
Vues:
52
>>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

Thanks Barbara.

I have written a procedure that loads all the system report names into an array so that each report table can be opened and the Expr, Tag and Tag2 fields are emptied. If Expr contained ORIENTATION=1 then that property is placed back into the Expr field. Everything seems to work OK. I predict that will also solve my error 1958 problem.

Thanks Again,

Greg
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform