Have a Question? Search our Knowledge Base.

Mac OS CanonMFDInstaller AppleScript

Darrel Bayani -

set SUNetID to ""

set CanonMFD to ""

set dialog_1 to display dialog "Enter your SUNetID" default answer "" buttons {"OK"} default button 1

set dialog_2 to display dialog "Enter the name of a nearby Canon MFD" default answer "" buttons {"OK"} default button 1

set SUNetID to the text returned of dialog_1

set CanonMFD to the text returned of dialog_2

do shell script "/usr/sbin/lpadmin -p " & CanonMFD & " -v lpd://" & SUNetID & "@seq-uniflow/" & CanonMFD & " -P /Library/Printers/PPDs/Contents/Resources/CNMCIRAC5250S2.ppd.gz -E"

do shell script "/usr/sbin/lpadmin -p CanonMFD-Secure -v lpd://" & SUNetID & "@seq-uniflow/CanonMFD-Secure -P /Library/Printers/PPDs/Contents/Resources/CNMCIRAC5250S2.ppd.gz -E"

Have more questions? Submit a request

Comments