Citizen CBM1000 manual GS n1 n2 n3, See Also Sample Program

Page 131

GS ^ n1 n2 n3

[Function]

Executing the macro

[Code]

<1D>H<5E>H<n1><n2><n3>

[Range]

0

n1

255

 

0

n2

255

 

0

n3

1

[Outline]

Executing contents defined in macro.

 

n1 : The number of times of macro execution

 

n2 : Waiting time on macro execution

 

Waiting time of n2 × 100 msec is given for every execution.

 

n3 : Macro execution mode

 

n3=0 Continuous execution:

 

The Macro is executed “n1” times continuously at the

 

time interval specified by “n2”.

 

n3=1 Execution by FEED Switch:

 

After waiting for the time specified by “n2”, the

 

ARARM LED flickers and the FEED switch is waiting to

 

be pressed. When it is pressed, the macro is executed

 

once. This action is repeated “n1” times.

[Caution]

• When this command is received while in macro definition,

 

suspension of macro definition is indicated. At this time, the

 

defined content is cleared.

 

• No execution takes place when the macro is held undefined

 

or n1=0.

 

• While in macro execution with n3=1, paper feed with the FEED

 

switch is not available.

[Default]

The initial value is not defined.

[See Also]

GS :

[Sample Program]

Refer to Sample Program and Print Results for GS: on page

 

101.

— 113 —

