7.4

Table Of Contents
elseif()
callppd("Tray", "4")
endif()
endif()
PassThrough (procedure)
Sends a literal PostScript command to the printer.
Syntax
passthrough( string, [mode])
Argument
string
String value to be sent to the printer. This string is sent as is, with no further modification.
mode
Integer used as a bitfield to specify when to send the passthrough. Use a value of 1 to send the passthrough in PostScript-
printer centric mode only, a value of 2 to send the passthrough in PostScript-Optimized PostScript Stream only, a value of 3 to
send the passthrough in both PostScript-printer centric AND PostScript-Optimized PostScript Stream modes (default behavior if
the parameter is not present), and a value of 4 to send the passthrough in Windows printing mode only.
Code Sample Example
Refer to your PostScript manual for valid commands.
RunPS (procedure)
This command is typically used to call resources, usually images, downloaded either with the Image Downloader in Plan-
etPress or Send Images to Printer action tasks in the PlanetPress Suite Workflow Tools. Note that this command does not
work with any other PostScript files.
Syntax
runps( filename )
Argument
filename
String value. Name of the resource file.
SelectMedia (procedure)
On screen, displays the physical page. On a PostScript printer, calls the specified paper.
Variables used as arguments in this command are not parsed when printing using the Optimized PostScript Stream mode.
Syntax
selectmedia( width, height, [media], [color], [weight], orientation, mode )
Arguments
width, height
©2010 Objectif Lune Inc - 624 -