Device Categories and Modifying Default Output Attributes

There are four general categories of devices that are distributed with SAS/GRAPH. The type of device determines how you control certain aspects of your output.
Note: Using ODS Styles, Device Parameters, and Options describes the recommended methods for controlling the attributes of your SAS/GRAPH output. Modifying device parameters should be attempted only in unusual circumstances when modifying parameters and options in the GOPTIONS statement is not sufficient. If you need to modify a device entry, consider contacting SAS Technical Support for assistance first.
Native SAS/GRAPH devices
produce output in the native language of the device. For example, TIFFP, PS300, SASEMF, JPEG, CGMC, and GIF are native SAS/GRAPH devices. With native SAS/GRAPH devices, you can specify default attributes for your output by customizing the device entry (the DEV catalog entry). For example, by editing the DEV catalog entry for the device, you can change the default size and resolution of your output and the default colors and fonts that are used when styles are turned off. Native SAS/GRAPH devices do not set and or use the SYSPRINT= or PRINTERPATH= system options.
Java and ActiveX devices
produce output using different technologies than the native SAS/GRAPH devices. These devices are the JAVA, JAVAIMG, ACTIVEX, and ACTXIMG devices. These devices do not use information specified in the device entry.
Universal Printer shortcut devices
use the Universal Printing system to generate output. Universal Printing is a printing system that provides printing capabilities to SAS applications and procedures on all the operating environments that are supported by SAS. It is part of Base SAS. For information about universal printing, see Printing with SAS in SAS Language Reference: Concepts in SAS Language Reference: Concepts.
Universal Printer shortcut devices can generate output in the following formats: PDF, PostScript, PCL, PNG, GIF, and SVG. For example, PNG and SVG are Universal Printer shortcut devices. Any device whose name begins with the letter U, such as UGIF or UPSL, is also a Universal Printer shortcut device. The description of a Universal Printer shortcut device generally says “Universal Printer” when you view the contents of the SASHELP.DEVICES catalog. SeeViewing the List of All Available Devices. The list of all Universal Printer shortcut devices is shown in Differences in Using Shortcut Devices and Universal Printers.
Universal Printer shortcut devices are designed to emulate a native SAS/GRAPH device, which means that these devices behave as much as possible like native SAS/GRAPH devices. For example, these devices set the value of PRINTERPATH= so that you need only specify the device name with the GOPTIONS statement. However, for these devices there are some attributes of your output, such as default resolution, that cannot be changed by modifying the DEV catalog entry. See Using Universal Printer Shortcut Devices for more information.
Interface devices
are devices that, in some operating environments, use the facilities of the operating environment, and, in other operating environments, use Universal Printing to generate output. There are three subcategories of interface devices: printer, display, and metafile.
The printer interface devices are the SASPRTC, SASPRTG, and SASPRTM devices (and the WINPRT* devices on Windows systems). In Windows operating environments, if the PRINTERPATH= system option has not been set, these devices use the setting of the SYSPRINT= system option to determine the default output device and the Windows Print Manager to control the generation of output. In Windows operating environments, the Universal Printing System is used if the PRINTERPATH= system option is specified or if the UPRINT system option has been specified at invocation. Otherwise, they use the setting of the PRINTERPATH= system option to determine the default output device and the Universal Printing system to control the generation of output.
Device Categories, GOPTIONS, and DEV Entries
Device category
Examples
Honor GOPTIONS specifications?
Honor device (DEV) entry specifications?
Native SAS/GRAPH devices
GIF
TIFFP
JPEG
CGM
BMP1
SASBMP2
EMF, WMF1
SASEMF, SASWMF2
JAVAMETA
ZPNG
IBMPCGX
Yes4
Yes
Java and ActiveX devices
JAVA
ACTIVEX
JAVAIMG
ACTXIMG
Yes, except as noted in the documentation for specific graphics options. Also, resolution is controlled by the operating environment.
No
Shortcut devices
PNG
UEMF
UGIF
SVG
Yes3, except for resolution5
Yes, except for size, resolution, and fonts
Interface devices
Printer6
SASPRTC
SASPRTG
SASPRTM
Yes, except for resolution7
Yes, except for size, resolution, and fonts
Display
WIN
XCOLOR
Yes, except for resolution9
Yes, except for size8, resolution9, and fonts
Metafile
BMP1
EMF, WMF1
Yes
Yes, except for resolution9 and fonts
1On Windows, BMP, EMF, and WMF are interface metafile devices. In all other operating environments, BMP, EMF, and WMF are native SAS/GRAPH devices.
2In operating environments other than Windows, SASEMF, SASWMF, and SASBMP are copies of EMF, WMF, and BMP, respectively.
3With SVG devices, the XMAX= and YMAX= graphics options set the size of the page, and the HSIZE= and VSIZE= graphics options set the size of the SVG output. With other devices, all four options set the size of the graphics output, and if all four are specified, the smaller specifications are used.
4Some native devices have a set resolution, and others have a fixed set of supported resolutions that you can specify.
5Shortcut devices use Universal Printers. Universal Printers have a fixed set of supported resolutions that can be selected through the Print Setup dialog box or through the PRINTDEF procedure.
6The WINPRT* devices are identical to the SASPRT* devices. They differ in name only.
7The interface printer devices use a mix of host printing facilities and Universal Printing, depending on the operating environment. On Windows systems, use the Windows Print Manager to change the default resolution and size. On other systems, resolution and size are set through the Print Setup dialog box or through the PRINTDEF procedure.
8The device is queried. The size is constrained by the window.
9Display resolution is set in the display properties for the operating environment. The device is queried, and the resolution is set according to the value returned.