General information
Category:
Coding, syntax & commands
>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
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only