Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Redirect output from lpt1 to file via code...
Hi,
I need to be able to redirect at will data that is sent to a printer on lpt1
to a file instead, and after doing so be able to end this redirection so that the next output goes out on lpt1 as usual. DOS had a "prn2file" that could do this but I need to be able to do this in a windows 9x environment via some windows API or other. If possible, I´d also like to be able to do this via coding so that the end user doesn´t need to install a new application nor install/or swith manually to a generic/text only printer, etc....
Any suggestions?
Thanks in advance for your help.
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