Oki OKIPOS408II OKIPOS 408II Programmer s Technical Reference - Page 266
ESC Y d1d2 LF NUL, ESC P B n1n2 ; x1x2x3x4 , y1y2y3y4 , w , b , m , h1h2h3h4 LF NUL
View all Oki OKIPOS408II manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 266 highlights
ESC Y d1d2 LF NUL [Name] [Code] Define character pitch ASCII ESC Y d1 d2 LF Hex. 1B 59 d1 d2 0A Decimal 27 89 d1 d2 10 NUL 00 0 [Defined Area] [Initial Value] 48 ≤ d1 ≤ 57 ("0" ≤ d1 ≤ "9"), 48 ≤ d2 ≤ 57 ("0" ≤ d2 ≤ "9") "00" ≤ d1 d2 ≤ "63" d1 d2 = "00" [Function] Defines the character pitch. To change character pitch, specify before the character string format definition command (ESC P C). The setting value is applied as is for single byte characters, but for double-byte characters, the pitch is doubled. This command is enabled only by the character string format definition command (ESC P C) and when character pitch (d1 d2) is omitted. Settings using this command are cancelled by the format initialization command (ESC C). ESC P B n1n2 ; x1x2x3x4 , y1y2y3y4 , w , b , m , h1h2h3h4 LF NUL [Name] [Code] Define bar code format (Specification A) ASCII ESC P B n1 n2 ; x1 x2 x3 x4 , Hex. 1B 50 42 n1 n2 3B x1 x2 x3 x4 2C Decimal 27 80 66 n1 n2 59 x1 x2 x3 x4 44 y1 y2 y3 y4 , y1 y2 y3 y4 2C y1 y2 y3 y4 44 ASCII Hex. Decimal w , w 2C w 44 b , m , h1 h2 h3 h4 LF NUL b 2C m 2C h1 h2 h3 h4 0A 00 b 44 m 44 h1 h2 h3 h4 10 0 [Defined Area] [Initial Value] 48 ≤ n1 ≤ 57 ("0" ≤ n1 ≤ "9"), 48 ≤ n2 ≤ 57 ("0" ≤ n2 ≤ "9") "00" ≤ n1 n2 ≤ "31" 49 ≤ w ≤ 57 (Varies according to "1" ≤ w ≤ "9" and bar code types. See Appendix 2 for details.) 49 ≤ b ≤ 57 ("1" ≤ b ≤ "9") 48 ≤ m ≤ 51 ("0" ≤ m ≤ "3") 48 ≤ x1 ≤ 57 ("0" ≤ x1 ≤ "9"), 48 ≤ x2 ≤ 57 ("0" ≤ x2 ≤ "9"), 48 ≤ x3 ≤ 57 ("0" ≤ x3 ≤ "9"), 48 ≤ x4 ≤ 57 ("0" ≤ x4 ≤ "9") 48 ≤ y1 ≤ 57 ("0" ≤ y1 ≤ "9"), 48 ≤ y2 ≤ 57 ("0" ≤ y2 ≤ "9"), 48 ≤ y3 ≤ 57 ("0" ≤ y3 ≤ "9"), 48 ≤ y4 ≤ 57 ("0" ≤ y4 ≤ "9") 48 ≤ h1 ≤ 57 ("0" ≤ h1 ≤ "9"), 48 ≤ h2 ≤ 57 ("0" ≤ h2 ≤ "9"), 48 ≤ h3 ≤ 57 ("0" ≤ h3 ≤ "9"), 48 ≤ h4 ≤ 57 ("0" ≤ h4 ≤ "9") See Appendix 4 because the x1 x2 x3 x4, y1 y2 y3 y4, h1 h2 h3 h4 values are different for each printer model. - - - [Function] Parameter details • n1 n2: Bar code number • x1 x2 x3 x4: Print starting X direction position Unit 0.1 mm • y1 y2 y3 y4: Print starting Y direction position Unit 0.1 mm • w: Bar code mode selection • b: Bar code type (1:Code39 / 2:ITF / 3:Code93 / 4:UPC-A / 5:JAN/EAN-8 / 6:JAN/EAN-13 / 7:Code128 / 8:NW-7 / 9:UPC-E) • m: Direction of bar code rotation (0:0°, 1:90°, 2:180°, 3: 270° • h1 h2 h3 h4: Bar code height Unit 0.1 mm Defines bar code format (print position, size, type, direction of rotation, and height). _____ STAR Page Mode Command Specifications 3-25