Hi.
Im change the system and need generate ps files or pdf file in quark 6.5. I
m use this script but in new system the quark close and not generate the file.
What is incorrect ?
Thanks
tell application "QuarkXPress Passport"
activate
set savePath to (desktop as string)
tell document 1
set filename to savePath & "24451.ps"
set thePrinter to "Pdf Printer"
tell application "Printer Setup Utility"
set current printer to first printer whose name is thePrinter
end tell
--try
tell print setup
set printer type to "Acrobat Distiller"
set paper size to "Legal"
set print spreads to false
set page position to center position
set collate to false
set orientation to portrait
set separation to false
set tiling to off
set page sequence to all pages
set include blank pages to false
set fit in area to true
set data format to binary data
set registration marks to off
end tell
print PostScript file filename
--on error
-- display dialog "Problemas com a configuracao da impressora"
--end try
end tell
end tell