• 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
Printer help
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Printer help


  • Subject: Printer help
  • From: Brian Christmas <email@hidden>
  • Date: Thu, 4 Nov 2010 10:17:23 +1100

G'day Scripters

I've got a dilemma. I'm trying to use the 'target printer' option in a direct print script with both Graphic Converter and Excel 2011. 

It's simply not working. they default to the Default Printer, and I don't want to reset it.

Either I've got the context wrong, or there's a bug in Apples 10.6.4 printing interface.

The following are the Excel scripts. Does anyone know if the context is incorrect please

Regards

Santa

tell application "Microsoft Excel"
activate
set active printer to "FUJI XEROX Docuprint C1110"
print the active sheet without print dialog
end tell

tell application "Microsoft Excel"
activate
set targetPrinter to "FUJI XEROX Docuprint C1110"
print the active sheet with properties {target printer:targetPrinter} without print dialog
end tell



And what, you ask, was the beginning of it all?
And it is this......
Existence that multiplied itself
For sheer delight of being
And plunged with numberless trillions of forms
So that it might
find
itself
innumerably

Sri Aurobindo





 _______________________________________________
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: Printer help
      • From: Luther Fuller <email@hidden>
  • Prev by Date: Re: A newbie's problems with Pages and Applescript
  • Next by Date: Re: TreeView X and dnd Files
  • Previous by thread: Re: how does an a/s app find other apps?
  • Next by thread: Re: Printer help
  • Index(es):
    • Date
    • Thread