Citizen CBM1000 manual Device ID, Termination

Page 184

10)When more data is to be received from the printer, the host chooses one of three status selections:

1.Setting HostBusy (nAutoFd) to Low and indicating that the host is ready to receive.

2.Remaining in the Host Busy Data Available phase.

3.Performing Termination and returning to the Compatibility mode.

13.2.5 Device ID

The device ID is a character string that provides the ID, the type, and other information regarding the printer connected to the interface. When the printer receives a request for a device ID from the host, it replies with the following device ID:

<00> H <2E> H

MFG : CBM ;

CMD : ESC / POS ;

MDL : CBM1000 ;

CLS : PRINTER ;

The first two bytes of the device ID indicate the length of the entire device ID (Including the first two bytes themselves). For a description of a request for a device ID, refer to the “Negotiation” section earlier in the present Appendix.

When the host receives the device ID string of the length indicated by the first two bytes, it must do so consecutively, without terminating the process until the entire device ID is received. If the process is terminated halfway, the printer discards the rest of the string; when the printer receives a new request for the device ID, it sends the device ID beginning from the first character of the ID. After receiving the ID of the length indicated by the first two bytes, the host must carry out the termination even if the printer has data to send (Data Available). If the host does not carry out Termination and tries to receive data, the printer sends the printer status.

13.2.6 Termination

Termination is the process of returning to Compatibility mode from the Nibble or Byte modes. When performing Termination, the host sets the signals as follows:

• IEEE 1284 Active (nSelectln): Low

• HostBusy (nAutoFd):

High (Event 22)

There are two methods of Termination:

(1)Termination through a handshake between the host and the printer.

(2)Immediate termination.

—166

