7.6

Table Of Contents
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
Measure values specifying the width and height of the physical page in inches.
media
A string value specifying the type of paper to use.
color
String value specifying the color of the paper.
weight
Measure value specifying the weight of the paper (in grams per square meter). You can convert weight in pounds to weight in
grams by multiplying by the weight in pounds by 3.76.
orientation
Integer representing the orientation of the page (0=Portrait, 1=Landscape, 2=Reverse portrait, and 3=Reverse landscape).
mode
Reserved for future use. Specify 0 for now.
©2010 Objectif Lune Inc - 623 -