
Creating Formats for SAPscript
Use
A device type must have a format to match every page format that is used in a SAPscript form.
Prerequisite
You have created a
page format that your format references.Procedure
Result
To implement the format, you must implement the format in one or more device types (for more information about this, see
Implementing Formats for Device Types).SAPscript uses the standard formats listed below. If you add a new device type, define at least these formats.
Since the format has a purely documentary role, you will need to add commands to the Printer initialization action in the Device type
® Formats to set the paper type at the printer for some of these formats, as indicated in the table. For information about the commands to enter in the Printer initialization action, see Editing Device Type Formats.
DINA3 |
Format for the European DIN A3 (297 x 420 mm)paper format |
DINA4 |
Format for the European DIN A4 (210 x 297 mm) paper format |
DINA5 |
Format for the European DIN A5 (148 x 210 mm) paper format |
EXECUTIVE |
Format for the American EXECUTIVE (7 ¼ x 10 ½ in.) paper format |
LEGAL |
Format for the American LEGAL (8 ½ x 14 in.) paper format. |
LETTER |
Format for the American LETTER (8 ½ x 11 in.) paper format. |
INCH2 |
Format for 2-inch continuous-feed forms (labels, for example) |
INCH4 |
Format for 4 1/16-inch continuous-feed forms (bank transfers, for example). |
INCH4C |
Format for 4-inch continuous-feed forms |
INCH5 |
Format for 5-inch continuous-feed forms |
INCH6 |
Format for 6-inch continuous-feed forms |
INCH7 |
Format for 7-inch continuous-feed forms |
INCH8 |
Format for 8-inch continuous-feed forms |
INCH11 |
Format for 11-inch continuous-feed forms |
INCH12 |
Format for 12-inch continuous-feed forms (check forms, for example). |
LINE_21 |
Format for 21-line continuous-feed forms (3 1/2 inches at 6 lines per inch). |
LINE_22 |
Format for 22-line continuous-feed forms (3 2/3 inches at 6 lines per inch). |