
Printek Emulation
Forward Seek Black Mark ESC Q F n
This command causes the printer to move the paper forward up to n dot rows to seek the beginning of a black
mark on a form where 0 ≤ n ≤ 255 0.250mm dot rows. If the black mark is found, the printer responds with the
escape sequence ESC Q ? ? n1 n2 where n1 n2 represent the number of dot rows the paper was moved before
the black mark was detected. If the black mark is not found, the printer responds with ESC Q 0 0 n1 n2 where
n1 n2 represent the number of dot rows moved before the seek was aborted.
Example: The following escape sequence commands the printer to move the paper forward up to 200 * 0.250
mm dot rows in search of a black mark on the form. This example also shows the printer’s response that it
found the beginning of the black mark in 183 dot rows.
Command sent to printer:
Escape Sequence: ESC Q F 200
Hexadecimal: 1B 51 46 C8
Response from printer:
Escape Sequence: ESC Q ? ? ; 7
Hexadecimal: 1B 51 3F 3F 3B 37
Note that the values for n1 n2, or in this example “;” “7” in the response from the printer, represent the upper
and lower nibbles, respectively, of the number of dot rows the paper was moved before detecting the beginning
of the black mark. Each of these values has been “or’ed” with 30 Hexadecimal in order to provide the
character shown. As a result, the value represented by “;” is 176, and the value represented by “7” is 7,
indicating that the paper was moved 183 dot rows, or 45.75mm.
Reverse Seek Black Mark ESC Q B n
This command is identical to the Forward Seek Black Mark command described above except that the paper is
moved in the reverse direction in order to seek the bottom edge of the black mark. Care should be taken not to
move the paper very far in the reverse direction to avoid wrinkling the paper and creating the possibility of
paper jams.
Note that reverse paper motion is not supported in MLP3040 SL models and this command is ignored.
Black Mark Found (Response From Printer) ESC Q ? ? n1 n2
This response is provided by the printer after detecting the presence of a black mark on the form in response to
either a Forward Seek Black Mark or Reverse Seek Black Mark command. Please refer to the example for
Forward Seek Black Mark, above.
Black Mark Not Found (Response From Printer) ESC Q 0 0 n1 n2
This response is provided by the printer when the presence of a black mark is not detected on the form in
response to either a Forward Seek Black Mark or Reverse Seek Black Mark command. Please refer to the
example for Forward Seek Black Mark, above.
Gap Sensing
Gap sensing is only available on “LP” models and is used to sense the space between die cut labels. The
minimum space between labels is 0.125” (3.2mm).
Gap sensing is very similar to Black Mark sensing and uses the same commands. Refer to the Operator’s
Manual for instructions on how to select Gap versus Black Mark sensing.
25
Comentarios a estos manuales