Page 1 of 1

Direct printing problem

Posted: Tue Mar 03, 2015 11:36 pm
by Brian Christmas
G’dayI have two printers, one an inkjet for photos (rtfd Printer), and a laser (Quark Printer).In my Applescript objC app, I refer to the two using the variables ‘theSmallPagePrinter’ & ‘theLargePagePrinter’.When printing from GraphicConverter, even though I use ‘theLargePagePrinter’, GC prints to ‘theSmallPagePrinter’ (rtfd Printer).Printer defaults have been set for both printers.the line of code is…property theLargePagePrinter : "Quark Printer" tell application "GraphicConverter 9" print document 1 with properties {target printer:my theLargePagePrinter} print dialog no end tell Is there a bug in GraphicConverter 9 version 9.4?Is my code correct?RegardsBrian Christmas

Re: Direct printing problem

Posted: Wed Mar 04, 2015 8:23 am
by thorstenlemke
Hello Brian,the properties are ignored. That are items from the old Carbon printing.There is currently no way to select the printer by AppleScript this way.Thorsten G’dayI have two printers, one an inkjet for photos (rtfd Printer), and a laser (Quark Printer).In my Applescript objC app, I refer to the two using the variables ‘theSmallPagePrinter’ & ‘theLargePagePrinter’.When printing from GraphicConverter, even though I use ‘theLargePagePrinter’, GC prints to ‘theSmallPagePrinter’ (rtfd Printer).Printer defaults have been set for both printers.the line of code is…property theLargePagePrinter : "Quark Printer" tell application "GraphicConverter 9" print document 1 with properties {target printer:my theLargePagePrinter} print dialog no end tell Is there a bug in GraphicConverter 9 version 9.4?Is my code correct?RegardsBrian Christmas