Printing : Printing on Windows Systems

Printing on Windows Systems

When you install Rational Statemate on Windows systems, the following output devices are defined:

DEFAULT_PRINTER - Prints to the default Windows printer.
LOCAL_PRINTER - Prints to a local printer.
ASCII - Prints ASCII files.
WORD - Uses WORD as a virtual printer. This device is used to print graphics to a Windows non-PostScript default printer.

In addition, you can create a new output device that prints to another printer. For example:

Name: HP4050
Format: PostScript
Device Name: /D:\\BANANA\HP4050
Paper size: A4
Command Line: print

Printing to this device calls the following Windows command line:

print <exported postscript file name> /D:\\banana\HP4050

The output device DEFAULT_PRINTER (which is defined automatically during installation) is defined as follows:

Name: DEFAULT_PRINTER
Device Name: /D:DEFAULT_DEVICE
Paper size: A4
Command Line: print

The keyword DEFAULT_PRINTER is replaced with the “share name” of the default printer, which is retrieved from Windows.

Note: Some print operations (such as printing a chart from the workarea) allow you to choose an output device, whereas other print operations (such as printing the workarea tree) use the definition in the preferences Default Postscript Device and Default ASCII Device as the output device.