To ensure proper alignment and formatting when printing forms via laser printers, users must configure escape sequences that correspond to the specific form type.
Note: Printing adjustments should no longer be needed with the use of PDF Forms.
Form-Specific Escape Sequence Setup
-
1099 Forms Escape sequences are entered in the Long Description field of common code
CK99/CK666???. Replace ??? with one of the following:-
“MP” for 1099-MISC normal form.
-
“MPZ” for 1099-MISC Z-fold mailer form.
-
“NP” for 1099-NEC normal form.
-
“NPZ” for 1099-NEC Z-fold mailer form.
-
-
W-2 Forms Escape sequences are entered in the Long Description field of common code
PYFG/PY601C. -
ACA Forms (1095-C) Escape sequences are entered in the Long Description field of common code
ACAR/1095CPRT.
PCL 5 Escape Sequence Examples
The following examples are compatible with most PCL 5-compliant printers (e.g., HP models). These sequences may vary depending on your printer model. For precise command syntax, refer to your printer’s product reference guide.
|
Escape Sequence |
Function |
|---|---|
|
Esc E |
Resets the printer |
|
Esc &l0O |
Sets orientation to portrait, 0 (zero) represents Portrait. |
|
Esc &l8D |
Sets line spacing to 8 lines per inch |
|
Esc &l30Z |
Adjusts top offset by 30 (720 decipoints/inch) decipoints (moves all print down on all pages). Negative values move the page up. (This is a good escape sequence to modify if the if Payer name prints too high.) |
|
Esc &a1C |
Starts printing at Column 1 |
|
Esc (s10H |
Sets pitch to 10 characters per inch |
|
Esc &a0R |
Positions print at top of page (line 0) |
|
Esc &k2G |
Sets the printer to do a line feed and carriage return. This is necessary for some printers if it prints the first line only or prints the second line indented and third line indented even more. |
|
_&l63F |
Number of lines available for printing text. |
|
Esc&f99y4X |
Activates PDF form overlay (see below) |
PDF Form Activation Codes
Use the following escape sequences to activate specific PDF form overlays:
-
1099-MISC:
*&f100y4X -
1099-NEC:
*&f101y4X -
W-2:
*&f99y4X -
ACA (1095-C):
*&f1095y4X
The Esc character is non-printable and is represented by an asterisk (*) in the examples above.
Important Formatting Notes
-
The lowercase letter "l" in escape sequences (e.g.,
&l) may resemble the number "1". Ensure accurate entry to avoid formatting errors.
Reference
For the most current escape sequences required for PDF form printing, refer to the Setup – Forms Printing section in your system documentation.