This content has been marked as final. Show 3 replies
I've just worked out that because PPDValues.DEVICE_INDEPENDENT does not have a page setup and the my distiller default page setup was smaller than the page being created the image was getting cropped off.
Unfortunately it looks like I will need to tell the script to select a specific pdd. If anyone call help it would be appreciated.
(Untested) In PrinterPreset: ppd any r/w The PPD, specified as a PPD name or an enumeration. Can return: PPDValues enumerator or String.
The only available
value in PPDValues is "DEVICE_INDEPENDENT", so all other values should be supplied as a string.
It is a read/write value, so the regular way of checking what this string should be, is to first set your wanted option, then read it so you know what the string should look like. Most likely, however, it's just the full name of the PPD: "PrinergyRefiner".
The way I got around this was to set up the prinergy ppd as a print to file printer on my windows system. I used the adobe postscript driver to set up the printer. Once I did this it created a printer called Prinergy Refiner.
In my script I set the printer as:
.printPreferences.printer = "Prinergy Refiner";
All works well. Originally I had the ppd sitting in my spooled folder (XP) and In Design picked it up. I was hoping the script would do the same but did not have any luck.