Re: Print PS file Quark
Re: Print PS file Quark
- Subject: Re: Print PS file Quark
- From: Wayne Melrose <email@hidden>
- Date: Thu, 8 Jun 2006 13:07:30 +0200
On Jun 8, 2006, at 12:57 PM, Bastiaan Boertien wrote:
How do they crash? Quark 6.0 and 6.1 crashes a lot on fonts. Can
you print this file manually to an postscript printer? If it also
crashes then an ver haigh chance is that the fonts are the problem
makers.
yeah the file prints fine as a manual print to file
If the problem is not with the fonts then try tho make an ps file
without the printsetup commands and do the printsetup manually in
the program. If this goes right well then it is you print setup who
causes the problem.
running the script for the print setup seems fine, and saves fine,
adding the print postscript line is when it crashes, I also tried
just printing the postscript without any settings, same problem. So I
think the print setup is OK
It's possible that the order of al those sets commands is wrong. I
had this in the past many times. That's why it is better to set the
whole print setup in one command line in applescript.
ahh good idea anyway
somthing like
tell application "QuarkXPress Passport"
set print setup of document 1 to {printer type:"Adobe PDF",
absolute overlap:true, back to front:false, ......}
end tell
I'll to this anyway
Last thing why this goes wring is the contents of an property of
the printsetup. are all values possible???
as far as I can see, the values all seem to work, are in samples I
have found on the web, and seem to match quarks dictionary.
greetings
Op 8-jun-2006, om 12:37 heeft Wayne Melrose het volgende geschreven:
I have a small script that is simply trying to print a PS file
from a quark document.
On version 6 and 6.1 (which I have here in the office) both
version crash as they produce the PS file. Rather frustrating..
I'm wondering if someone has had this problem and knows how to
avoid it?
Also I find it strange that in the Print Setup Preferences, you
are unable to set print colors to "As Is" only Greyscale, CMYK and
RGB come up as options..
That also goes for setting halftone to "Printer" rather than a
specified number.
Any light on creating PS from Quark documents would appreciated.
-------------- my current code
tell application "QuarkXPress Passport"
tell document 1
set pageWide to (get page width)
set pageHigh to (get page height)
tell print setup
set printer type to "Adobe PDF"
set paper size to "Custom"
set adjust horizontal tile to false
set bleed to 0
set fit in area to false
set print colors to composite CMYK --
would like to set this to "As is"
set orientation to portrait
set page gap to "0 mm"
set page position to center horizontal
set page sequence to all pages
set paper offset to "0 mm"
set paper width to pageWide
set paper height to pageHigh
set print spreads to false
set reduce or enlarge to "100%"
set registration marks to off
set resolution to 1200
set halftone screen to 300 -- would like
to set this to "Printer"
set separation to false
set tiling to off
set print quality to normal
end tell
set FilePath to "HD:Users:wayne:Desktop:filetest.ps"
print PostScript file FilePath
end tell
end tell
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (Applescript-
email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden