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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement