The text of a manual · part 8 of 14
Intermec Ethernet Adapter User's Manual, pages 71 to 80
Pages 71 to 80 of 132
The original document is the PDF (402 KB). 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 068788 Axis 540+
Page 71
6 Setting Up the Ethernet Adapter for a Macintosh Network
Page 72
Page 73
Setting Up the Ethernet Adapter for a Macintosh Network
6
This chapter describes how to set up your Ethernet adapter for printing in the AppleTalk environment.
Installing Using the Chooser Window To perform the basic configuration in the Apple EtherTalk environment, open the Chooser window and select a printer. You need to create your own printer driver or network compatible application to work with Intermec printers. You can change the default name of your Ethernet adapter or amend any of the default parameters. However, to access the configuration file from a Macintosh, you need FTP support such as MacTCP, Fetch, or Anarchie.
Communications Support and Protocols The Ethernet adapter allows your printer driver to communicate directly with the printer and consequently facilitates complete functional control over print jobs, such as automatic downloading of fonts not resident in the printer. This functionality has backward compatibility with older Macintosh computers, which means that the Ethernet adapter can generate appropriate responses to Macintosh printer queries, when the connected printer does not support bi-directional communication. Binary communication protocol (BCP) and tagged binary communicationprotocol (TBCP) are communication protocols used by the serial and parallel ports of a printer. They allow 8-bit binary data in files concurrent with the use of some control characters for communication and print job control. TBCP is required for printing with a binary data stream on some printers, such as HP printers.
Setting Parameters From within the Macintosh environment, you can set a small number of the parameters of the Ethernet adapter. You can select ASCII or either of the binary data protocols for your printing and you can set the IP address, which enables you to configure and manage your Ethernet adapter from any standard Web browser. To set parameters 1. Open the Chooser. 2. Select a network printer driver. 3. Select the printer port that ends with “_CFG.” 4. Close the Chooser. 5. Open a text editor such as SimpleText.
6-3
Page 74
Intermec Ethernet Adapter User’s Manual
6. Write a text file containing the following: BINARY
:
YES
BINARY_TYPE :
TBCP
INT_ADDR
192.168.3.191
:
The BINARY parameter can take the values YES or NO. The BINARY_TYPE parameter can take the values BCP or TBCP. See the technical reference for more information on these parameters. Note: Do not use the IP address in the example above. Always consult your Network Administrator before assigning an IP address. 7. Print the above text file. The adapter permanently stores the settings. 8. Open the Chooser and select the printer port you want to use for printing documents. 9. Finish the process by closing the Chooser.
6-4
Page 75
7 Setting Up the Ethernet Adapter for a UNIX Network
Page 76
Page 77
Setting Up the Ethernet Adapter for a UNIX Network
7
This chapter explains how to use axinstall to configure your Ethernet adapter.
Integrating Into the Host Printer Spooler Having performed the basic TCP/IP setup procedures in Chapter 2, you are now able to print in interactive mode using LPR (LPD), FTP, or Reverse Telnet protocols. However, if you need to integrate the Ethernet adapter into your host spooler, you can use the Axis automatic installation script axinstall. This utility software is resident on the Ethernet adapter, but it can also be uploaded to your host using FTP, so no disks are required. The axinstall script is also available on the CD-ROM or disks that came with your adapter. Having completed this operation, the printer connected to the Ethernet adapter will appear as though they are directly connected to the host printer spooler. To install the installation script axinstall using FTP 1. Login to the Ethernet adapter using the command ftp host_name, where host_name is the name assigned to your Ethernet adapter, for example npserver. 2. Enter root as user id and pass as password. 3. Download the script using the command get axinstall as shown in the example below. 4. Log out using the command quit, bye, or exit depending on your FTP version. The following is a typical FTP session for collecting the axinstall script. > ftp npserver connected to npserver. 220 AXIS 540/640 FTP Print Server v5.51 Apr 17 1998 ready. Name (npsserver:thomas): root 331 User name ok, need password Password: pass
(not visible)
230 User logged in ftp> get axinstall 200 PORT command successful. 150 Opening data connection for axinstall (192,36,253,4,13,223), (mode ascii). 226 Transfer complete. local: axinstall remote: axinstall 61187 bytes received in 14 seconds (4.2 kbytes/s) ftp> bye 221 Goodbye. >
7-3
Page 78
Intermec Ethernet Adapter User’s Manual
The axinstall script has now been downloaded to your host. Execute the script with this command: sh axinstall
Follow the step-by-step procedure through the installation. During the installation you will be asked to select a print method; we suggest you choose LPD or, for more functionality, use the PROS filter or named pipe methods. Please refer to the following pages if you need guidance on the choice of print methods. The axinstall script will suggest one of the systems listed when started. If you do not find the suggestion appropriate, then manually select any of the systems listed next: •
SunOS 4 (SUN BSD, Solaris 1.X)
•
SunOS 5 (SUN SYS V, Solaris 2.X)
•
AIX (IBM RS/6000, BULL DPX 20)
•
HP-UX (HP 9000)
•
BOS (BULL DPX 2)
•
DEC OSF/1 (Digital Equipment, Alpha)
•
ULTRIX (Digital Equipment, DEC)
•
IRIX (Silicon Graphics, SGI)
•
SCO UNIX (Santa Cruz Operation)
•
FreeBSD (Berkeley UNIX)
•
Generic BSD (Berkeley UNIX)
•
Generic SYS V R3 (UNIX System V Release 3)
•
Generic SYS V R4 (UNIX System V Release 4)
Print Methods on TCP/IP Networks The Ethernet adapter supports several different print methods in the TCP/IP environment. The utility axinstall will suggest a print method suitable for your particular UNIX system, but you might want to use another method depending on your printing requirements. The next diagram shows the alternative data paths taken by some of the UNIX print methods. This illustrates some of the advantages and limitations of the different methods. Use the following information to determine which method to adopt.
7-4
Page 79
Setting Up the Ethernet Adapter for a UNIX Network
7
Data Paths Taken by UNIX Print Methods
File to print
Directly connected printer
Print spooler
DIRECT FTP RTELNET
Parallel port
Filter/ interface model
Named pipe
LPD FTP RTELNET PROS B
PROS print daemon
Printer PROS A
Ethernet adapter AXISI.007
Line Printer Daemon The line printer daemon (LPD) is a protocol for transferring print jobs between hosts. This is the recommended method for UNIX systems, but some System V versions do not support LPD. Advantages LPD is easy to set up and install the Ethernet adapter as a remote queue in System V or to add a remote printer to /etc/printcap using the rm and rp fields (BSD). Limitations Spooler features and printcap or lpr options (BSD), such as multiple copies, are not available.
File Transfer Protocol The file transfer protocol (FTP) is used for transferring files between hosts. Advantages
FTP uses industry standard network software on the host.
Limitations FTP does not provide printer status logging. In the case of BSD, it may conflict with other input or output filters and does not allow both input and output filters. In System V, you cannot use filters or interface programs.
PROS PROS is a protocol developed at Axis. It comes in two versions named pipe (PROS A) and filter (PROS B).
7-5
Page 80
Intermec Ethernet Adapter User’s Manual
PROS A Advantages The Ethernet adapter appears as a device to the system. This makes all filter and model options available. It provides accounting and status logging and supports bi-directional printing. You can view the printer information read back in a log file. Limitations
A ‘C’ compiler is required to build the PROS A drivers.
PROS B Advantages It provides accounting and status logging and supports bi-directional printing. You can view the printer information read back in a log file. Limitations A ‘C’ compiler is required to build the PROS B drivers, and in the case of BSD, it may conflict with other input or output filters. BSD does not allow both input and output filters. You cannot use interface programs in System V.
Reverse Telnet Reverse Telnet is often used for printing via a terminal server printer port and is only recommended if you already have a Reverse Telnet driver installed. Advantages drivers.
Reverse Telnet is easy to set up with previously installed Reverse Telnet
Limitations Reverse Telnet does not have status logging. Drivers are not supplied with the Ethernet adapter. Existing drivers may be slow.
Other Systems This section covers other UNIX and MVS systems you can use.
Other UNIX Systems Most UNIX systems resemble either BSD or System V, so with some ingenuity a solution can also be devised for other variants. If the system has BSD socket type networking support, then prosbsd (in the bsd directory of the Ethernet adapter) can be used as a starting point. It receives print data from stdin and writes a log file to stderr. Nothing is written to stdout. Alternatively, FTP may be used. You should use bsd/ftp_bsd or sysv/ftp_sysv as a starting point.
IBM MVS Systems A sample JCL (job control language) script, jclex, is available in the mvs directory of the Ethernet adapter. It gives an example of how to print a file from a multiple virtual storage (MVS) mainframe to an Ethernet adapter using FTP.
7-6