Citizen CBM1000 manual ESC % n, Gosub Setchr Data

Page 80

ESC % n

[Function]

Specifying/Canceling download character set

[Code]

<1B>H<25>H<n>

[Range]

0 n 255

[Outline]

Specifying/canceling download characters.

 

• Only the lowest bit (n0) is valid for n.

n0

0

1

Function

Canceling download character set

Specifying download character set

[Caution]

Download characters and download bit images cannot be

 

defined simultaneously.

 

[Default]

n = 0

 

[See Also]

ESC &

 

[Sample Program]

 

 

GOSUB SETCHR

DATA 6

 

LPRINT CHR$(&H1B) + “%” + CHR$(0) ;

DATA &HEF, &H80, &H00

 

LPRINT “@A” + CHR$(&HA) ;

DATA &H80, &H80, &H00

 

LPRINT CHR$(&H1B) + “%” + CHR$(1) ;

DATA &H80, &H80, &H00

 

LPRINT “@A” +CHR$(&HA) ;

DATA &H80, &H80, &H00

 

END

DATA &HFF, &HFF, &HFF

 

SETCHR:

DATA &HFF, &HFF, &HFF

 

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

DATA 12

 

LPRINT CHR$(3) + “@” + “A”;

DATA &HFF, &HFF, &HFF

 

FOR J=1 TO 2

DATA &H80, &H07, &HF9

 

READ REP

DATA &H80, &HFF, &HF9

 

LPRINT CHR$(REP) ;

DATA &H87, &HFE, &H01

 

FOR I=1 TO REP3

DATA &H9F, &H06, &H01

 

READ D

DATA &HF8, &H06, &H01

 

LPRINT CHR$(D)

DATA &HF8, &H06, &H01

 

NEXT I

DATA &H9F, &H06, &H01

 

NEXT J

DATA &H87, &HFE, &H01

 

RETURN

DATA &H80, &HFE, &HF9

 

 

DATA &H80, &H07, &HF9

 

 

DATA &HFF, &HFF, &HFF

[Print Results]

←⎯⎯ Internal Character Set ←⎯⎯ Download Character

— 62 —

Image 80
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