Citizen Systems Model CMP-10 manual Explanation of Input/Output Signals

Page 75

6.3Explanation of Input/Output Signals

(1)RXD

This is signal, receiving data from the host. On occurrence of framing error, overrun error, or parity error, the data is printed as Ò?Ó.

(2)TXD

This signal is for data flow control by X-ON/X-OFF. If data remains in the printerÕs input buffer is 2048 bytes or less, the printer transfers a DC3 (13H: Data Receive Not Ready) signal to the host. If data in the input buffer exceeds 4096 bytes, the printer transfers a DC1 (11H: Data Receive Ready) signal to the host.

(3)Vcc

This is a power supply (+5 V). The signal is not use in the standard serial cable!

(4)GND

This is a GND on the circuit.

(5)Auto turn-on

The printer can be turned on by using RTS signal from the host

CAUTION: Ensure that the RTS signal is deactivated when your application software not using the printer as auto turn-off function is disabled when RTS is active

14, 15 pin (Communicate mode setting)

Using dedicated cable makes these pin short-circuited.

If these pins are short-circuited, printer sets the communicate mode to serial communication. If these pins are not short-circuited, printer set the communication mode to infrared.

6.4 Error Detection

Framing and overrun are detected. On detection of any error, the data are stored in the buffer as Ò?Ó.

(1)Framing Error

With ÒspaceÓ state having been detected on detection of a stop bit, error takes place. The data are stored in the buffer as Ò?Ó.

(2)Overrun Error

On detection of an overrun error, the data are stored in the buffer as Ò?Ó.

6.5Buffering

This printer incorporates 64K byte buffer. This allows most print jobs to by fully buffered so that the host can continue quickly.

Ñ 73 Ñ

Image 75
Contents Command Reference Revision Code Command Function CMP-10 Command SETGS H GS LGS W Xxxx ALL Command DetailsBEL Print Results Sample Program0AH ESC RS ESC SP n Default Sample ProgramDefault See Also ESC ! nBit Function Value END ESC $ n1 n2 ESC % n ESC & m n1 n2 d k Initialize commandHex Mode Vertical Direction Horizontal Direction Dots ESC * m n1 n2 d kMax. Dots IMG1 Page ESC + ESC nHex Type ESC ESC 3 n Bit Equipment Value ESC = n21 Ñ Hex Track ESC ? nESC @ See Also Sample Program Print Results ESC D n k NULESC E n ESC G n ESC J n ESC R nHex Character Set Model CMP-10 Ver ESC S nESC T Hex Speed bpsHex Condition ESC V nESC Y n Byte ESC ZUpdate via firmware interface Not in use Reserved, always 33 Ñ ESC \ n1 n2 ESC ` Hex Position ESC a nESC c5 n ESC d n ESC ESC x n B B B GS n m Memory Switch OFFSee Also Sample Program GS * n1 n2 d n1 n2 D1 ...... DnHex Name Dot Density Vertical Direction Horizontal Direction GS / m1DH3AH Hex Printing Position GS H nGS L nL nH GS W n NL = 40 Hex, nH = 2 Hex GS n1 n2 n3 Hex ModeBit Status Item Addressed by ABS GS a nNot in use Thermal head is overheated Disabled for ASB may also have changed Hex Font GS f n1DH68Hn GS k m d1 ..... dk NUL GS k m n d1 ...... dn Bar code system Range of k Range of dBar code system Range of n Range of d For Standard Mode ForDescription of Bar Codes JAN-8EAN Code set a Code set B Code set C HexCODE93 CODE128 Type Print Sample Outline of Symbol Max. ColumnDescriptionof Bar Codes JAN-8GS w nL nH AT command Function Factory default AT*PAIRINFO=0AT*PAIRINFO=1 Example Bluetooth Init CommandsESC l n Black Mark FunctionDistance from PE sensor and print head is approx .5 mm Character Codes Table Setup menu function After Ver2.20 Change IrDA MAX Speed ? If YES is not chosen, the changed setting will not be lostMemory switch 8 = Memory switches OFF0 ON1Change Print Density ? Programming Considerations Serial Interface Pin No Signal Direction Function Pin No. of Cable14, 15 pin Communicate mode setting Explanation of Input/Output SignalsRS-232C Circuit Electrical CharacteristicsIrComm 3 Wire raw IrLPT Infrared Communication SpecificationsMcbf Mechanical SpecificationBattery Power Related SpecificationsAC Adaptor EMI StandardUL, C-UL, PSE 10AD-JU