Citizen CMP-10 manual Explanation of Input/Output Signals, 14, 15 pin Communicate mode setting

Page 69

5.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.

5.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 “?”.

5.5Buffering

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

— 67 —

Image 69
Contents Command Reference Revision Code Command Function CMP-10 Command SETGS H 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 = nESC n 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 ESC T ESC S nHex Speed bps Model CMP-10 VerHex Condition ESC V nESC Y n Byte ESC ZUpdate via firmware interface Not in use Reserved, always Byte ESC \ n1 n2 ESC ` Hex Position ESC a nESC c5 n ESC d n ESC ESC x n Default Initial value of n is Sample Program 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 HexDescriptionof Bar Codes Type Print Sample Outline of Symbol Max. ColumnGS w nL nH ESC l n Black Mark FunctionDistance from PE sensor and print head is approx .5 mm Character Codes Table 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 SpecificationsPrinter Mechanism Mechanical SpecificationBattery Power Related SpecificationsEMI Standard AC Adaptor