Requesting help with GC Applescript printing, please.

This area contains the messages from the old Yahoo gcmac group after the port.
harry152566
Posts: 0
Joined: Fri Jun 12, 2015 5:41 pm

Re: Requesting help with GC Applescript printing, please.

Post by harry152566 »

A more complete version:property nameOfPrinter : "Print_to_VipRiser" -- the printer to be used -- save name of current printer set oldPrinter to do shell script ("lpstat -d") set x to the offset of ":" in oldPrinter set oldPrinter to text (x + 2) thru -1 of oldPrinter -- set new printer do shell script ("lpoptions -d " & nameOfPrinter) delay 1 tell application "GraphicConverter 9" activate tell application "System Events" delay 0.5 keystroke "p" using command down delay 0.5 click button 1 of sheet 1 of window 1 of process "GraphicConverter 9" end tell end tell -- reset the old printer do shell script ("lpoptions -d " & oldPrinter) get ""
Post Reply