Image 131
Contents Page Declaration of Conformity Important Safety Instructions Lärmemission kleiner 70dBA Wichtige SicherheitsanweisungenSicherheitshinweis General Precautions Safety Precautions Which should be Strictly Observed Page Precautions for Installation To prevent injuries and associated damages Precautions for HandlingHOT Area Daily Maintenance Cleaning the print head Table of Contents Maintenance and Service Print Control Functions 168 148154 160199 Inhalt182 195211 204209 General Outline FeaturesUnpacking Model Classification Basic SpecificationsCode 39, Code 128, CODABAR, Code Basic SpecificationsRecommended Paper Print Paper SpecificationsPrinting Area Print Position and Barcode PrintingRoll paper width 80 mm provided Paper Used Paper FormSensor Position and Cutter Position CBM1000S Outer Appearance and Component PartsCBM1000A / CBM1000D Operation Connecting the AC Adapter and AC Power CordInterface cable to the host computer Connecting Interface CablesTurn off the power of the printer. As Interface connectorConnecting the Drawer Kick-Out Connector On the printer cover until a click is Heard Setting / Replacing Paper RollsTurn on the printer Check the winding directionPage 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 Error indication Operation Panel and Error IndicationPower lamp Green Error lamp RedControl Functions Buzzer-on Timing Feed switchFeed switch and Power switch Starting hexadecimal dump 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 Outline Reverse Mode Printer → Host communicationParallel Interface Bidirectional Parallel Interface IEEE1284Dkstatus Connector Pin ConfigurationOutput signals from the printer Description of Input and Output SignalsInput and Output Signals Input signals to the printerInput and output conditions Electrical CharacteristicsInput signal level nStrobe, Data Output signal levelData input and print timing Timing Chart Compatibility ModeData Reception Control BufferingSerial Interface SpecificationsConnector Pin Configuration GND DTR, RTSDSR InitOverrun error Error DetectionFraming error Parity errorRS-232C circuit Drawer Kick-Out drive signal Specifications of Drawer Kick-Out ConnectorDrive Circuit Specifications of the Power ConnectorPin configuration of Power connector Northern America Other Areas Maintenance and ServicePrint Control Functions Command ListCommand Function Mode Code ESC \ Function Mode CodeCommand relative to NV memory Label Control Command Details See Also Command DetailsPrint Results See Also Sample Program Print Result Standard ModeMode Can Example DLE EOT nRange Outline Page See Also DLE ENQ n Details DLE DC4 n m tExecution Result Buzzer sounds for approx ms ESC FFESC SP n Default See AlsoLprint Aaaaa + CHR$&HA ESC ! n Lprint CHR$&HA END ESC $ n1 n2 Lprint CHR$&HA Gosub Setchr Data ESC % nESC & 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 Function Code Outline Sample Program Print Results ESC @ESC 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 ESC V n Default Sample ProgramESC 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 = Function Code Range Outline Default Sample Program Print ResultsVertical Magnification GS ! nHorizontal Magnification Default See Also See Also ESC $, ESC T, ESC W, ESC \, GS P, GS \ GS $ nL nHGS * n1 n2 d n1×n2×8 Next I Next J Return Definition GS a pL pH n mGS / 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 ...... dn D1 ..... dk NULFor For Standard ModeDefault Initial value is not defined For page ModeUPC-A Description of Bar Codes For print examples, refer toAscii This bar code consists of 103 bar code characters FNC4 Special charactersDescription of Bar Codes GS r n When the serial interface is usedDLE EOT, GS a, Identification of Send Status GS v 0 m xL xH yL yH d1...dk When xL+xH × 256= GS w n Range FS g3 m a1 a2 a3 a4 nL nH d1…dkReference 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 GS C0 m n Default See Also Sample ProgramGS C1 n1 n2 n3 n4 n5 n6 Sample Program Print Result GS C2 n1 n2GS C n1 n2 n3 n4 n5 GS I n1L n1H n2L n2H GS cCodepage 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 Positions for Print Data Mapping Position for Character DataExample of the Use of page Mode 158 159 Parallel Interface Communication Modes Interfacing Phases Overview Negotiation ProcedureNegotiation Precautions Data Communication from Printer to Host Nibble ModeByte Mode Termination Device IDPage Identification of Send Status Appendix 3.IDENTIFICATION of Send Status15.1 CBM1000S Appendix 4. Outline Drawing15.2 CBM1000A / CBM1000D AC Adapter 31AD CPU Appendix 5. Block DiagramGerman Allgemeine Vorsichtsmassnahmen Warnung Warnung Vorsichtsmassnahmen FÜR DIE Installation Vorsichtsmassnahmen FÜR DIE Handhabung Heisser Bereich Tägliche Wartungsarbeiten Reinigen des Druckkopfs Anschließen des Netzteils und Netzkabels Betrieb183 Die entsprechende Schnittstelle an Anschließen der SchnittstellenkabelSchalten Sie die Stromversorgung Richtig aus, und schließen Sie es anAnschließen des Drawer Kickout-Steckers Überprüfen Sie die Wickelrichtung Einlegen / Auswechseln von PapierrollenSchalten Sie den Drucker ein 187 Justieren des Papierende-Sensors Beseitigen von Papierstaus Verwenden von 58 mm breiten PapierrollenReinigen des Druckkopfes Fehleranzeige Anzeigeleuchte Power GrünAnzeigeleuchte Error Rot Bedienungsfeld und FehleranzeigeFehlerbeschreibung Summer-Hinweistöne Taste Feed und Schalter PowerTaste Feed === Hexadecimal Dump === HexdumpFunktion zur Erstellung eines hexadezimalen Speicherauszugs Beispiel eines HexdumpPosition der DIP-Schalter Einstellen DER DIP-SCHALTERDruckdichte DIP-Schalter DIP-SchaltertabelleDIP-Schalter Wählen der Zeichencodetabellen DIP-Schalter Baud-Rate DIP-Schalter Kurzbeschreibung Parallele SchnittstelleBidirektionale parallele Schnittstelle IEEE1284 Reverse-Modus Drucker → HostkommunikationBelegung der Anschlußstifte Stromversorgungssignal Eingangs- und AusgangssignaleDruckereingangssignale DruckerausgangssignaleEingangs- und Ausgangsbedingungen Eingangssignalpegel nStrobe, DataAusgangssignalpegel Elektrische KenndatenTiming von Dateneingang und Datendruck Timing-Tabelle KompatibilitätsModusDatenempfangssteuerung DatenpufferspeicherTechnische Daten Serielle SchnittstelleBelegung der Anschlußstifte Beschreibung der Eingangs- und Ausgangssignale Paritätsfehler FehlererkennungPufferung DÜ-BlockfehlerRS-232C-Schaltkreis Technische Daten des Drawer KickOut-Anschlusses Drawer KickOut-TreibersignalStiftbelegung des Netzanschlusses Technische Daten des StromanschlussesTreiberschaltung Nordamerika Sonstige Länder Wartung UND KundendienstInformation Systems Division Head Office
Related manuals
Manual 41 pages 24.59 Kb