Re: Help needed with Graphic Converter printing
Re: Help needed with Graphic Converter printing
- Subject: Re: Help needed with Graphic Converter printing
- From: Brian Christmas <email@hidden>
- Date: Wed, 13 Oct 2010 15:41:01 +1100
G'day, and thanks Travis.
Unfortunately I already use that routine to set a default printer.
What I require is a part of an error trapping routine that will directly call a supplementary printer if the main one is turned off.
It should be possible to call it directly from the Graphic Converter printing routine, without setting and resetting the default, but I can't work out the correct coding (been trying for hours)
Regards
Santa
On 13/10/2010, at 3:29 PM, Travis Mckinnon wrote:
Hi Santa,
This is what I use to set the default printer before telling an Application to Print
tell application "Printer Setup Utility"
activate
set printerList to name of printers
set oldPrinter to name of current printer
set printerChoice to (choose from list printerList with prompt ¬
"Which printer to be default?" default items oldPrinter)
set myPrinter to printer (printerChoice as string)
set current printer to myPrinter
quit
end tell
Not too hard to modify to use a specific printer just for GC
I’m new to the list so hopefully I’ve responded correctly :-)
Hope this helps
Regards
Travis
On 13/10/10 2:06 PM, "Brian Christmas" <email@hidden> wrote:
G'day listers
I'm trying to nominate a printer when printing with Graphic Converter, but it defaults to my default Epson printer.
The code ( and a lot of variations is...
tell application "GraphicConverter"
activate
try
print window 1 given target printer:"FUJI XEROX Docuprint C1110"
on error errmsg
display dialog "Print to GC actual printing " & errmsg
end try
end tell
Any advise on what to do please. The GC dictionary is difficult to grasp.
Regards
Santa
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
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