Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I can't print directly to LPT1
Message
 
To
25/06/1997 09:52:23
Larry Long
ProgRes (Programming Resources)
Georgia, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00037511
Message ID:
00037711
Views:
30
Use the command ! copy lpt1.

It will show an ugly DOS box for a second...but it will work. It will also avoid default printer settings to remote printers, etc..

I have a question: Does anyone know how to get rid of this ugly DOS box when using this technique?


>>if it is VFP than no it can't be done - it is a known bug and can be found
>>in the KB as well
>>
>>Arnon
>>
>>>Hi guys,
>>>I am trying to print a text file directly to the LPT1 port
>>>using the COPY TO command, and I am receiving
>>>"Invalid path or filename", why?
>>>I do this:
>>>COPY FILE MyText.txt TO LPT1
>>>I know this can be done, because I found it in the KB.
>>>Thanks in advance.
>>>
>>>
>Try using
>
>TYPE filename TO PRINT
>
>Look at help for additional options
Joseph C. Kempel
Systems Analyst/Programmer
JNC
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform