Citizen CBM1000 manual 158

Page 176

In Figure 1-1, a line feed occurs between “lesson” and “Test 1” because the space

“ next to “lesson” dose not fit in the horizontal range of the 200 × 400-pitch print area. The line feed width conforms to the value specified by a command such as ESC 3.

It is possible to set as many print areas as desired before executing FF. If print areas overlap each other, the print area setup data are ORed with the previous data.

If you want to erase a section of mapped data, use the CAN command. The CAN command erases all data in the print area being specified. You can, therefore, use an ESC W to define a print area that encloses the section you want to erase, and then execute the CAN command, so that the section of the data is erased.

It is important to remember that any part of a character that overlaps with the specified print area will be erased.

<Example 2>

LPRINT CHR$(&H1B) + “L”;

LPRINT CHR$(&H1B) + “W” + CHR$(0) + CHR$(0) + CHR$(0) + CHR$(0); LPRINT CHR$(200) + CHR$(0) + CHR$(144) + CHR$(1);

LPRINT CHR$(&H1B) + “T” + CHR$(0); LPRINT “Page Mode lesson 2 CAN command”; LPRINT CHR$(&HA);

LPRINT “ABCDEFGHIJKLMNOPQRSTU1234567890”; LPRINT CHR$(&HC);

END

First, an ESC L is sent to switch to PAGE MODE (1st line). Next, an ESC W is used to send eight arguments, n1 to n8, to reserve a print area. In this example, the arguments are sent in the sequence of 0, 0, 0, 0, 200, 0, 144, and 1, to reserve a print area that measures 200 from the start point (0, 0) in the x direction and 400 in the y direction (2nd and 3rd lines). Furthermore, an ESC T is used to specify the print direction to be 0 (4th line).

After the above setup, print data is sent (5th to 7th lines). Finally, an FF is sent (8th line) to produce a print-out as shown in Figure 1-2.

(0,0)

200

 

Page Mode lesson

Paper

2 CAN command

 

ABCDEFGHIJKLMNOP

 

400

 

 

QRSTU1234567890

Print Area

 

Figure 1-2

 

—158

Image 176
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 199211 204209 Features General OutlineUnpacking Basic Specifications Model ClassificationBasic Specifications Code 39, Code 128, CODABAR, CodePrint Paper Specifications Recommended PaperPrinting Area Print Position and Barcode PrintingRoll paper width 80 mm provided 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 Removing Paper Jams Using 58 mm Wide Paper RollsTurn off the power of the printer Cleaning the Print Head Operation Panel and Error Indication Power lamp GreenError lamp Red Error indicationControl Functions Buzzer-on Timing Feed switchFeed switch and Power switch Hexadecimal Dump Starting hexadecimal dumpTo access the DIP switches, follow these steps Setting DIP SwitchesLocation of DIP Switches Print density DIP switch Table for Setting DIP SwitchesDIP 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 signalDrive Circuit Specifications of the Power ConnectorPin configuration of Power connector Maintenance and Service Northern America Other AreasPrint Control Functions Command ListCommand Function Mode Code Function Mode Code ESC \Command relative to NV memory Label Control Command Details Command Details See AlsoPrint Results See Also Sample Program Print Result Standard ModeMode Can Example DLE EOT nRange Outline 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 OutlineVertical Magnification GS ! nHorizontal 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 n2HCodepage Katakana Japanese Character Codes TableCode 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 Overview Appendix 1. page ModeSwitching Between Standard Mode and page Mode 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 Overview Negotiation ProcedureNegotiation 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 Überprüfen Sie die Wickelrichtung Einlegen / Auswechseln von PapierrollenSchalten Sie den Drucker ein 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 Summer-Hinweistöne Taste Feed und Schalter PowerTaste Feed Hexdump Funktion zur Erstellung eines hexadezimalen SpeicherauszugsBeispiel eines Hexdump === Hexadecimal Dump ===Einstellen DER DIP-SCHALTER Position der DIP-SchalterDruckdichte DIP-Schalter DIP-SchaltertabelleDIP-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-AnschlussesStiftbelegung des Netzanschlusses Technische Daten des StromanschlussesTreiberschaltung Wartung UND Kundendienst Nordamerika Sonstige LänderInformation Systems Division Head Office
Related manuals
Manual 41 pages 24.59 Kb