Toshiba B-850 manual Graphic Command ESC SG

Page 170

6.3.22 Graphic Command [ESC] SG

Function

Format

Term

Draws graphic data.

[ESC] SG; aaaa, bbbb, cccc, dddd, e, ggg --- ggg [LF] [NUL] or

[ESC] SG0; aaaa, bbbb, cccc, dddd, e, ffff, ggg --- ggg [LF] [NUL]

aaaa:Print origin of X-coordinate for drawing graphic data Fixed as 4 digits (in 0.1 mm units)

bbbb:Print origin of Y-coordinate for drawing graphic data 4 or 5 digits (in 0.1 mm units)

cccc:No. of graphic width dots

Fixed as 4 digits (in dots)

However, when the graphic data “2: BMP file” or “6: PCX file” is selected, this designation is ignored. (The information of the graphic width is contained in the graphic data.)

dddd:No. of graphic height dots 4 or 5 digits (in dots)

However, when the graphic data “2: BMP file” or “6: PCX file” is selected, this designation is ignored. (The information of the graphic height is contained in the graphic data.)

When “3: TOPIX compression mode” is selected for the type of graphic data:

Resolution of graphic data:

*only two types

0150: 150 DPI (The data is drawn in double resolution.)

0300: 300 DPI (The data is drawn in single resolution.)

e:Type of graphic data [ESC] SG; -- command:

 

0: Nibble mode (4 dots/byte)

Overwrite drawing

 

1: Hex. mode (8 dots/byte)

Overwrite drawing

 

2: BMP file mode

Overwrite drawing

 

3: TOPIX compression mode

Overwrite drawing

 

4: Nibble mode (4 dots/byte)

OR drawing

 

5: Hex. mode (8 dots/byte)

OR drawing

 

6: PCX file mode

Overwrite drawing

 

[ESC] SG0; -- command:

 

 

A: Printer driver compression mode Overwrite drawing

ffff:

Data count (Effective only for [ESC] SG0; -- command)

 

Fixed as 4 digits

 

 

Represents the total number of bytes for the compressed graphic data by 32

 

bits in Hex.

 

 

Range: 0 to 4,294,967,295 bytes

 

(00H, 00H, 00H, 00H to FFH, FFH, FFH, FFH)

ggg --- ggg: Graphic data

- 166 -

