Editing Device Types
The device type consists of several components, all of which are linked by a header, which is the device type definition itself . This topic explains the specifications that you can make directly in the device type definition.
To create or edit a device type, choose ), double-click your device type now. Otherwise, use Create or Create using copy to set up a new device type.
You can then edit the following fields:
-
SAP script Driver: Enter the name of the SAP script printer driver to use with this device type. The drivers convert output from the SAP script OTF format to Postscript or PRESCRIBE format, for example.
The following table describes SAP script drivers in more detail.
Driver
For
POST
PostScript printers
PRES
Kyocera printers that use the formatting language PRESCRIBE
HPL2
Hewlett-Packard or compatible printers that use the PCL-4 (LaserJet II) or PCL-5 (LaserJet III, 4, 5, and 6) printing language
STN2
Line printers. This is a generic driver for printers that cannot be driven by one of the other OTF drivers. Proportional fonts are not supported, but character attributes such as boldface, italic, and so forth are supported.
Note: The STN2 line printer driver requires that a printer can be driven in true line-mode. That is, the printer can correctly print a file that contains only printable characters and NEWLINE, CARRIAGE RETURN, and FORM FEED characters. A PostScript printer is, for example, not a line printer.
SWIN
Microsoft Windows printers by way of the SAPLPD transfer program. This driver is only used with the device types SWIN/SAPWIN. SWIN converts SAP script OTF format to an internal SAP protocol that SAPLPD understands and converts to Windows GDI commands.
With SWIN/SWIN, you can use any type of Windows printer, regardless of whether it has a device type definition in the SAP system.
Other drivers that you may notice are either for SAP internal use or are not in used.
You can only use the following functions if you are using (or copying) device types HPLJ4000 , KYOFS170 , POST2 and SWIN :
-
Driver for List Printing: Enter the name of the list printer driver for this device type. The drivers convert output from the internal list format to one of the following formats: PCL-5, PostScript (Level 2) or PRESCRIBE II.
The following table describes the SAP list printing drivers in more detail:
Driver
For
HPL2
Hewlett-Packard or compatible printers that use printing language PCL-5 (LaserJet III, 4, 5 and 6).
POST
PostScript printers (PostScript Level 2)
PRES
Kyocera printers that use the PRESCRIBE II printing language.
SWIN
Microsoft Windows printers by way of the SAPLPD transfer program.
[No entry]
Leave the field empty if your device type should not use the list printing driver.
However, when implementing formats for your device type, you can specify that individual formats should use a driver for list printing. For information on this, see Editing Device Type Formats .
-
Character Set of the Printer: Enter the ID number of the SAP character set that is compatible with the printer model you are defining. This character set is used to convert output characters from their SAP internal representation to the codes that are needed for outputting the characters at the printer. The character set must be defined in the SAP spool system ( Spool administration ).
To select an SAP character set for a printer, use the character set that is specified for a similar device type, if possible. Otherwise, check that the character set identification on the printer status sheet or in the printer manual is similar to that in the SAP character set. If you are still not sure which character set to use, then compare the character codes in the SAP character set with those in the technical guide to your printer, or do a test print with a character set. (See Testing an Output Device for more information).
If you cannot find an SAP character set that meets this requirement, then you can define an additional character set. (See Maintaining Character Sets for help.)

