Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
To print on WINDOW'S printers
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00334101
Message ID:
00334629
Vues:
28
I assume you mean you have your program still in Foxpro 2.6 for DOS. This will print on a Windows printer, but it is more complicated if they are network printers.

An FPD 2.6 DOS program should print fine (although there may be a delay of 45 seconds) if the printer is a local printer and connected to a parallel port (LPT1).

If the printer is a Windows network printer, you must "capture" the printer name to a printer port since DOS only recognizes port names (LPT1, LPT2...). To do this, right click on the printer, select properties, select details and click on the capture button. Connect a port to the network printer. Now make sure the Foxpro app selectes the correct printer port. For instance:

Capture LPT1 to \\server\hplaser
set printer to lpt1
report form myreport to print
set printer to

that last line (set printer to) may help remove the 45 second delay of windows wondering if the print job is complete
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform