Star Micronics SP2000 manual Function

Page 23

FUNCTION

CODE

DEFINITION RANGE

OUTLINE

FUNCTION

CODE

OUTLINE

Sets horizontal tab stops <ESC> "D" n1 n2 ...nk <0> (1B)H (44)H n1 n2 ...nk (00)H

1 <= n1 <= n2 <= n3 ... < nk <= (Maximum print columns -1), 1 <= k <= 16

Cancels all horizontal tab stops and sets new tab stops within the character pitch at n1, n2, etc. You can set up to 16 individual tab

stops (1 <= n1 <= n2 <= n3...n16 <= maximum printing digits). Tab

stops must be set in ascending order. If tab stops are set in an order which differs fro this, it will end. A <0> code is added as the ending edge. All tab stops are cleared by inputting <ESC> "D" <0>. The reference point for the tab positions is left edge of the paper, regarless of the settings for the left margin. When you turn ON the power, the horizontal tabs are not set.

Sets left margin

<ESC> "l" n

1B 6C n

Sets the non-printable range with the current character pitch up to

the nth postion with the left edge as the reference, after printing the data in the line buffer.

Settings changed partway through a line take effect from the subsequent line. Changing the character pitch after setting does not change the left margin. The left margin is the left edge is when the power is turned ON.

The left margin must be at least 18 dots within the following values in the left edge of the right margin. Also, if there is less than one character including the space between characters in the printable range set for the left and right margins, a "?" will be printed instead of the character because printing is not possible there.

The range of n is 0 <= n <= (right margin -2) <= 255. The default is n = 0.

21

Image 23
Contents Dot Matrix Printer SP2000 Series Programmer’s Manual Table of Contents Control Hexadecimal Function Codes Control Codes Star ModeESC W Print Position Control Dot Graphics Control Auto Cutter Control SP2500 type printers only Other Commands Control Code Details Function Value of n Character Table Hex Dec DSW 1 Digits Per Line Function Code Function Function Value Rotation Specification Function Ptint Position Control MSW FF Command Function SP2520/2560CR Code Function Code Function Function Function ABC Code Example Print Sample M2 m4 m6 m8 m10 M1 m3 m5 m7 m9 m11 MSB LSB Char. Code = 21H Char. Code = 22H Char. Code = 23H Example of transmitting data 10 x n1 ms 10 x n2 ms SUB Auto Cutter Control SP2500 type printers only Function Command to Set the Page Format Cancels printer buffer & Initialize printer Code HEX Outline Paper near end sensor N4 CountryCountry Paper near end sensor Comdex dual auto-cutterValue of n Character Table CR code Parameter Setting CR code See belowPara Setting Treatment of missing data during reverse mode EOT ENQ ETB Value of n Hex Control Hexadecimal Function Codes U200 U300 ESC/POS Mode CommandsESC R Ignored Commands Auto Status Specifications Header 1 First Byte Bit Content Status Header 2 Second Byte Bit Content Status Printer Status Printer Status 5 Sensor Information Seventh Byte Method to Identify States Control Code Reception Data Appendix Character Code Tables Star Mode Character table IBM Character set #2 Code Character table Katakana Character table IBM Character set #1 Star Mode Star Mode Code Page #855 Cyrillic Bulgarian Star Mode Code Page #772 Lithuanian Code Page #774 Lithuanian Code Page #874 Thai Star Mode Star Mode Star Mode Star Mode Star Mode ESC/POS Mode ESC/POS Mode 1 Katakana 2 PC858 Multilingual 3 PC860 Portuguese 4 PC863 Canadian-French 5 PC865 Nordic ESC/POS Mode
Related manuals
Manual 170 pages 46.11 Kb