hi
i have a document open and tried to run this script, there is no error but nothing is printed.
My default printer is called “PDF_300dpi”
tell application "QuarkXPress Passport"
tell document 1
set print setup to {absolute overlap:true, auto tile overlap:"76,2 mm", back to front:false, bleed:"0 mm", collate:false, data format:binary data, fit in area:false, flip horizontal:false, flip vertical:false, full res rotated objects:false, halftone screen:"175", include blank pages:false, invert image:false, orientation:portrait, page gap:"0 mm", page position:center position, page sequence:all pages, paper offset:"0 mm", paper size:"Anwenderdef.", paper width:"235 mm", paper height:"305 mm", print colors:composite CMYK, print quality:rotate, print spreads:false, print thumbnails:false, printer type:"Acrobat Distiller", reduce or enlarge:"100%", registration marks:centered, registration marks offset:"11,339 pt", resolution:2400, separation:false, tiling:off}
end tell
print document 1
end tell
I do not want to print to a postscript file or to a pdf.
Just use the spooler which is a Helios-Spooler
Any ideas why it does not work?
Thanks a lot in advance
Markus
I’m not sure what passport is but I can’t get your code to comple against my qxp6.52
I do know I had problems scripting the printing before I upgraded from 6.5 to 6.52
does quark quit when you run the script ?
Hi
No, it simply ignores the “print” command :-/
The Xpress vversion is 6.52
Markus
try it this way I only maid minor changes but I don’t have passport to test it
tell application "QuarkXPress Passport"
activate
tell document 1
set print setup to {absolute overlap:true, auto tile overlap:"76,2 mm", back to front:false, bleed:"0 mm", collate:false, data format:binary data, fit in area:false, flip horizontal:false, flip vertical:false, full res rotated objects:false, halftone screen:"175", include blank pages:false, invert image:false, orientation:portrait, page gap:"0 mm", page position:center position, page sequence:all pages, paper offset:"0 mm", paper size:"Anwenderdef.", paper width:"235 mm", paper height:"305 mm", print colors:composite CMYK, print quality:rotate, print spreads:false, print thumbnails:false, printer type:"Acrobat Distiller", reduce or enlarge:"100%", registration marks:centered, registration marks offset:"11,339 pt", resolution:2400, separation:false, tiling:off}
print
end tell
Also you may want to get the page setup and put your page setup in the same order so that tha printer type is the first thiing that is set then set all the other attributes
then tell it to print
one thing I feel is key here that I added was to make the application active agian I have not tested but it may not print if it is not active