LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Zebra TLP 2844 USB

Solved!
Go to solution

 

 

copy tmp.EJF \\T-STOMFG-11\LpLarge

 

using the last command int cmd works fine, but using the system exe.vi doesn't work

 

 

 

Were \\T-STOMFG-11\LpLarge is the printer address

 

Message Edited by lmontoya on 09-08-2009 01:48 PM
0 Kudos
Message 11 of 13
(2,896 Views)

lmontoya wrote:

 

 

copy tmp.EJF \\T-STOMFG-11\LpLarge

 

using the last command int cmd works fine, but using the system exe.vi doesn't work

 

 

 

Were \\T-STOMFG-11\LpLarge is the printer address

 

Message Edited by lmontoya on 09-08-2009 01:48 PM

What Windows version do you use? Did you at the cmd.exe to the front of the string that you sent to the System Exec? copy is an internal shell command so you need to start the command shell executable in order to execute the copy command. At least for Windows 2000/XP the command shell is cmd.exe. Not sure about Vista and/or Windows 7.

 

Rolf Kalbermatter

Rolf Kalbermatter
My Blog
0 Kudos
Message 12 of 13
(2,887 Views)
Solution
Accepted by topic author lmontoya

I have XP, but thank you anybody, I allready found the solution and it's next:

 

cmd.exe /c copy Temp.EJF \\T-STOMFG-11\LpSmall

 

I just add "/c" afther cmd.exe command

 

the printer must be shared

0 Kudos
Message 13 of 13
(2,878 Views)