background image

 10

ZG310 Thermal Printer User Instructions

RS232 Data Cable Configuration (9 pin):

2.2 Connecting to a PC 

1.

Make hardware connections.

1a.

Be sure the PC has a D-type serial connector; otherwise, a serial to USB 
converter will need to be used.

2.

Use any of the available serial ports of the ZG310.

3.

Make sure that the power supply is switched on and connected. The LED 
indicator should light; if it does not, check the power supply and connections. 

4.

Load paper and then press the feed button to check that paper feeds. Press 
the paper feed button again twice in quick succession (like double-clicking a 
PC mouse) and the printer should print a self-test message. This will show that 
the printer is operational, and also reports the way in which the printer's serial 
data interface is configured. 

5.

Set up the computer's serial port to match the printer

5a.

Your proposed application program may have a way of doing this, or you can 
get to the DOS prompt [eg C:\>] and type the following command line 
(assuming you have connected the printer to COM1:):

MODE  COM1:9600,N,8,1 [ENTER]

5b.

This will set up the port (COM1:) to 9600 baud, No parity, 8 data bits, and 1 
stop bits which is the default setting for the ZG310.

6.

Send some data to the printer from your computer. An easy way to do this from 
the DOS prompt is to type:

DIR >COM1: [ENTER]   

6a.

This should send a directory listing to the printer. The lines will probably 
overflow, but it will at least show that the communication between the 
computer and the printer is working.       

6b.

You can also send data from QBASIC, for example:

OPEN "COM1:9600,N,8,1" FOR RANDOM AS #1

PRINT#1, "Hello"

6c.

Alternatively, in Windows, use the terminal (Hyper terminal) program to send 
some text to the printer.

D-9 Pin

Name

Function (refers to PC)

ZG310 Pin

3

TxD

Serial Data Output

3

2

RxD

Serial Data Input

4

6 & 8

CTS & DSR

Busy Input

5

5

SGND

Signal Common 0V

6

Summary of Contents for ZG310

Page 1: ...ZG310 Thermal Printer User Instructions AWT35 500729 IssueAA July 2011...

Page 2: ...nder license Full acknowledgment of the source must be given Avery Weigh Tronix is a registered trade mark of the Avery Weigh Tronix LLC This publication was correct at the time of going to print howe...

Page 3: ...right Notice and Disclaimer 7 EMC Caution 8 Chapter 2 Getting Started 9 Connections and EMC Precautions 9 Connector Details 9 Connector Pinouts 9 Connecting to a PC 10 Application Program 11 Chapter 3...

Page 4: ...4 ZG310 Thermal Printer User Instructions...

Page 5: ...ages Examples of special messages you will see in this manual are defined below The signal words have specific meanings to alert you to additional information or the relative level of hazard ELECTRICA...

Page 6: ...G310 is directly powered through the power jack at the rear of the printer The printer is designed for direct connection to a 12V or 24V vehicle battery Alternatively the user may make their own power...

Page 7: ...ht to modify and improve the firmware in its printer products at any time Every effort is made to ensure backward compatibility however no guarantee in this respect is given or implied The ZG310 inclu...

Page 8: ...Printer User Instructions 1 11 EMC Caution System EMC compliance remains the responsibility of the system designer It is recommended that screened cables are used earthing arrangements will depend on...

Page 9: ...cket Detail The maximum insertion length is 12 mm RJ12 Combined Data Socket Detail Power Supply Input Jack Socket Jack RJ12 Data Socket Pin Dimension mm Function Inner Inside 2 1 Positive 9 36 VDC Inp...

Page 10: ...match the printer 5a Your proposed application program may have a way of doing this or you can get to the DOS prompt eg C and type the following command line assuming you have connected the printer t...

Page 11: ...ng the printer from your application program As referred to in the Programmers Guide the ZG310 has a control code set based on the EPSON ESCPOS protocol Many of the commands are as closely compatible...

Page 12: ...print see below 3 2 Spool Mode In spool mode data is received and stored but not printed This is useful when printing needs to be suppressed during data transfer for example in mobile radio systems o...

Page 13: ...h this table may seem complicated few applications will produce many of the combinations Pattern Power Status Buffer Mode Constant Green OK Normal Fast Flashing Green OK Spool Long Green Short Red Low...

Page 14: ...new roll of paper 1 Slide the lid release button forwards until the lid springs open 2 Unwind a small amount of paper from the roll and insert the paper roll into the printer 3 Close lid and the pape...

Page 15: ...of an appropriate control code or after a programmable timeout delay 5 2 Spool Mode Spool mode can be entered by one of the following l a command from the host l a paper out condition or head up condi...

Page 16: ...1 and 12V a logical 0 with reference to the common ground The serial data output line TxD transmits XON XOFF and status information to the host at the same baud rate and in the same format as the seri...

Page 17: ......

Page 18: ...31 USA Tel 507 238 4461 Fax 507 238 4195 Email usinfo awtxglobal com www wtxweb com Avery Weigh Tronix UK Foundry Lane Smethwick West Midlands England B66 2LP Tel 44 0 8453 66 77 88 Fax 44 0 121 224 8...

Reviews: