Description of all SAP script Print Controls
SAPscript
drivers use the following print controls:
Name |
Meaning |
|---|---|
S0001 - S9999 |
Sets the character set required for a SAP You can define these print controls with empty Be sure to define all standard S<nnnn> print controls (even if they have empty definitions). Otherwise, the spool system generates print–error logs reporting that the S<nnnn> print control is missing. |
SF<nnn> |
Use the SAP The SAP To make an SF<nnn>-instruction available for SAP Non-proportional fonts: Note that the step size specified in SAP You should make it a practice to set the printer step size along with the font in the SF print control. Proportional fonts: Note that the step sizes at the printer must match the Adobe Font Metrics You can use a test print to determine if the printer step sizes and are compatible with the AFM-metrics. Character spacing in the print out should be correct, neither too wide nor too tight nor uneven. OCR-A and OCR-B fonts: SAP has maintained SF print controls for switching to OCR printing for the device types shown in the following section: Printer Types with Predefined OCR Support. |
SBP<nn> |
Bar code prefix, the escape sequence that must be sent before printing bar codes in a SAP <nn> is an arbitrary number used to distinguish different types of bar codes. This bar code is maintained for all standard SAP device types that support bar code printing. For a list of predefined bar codes, see Predefined Bar Codes.
The PRES printer driver encloses the data marked by the SBP and SBS escape sequences in single quotation marks. The POST driver encloses the data marked by the SBP and SBS escape sequences in parentheses. This marks the data as a PostScript constant. The other printer drivers pass the bar code data without modification at the printer. If quotes or other markings are required for bar code data, then you must enter these as part of the SBP and SBS print control definitions. End of the note. |
SBS<nn> |
Bar code suffix, the escape sequence that must be sent after printing a bar code. <nn> is an arbitrary number used to distinguish different types of bar codes. This bar code is maintained for all standard SAP device types that support bar code printing. For a list of predefined bar codes, see Predefined Bar Codes. |
Print controls for duplex mode |
|
SPMSI |
Begin simplex printing (front side of paper only) with the current page. If another mode was previously active, then the printer is switched with start of page to simplex mode and continues in this mode. |
SPMDU |
Begin duplex printing (both sides of paper). The current page is printed on the first side of a sheet in duplex mode. If another mode was previously active, then the printer is switched to duplex mode at the start of the page. Duplex mode also remains active from then on. |
SPMTU |
Begin tumble duplex printing (both sides of paper, top and bottom reversed on second sides). The current page is printed on the first side of a sheet in tumble duplex mode. The printer continues printing in tumble-duplex mode. The page on the second side is always inverted, so that the footer of the second page is printed opposite the header of the first page. |
SPMFS |
Print on first side of sheet in duplex or tumble -duplex mode. For PostScript, define this print control with an empty |
SPMBS |
Print on second side of sheet in duplex or tumble-duplex mode. For PostScript, define this print control with an empty |
SPORT |
Switch to portrait mode at the start of a page. This instruction is sent to the printer at the start of every page printed in portrait mode. You only need to maintain this print control for printers that can switch modes (page printers). You can define the print control with an empty |
SLAND |
Switch to landscape mode at the start of a page. This instruction is sent to the printer at the start of every page printed in landscape mode. You only need to maintain this print control for printers that can switch modes (page printers). You can define the print control with an empty |
SLINE |
Line end command, sent at the end of every line except the last line on a page. Normally, set to CARRIAGE RETURN, LINEFEED (hexadecimal $0D $0A). You have the option of defining this print control with an empty |
SPAGE |
Command for ending a page, sent at the end of the last line on a page. Normally, set to CARRIAGE RETURN, FORMFEED (hexadecimal $0D $0C). You have the option of defining this print control with an empty |
SUL<< |
Start underlining text. |
SUL>> |
Deactivates underlining. |
SUP<< |
Activates superscript. |
SUP>> |
Deactivates superscript. |
SUB<< |
Activates subscripts. |
SUB>> |
Deacctivates subscripts. |
SL<ab.c> |
Set the initial line feed to AB.C lines per inch. Note that SAP Enter a line feed as a three digit number. The last digit is read as the first decimal place. For example, a line feed of 6 lines per inch is represented by the print control SL060. The system reads the value as "6.0". You must ensure that SL060 is defined, since all SAP |
SC<ab.c> |
Sets the initial step size to AB.C characters per inch. Note that SAP Enter step sizes as three-digit numbers. The last digit is read as the first decimal place. For example, 10.0 characters per inch is represented by the print control SC100. The system reads the value as "10.0". You must ensure that SC100 is defined, as all SAPscript forms use this setting. You only need to maintain other step sizes if an output device supports them. SC120 and SC150 are usually supported, for example. |
Print controls for tray selection |
You should define all of these print controls in a new device type, as the SAP |
TRY01, TRY02, TRY03... |
Switch to a particular paper tray at a printer. |
TRYEN |
Print an envelope. |
TRYME |
Switch to manual envelope feed. |
TRYMN |
Switch to manual paper feed. |