Oki OKIPOS408II OKIPOS 408II Programmer s Technical Reference - Page 268
ESC P B n1n2 ; x1x2x3x4 , y1y2y3y4 , w , b , m , h1h2h3h4 a LF NUL
View all Oki OKIPOS408II manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 268 highlights
ESC P B n1n2 ; x1x2x3x4 , y1y2y3y4 , w , b , m , h1h2h3h4 a LF NUL [Name] [Code] Define bar code format (Specifications B, C) 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 y1 y2 y3 y1 y2 y3 y4 , y4 2C y4 44 ASCII Hex. Decimal w , w 2C w 44 b , m , h1 h2 h3 h4 , b 2C m 2C h1 h2 h3 h4 2C b 44 m 44 h1 h2 h3 h4 44 a LF NUL a 0A 00 a 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 ≤ a ≤ 49 ("0" ≤ a ≤ "1") (Specification B) 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 • a (Specification B): Color specification (The setting made by this parameter is valid only when two-color printing is set.) ",a" can be omitted. (Black when omitted.) a 48 ("0") 49 ("1") Black Red Defines bar code format (print position, size, type, direction of rotation, and height). Rotation is done clockwise around the reference point, using the upper left of the bar code as a reference position. The bar codes that are printed do not conform to each standard, so you should confirm before actual use. Settings using this command are cleared by the format initialization command (ESC C). (Spec. C) If the bar code type selected by b whose specification value of the mode follows, by w, the command analysis is ended and a command error is generated. _____ STAR Page Mode Command Specifications 3-27