Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

akalehzan

macrumors newbie
Original poster
Jan 17, 2006
3
0
Stanford, CA
Hi all,

I'm trying to connect a OS X MAC to a Windows Printer.
here is what I have so far but it is not working:

------------
tell application "Finder"

open location "smb://win;username@password@winserver/Secure_Printer"



tell application "Terminal"



activate



do script "/usr/sbin/lpadmin -p WIN_Printer -E -v smb://win;username@winserver/Secure_Printer/ -m /Library/Printers/PPDs/Contents/Resources/CNPZUIRAC5250ZU.ppd.gz -L \"WIN_Printer \" "

end tell

end tell
--------------


Thanks for any help,

Ebi
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.