Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Printing to LPT1.DOS
In FPW and VFP, you can COPY MYFILE.TXT TO LPT1.DOS to send a text file to a printer and bypass Windows print drivers. If LPT1 is a captured printer port, this works fine when the default folder is a short file name. If I try the same command, with "\Program Files" as the default folder, an error is returned "Invalid path or file name".
Does anyone know a workaround for this? Named pipes (COPY MYFILE.TXT TO \\SERVER\MYPRINTER) works fine in both cases.
Thanks
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