Image 184
Contents Page Declaration of Conformity Important Safety Instructions Wichtige Sicherheitsanweisungen Lärmemission kleiner 70dBASicherheitshinweis General Precautions Safety Precautions Which should be Strictly Observed Page Precautions for Installation Precautions for Handling To prevent injuries and associated damagesHOT Area Daily Maintenance Cleaning the print head Table of Contents Maintenance and Service Print Control Functions 148 154160 168Inhalt 182195 199209 204211 Features General OutlineUnpacking Basic Specifications Model ClassificationBasic Specifications Code 39, Code 128, CODABAR, CodePrint Paper Specifications Recommended PaperRoll paper width 80 mm provided Print Position and Barcode PrintingPrinting Area Used Paper Form PaperSensor Position and Cutter Position Outer Appearance and Component Parts CBM1000SCBM1000A / CBM1000D Connecting the AC Adapter and AC Power Cord OperationConnecting Interface Cables Turn off the power of the printer. AsInterface connector Interface cable to the host computerConnecting the Drawer Kick-Out Connector Setting / Replacing Paper Rolls Turn on the printerCheck the winding direction On the printer cover until a click is HeardPage Adjusting the Paper Near-end Sensor Turn off the power of the printer Using 58 mm Wide Paper RollsRemoving Paper Jams Cleaning the Print Head Operation Panel and Error Indication Power lamp GreenError lamp Red Error indicationControl Functions Feed switch and Power switch Feed switchBuzzer-on Timing Hexadecimal Dump Starting hexadecimal dumpLocation of DIP Switches Setting DIP SwitchesTo access the DIP switches, follow these steps DIP switch Table for Setting DIP SwitchesPrint density DIP switch Selection of Character Code tables DIP switch Baud rate DIP switch Reverse Mode Printer → Host communication Parallel InterfaceBidirectional Parallel Interface IEEE1284 OutlineConnector Pin Configuration DkstatusDescription of Input and Output Signals Input and Output SignalsInput signals to the printer Output signals from the printerElectrical Characteristics Input signal level nStrobe, DataOutput signal level Input and output conditionsTiming Chart Compatibility Mode Data Reception ControlBuffering Data input and print timingSpecifications Serial InterfaceConnector Pin Configuration DTR, RTS DSRInit GNDError Detection Framing errorParity error Overrun errorRS-232C circuit Specifications of Drawer Kick-Out Connector Drawer Kick-Out drive signalPin configuration of Power connector Specifications of the Power ConnectorDrive Circuit Maintenance and Service Northern America Other AreasCommand Function Mode Code Command ListPrint Control Functions Function Mode Code ESC \Command relative to NV memory Label Control Command Details Command Details See AlsoPrint Results See Also Sample Program Mode Standard ModePrint Result Can Range Outline DLE EOT nExample Page See Also DLE ENQ n DLE DC4 n m t DetailsESC FF Execution Result Buzzer sounds for approx msDefault See Also ESC SP nLprint Aaaaa + CHR$&HA ESC ! n Lprint CHR$&HA END ESC $ n1 n2 Lprint CHR$&HA ESC % n Gosub Setchr DataESC & s n m a p s×a m-n+1 Font a ESC * m n1 n2 d k IMG1 ESC n ESC ESC 3 n ESC = n ESC ? n ESC @ Function Code Outline Sample Program Print ResultsESC D n k NUL ESC E n ESC G n ESC J n ESC L ESC M n ESC R n ESC S ESC T n Default Sample Program ESC V nESC W xL xH yL yH dxL dxH dyL dyH CAN, ESC L, ESC T, GS P ESC \ nL nH ESC a n ESC c 3 n ESC c 4 n ESC c 5 n ESC d n ESC p m n1 n2 ’ μ ←⎯ n = Default Sample Program Print Results Function Code Range OutlineHorizontal Magnification GS ! nVertical Magnification Default See Also GS $ nL nH See Also ESC $, ESC T, ESC W, ESC \, GS P, GS \GS * n1 n2 d n1×n2×8 Next I Next J Return GS a pL pH n m DefinitionGS / m Specifying starting/ending macro definition GS B n GS H n 104 GS I n GS L nL nH GS P, GS W GS P x y 1DH56Hm GS W nL nH GS L, GS P GS \ nL nH GS n1 n2 n3 GS a n Online status Offline status Unused Cover closed Cover open Appendix GS f n Selecting bar code height D1 ..... dk NUL D1 ...... dnFor Standard Mode ForFor page Mode Default Initial value is not definedDescription of Bar Codes For print examples, refer to UPC-AAscii This bar code consists of 103 bar code characters Special characters FNC4Description of Bar Codes When the serial interface is used GS r nDLE EOT, GS a, Identification of Send Status GS v 0 m xL xH yL yH d1...dk When xL+xH × 256= GS w n FS g3 m a1 a2 a3 a4 nL nH d1…dk RangeReference FS g4 m a1 a2 a3 a4 nL nH FS g3 P n m Page Q n xL xH yL yH d1…dk 1… xL xH yL yH d1…dk n Page Related Commands FS p GS FF GS a m n Default See Also Sample Program GS C0 m nGS C1 n1 n2 n3 n4 n5 n6 GS C2 n1 n2 Sample Program Print ResultGS C n1 n2 n3 n4 n5 GS c GS I n1L n1H n2L n2HCode Character Codes TableCodepage Katakana Japanese Codepage PC850 Multilingual Codepage PC860 Portuguese Codepage PC863 Canadian-French Codepage PC865 Nordic Codepage PC852 Eastern Europe Codepage PC866 Russian Codepage PC857 Turkish Windows Codepage International Character Codes Table Switching Between Standard Mode and page Mode Appendix 1. page ModeOverview Mapping of print data in the print area Mapping Position for Character Data Mapping Positions for Print DataExample of the Use of page Mode 158 159 Parallel Interface Communication Modes Interfacing Phases Negotiation Negotiation ProcedureOverview Precautions Nibble Mode Data Communication from Printer to HostByte Mode Device ID TerminationPage Appendix 3.IDENTIFICATION of Send Status Identification of Send StatusAppendix 4. Outline Drawing 15.1 CBM1000S15.2 CBM1000A / CBM1000D AC Adapter 31AD Appendix 5. Block Diagram CPUGerman Allgemeine Vorsichtsmassnahmen Warnung Warnung Vorsichtsmassnahmen FÜR DIE Installation Vorsichtsmassnahmen FÜR DIE Handhabung Heisser Bereich Tägliche Wartungsarbeiten Reinigen des Druckkopfs Betrieb Anschließen des Netzteils und Netzkabels183 Anschließen der Schnittstellenkabel Schalten Sie die StromversorgungRichtig aus, und schließen Sie es an Die entsprechende Schnittstelle anAnschließen des Drawer Kickout-Steckers Schalten Sie den Drucker ein Einlegen / Auswechseln von PapierrollenÜberprüfen Sie die Wickelrichtung 187 Justieren des Papierende-Sensors Verwenden von 58 mm breiten Papierrollen Beseitigen von PapierstausReinigen des Druckkopfes Anzeigeleuchte Power Grün Anzeigeleuchte Error RotBedienungsfeld und Fehleranzeige FehleranzeigeFehlerbeschreibung Taste Feed Taste Feed und Schalter PowerSummer-Hinweistöne Hexdump Funktion zur Erstellung eines hexadezimalen SpeicherauszugsBeispiel eines Hexdump === Hexadecimal Dump ===Einstellen DER DIP-SCHALTER Position der DIP-SchalterDIP-Schalter DIP-SchaltertabelleDruckdichte DIP-Schalter Wählen der Zeichencodetabellen DIP-Schalter Baud-Rate DIP-Schalter Parallele Schnittstelle Bidirektionale parallele Schnittstelle IEEE1284Reverse-Modus Drucker → Hostkommunikation KurzbeschreibungBelegung der Anschlußstifte Eingangs- und Ausgangssignale DruckereingangssignaleDruckerausgangssignale StromversorgungssignalEingangssignalpegel nStrobe, Data AusgangssignalpegelElektrische Kenndaten Eingangs- und AusgangsbedingungenTiming-Tabelle KompatibilitätsModus DatenempfangssteuerungDatenpufferspeicher Timing von Dateneingang und DatendruckSerielle Schnittstelle Technische DatenBelegung der Anschlußstifte Beschreibung der Eingangs- und Ausgangssignale Fehlererkennung PufferungDÜ-Blockfehler ParitätsfehlerRS-232C-Schaltkreis Drawer KickOut-Treibersignal Technische Daten des Drawer KickOut-AnschlussesTreiberschaltung Technische Daten des StromanschlussesStiftbelegung des Netzanschlusses Wartung UND Kundendienst Nordamerika Sonstige LänderInformation Systems Division Head Office
Related manuals
Manual 41 pages 24.59 Kb