SilverScreen Solid Modeler

The PRINT Command

The PRINT Command

Previous topic Next topic  

The PRINT Command

Previous topic Next topic JavaScript is required for the print function  

SilverScreenAPI

 

PRINT Command

 

The page command is used to control the appearance of printed output on the output device.

 

 


SETUP

print setup

 

The print setup command presents the user with the default Windows print setup dialog. The user can use the dialog to change the current printer and (normally) the page orientation of the output.

 

 


ORIENTATION

print orientation {portrait | landscape}

 

The print orientation command is used to orient the printed output to be either vertical (portrait) or horizontal (landscape).

 

 


RESOLUTION

print resolution {low | medium | high}

 

The print resolution command is used to control the quality of the image. On an HP LaserJet Series II printer, when the resolution is set to high, the Dots-Per-Inch (dpi) will be set to 300x300. When the resolution is medium, the dpi will be set to 150x150 and when the resolution is low the dpi will be set to 75x75. These numbers are presented to clarify the print resolution command and will change from device to device.

 

 


RESET

print reset

 

The print reset command does two things. First, it sets SilverEngine’s printer to the default Windows printer. Second, it sets all print options to their defaults (i.e. resolution high, orientation portrait).

 

 


SCREEN and AREA

print screen [interactive] [copies #] [file]

print area #,# #,# [interactive] [copies #] [file]

 

The print screen and print area commands are used to generate output onto the currently selected output device. Specifying the interactive keyword will cause SilverEngine to display a preview window with options to change the current printer, change the page setup, set the copies, and control the print destination. The file keyword means that output should go to a file and the user will be prompted for a file name. The copies keyword allows you to control the number of copies that will be generated on the output device. The number of copies must be greater than zero.

Print area requires two pairs of numbers between zero and one. These pairs of numbers express screen percentages that used together define an area within the boundaries of the currently active window.