Image 170
Contents Series Table of Contents 195 Commands for System AdministratorErrors in Writable Character and PC Command Save Modes 196208 199205 210Pcmcia SdramTCP/IP EF-4M-TB CC EF-1M-TB AA D0H 1CHMF81M1-GBDAT01 D0H 1CH B0HInterface Page Page RTS Input/Output Signals PrinterRTS CTS DSR DTR Output Circuit SN75188 or equivalent Interface Circuit Input Circuit SN75189 or equivalentCTS DSR RTS DTRParallel Interface Cable Amp. Japan Or equivalent DDK57RE-40360-73B or equivalent 57E-30360 or equivalentNInit NFault NDataAvail NSelectIn IEEE1284 Active Chassis GNDPage Page Page Page Busy Host ← Printer NAck Host → PrinterNStrobe Host → Printer 10 sec Board Connection DiagramCPU Pcmcia LATIN9 None Even ODDOFF English German French Dutch Spanish Japanese ItalianTYPE1 TYPE2 Centronics ACK/BUSY timing setting Hour READY/BUSY DTR NoneXON/XOFF + READY/BUSY FeedOnline Mode Functions Transmission Sequence Page Label Issue Operation Page ESC Format of Interface commandCommand & Data NULCommands for Creating Application Commands for System Administrator Commands for Creating Application Label Size Set Command ESC DPrint direction Printing bottom first Printing direction Printing top first Setting rangeTags Labels TagsThermal head width 216.8 mm Cut issueModel 850 Method LabelPage Examples Labels Tags Fanfold paperPosition Fine Adjust Command ESC AX +3.0 mm First print position home position after back feed ±50.0 mm ±9.9 mmESC AX +020, +035, +10 LF NUL Examples Cut issueStrip issue for auto labeler ESC T21C40 LF NULPrint Density Fine Adjust Command ESC AY Ribbon Motor Drive Voltage Fine Adjust Command ESC RM Image Buffer Clear Command ESC C Clear Area Command ESC XR Origin 0 Start point Line Format Command ESC LC Slant line a X 2 X 1 ≤ Y 2 Y Slant line B X 2 X 1 Y 2 Y Line Horizontal line In the case of Y2 Y1 =Vertical line In the case of X2 X1 = Radius of rounded corners ≠ Page Origin 0 Bit Map Font Format Command ESC PC OCR-B Prestige Elite Bold Point Courier MediumOCR-A Page Page Sample Relationship between drawing coordinates and magnification OCR-A OCR-BBlack characters Reverse characters Rotational angles of a character and character string180 270 Selection of character attribution Boxed charactersBold character designation INC/DECA2A0A A0A0AA2A0A INC/DEC A0A1AAbcd Page Page C D Origin 0 Effective print area 55.0 mm 20.0 mm 65.0 mm Outline Font Format Command ESC PV Page Page Page 180 270 Backing paper Origin Label Paper Character width and character height Type of font TEC FONT1 Helvetica boldPage Page 180 270 Selection of character attribution Black characters U a l s p a c e Abcd Page Page C D ESC RV S LF 001 LF NUL ESC XS I, 0002, 0002C4000 LF$ NUL$CODE93 Bar Code Format Command ESC XBKIX Code UPC-ACODE128 Pseudo UCC/EAN128 WPCCODE128 Pseudo PostnetPage ITF CODE39MSI Page Page Page Page Page Parameter No. of columns No. of rows Page Page Backing paper Origin Label UPC-A + 2 digits Postnet RM4SCC KIX code MaxiCodeMSI ITF CODE39 NW7 JAN, EAN, UPC CODE93Type of bar code Narrow Wide Character-to-character Case of QR code Bar code height Postal codePage INC/DEC No. of zeros to be suppressed 102 ECC80 ECC0ECC50 ECC0 ECC50 ECC80Row Col ECC200 Page Cell width Page Page 15.0 55.0 20.0 mm 83.0 mm 15.0 mm ESC RB S LF 001 LF NUL ESC RB02 Data Matrix LF NUL ESC XB01 0200, 0125, P, 04, 02, 03, 0, 0010 LF NULESC XB02 0830, 0550, Q, 08, 03, 05, 3 LF NUL Bit Map Font Data Command ESC RC Sample 115 Outline Font Data Command ESC RV Origin 0 Effective print area 12.5 mm ESC C LF NUL Royal Mail 4 State Customer Code 12 digits Bar Code Data Command ESC RBOr 11 digits ECC0 ECC50 ECC200 Sets the security level automatically Parameter No. of columns No. of rows Page Page Page Transfer code for QR code 128 12.5 mm 15.0 mm 55.0 mm 20.0 mm 83.0 mm ESC C LF NUL ESC XB02 0830, 0550, Q, 08, 04, 05, 3 LF NUL Issue Command ESC XS Page Page End of printing the 1st label a Issue mode Batch mode cut intervalIdling Feeds the 1st label a to the cut positionMm automatic forward feed Idling during the forward feed standbyReverse feed to the home position After 1 secondEnd of printing the 3rd label C Tags Printing top first Tags 138Labels Tags Mirror printing top first 139M p l e Paper is moved in the above state Stop position after feeding one labelFeed Command ESC T External equipmentPage Feed mode Batch Non-cut Or E Strip mode for auto labeler M p l e Eject Command ESC IB ESC IB LF NULForward/Reverse Feed Command ESC U1, ESC U2 AA a AAA Storage Area Allocate Command ESC XF Page Memory Card Format Command ESC J1, ESC JA 20 2-byte Writable Character Code Range Command ESC XE Bit Map Writable Character Command ESC XD, ESC XA Page Page = Writable character 158 Hex. modeWritable character set 01 to 40, 51 to Page Writable character set 41 16×16 dots Writable character set 42 24×24 dots Writable character set 43 32×32 dots Writable character set 44 48×48 dots Page Examples Writable character set Writable character code 70H Graphic Command ESC SG Graphic Graphic width 19 dots When Topix compression mode is selected Not present PresentData after being compressed Line No Graphic data Page 24.0 mm Origin Topix compression mode Save Start Command ESC XO, ECS ESC XP LF NUL 175Save Terminate Command ESC XP Saved Data Call Command ESC XQ, ESC XT Head Broken Dots Check Command ESC HD Message Display Command ESC XJ Examples Load paper Feed one label. e Issue 4 labels Reset Command ESC WR ESC WR LF NULStatus Request Command ESC WS ESC WS LF NULVersion Information Acquire Command ESC WV ATA Card Information Acquire Command ESC WI Stored PC command save file name Character Storage IP Address Set Command ESC IP Socket Communication Port Set Command ESC is ODD 189 Parameter Set Command ESC Z2None Even English German French Dutch Spanish Japanese Italian Web printer function is disabled Web printer function is enabledFine Adjustment Value Set Command ESC Z2 Page Batch Reset Command ESC Z0 zero Control Code Selection Error Processing Page Errors in Writable Character and PC Command Save Modes Functions Status FormatDetail Status LCD Message Printer Status An Eeprom for back up cannot be Read/written properlyCompatible Mode System Error 3XH 0DH 0AH Nibble Mode Status FormatXxH Online mode Yes Keyboard KB-80 is Connected Online mode YesOnline mode Yes PCL emulation mode Online mode Yes CommunicatingAn Eeprom for back-up Cannot be read/written Properly Example 2 ESC T20 E40 LF NUL Command error LCD display XR0200,0300,045LCD Messages in Different Languages EnglishItalian 209Character Code Table Page Page Page Page Page Page Page Page Page Page OCR-ABit map font type S PC-850, PC-857 ? O oPage PC-1252, PC-1254 Page Page Page Page Page Page Page Page Page Page Page Page Page PC-852 ´´o Page Page Page Page Page TrueType Font PC-850 243PC-852 PC-857 244 PC-851 PC-855 245 PC-1250 PC-1251 246 PC-1252 10 PC-1253 247 11 PC-1254 12 PC-1257 248 LATIN9 Arabic 249 BAR Code Table WPC JAN, EAN, UPCNW-7 CODE93 Transfer code Drawing code 251 Drawing code Value Code Table 252 CODE128 Transfer codeStart Code a Start Code B Start Code C FNC4 102 FNC1 FNC1 FNC101H 3EH, 41H How to send control code data00H 3EH, 40H NUL NUL 257 ABC 2 3 4 5 6, K Kanji data, B 0 0 1 0 a E o B CPostal code Customer bar code Postnet RM4SCC KIX Code260 BELSOH 262 Modulus 10 checkAuto affix of modulus Auto affix of modulus 10 + price C/D 5 digits Type of Bar Code JAN13, EAN13 No affixAuto affix of modulus 10 + price C/D 4 digits 263Type of Bar Code UPC-A No affix Type of Bar Code UPC-E No affix 265Type of Bar Code JAN8 +2 digits, EAN8 + 2 digits No affix 266Type of Bar Code JAN8 +5 digits, EAN8 + 5 digits No affix 267Type of Bar Code JAN13 +2 digits, EAN13 + 2 digits No affix Type of Bar Code JAN13 +5 digits, EAN13 + 5 digits No affix 269Type of Bar Code UPC-A + 2 digits No affix Type of Bar Code UPC-A + 5 digits No affix Type of Bar Code UPC-E + 2 digits No affix 272Type of Bar Code UPC-E + 5 digits No affix Auto affix of IBM modulus Type of Bar Code MSI No affixIBM modulus 10 check IBM modulus 10 + Auto affix of IBM modulus275 Type of Bar Code Interleaved 2 No affixAuto affix of DBP modulus Auto affix of modulus check character Type of Bar Code Industrial 2 No affixModulus check character check 276Type of Bar Code CODE39 Standard No affix Modulus 43 checkType of Bar Code CODE39 Full Ascii No affix Type of Bar Code NW7 No affix C/D check Auto affix279 Type of Bar Code CODE93 No affix C/D check Auto affix of C/D 280Type of Bar Code KIX Code No affix Type of Bar Code Postnet Auto affix of dedicated C/DType of Bar Code RM4SCC Auto affix of dedicated C/D 281CC7 Automatic Adding of START/STOP Code NW7
Related manuals
Manual 116 pages 33.05 Kb