• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RE: Quark print query, help required, please...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Quark print query, help required, please...


  • Subject: RE: Quark print query, help required, please...
  • From: Nick Hearn <email@hidden>
  • Date: Tue, 28 Nov 2006 13:45:43 -0000

Hi Luca,

 

Thanks for your posting regarding the Quark print settings in Applescript.

 

I've tried your suggestion but I still get the same problem, when I create a ps file manually the size is 532k, when I create one with the applescript the file size is 170mb?

 

Any other ideas would be appreciated. According to the Quark library I should be able to use 'OPI omit TIFF and EPS' in the PRINT line of the script.

  • print -- Print the specified object(s)
    • reference -- objects to print
    • [copies small integer] -- the number of copies to print
    • [cover page no / first page / last page] -- use a cover page
    • [OPI omit TIFF / omit TIFF and EPS / include images] -- OPI options
    • [paper source paper cassette / manual feed] -- paper tray
    • [plates list] -- list of plates to print
    • [PostScript file alias] -- file to print PostScript to
    • [print dialog boolean] -- Show the print dialog? (default is no)

Here's the code that does the printing, please excuse the commented stuff, it highlights the options I've tried.

tell document 1
               set vertical measure to millimeters
               set horizontal measure to millimeters
               set MyDocWidth to width of bounds of current page as real
               set MyDocHeight to height of bounds of current page as real
               
               set properties of print setup to {printer type:
"Prinergy Refiner", paper size:"custom", paper width:MyDocWidth + 50, paper height:MyDocHeight + 50, bleed:25 as millimeter units, orientation:portrait, page position:center position, print colors:composite CMYK, resolution:2400, halftone screen:175, print spreads:false, reduce or enlarge:"100%", registration marks:centered, include blank pages:true, paper offset:0 as point units, page gap:0 as millimeter units, separation:false, print thumbnails:false, back to front:false, page sequence:all pages, registration marks offset:12 as point units, data format:binary data}
               
               
(*
               set include TIFF of OPI setup 1 to false
               set include EPS of OPI setup 1 to false
               *)

               
               
--set properties of OPI setup to {omit TIFF and EPS}
               
               
(*
               tell OPI setup 1
                   set include TIFF to false
                   set include EPS to false
               end tell
               *)

               
           end tell
           
           
-- Print the PostScript
           set theOriginalName to name of front document
           
           set AppleScript's text item delimiters to
"."
           set theName to text item 1 of theOriginalName
           
           set thePSfile to (ps_folder & theName &
".ps") as string
           
           print front document PostScript file thePSfile copies 1 OPI omit TIFF and EPS without print dialog
           
           delay 2
           close front document saving no

This is just a section of the script which compiles ok, however the 'OPI omit TIFF and EPS' seems to be ignored.

I'm using Quark 6.52.

If anyone else has any ideas on why this could be failing I'd be grateful for their input.

Thanks in advance,

Nick

Multimedia Developer

communisis

Print Management Services

Manston Lane, Cross Gates, LS15 8AH

t: 0113 225 5253

f: 0113 225 2525

e: email@hidden

The leading print partner at:

www.communisis.com

 

 

 

 

-----Original Message-----
From: applescript-users-bounces+nick.hearn=email@hidden [mailto:applescript-users-bounces+nick.hearn=email@hidden] On Behalf Of Luca Pozzato
Sent: 27 November 2006 18:10
To: email@hidden
Subject: Re: Quark print query, help required, please...

 

this should answer your question...

 

set savepath to path to desktop as text

set savepath to savepath & "somename.ps" as string

 

tell application "QuarkXPress Passport"

                    

                     tell document 1

                                   

                                    set include TIFF of OPI setup 1 to false

                                    set include EPS of OPI setup 1 to false

                                    print (every page) PostScript file savepath

                                   

                     end tell

end tell

 

 

ciao

Luca

 

 

 

 

 

 

On Nov 27, 2006, at 6:17 PM, Nick Hearn wrote:



***Before acting on this email or opening any attachment you are advised to read the disclaimer at the end of this email***

************************************

 

Hi there,

 

I've written a script that batch prints a selection of Quark docs.

The script works fine apart from one small niggle, that being with the OPI settings.

According to the dictionary I should be able to set what I want to happen OPI wise.

 

[quote]print -- Print the specified object(s)

            reference -- objects to print

            [copies small integer] -- the number of copies to print

            [cover page no / first page / last page] -- use a cover page

            [OPI omit TIFF / omit TIFF and EPS / include images] -- OPI options

            [paper source paper cassette / manual feed] -- paper tray

            [plates list] -- list of plates to print

            [PostScript file alias] -- file to print PostScript to

            [print dialog boolean] -- Show the print dialog? (default is no)[/quote]

 

I've tried this a number of ways but I get an error saying that the command isn't recognised. I'm trying to set the OPI to 'omit TIFF and EPS'.

 

Please can someone point me in the right direction.

 

Thanks in advance,

 

Nick



______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________



**********************************************************************
Communisis plc - registered no: 2916113 is a limited company registered in England and Wales and whose registered office is at Wakefield Road, Leeds, LS10 1DU.

Please Note: This e mail and its attachments contain only the opinions of the sender and do not necessarily reflect the policy (s) of the Communisis group in general.

Confidentiality: This e-mail and the contents of any attachments are intended for the named recipient(s) only and may be confidential. If you have received this e-mail and its contents in error you must take no action based on them, nor must you copy or show them to anyone. Please reply to this e-mail and highlight the error.

Warning: Although this e-mail and any attachments have been scanned for viruses, Communisis cannot guarantee that they are virus free. The Communisis group therefore accepts no responsibility for any loss or damage caused by transmission of this e-mail.
**********************************************************************

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/mailman//archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Quark print query, help required, please...
      • From: Luca Pozzato <email@hidden>
    • Re: Quark print query, help required, please...
      • From: Peter Waibel <email@hidden>
  • Prev by Date: Re: Saving Photoshop File Formats
  • Next by Date: Re: mimetype to download and execute applescript
  • Previous by thread: Re: Quark print query, help required, please...
  • Next by thread: Re: Quark print query, help required, please...
  • Index(es):
    • Date
    • Thread