01-09-2012 11:38 PM
Trying to copy a 4kB PRN file to a USB printer shared as LPT2. The command "copy /B ggg.prn LPT2" works fine from a cmd prompt but gives Error 2 when wired to System Exec.vi. It suggests memory is full but the sysexec call is literally the only thing in the VI. I restarted the laptop (Win 7-32, LV 2011, 4GB Ram, Dell E6410) and re-ran the VI before starting anything else --same result. Tried putting the command in a BAT file and calling that -- same result. The VI and the prn file are saved in the same directory.
Solved! Go to Solution.
01-10-2012 12:00 AM