bitsandbytes
10-17-2007, 12:18 PM
I currently use LPR.EXE to send text files to an lpr enabled printer. I am using AMS 6.0.
Example:
result = File.Run("AutoPlay\\Docs\\lpr.exe", "-S "..IP.." -P lp1 print.txt", "", SW_MINIMIZE, false);
It works great with XP. I have noticed that Vista does not offer LPR.exe.
Does anyone have an alternitive to print direct to a Network printer, that will work both for XP and Vista???
Thank you
Example:
result = File.Run("AutoPlay\\Docs\\lpr.exe", "-S "..IP.." -P lp1 print.txt", "", SW_MINIMIZE, false);
It works great with XP. I have noticed that Vista does not offer LPR.exe.
Does anyone have an alternitive to print direct to a Network printer, that will work both for XP and Vista???
Thank you