Guest User

Untitled

a guest
Aug 21st, 2018
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Set printer to be default if variable is set
  2. osascript<<END
  3. set pickPrinterName to "$printername"
  4. tell application "Printer Setup Utility"
  5. set matchingPrinters to every printer whose name is pickPrinterName
  6. set current printer to (item 1 of matchingPrinters)
  7. end tell
  8. END
Add Comment
Please, Sign In to add comment