The text of a manual · part 6 of 29
4100 Bar Code Label Printer User's Manual, pages 51 to 60
Pages 51 to 60 of 282
The original document is the PDF (1.4 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Intermec 4100
Page 51
Helvitica condensed 9 pt italic
Co d e
39
18 pt Installing the Printer
2
To use this procedure to install your system, you need a serial cable with an RS-232C or RS-422/485 interface, a 25-pin D-style subminiature connector on one end, and the appropriate host connector on the other end. If you are unsure about which cable to use, see “Connecting the Printer to a Network” later in this chapter. To install the printer 1. Plug the 25-pin plug into the serial port on the rear panel of the 4100 printer. 2. Plug the other end of the cable into a serial port on the host computer. Your printer is now installed. 3. If necessary, change the printer configuration to match the host. See “Configuring the Serial Port” later in this chapter.
Typical Point-to-Point Installation
PA
US
E PA P RIB
FE
ED
PO
ST CA OP/ RK NCEL ER
DA
Interm A Litton ec
Compa ny
41 00
TR
AN
S
Printer PC
4100-06
About Network Installations If you are installing your printer in a network environment, you may need to change the serial port settings to match the requirements of your network. You can determine the communications requirements for your network by referring to the controlling device documentation. If the controlling device is an Intermec product, refer to the following manuals for instructions and information on the necessary cabling and connections.
2-5
Page 52
Helvitica condensed 9 pt italic
Co d e
39
18 pt
4100 Bar Code Label Printer User's Manual • 9154 Multi-Drop Line Controller System Manual (Intermec Part No. 048517) • 9161B Installation Manual (Intermec Part No. 049572) • 9180 Network Controller User’s Manual (Intermec Part No. 054292) • RF System User’s Manual (Intermec Part No. 053574) • Data Communications Reference Manual (Intermec Part No. 044737) If you need to change the printer’s communications parameters, follow the procedures in “Configuring the Serial Port” later in this chapter.
Typical Network Installation
PAU SE
Inte
PAP RIB
FEE
D rme
A Litton c
Company
41 00
PO
STO CAN P/ RK CEL ER
DA
TRA NS
PAU SE
Inte
PAP RIB
FEE
D rme
A Litton c
Company
41 00
PO
STO CAN P/ RK CEL ER
DA
TRA NS
Host Computer
PAU SE
Inte
PAP RIB
FEE
D
DA rme
A Litton c
Company
41 00
PO
STO CAN P/ RK CEL ER
TRA NS
PAU SE
D
DA
Inte
PAP RIB
FEE rme
A Litton c
Company
41 00
PO
STO CAN P/ RK CEL ER
TRA NS
Controller
PAU SE
PAP RIB
FEE
D
DA
PO
STO CAN P/ RK CEL ER
Inte rme
A Litton c
Company
41 00
TRA NS
PAU SE
PAP RIB
FEE
D
PO
STO CAN P/ RK CEL ER
DA
Inte rme
A Litton c
Company
41 00
TRA NS
Printers (End Devices)
Printers (End Devices) 4100-07
2-6
Page 53
Helvitica condensed 9 pt italic
Co d e
39
18 pt Installing the Printer
2
Modem Installation Procedure Modems allow the printer to communicate with the host computer from a remote location not accessible with remote cabling. You must use an asynchronous, dedicated (nonswitched or manually switched), full duplex modem. Communications requirements should be described in the modem documentation. To connect the printer to a host with a modem 1. Connect the printer serial port to a modem using a 25-pin to 25-pin RS-232 modem cable assembly (Intermec Part No. 043237S). 2. Connect a second modem to the host computer using an appropriate cable assembly for the host and modem. 3. Connect the two modems together using an acoustic coupler or a direct connection to telephone communication lines. 4. If necessary, change the printer’s serial port configuration by following the instructions in “Configuring the Serial Port” later in this chapter.
Typical Modem Installation
Host Computer
Modem
Modem
PAU SE
PAP RIB
FEE D
PO
STO DA CAN P/ RK CEL ER
Inte rme
A Litton c
Company
41 00
TR
AN
S
Printer 4100-08
2-7
Page 54
Helvitica condensed 9 pt italic
Co d e
39
18 pt
4100 Bar Code Label Printer User's Manual
Configuring the Serial Port The 4100 printer’s serial port settings should match those of your host computer or network controlling device. If you need to change the default settings, refer to the following tables. Use a small screwdriver or other suitable tool to move the DIP switches to the desired settings. The switches should click securely into the 1 (ON) or 0 (OFF) positions. The printer must then be turned off and on for the new switch settings to take effect.
Serial Port Settings The following table summarizes your choices for the printer serial port settings.
Parameter
Settings
Baud Rate
110, 300, 600, 1200, 2400, 4800, The rate, in bits per second, at which the host exchanges 9600, 19200 data with the printer.
Data Bits
7 or 8
The number of bits that represent the ASCII characters.
Parity
Odd, Even, None
Checks each transmitted character for errors.
Stop Bits
1 or 2
Bits that follow each character to synchronize character transmission.
Protocol
Standard, XON/XOFF, Multi-Drop, Polling Mode D
The type of network used to connect the printer, the host, and the rest of the data collection system.
Device Address
A to Z, 0 to 5
Unique address for each device connected with Multi-Drop protocol.
Test and Service
Enabled or Disabled
Provides printer diagnostics to the host and prints test labels.
Self-Strip
Enabled or Disabled
Peels the media backing away from labels one at a time for on-demand printing.
2-8
Description
Page 55
Helvitica condensed 9 pt italic
Co d e
39
18 pt
2
Installing the Printer
DIP Switch Settings The following table lists all possible settings for the top bank of DIP switches. Note: DIP switch position 1 = ON, and DIP switch position 0 = OFF. Bottom Bank Switch Number
Top Bank Switch Number OFF O = OFF 1 = ON
ON
Baud Rate Selection 19,200 9,600 4,800 2,400 1,200 600 300 110 Parity Selection Even Odd None None Stop Bits 1 2 Data Bits 7 8 Self-Strip Disabled Enabled
OFF
1
2
3
O 1 O 1 O 1 O 1
O O 1 1 O O 1 1
O O O O 1 1 1 1
4
5
6
7
8
O = OFF 1 = ON Communication Protocol Standard XON/XOFF Polling Mode D Multi-Drop
O O 1 O O 1 1 1
O 1
O 1
O 1
Multi-Drop Address Selection A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 0 1 2 3 4 5 Test and Service Modes Disabled Enabled
ON
1
2
3
4
5
6
7
O 1 O 1 O 1 O 1 O 1 O 1 O 1 O 1 O 1 O 1 O 1 O 1 O 1 O 1 O 1 O 1
O O 1 1 O O 1 1 O O 1 1 O O 1 1 O O 1 1 O O 1 1 O O 1 1 O O 1 1
O O O O 1 1 1 1 O O O O 1 1 1 1 O O O O 1 1 1 1 O O O O 1 1 1 1
O O O O O O O O 1 1 1 1 1 1 1 1 O O O O O O O O 1 1 1 1 1 1 1 1
O O O O O O O O O O O O O O O O 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
8
O O 1 O O 1 1 1
O 1 4100-45
2-9
Page 56
Helvitica condensed 9 pt italic
Co d e
39
18 pt
4100 Bar Code Label Printer User's Manual
Connecting the Printer to a Network Refer to the following information on interfaces and protocols if you are integrating your 4100 printer into a data collection network.
Host Requirements Hardware and software requirements for operating the 4100 printer as follows: • The host computer must use the American Standard Code for Information Exchange (ASCII) for data communications. • A serial port must be available on the host if you are connecting directly to the printer. • The host must support at least one of the following data communication interfaces: RS-232C, RS-422, or RS-485. For information about configuring the host computer, port concentrator, or network controller, see the reference manual for the controlling device.
Communication Boundaries The information below applies to all the printer’s supported protocols. Parameter
Maximum capacity
Message delay
9999 milliseconds
Character delay
9999 milliseconds
Message block size
255 characters (including STX and ETX characters)
Device address number (Multi-Drop)
A to Z, 0 to 5
Communication Protocols The 4100 printer supports the flow control and block transfer protocols described below. All of these protocols are point-to-point except Multi-Drop. Application programs and/or ROM BIOS determine which protocols your computer can support. For more detailed information refer to the Intermec Data Communications Reference Manual, Part No. 044737.
2-10
Page 57
Helvitica condensed 9 pt italic
Co d e
39
18 pt Installing the Printer
2
Intermec “Standard” Protocol Intermec “Standard” protocol is a proprietary block transfer/status response protocol. With the exception of single character status commands such as <ENQ> and <VT>, data is transmitted in message blocks beginning with the start of text (<STX>) character and ending with the end of text (<ETX>) character. Message blocks can be up to 255 characters, including the start of text and the end of text characters. The printer returns its highest priority status when it receives a valid block (<STX>data<ETX>) or when it receives the status request command <ENQ>. When the printer receives the status dump command (<VT>), the printer returns all active status. The printer status response time ranges from 30 to 100 ms, depending on the complexity of the received message block. In the case of a transmission error, the printer responds with a <NAK> and discards the entire message block. Printer status conditions in descending order of priority, status response characters, and pin 11/20 states are shown in this table: Printer status
Character
Pin 11/20
Buffer already full
GS
Busy
Ribbon fault
US
Busy
No label stock
EM
Busy
Buffer now full
DC3
Busy
Printhead hot
SI
Busy
Offline (paused)
DC3
Busy
Label at strip pin
FS
Ready
Label skipping
DC1
Ready
Printing
DC1
Ready
Ready/Online
DC1
Ready
When the printer returns Buffer now full (<DC3>) status, the currently received message block is accepted. At this time, the printer can accept short messages to allow parsing of immediate commands such as Reset (<DLE>) or Cancel batch printing (<EM>). However, if the printer responds with a <GS> to any message block, it means that the buffer is already full and the entire message block has been discarded.
2-11
Page 58
Helvitica condensed 9 pt italic
Co d e
39
18 pt
4100 Bar Code Label Printer User's Manual
Polling Mode D Protocol Polling Mode D is a proprietary Intermec block transfer protocol that transmits data in blocks of up to 255 characters, including protocol overhead. The blocks are framed with LRC characters for additional data integrity. Use Polling Mode D for point-to-point networks that connect the 4100 to an Intermec port concentrator (RS-232C or RS-422).
Multi-Drop Protocol Multi-Drop is a network protocol that allows you to connect up to 32 devices to an Intermec controller on a four-wire RS-485 (two twisted pair) interface. This protocol is similar to Polling Mode D except each device has a unique address (POL and SEL characters). You must use RS-485, which is automatically enabled when you enable Multi-Drop. Be sure to specify a unique address for the printer and verify that the baud rate is between 2,400 and 19,200.
XON/XOFF Protocol (Software and Hardware / Flow Control) XON/XOFF protocol stops the host from sending data when the printer buffer fills up and starts the host again when the buffer empties. When you select the XON/XOFF protocol, you concurrently enable software and hardware flow control. Software flow control uses the ASCII characters <DC1> (XON) and <DC3> (XOFF) to start and stop the flow of data from the host to the printer. Hardware flow control uses pin 11 or pin 20 (internally connected together) on the printers serial port to indicate “Ready” or “Busy” for data flow control. Note: Do not confuse the <DC1> and <DC3> with the Standard protocol ready <DC1> and buffer full <DC3> status characters. The message length for the XON/XOFF protocol is unrestricted. The printer processes information as it is downloaded and stops when there is no more information. Use and <STX> and an <ETX> when you want to add comment lines to your command file. The printer ignores comments between an <ETX> and an <STX>. This comment feature is similar to using comment lines when programming in computer languages. Use it to document commands sent to the printer. Pin 11/20 reports “Ready” and a <DC1> (XON) is transmitted when the printer finishes reloading at power up. Pin 11/20 reports “Busy” when the printers input buffer fills with 768 bytes of data. If the host ignores pin 11/20 and continues to transmit data, the printer transmits a <DC3> (XOFF) after receiving 15 additional characters. The printer continues to transmit a <DC3> after every 15 characters received if the host continues to transmit data. Data integrity is not guaranteed if this happens.
2-12
Page 59
Helvitica condensed 9 pt italic
Co d e
39
18 pt Installing the Printer
2
Pin 11/20 becomes “Ready” when the printer finishes transferring all the data from the input buffer. If a <DC3> is sent, the printer transmits a <DC1> (XON) and the host resumes transmission. When you switch the printer to Offline, pin 11/20 becomes “Busy” and a <DC3> is transmitted. When you switch the printer to Online and the input buffer is empty, pin 11/20 becomes “Ready” and a <DC1> is transmitted. The following table describes the states of printer XON/XOFF operation: Note: If the printer is already in an XOFF condition, switching to Offline or Online has no effect. # of Bytes Received
Online/Offline
Pin 11/20
Transmit
Do not care
Offline
Busy
<DC3>
768
Offline
Busy
768 + each 15 thereafter
Online
Busy
<DC3>
Buffer empty
Online
Ready
<DC1> (if DC3 was sent)
Ready/Busy Protocol Ready/Busy protocol uses hardware flow control on pin 11 or pin 20 to indicate the printer mechanical status and the printer input buffer input buffer status. To control data flow, pin 20 is the industry standard, however pin 11 is included in Intermec products for backward compatibility. The printer reports “Busy” on pin 11 and pin 20 when you switch to Offline, and “Ready” when you switch Online assuming the buffer is not full. Pressing the [PAUSE] button on the 4100 printer toggles the printer Online (LED off) and Offline (LED on). Enable this option by setting the communication protocol to Ready/Busy. Hardware flow control does not work with multi-drop or modem connections.
User-Defined Protocol The 4100 printer allows you to change protocol characters. However, unlike the Intermec 86XX series printer, the 4100 does not allow you to define your own protocol. Instead, you may substitute new characters to be used as protocol characters, but the rules for the protocol chosen do not change. There is one table of user-definable protocol characters that, when changed, is used by all protocols. Refer to the following table for the user-definable characters and the protocols they affect. Note: Any status response character that is replaced by the NUL character will not be sent back to the host.
2-13
Page 60
Helvitica condensed 9 pt italic
Co d e
39
18 pt
4100 Bar Code Label Printer User's Manual
Communication Interfaces Character
Protocol Affected
SELECT IN
Polling Mode D
Multi-Drop
POLL IN
Polling Mode D
Multi-Drop
RES IN
Polling Mode D
Multi-Drop
REQ IN
Polling Mode D
Multi-Drop
SOM IN
Standard
Polling Mode D
Multi-Drop
XON/XOFF
EOM IN
Standard
Polling Mode D
Multi-Drop
XON/XOFF
AFF IN
Polling Mode D
Multi-Drop
NEG IN
Polling Mode D
Multi-Drop
Polling Mode D
Multi-Drop
DLE IN
Standard
XON IN
XON/XOFF
XOFF IN
XON/XOFF
SELECT OUT
Multi-Drop
POLL OUT
Multi-Drop
RES OUT
Polling Mode D
Multi-Drop
REQ OUT
Polling Mode D
Multi-Drop
SOM OUT
Polling Mode D
Multi-Drop
EOM OUT
Polling Mode D
Multi-Drop
AFF OUT
Polling Mode D
Multi-Drop
NEG OUT
Standard
Polling Mode D
Multi-Drop
DLE OUT
Standard
Polling Mode D
Multi-Drop
XON OUT
XON/XOFF XON/XOFF
XOFF OUT
Polling Mode D
Multi-Drop
XON/XOFF
PROTO-CMD 1
Standard
XON/XOFF
PROTO-CMD 2
Standard
XON/XOFF
TIMEOUT ON EOM
2-14
XON/XOFF
Polling Mode D
Multi-Drop