RE: Setting Page Setup in Quark
RE: Setting Page Setup in Quark
- Subject: RE: Setting Page Setup in Quark
- From: "Frank W. Walker" <email@hidden>
- Date: Mon, 5 May 2003 18:33:14 -0400
- Thread-topic: Setting Page Setup in Quark
One clarification:
I first tried this:
tell front document
set paperWidth to width of bounds of page 1
tell print setup
set printer type to "Acrobat Distiller"
set paper width to paperWidth
set registration marks to off
end tell
end tell
The result was that Quark 4.11 ignored the command to set the paper width, and the postscript came out the default paper width for the printer type "Acrobat Distiller."
Frank
>
----------
>
From: Frank W. Walker
>
Sent: Monday, May 5, 2003 3:55 PM
>
To: Applescript Users (E-mail)
>
Subject: RE: Setting Page Setup in Quark
>
>
I'm using Adobe: "4.3"
>
I altered the "Screen" page size in the "Acrobat Distiller" printer description on the station to be exactly the size I needed, using SimpleText.
>
Here's the relevant part of my script:
>
>
tell front document
>
tell print setup
>
set printer type to "Acrobat Distiller"
>
set paper size to "Screen"
>
set registration marks to off
>
end tell
>
end tell
>
>
How do you "set" a PPD?
>
>
Frank
>
>
> ----------
>
> From: Wadson, David
>
> Sent: Friday, May 2, 2003 6:44 PM
>
> To: Applescript (E-mail)
>
> Subject: RE: Setting Page Setup in Quark
>
>
>
> I've been getting mixed results with Quark 5 and setting print setup. Things
>
> that worked perfectly in Quark 3.32 seem to cause intermitten errors in 5.
>
> Sometimes a reboot is necessary and then the code suddenly works. Because
>
> we kind of skipped over a Quark 4 upgrade, I haven't tried to fight too much
>
> with its nuances of how to script things. I'm heading off to another of site
>
> next week to implement some workflow/Quark scripting solutions and they use
>
> Quark 4 so I'm sure I'm going to get a dose of the same problem.
>
>
>
> What PPD are you using? You might need to set that before the paper width
>
> and paper size as some PPD's, like the Generic ones, don't allow size
>
> changes.
>
>
>
> Dave
>
> > ----------
>
> > From: Frank W. Walker
>
> > Sent: Friday, May 2, 2003 6:10 PM
>
> > To: Applescript Users (E-mail)
>
> > Subject: RE: Setting Page Setup in Quark
>
> >
>
> > I tried that. The script errored on that line (set paper size to
>
> > "Custom"), perhaps because "Custom" is an indeterminate size.
>
> > I then edited the printer description on my Mac so that a certain page
>
> > size "A" which I never use comes up as the exact size I want my postscript
>
> > to be.
>
> > Changing the line to read:
>
> >
>
> > set paper size to "A"
>
> >
>
> > I then got the result I wanted. Unfortunately, it's not nearly as flexible
>
> > as the Quark 3.32 version, because it has to be a set size.
>
> _______________________________________________
>
> applescript-users mailing list | email@hidden
>
> Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
>
> Do not post admin requests to the list. They will be ignored.
>
_______________________________________________
>
applescript-users mailing list | email@hidden
>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
>
Do not post admin requests to the list. They will be ignored.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.