Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing to specific printer tray
Message
 
À
17/11/2004 14:42:31
Stephen Hunt
Admit Computer Services Inc.
Farmingdale, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
00959962
Message ID:
00962415
Vues:
13
After the report prints? You may want to try a suggestion made by Ed Raugh a while ago. Clear the floating point of the printer.
 This applies to most printers, but HP Printers are notorious for 
causing GPF will printing.

      In your main program, this only need to be declared once:


      CODE
      DECLARE _fpreset in MSVCRT

      And BEFORE (not neccessary but good precaution) and AFTER every print 
jobs use:

      CODE
      =_fpreset()  && case sensitive
      REPORT FORM myReport.frx NOCONSOLE TO PRINTER
      =_fpreset()  && case sensitive
>Ok I got that to work, tray 2 could not handle legal paper so I guess vfp automatically redirects the report to the first tray that can handle legal paper. Now the next problem, I am printing the report to a HP 4000 N PCL6 printer using the HP LaserJet 4000 Series PCL6 printer driver. After the report prints I get an error on the following page that says PCL XL error "illegal media source". Is there anything else in the expression that could be related to this illegal media source ?
>
>Thanks Again !
>Stephen J. Hunt
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform