• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Setting default printer request.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Setting default printer request.


  • Subject: Setting default printer request.
  • From: Brian Christmas <email@hidden>
  • Date: Tue, 09 Jun 2015 16:32:29 +1000

G’day scripters

I’m having problem with direct printing from GraphicConverter, where the code prints from the Default Printer, rather than my nominated printer.

Unfortunately I cannot set the Default to my nominated printer in System Preferences, because I’m using CUPS lp commands to check the printer status’s, and they’re resetting the default to a different printer (no rhyme or reason as to which one).

Is there any way to temporarily re-set the default printer, before my code, in Yosemite?

Regards

Santa

property theLargePagePrinter : "Large Page Printer"
tell application "GraphicConverter 9"
activate
print document 1 with properties {target printer:(my theLargePagePrinter)} print dialog no
end tell

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Setting default printer request.
      • From: Luther Fuller <email@hidden>
  • Prev by Date: Confused by the add library event in Smile.
  • Next by Date: Re: Setting default printer request.
  • Previous by thread: Confused by the add library event in Smile.
  • Next by thread: Re: Setting default printer request.
  • Index(es):
    • Date
    • Thread