04-05-2007 07:41 AM
Again,
take the text in your batch file and place it between the "" in the following line and send it to the system exec as a string
cmd /C ""
Shane
04-05-2007 08:20 AM
04-05-2007 09:13 AM
04-05-2007 09:40 AM
04-05-2007 01:08 PM
04-05-2007 01:10 PM
04-05-2007 01:40 PM
04-05-2007 03:52 PM
filozof,
I got it figured out and was able to get your file to print on my printer here.
First your "text file" is NOT a text file. Your file is the output of a "print/plot to file" operation. It must be copied to the printer port.
I've attached an LV 8.2 copy of my vi. Maybe some kind soul monitoring this can convert it to LV 7.1 for you. I'll also include an image of the block diagram. Please note that I have used the "Working Directory" input. This will not work if you try to include the path in the copy command.
04-06-2007 08:33 AM
04-06-2007 09:26 AM
Thanks again for hole advise.
Do you know how can I do same job without windows command?