Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
To print on WINDOW'S printers
Message
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00334101
Message ID:
00334629
Views:
29
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform