General
October 26, 2004, 2:41pm
#1
i worked with QuarkXpress 6.1 on OS X 10.3.5
The ProgramLanguage is “German (Reformed)”
how can i set paper size to “Custom”
in the german version does “Anwenderdefiniert” not worked.
Please help me!
Many thanks…
tell print setup
set printer type to "Adobe PDF"
set paper size to "........."
set paper height to (paper_width)
set paper width to (paper_height)
set reduce or enlarge to 100
set page position to center position
set seperation to false
set include blank pages to false
set registration marks to centered
set registration marks offset to "6 pt"
set bleed to (anschnitt)
set print colors to composite CMYK
set resolution to 2400
set halftone screen to 150
set data format to binary data
end tell
Kjeld
October 26, 2004, 6:14pm
#2
Have you tried
set paper size to “Custom”
Otherwise try if the script works without this line. Because you define the paper size in the following lines, it might work.
General
October 26, 2004, 7:18pm
#3
It does not works with “Custom” or without this line.
Because the “DefaultPageSize” from the Adobe PDF-PPD is Letter
I becomethe follow error-message: can´t set paper height of print setup to “317”.
harges
October 26, 2004, 8:35pm
#4
Much of what you can or can’t do with page size may be determined by the printer you’ve selected. In the script below, using the “Gerneric PDF” printer type allows you to set a custom paper size.
– This droplet processes both files or folders of files dropped onto the applet
on open these_items
[b][color=blue]set[/color][/b] [color=green]The_Path[/color] [b][color=blue]to[/color][/b] [color=blue]choose folder[/color] [color=blue]with prompt[/color] "Please select the Distiller In folder."
[b][color=blue]repeat[/color][/b] [b][color=blue]with[/color][/b] [color=green]i[/color] [b][color=blue]from[/color][/b] 1 [b][color=blue]to[/color][/b] [b][color=blue]the[/color][/b] [color=blue]count[/color] [b][color=blue]of[/color][/b] [color=green]these_items[/color]
[b][color=blue]set[/color][/b] [color=green]this_item[/color] [b][color=blue]to[/color][/b] ([color=blue]item[/color] [color=green]i[/color] [b][color=blue]of[/color][/b] [color=green]these_items[/color])
[b][color=blue]set[/color][/b] [b][color=blue]the[/color][/b] [color=green]item_info[/color] [b][color=blue]to[/color][/b] [color=blue]info for[/color] [color=green]this_item[/color]
[b][color=blue]if[/color][/b] [color=blue]folder[/color] [b][color=blue]of[/color][/b] [b][color=blue]the[/color][/b] [color=green]item_info[/color] [b][color=blue]is[/color][/b] [color=blue]true[/color] [b][color=blue]then[/color][/b]
[color=green]process_folder[/color]([color=green]this_item[/color], [color=green]The_Path[/color])
[b][color=blue]else[/color][/b] [b][color=blue]if[/color][/b] ([color=blue]alias[/color] [b][color=blue]of[/color][/b] [b][color=blue]the[/color][/b] [color=green]item_info[/color] [b][color=blue]is[/color][/b] [color=blue]false[/color]) [b][color=blue]then[/color][/b]
[b][color=blue]my[/color][/b] [color=green]process_item[/color]([color=green]this_item[/color], [color=green]The_Path[/color])
[b][color=blue]end[/color][/b] [b][color=blue]if[/color][/b]
[b][color=blue]end[/color][/b] [b][color=blue]repeat[/color][/b]
end open
– this sub-routine processes folders
on process_folder (this_folder , The_Path )
set these_items to list folder this_folder without invisibles
repeat with i from 1 to the count of these_items
set this_item to alias ((this_folder as text ) & (item i of these_items ))
set the item_info to info for this_item
if folder of the item_info is true then
process_folder (this_item , The_Path )
else if (alias of the item_info is false ) then
my process_item (this_item , The_Path )
end if
end repeat
end process_folder
– this sub-routine prints the files
on process_item (this_item , The_Path )
tell application “Finder”
open item this_item
try
set file_name to name of file this_item as text
–display dialog File_Name as text
on error
display dialog “Problem getting file name.”
end try
end tell
tell application “QuarkXPress Passport”
activate
tell print setup of document 1
set printer type to “Generic PDF”
set paper size to “Custom”
set paper width to “4.27"”
–set paper height to automatic
set orientation to portrait
set page position to center horizontal
set print spreads to false
set reduce or enlarge to “100%”
set registration marks to centered
end tell
print document 1 PostScript file {(The_Path as string ) & file_name & “.ps”}
close document 1 saving no
[b][color=blue]end[/color][/b] [b][color=blue]tell[/color][/b]
end process_item
[This script was automatically tagged for color coded syntax by Convert Script to Markup Code ]
General
October 27, 2004, 5:21am
#5
Hi
The problem is the language from quarkxpress-passport!
When i change the language to english, then i can set the paper-size to “custom”
the paper-size “custom” is in german “anwenderdefiniert”
How can i set the paper-size to custom in german?