7.4

Table Of Contents
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.
PDFPageCount (function)
Returns the number of pages in the specified PDF file.
Syntax
pdfpagecount( filename ) integer
Argument
filename
String value specifying the path of the PDF file.
PDFWidth/PDFHeight (function)
Returns the width or height, in inches, of a page of a Portable Document Format (PDF) image resource.
Syntax
pdfwidth( name, page ) measure value
pdfheight( name, page ) measure value
Argument
name
String value that specifies the name of the PDF image resource.
page
Integer value that specifies the page of the PDF
Code Sample Example
This example sets the variable maxwidth to the width of page 3, and the variable maxheight to the height of page 4, of the PDF
named parts_manual.
©2010 Objectif Lune Inc - 312 -