PrintImage

<< Click to Display Table of Contents >>

Manual > Control Reference > Route > Route Methods >

PrintImage


 

Print an image file.

 


syntax

PrintImage(

         fileName

         [,title]

         [printerName]

         [,paperType]

         [,orientation]

         [,docName]

         )

 


Parameters

 

loginType

 

Type:

character

 

The image file name.

 

title

 

Type:

character

 

Title. This will be printed in the header when printing.

 

printerName

 

Type:

character

 

Printer name. If not specified, the default printer will be selected. To specify a printer on the network, use the following:

"\\Node\PrinterName"

 

paperType

 

Type:

character

 

Paper type, which can be: If not specified, the default paper specified by the default printer will be selected.

"A3" / "A4" / "A4Small" / "A5" / "B4" / "B5" / "Letter" / "LetterSmall" / "Tabloid" / "Ledger" / "Legal" / "Statement" / "Executive" / "Folio" / "Quarto" / "10X14" / "11X17" / "Note"

 

orientation

 

Type:

character

 

Paper orientation. If not specified, the page will be printed in the default orientation specified by your default printer.

"portrait" - portrait orientation.

"landscape" - landscape.

 

docName

 

Type:

character

 

If the printer is Adobe Acrobat and you want to specify a file name, specify the file name in docName. If not specified, "image" will be used.

 

Return Value

 

 

Type:

Boolean

 

FALSE - Failure. TRUE - Success.

 


hmtoggle_plus1Explanation

 

attention

If any of the following client execution methods apply, you will need to resolve the system file path reference issue in order to use this method.

 

•Running Panel Browser as an embedded Exe

•When running Panel Browser in IE

•When Panel Browser is embedded in VB and executed

 

For more information, see "Important) Regarding path references to system files when running the client".

 

 

 


Supported


×

Script Action

○

Browser script

×

Calculation Expression Syntax

 

 


Reference