LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Copying file to LPT1:

I am trying to replace a DOS batch file which copies a text file to a printer, i.e "copy test.txt LPT1". There are issues with printing from a DOS shell with Win98 2nd edition and Win XP.

I tried using the "Easy Text Report" VI to print the contents of the text file to the printer. However I am getting a "Unknown System Error in Font Style.vi->Set Report Font.vi->Easy Text Report.vi". I tried playing around with font settings to no avail.

Is this the correct way to do this? If so, how do I prevent the error?
0 Kudos
Message 1 of 2
(2,769 Views)
cabbage,

Please look at KnowledgeBase 2K2EE8DV for the answer to your question. It is a quick and simple fix.

Randy Hoskin
Applications Engineer
National Instruments
http://www.ni.com/ask
0 Kudos
Message 2 of 2
(2,769 Views)