Information générale
Catégorie:
Codage, syntaxe et commandes
>Hello:
>
>In old times when we used DOS we had a way to print files directly to printer using the following command:
>
>copy filename LPT1:
>or
>copy filename <\\server\printer>
>
>I am attempting unsuccessfuly to work in a simmilar way using the RUN command in VFP in a W2000 environment. Someone know how I can (at least) emulate this command?
>
>Thanks
>
>Efrain
>
>PS. I had to reformulate the question because the thread doesn't accept the word 'filename' in <>
You can use the FoxPro COPY FILE command instead of RUN:
COPY FILE filename TO \\server\printer
or if it's LPT or COM put a .DOS extension on the port name for example:
COPY FILE filename TO LPT1.DOS
Précédent
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