6.0

Table Of Contents
123
Syntax
passthrough( string )
Argument
string — String value to be sent to the printer. This string is sent as is, with no further modification.
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.
Example
&maxwidth := pdfwidth( ‘parts_manual’,3 )