• 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: Jan Bultereys <email@hidden>
  • Date: Mon, 04 Dec 2006 13:37:18 +0100
  • Thread-topic: Quark print query, help required, please...

Title: Re: Quark print query, help required, please...
Hi luca, I followed this treat and this is useful for me too, this works in quark 6.5 with panther but in tiger (10.4.7) quark
Crashes, although it makes the ps-file on the desktop...

Any idea why it crashes in tiger?

This is the console output:
QuarkXPress(636,0xa000ed98) malloc: ***  Deallocation of a pointer not malloced: 0x20bb32db; This could be a double free(), or free() called with the middle of an allocated block; Try setting environment variable MallocHelp to see tools to help debug
Dec  4 13:36:13 BELMAC19X crashdump[639]: QuarkXPress crashed
Dec  4 13:36:14 BELMAC19X crashdump[639]: crash report written to: /Users/jbultere/Library/Logs/CrashReporter/QuarkXPress.crash.log

Many thanks guys,
jan


From: Luca Pozzato <email@hidden>
Date: Tue, 28 Nov 2006 18:39:20 +0100
To: Applescript Users <email@hidden>
Subject: Re: Quark print query, help required, please...


On Nov 28, 2006, at 2:45 PM, Nick Hearn wrote:


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


Just call the Opi setup before page setup…
It works with Xpress 6.5


Luca





set savepath to path to desktop as text
set
savepath to savepath & "xxx.ps" as string


tell application "QuarkXPress Passport"
tell document 1
----------------------OPI before page setup
set include TIFF of OPI setup 1 to false
set
include EPS of OPI setup 1 to false
----------------------



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}

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 savepath

delay 2
--close front document saving no





end tell


_______________________________________________
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
 _______________________________________________
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: Peter Waibel <email@hidden>
  • Prev by Date: Re: Quark bug?: insertion point + set contents of selection
  • Next by Date: Re: Odd Finder Behavior
  • Previous by thread: Re: Quark bug?: insertion point + set contents of selection
  • Next by thread: Re: Quark print query, help required, please...
  • Index(es):
    • Date
    • Thread