M204 PCMCIA PRINT SERVER Installation and Configuration Manual Manual Version 5.6 Firmware Version 5.6 Microplex Systems Ltd. 8525 Commerce Court Burnaby, BC V5A 4N3 http://www.microplex.
Copyright 1991, 1992, 1993, 1994, 1995, 1996 Wyndham Technologies Inc. All rights reserved. No part of this manual shall be reproduced, photocopied, recorded, stored in a retrieval system, translated to another language, or transmitted by any means electronic, mechanical, or otherwise, without written permission from Wyndham Technologies Inc. No patent liability is assumed with respect to the use of the information contained herein.
TABLE OF CONTENTS TABLE OF CONTENTS ................................................................ i LIST OF FIGURES ...................................................................... iv LIST OF TABLES ......................................................................... v .....................................................................................PREFACE 1 Who Should Use This Manual.................................................................. 1 Organization of This Manual...........
M204 Configuration ............................................................................... 63 Host Configuration ................................................................................. 63 Additional Configuration Options .......................................................... 64 ............................ CONFIGURING THE M204 FOR WINDOWS 67 Overview................................................................................................. 67 TCP/IP Setup ........................
FTP Daemon......................................................................................... 132 Serial Line IP ........................................................................................ 139 IP Routing............................................................................................. 143 ........................................... TROUBLESHOOTING THE M204 145 Overview...............................................................................................
LIST OF FIGURES Print Server Operating Logic 9 M204 Diagram 17 npd Overview 42 M204 Jumper Settings 123 Sample Commercial Invoice 162 Parallel Port Timing 165 iv LIST OF FIGURES
LIST OF TABLES npconfig/ezsetup Main Menu 21 npconfig Detailed Configuration Options Sub-Menu 21 Model Types 78 Parallel Port Timing 166 PRN1/PRN2 Pinout 167 9-Pin COM1/COM2 Pinout 168 25-Pin Serial Device Pinout 169 LED Patterns 172 Run and Auto-Reset Mode Description 173 TCP/IP Port Numbers 175 Configuration Considerations 183 LIST OF TABLES v
vi LIST OF TABLES
PREFACE Who Should Use This Manual A system administrator or someone with a good understanding of the protocols involved should perform the installation and configuration procedures in this manual. Organization of This Manual This manual covers each aspect of the M204 and contains these chapters: PREFACE on page 1 Contents, organization, and conventions used in this manual. GETTING TO KNOW THE M204 on page 5 Description of the M204’s features and an introduction to its architecture and installation.
USING THE M204’S COMMAND SET on page 81 Full reference section based on the M204’s command set. USING NPWIN on page 113 Explanation of using the NPWin to configure and manage the M204. USING THE M204’S ADDITIONAL OPTIONS on page 119 Introduction to some of the print enhancements provided by the M204. ? TROUBLESHOOTING THE M204 on page 145 Helpful hints and steps to consider when you run into problems in any setup.
Computer Entry and Display Conventions Command syntax and examples are formatted as follows: • The Courier font in boldface indicates command entries. $ ping ftp.microplex.com • Regular Courier font indicates displayed results. ftp.microplex.com is alive • Arguments separated by the or symbol ( | ) mean that a choice must be made. list default com1|com2 • Square brackets [ ] around something indicates that it is optional.
4 PREFACE: Computer Entry and Display Conventions
GETTING TO KNOW THE M204 Overview The purpose of this chapter is to get you acquainted with the M204. It contains an overview of the its features, an overview of the its architecture, and an overview of basic installations in each of the supported environments. M204 Features With the Microplex M204 Print Server, you can locate laser printers, dot matrix printers, plotters, and other peripherals anywhere on the LAN rather than attaching them directly to a host system. Installation is also quick and simple.
• load-balancing so a job can be redirected to an idle printer instead of waiting for a particular one to free up, • the choice to disable selected Print Server services, • extra printing functionality such as carriage return insertion to remove some of the processing burden from the host, • banner/trailer page generation, • autosensing of job/file format for ASCII to PostScript conversion or for automatic switching of the printer’s emulation mode, • header and trailer strings to instruct printer
• simultaneous support of multiple Novell frame types, • encrypted password support, • queueing on up to 32 queues over 16 file servers, • ability to add a preferred Novell file server list, • automatic frame type sensing of all Novell frame types, AppleTalk Features: • quick printer setup through the Chooser, • ability to disable certain print destinations on the M204 so they don’t all appear in the Chooser, • configurable AppleTalk zones, NetBIOS Features: • NetBIOS over TCP/IP support fo
Overview of Print Server Architecture This section will provide an overview of how the M204 works. To better understand how the Print Server works, it is important to understand I/O ports, destinations and models. I/O Ports The M204 has four I/O ports; two parallel and two serial ports. Printers can be attached to any or all of the four I/O ports.
Summary When you are doing a print setup, you must direct print jobs to a particular destination which is mapped to an I/O port to which the printer(s) is attached. The destination’s associated model is then used for any extra processing of the data, if required. Each I/O port has an internal queuing mechanism that automatically queues print jobs on a first-come, first-serve basis. For more information on I/O ports, destinations, and models, please see M204 INTERNAL ARCHITECTURE on page 77.
Overview of Print Server Installation This section will provide an overview of the basic steps required to install the M204 in the various supported environments: Unix, Novell (PSERVER and RPRINTER), NetBIOS over TCP/IP, and AppleTalk. Note Before installing the Print Server, it may be useful to look at Appendix A, Planning Your Print Setup on page 183 for advantages/disadvantages of various configuration options.
Basic Novell Configuration PSERVER Setup The following outlines the basic steps required to add a M204 to a Novell network using a PSERVER setup and applies to any Netware version. The M204 replaces a dedicated workstation running PSERVER.EXE or PSERVER.NLM so these are no longer needed. Once the unit is physically attached to the network, you need to: 1 Enter into a PCONSOLE session. PCONSOLE is used for the entire print setup. 2 Create a new queue. 3 Create a new print server.
last six digits of the Ethernet address as found on the bottom of the unit. 8 Inside this directory, create a file called CONFIG. 9 Enter the line: set rprinter add pservername printernumber destname where pservername is the existing PSERVER’s name, printernumber is the defined number for this printer in that PSERVER, and destname is a M204 destination (e.g. d1prn1, d4com2, etc.). 10 Reboot the Print Server and wait about a minute for it to connect to the file server.
the name of one of the eight default destinations on the unit. (e.g. d1prn1, d2prn2, etc.) For more information on NetBIOS over TCP/IP configurations, please see CONFIGURING THE M204 FOR WINDOWS on page 67. Basic AppleTalk Configuration The following outlines the basic steps required to add a M204 to an AppleTalk network. Note An AppleTalk setup does not require any Print Server configuration; the network parameters are automatically configured for you once the M204 is booted on the network.
14 GETTING TO KNOW THE M204: Overview of Print Server Installation
INSTALLING THE M204 ON THE NETWORK Overview The first step of your M204 setup is to attach it to the network. This section tells you how to do that and also covers the Print Server’s network interfaces. Preparing for Installation Before unpacking and installing the hardware, read the FCC Warning. FCC Warning This equipment generates, uses and can radiate radio frequency energy. If it is not installed and used as directed in this manual, interference to radio communications may result.
resulting from mishandling. If the outside box is damaged, open it and check for any damage to the contents. Immediately report any damage to the shipping company. Unpack the M204 and check the contents and serial numbers against the packing slip. Immediately report any errors or shortages to your vendor. If everything is in acceptable order, fill out the Warranty Registration/Customer Survey card and mail it in.
als on page 17 for details on each of the M204’s I/O ports. 3 Figure 2: Unpack and plug in the power supply. The connector plugs into the back of the M204. Watch the lights on the front panel of the Print Server as they cycle through the power-on self test. When the self test is complete, the POWER light is on and STAT is flashing.
• autofeed for printers (usually non-laser printers) that require the AUTOFD line to be asserted, • bbmode for simulating an attached printer, • fastmode for high performance parallel interfaces that can handle an increased transfer rate, • slowmode for slower parallel interfaces which require slower transfer rates. For more information, please see list prn1|prn2 on page 87, set prn1|prn2 on page 99, and PRN1/PRN2 Pinout on page 167.
CONFIGURING THE M204 FOR TCP/IP Overview If you are setting the Print Server in a TCP/IP environment, this chapter will help you with all aspects of the setup process. The provided host software is introduced and then steps are given for configuring the M204 for communications over the network and for printing. Since TCP/IP encompasses a wide variety of system types, the common ones are covered in detail to help you get printing in a TCP/IP environment.
Compiling Host Software Some compilation may be needed before adding print setups to your host unless you have SunOS 4.1.x, Solaris 2.x, or SCO Unix. Pre-compiled binaries are provided for these. npconfig can be used to do the compilation or you can try and compile each program independently. For the npconfig method, please: 1 Select Detailed Configuration Options . . . from the npconfig Main Menu. 2 Select Manage Host Software . . . from the Options Sub-Menu.
Table 1: npconfig/ezsetup Main Menu Option Description Configure New Unit Add an M204 Print Server to your network. This option provides for: IP name, IP address, hardware address, netmask, and for root and guest passwords. (ezsetup as well) Configure Host Setup Configure a print destination on the host including communication mechanism and processing options. (ezsetup as well) Detailed Configuration Options. . See Table 2: npconfig Detailed Configuration Options Sub-Menu.
Table 2: npconfig Detailed Configuration Options Sub-Menu Option Description Configure Print Server’s Logpaths . . . Configure M204 logpath settings: name, type, and port. Configure Print Server’s Users . . . Add and remove users. Change user passwords and user types. Configure Print Server’s Novell Options . . . Configure and list the M204 Novell settings: name, frame type, and PSERVER password. List M204 PSERVER and RPRINTER configuration. Configure Print Server’s Network Options . . .
M204 Configuration When the M204 is first installed on a TCP/IP network, you are unable to communicate with it since its network parameters are not initialized. During configuration, the following parameters are initialized and saved in EEPROM: • IP address (mandatory), • netmask or sub-netmask(mandatory), • root user password (recommended for security), • guest user password (recommended for security).
Computer-aided Configuration with ezsetup or npconfig Note If you choose computer-aided configuration, you must log on to your system as root or superuser and use the host software diskette or tape supplied with your M204. If the software is not provided, or you need a different medium, contact your vendor. To configure the M204 with the aid of a script, you must: 1 Insert the host software medium into the drive. 2 Login as root user. 3 cd to a directory with at least three megabytes of free space.
Manual Configuration Through the Network with ARP To manually configure the M204 using the network, go to a host terminal and do the following: 1 Log on to your system as root user. 2 Assign an IP address and IP name to the M204 in your host table (/etc/hosts, hosts nis map, or DNS name tables). 3 Find the hardware address for the M204 PCMCIA slot you are using. It must be entered as part of this procedure. Each PCMCIA slot has an associated Ethernet and Token Ring address.
ber its configuration after reboots. Enter: store tcpip ifnum addr ipaddress store tcpip ifnum mask netmask ifnum is the index to a particular Network Interface dependent on the PCMCIA slot you have used for your network connection. Each slot is labelled with an Interface Number. Note 9 [Optional, but recommended] Configure root and guest user passwords with the following commands. set user passwd root newrootpasswd set user passwd guest newguestpasswd 10 Save these configurations to EEPROM.
To configure the M204 with RARP, you need to: 1 Make an entry in the /etc/ethers file for the new M204. 00:80:72:00:AB:CD spike Example entry for the M204 named spike which has this Ethernet address. 2 Start the RARP daemon if it isn’t running. Send a HUP signal to it with the kill command: kill -HUP pid 3 Reboot the M204. After the STAT LED flashes regularly, wait another ten seconds to allow the RARP process to complete.
M204:\ :sm=netmask:\ :hd=/usr/boot:\ :bf=null:\ :gw=default router:\ :ht=ethernet:\ (or “tr:\” for Token Ring) :ha=network address:\ (e.g. 0080720000DC) :ip=ipaddress:\ :ts=time server:\ :to=timezone: (in seconds from GMT) Manual Configuration Through the COM Port A terminal, PC, or laptop can be connected to one of the M204’s COM ports for configuration purposes. A straight-through serial cable is normally needed unless a PC is attached; in this case, a null modem cable can be used.
6 Store the new IP address and netmask in EEPROM so that the M204 can remember its configuration after reboots. Enter: store tcpip ifnum addr ipaddress store tcpip ifnum mask netmask ifnum is the index to a particular Network Interface dependent on the PCMCIA slot you have used for your network connection. Each slot is labelled with an Interface Number.
Host Configuration When setting up a print destination on a Unix host, you have the option to utilize a computer-aided script such as ezsetup or npconfig or to do all of the appropriate steps manually. If you decide to go with one of the provided installation scripts, select Configure Host Setup from the Main Menu of either program to configure a print setup on your host. It will step you through some questions and then perform all of the necessary setup commands for you.
or, if no file is specified, from standard input. The format of the data is not altered by this program so make sure it is in printer-ready format. The syntax for npwrite is: Syntax npwrite ipname portname [filenames] where: Example ipname M204 IP name or IP address. portname I/O port on the M204 (i.e. prn1, prn2, com1, com2). filenames [optional]. Filename(s) to be printed. If no filename is specified, data is read from standard input. npwrite 192.75.11.32 prn1 testfile.
• Example on Sun UNIX, either of the following: rsh spike lp -d d1prn1 < testfile.txt cat testfile.txt | rsh spike lp -d d1prn1 where spike is the M204’s IP name and d1prn1 is a Print Server destination. Printing Via the Spooler Once you know your communications are correct and you can successfully print directly to the Print Server, you can integrate the spooler. Interface scripts play important roles in BSD spooling environments and especially with System V print spoolers.
ing throughput. Both ezsetup and npconfig utilize the appropriate interface script by renaming it to nprprintername.if, where printername is the name of the printer on the host. To install one of these scripts manually, please refer to the section that applies to your host: the BSD UNIX section starting on page 35 or the System V UNIX section starting on page 39. Custom Interface Scripts If an interface script is to be used for your print setup, you have three choices: 1 Use npr.
translate data to printer format ) | communication program where communication program is the command executing rsh/rcmd/remsh or npwrite so the print job is redirected over the network to the M204. Example ( FILE=$6 #the spool file is found in the sixth parameter on System V cat $FILE | onlcr #filter the job ) | rcmd spike lp -d d3com1 where spike is the name of the M204 and the print jobs are being sent to its destination d3com1 by remotely executing the print server’s lp print command.
BSD UNIX BSD systems allow you to print remotely or to print with an interface file for a locally attached printer. This is configured within the /etc/printcap database. lpd Remote Printing The lpd daemon spools files locally, then sends them to an M204 acting as a remote printer. As interface scripts cannot be used with this spooling method, processing must be done by the Print Server. This method should be used in the following conditions: • your UNIX host supports BSD 4.
To create the necessary entries for this example, these commands are needed: cd /usr/spool/lpd mkdir spike mkdir spike/ps touch spike/ps/log spike/ps/acct chown -R daemon.daemon spike chmod -R g+rwX,o+rX spike Once this is done, you can then start this printer. lpc start ps To send a print job, use this syntax: Syntax lpr -Pprintername filename BSD Interface Script Printing If you decide not to go with a remote printer setup, you can use an interface file instead.
tion of the commands necessary to create these entries: Example hp:\ :sh:pw#80:mx#0\ :lp=/dev/spike.com2:\ :sd=/usr/spool/lpd/spike/com2:\ :lf=/usr/spool/lpd/spike/com2/log:\ :af=/usr/spool/lpd/spike/com2/acct:\ :if=/usr/spool/lpd/spike/com2/npr.if: where hp is the printer name sending jobs to the M204 named spike through the interface file npr.if. To create these entries, please do the following: 1 Create the printer’s spooling directory and associated files.
Host Software on page 19 for more details. COMM_PROG (mandatory) Specify a communication program to transfer data to the M204 (i.e. npwrite, rsh). If the program is npwrite, define the UNIT_PORT variable. Otherwise, define the LP_DEST variable. PRINTER_TYPE (mandatory) Specify printer type (i.e. raw, ascii, ps, hp, pclps, gen7170). UNIT_NAME (mandatory) Define the M204 IP name. UNIT_PORT (conditional) Specify the M204 port name (i.e. prn1, prn2, com1, com2).
6 Syntax Try printing with the following syntax: lpr -Pprintername filename System V UNIX Printing in a System V environment requires the use of an interface file. It also consists of: • the lp printer interface program, • the lpsched printing scheduler, • a set of programs that act as interfaces between scheduler and printing device. The scheduler copies the file into a spooling directory and calls the interface program when the job is ready to go to the M204.
Setting up an Interface Script The following steps are the manual instructions for setting up your host with npr.if: Note The example commands provided represent a print setup involving a printer named hp, an M204 named spike, and a printer attached to the Print Server’s com2 port. 1 Copy the nprsysv.if file from the host software medium to the model directory. Copy the file as npr.if or name it something more meaningful. cp nprsysv.if /usr/spool/lp/model/npr.if 2 Note Edit the npr.
Example #END_MARK_1 NPDIR_PATH=/usr/local/bin COMM_PROG=rcmd UNIT_NAME=spike LP_DEST=d4com2 PRINTER_TYPE=hp BANNERPAGE=1 #START_MARK_1 Note Additional variables can also be defined within this variable section as indicated by BANNERPAGE=1. Some other options are ASCII to PostScript conversion, carriage return insertion, and scrambling. By setting a particular variable to a 1, this option is then turned on and a 0 turns it off. These too are described further in the beginning of npr.if.
npd Pseudo-device Interface The npd pseudo-tty daemon is used when bi-directional communications is required between the printer and printing application, and when changes to the printer’s interface script are undesirable. Some applications like Sun NeWSprint and Adobe TranScript work best with a bidirectional communications channel to the printer because they can provide more details on the printer status. For example, PostScript printers can send error messages back to the application as they occur.
Starting npd Starting the npd daemon is all that is needed to utilize npd. Integrating any special applications can then be done anytime thereafter. Use the following syntax to start npd: Syntax npd devicefile ipname portname where: devicefile Name for a pseudo-tty pair’s slave device acquired by npd. ipname M204 IP name or IP address. portname M204 I/O port name (i.e. prn1, prn2, com1, com2).
default). You can modify this value with the -t option. Example npd -t 60 /dev/spike.com2 spike com2 for the timeout to occur in 60 seconds. Testing npd Once npd has been started, it’s a good idea to test and see if npd is working before trying to print through the spooler. This is one test method. Example cat test.txt > /dev/spike.com2 redirects the cat output of test.txt to the npd device /dev/spike.com2 which is then sent to the M204 named spike.
devicefile Example Name linked to the slavefile by npd. 153 spike com2 /dev/ptyq1 /dev/ttyq1 /dev/spike.com2 is the log entry for the npd daemon using process ID 153. You can acquire the process ID of the npd daemon that needs to be stopped and then execute the following kill command for that process: Syntax kill -TERM pid Applications Using npd Sun NeWSprint Sun NeWSprint page accounting works with PostScript printers.
:tf=/b/newsprint/lpd/tf:\ :rf=/b/newsprint/lpd/rf:\ :vf=/b/newsprint/lpd/vf:\ :cf=/b/newsprint/lpd/cf:\ :df=/b/newsprint/lpd/df:\ :of=/b/newsprint/lpd/of:\ :mx#0:\ :sf:\ :sb:\ :br#19200:\ :xc#0177777:\ :ms=-parity,ixon,-opost,-ixany: Note If you are using a PostScript printer, remember to include :sh:\ in this entry to suppress the standard LPD header. Adobe TranScript Adobe TranScript page accounting works with PostScript printers.
use /dev/ttypa as the device interface for any port on the M204. When the program creates the spooling directory and entry in /etc/printcap file, set the lp= field to the devicefile argument from npd. Example For a PostScript printer named ps attached to com1 on the M204 named spike: ps|PostScript|PostScript on spike’s com1 port:\ :lp=/dev/spike.
Select p as the port number. Select ppa0 as the adapter. Select a printer type that best matches what you are using. Select a device lp0. If this device is not available, go back and select “Remove a Printer/Plotter” and remove lp0 making it available for your next run through. AIX has a limit of four physical devices. If you run out, IBM suggests deleting the device after completing a print setup thus making it available for future setups. 3 Create a new queue.
This is the /etc/qconfig entry created for this particular setup: Example queue2: device = lp0 up = TRUE lp0: backend = /usr/lib/lpd/piobe queue stanza by mkquedev (queue device) printer’s ready to go queue device stanza for local printing For further information on these commands, please see your AIX system documentation. Other TCP/IP Print Methods NCSA NCSA is a freeware package available on the Internet at zaphod.ncsa.uiuc.edu in the directory /PC/Telnet/msdos/contributions. The file is tel23bin.zip.
Note FTP’s package also provides Windows printing along with several other software packages on the market. These are just two possible applications that will work with the M204. Please see the user manuals of the appropriate applications for more information. Direct Socket Printing The Print Server provides a socket interface for custom printing applications. Programs can open a TCP connection to a TCP port on the Print Server.
CONFIGURING THE M204 FOR NOVELL Overview This chapter introduces the M204’s configuration possibilities along with the various methods of printing available within a Novell environment. The M204 works with different NetWare versions, including version 4, and we provide setup steps for each. Host Software NetWare’s PCONSOLE is generally used to change passwords, add print servers, add remote printers, and add queues to be serviced. It can be used for both a PSERVER or RPRINTER setup.
To communicate with the unit using npsh.exe, you need to: 1 From a DOS prompt on a Novell workstation, begin an npsh session with the unit. npsh unitname Starts a Telnet-like session with the named print server with guest access only. 2 To obtain root access to the unit, type: supervisor A standard login screen is displayed prompting you for the login name and password. 3 Login to the unit as a root user. root Root users require the use of a password as configured in the unit’s user list.
Host Configuration The M204 can act as either a PSERVER or as a RPRINTER in a Novell environment. It supports encrypted passwords and it is capable of servicing up to 16 file servers and 32 queues as a PSERVER. One M204 can handle eight RPRINTER setups. PSERVER Bootup When booting as a PSERVER, the M204 gets a server list from the first file server it contacts. The unit then contacts those servers on that list to see if there is a queue that needs servicing.
54 Step Action Result of Action 1 Log in to Novell as supervisor. Gives you supervisor rights. 2 Enter PCONSOLE. PCONSOLE’s Main Menu displays. 3 Select PRINT QUEUE INFORMATION. List of currently-defined queues comes up. 4 Press to add a queue. Asks for new queue’s name. 5 Type in this new name in any format you like and press . New queue is added to list. 6 Press . Returns to PCONSOLE’s Main Menu. 7 Select PRINT SERVER INFORMATION.
Step Action Result of Action 14 Type in the name of one of the eight default destinations on the unit for the Name field (e.g. d1prn1, d4com2, etc.) and go to the Type field. Cursor sits at the Type field with a printer name now assigned. 15 Press at this field and then select DEFINED ELSEWHERE. Comes back to the PRINTER N CONFIGURATION window. 16 Press and select Yes to save changes. Gives you the option to define more printers. 17 Press again.
This procedure associates an existing PSERVER with a remote M204 acting as a RPRINTER in a pre-NetWare 4 environment. It is the PSERVER’s responsibility to get jobs from the queue and to pass them off to the M204 acting as the remote printer. Unlike a PSERVER set-up, the M204 does not deal directly with the queues. Note As a RPRINTER, the Print Server does not use a login ID. In addition, a non-M204 PSERVER (e.g. PSERVER.NLM) must be running for RPRINTER to operate.
Step Action Result of Action 6 Press . Returns to PCONSOLE’s Main Menu. 7 Select PRINT SERVER INFORMATION. A list of existing print servers displays. 8 Select one of the print servers and press . Display’s PRINT SERVER INFORMATION menu. 9 Select PRINT SERVER CONFIGURATION. Brings up this menu. 10 Select PRINTER CONFIGURATION. Displays a list of printers associated with the print server.
Step Action Result of Action 20 Press to use the default. Usually this is fine. Returns you to the queue list. 21 Press until you have exited PCONSOLE. You’re now at the command prompt. 22 Start PSERVER. Starts the PSERVER so the M204 can service it as an RPRINTER. 23 In SYS VOLUME on the file server, change to the \LOGIN directory. You will be at this prompt. 24 Create a directory named after the M204.
NetWare 4 Options NetWare 4 introduces NDS and some new frame types. The M204 can be used in a NetWare 4 environment with either of these options: Note • Set the M204 up as a PSERVER replacing a dedicated workstation running PSERVER.EXE or PSERVER.NLM on the file server. The M204 replaces these loadable PSERVER’s so they are no longer needed. • Set the M204 up as a RPRINTER interacting with an existing PSERVER. If following a PSERVER setup, bindery emulation is required.
60 Step Action Result of Action 10 Type the name of the M204. By default, it is M_xxxxxx where xxxxxx equals the last six digits of the unit’s Ethernet address. (e.g. M_000BF5) This new server is added to the list. 11 Select this new print server and press . PRINT SERVER INFORMATION menu displays. 12 Select PRINTERS. A list of defined printers comes up. 13 Press to add a printer to the list. Prompts you for the printer name, type, and some additional fields.
Step Action Result of Action 21 Check the CURRENTLY ATTACHED SERVERS once you have gone into view the appropriate queue. You should see the Print Server’s name displayed (e.g. M_000BF5). 22 Press until you are out of PCONSOLE. You will be back at the command line and the M204 is now configured. If you want to continue with any of the following procedures, please find them as indicated in other sections of this manual: • Add to or change configuration of your M204.
62 CONFIGURING THE M204 FOR NOVELL: Host Configuration
CONFIGURING THE M204 FOR APPLETALK Overview This chapter will cover the few steps required to get your print jobs printing to an M204 in an AppleTalk over EtherTalk environment. Note The M204 does not support LocalTalk. M204 Configuration An AppleTalk setup does not require any Print Server configuration; the network parameters are automatically configured for you once the M204 is booted on the network. If you wish to modify some of the M204’s default settings, you can use the built-in command set.
M204name_papname where M204name is the name of the M204 and papname is an M204 I/O port. Both names are configurable. M_000BF5_prn1 Example is the printer associated with the M204 named M_000BF5 using the first parallel port. The Print Server’s default name is M_xxxxxx where xxxxxx equals the last six digits of the unit’s Ethernet address found on the bottom of the unit. Note 3 From the list of printers, select one to print to. You have now configured your AppleTalk system to print to the M204.
store pserver name Sales This new name will also affect Unix, Novell and NetBIOS setups. Note 3 Enter the name that you would like to appear for the papname (e.g. laser). This will make up the second part of the name in the Chooser. store pserver applepap prn1 name laser 4 Reset the unit so the changes take effect.
Disabling the AppleTalk Module If you have several Microplex Print Servers in your network and only some of them are servicing AppleTalk networks, it is a good idea to turn off the entire AppleTalk module from the particular Print Server. This will not only save on Print Server resources but will ensure that only appropriate Print Servers show up in the Chooser. To disable the AppleTalk module, start an npsh session with the unit and follow the steps below: 1 Remove AppleTalk from the available protocols.
CONFIGURING THE M204 FOR WINDOWS Overview This chapter discusses the M204’s support for Windows. The M204 provides support for Windows NT, Windows for Workgroups (WfW), and Windows 95. Examples are provided for each of these environments. In a Windows environment, TCP/IP is the data transfer protocol used for printing. This means that IP addresses and netmasks are required in your Windows stations along with the appropriate TCP/IP software.
NetBIOS is further broken down into these two setup procedures: “net use” - Microsoft’s shared resource feature. Print Manager - Microsoft’s management tool for printing. Choosing one of these methods depends entirely on what’s available with your particular Windows software.
4 A dialogue box will appear showing your current network settings. Under Installed Network Software, check to see if MS TCP/IP Printing shows. If it doesn’t, you’ll need to perform the following steps. 5 Select Add New Software. 6 Select TCP/IP Protocol and Components. 7 Click on Continue. 8 Select TCP/IP Printing Support from the TCP/IP components list that displays. You may also want to select Connectivity Utilities. 9 Click on Continue.
then be created which will include FTP, Telnet, etc. Note At this point, you will be prompted with a dialogue box asking for the TCP/IP network settings (i.e. IP address and netmask) for this WfW station. Fill these in at this time. Windows 95 NetBIOS Network Software Installation 1 Make sure that File and Printer Sharing for Microsoft Networks is installed in your Network setup. If not, you’ll need to perform the following steps. 2 Open Settings:Control Panel folder.
Windows NT IP Address and Netmask Configuration 1 Go to the Main program group. 2 Double click on Control Panel. 3 Double click on Network. 4 Select TCP/IP Protocol from Installed Network Software list. 5 Click on the Configure button. 6 A dialogue box will come up asking for network settings. Fill in the IP address and netmask for this workstation and then click OK.
Through the COM Port on page 28 for detailed instructions. Once you have configured the unit, you will notice the STAT LED flashing on once per second. This means the M204 is configured and recognizable on the network. At this point, you can now configure your host. Host Configuration Now that your workstation(s) and the M204 have IP addresses and netmasks, you can now configure a print setup. There are several methods available depending on what Windows package you are using.
This printer is now available for printing and will interact with the M204’s built-in Line Printer Daemon using TCP/IP. NetBIOS Using Print Manager Method Note In order to use this method, you must first configure the M204 with a Microsoft Networks Workgroup name.
Windows for Workgroups (WfW) NetBIOS Using Print Manager Method Note In order to use this method, you must first configure the M204 with a Microsoft Networks Workgroup name. This can be done by telneting to the M204, starting an npsh session with the unit, and issuing the following command: store pserver smb workgrp workgroupname where workgroupname is the name of the Microsoft Networks Workgroup that you want the M204 to be included in (e.g. Engineering).
works Workgroup name. This can be done by telneting to the M204, starting an npsh session with the unit, and issuing the following command: store pserver smb workgrp workgroupname where workgroupname is the name of the Microsoft Networks Workgroup that you want the M204 to be included in (e.g. Engineering). Note You must reset the M204 for this command to take affect. 1 Ensure that the network connection is functioning properly between the Windows workstation and the M204.
• 76 Utilize more advanced features of the M204. Please see USING THE M204’S ADDITIONAL OPTIONS on page 119.
unit host unit host M204 INTERNAL ARCHITECTURE Overview This chapter will provide a more detailed description of the internal operating architecture of the M204 including: destinations, models, variables, logpaths, and I/O ports. Destinations The M204 provides eight printer destinations that are used by all hosts. A destination can be thought of as logical place on the Print Server to which hosts send their print jobs.
unit host Models Each destination on the M204 also has a model associated with it. The eight models (one per destination) can be thought of as a series of mini-filter that can do special processing to the print job data. These processing options include: • banner page generation, • header string insertion, • trailer string insertion, • tab expansion (xtab), • carriage return insertion (onlcr), • ASCII to PostScript conversion (a2ps), • print job descrambling.
unit host Table 3: Model Types Setting Inclusions pcl-ps For printers that cannot autosense the print job format and switch modes by themselves. Precedes each job with a string to switch from PostScript to PCL, or vice versa, depending on job content. These strings must be specified in the setup command. a2ps Convert ASCII jobs to PostScript or pass PostScript jobs directly to PostScript printers.
unit host Logpaths The term logpath comes from the UNIX syslog logging system. With the M204, each destination can report statistics on: user, page count, job name, and printer errors. In addition, a checksum calculation can be obtained to confirm data integrity when a job is sent to the printer. Logging occurs either through a printer or terminal connected to an I/O port, or through a Telnet session to a particular TCP port.
USING THE M204’S COMMAND SET Overview At this point in the manual, you should have your M204 installed and configured on the network and at least one host configured to print to it. This section’s purpose is to give you the basic tools to add to your print setup by introducing the Print Server’s command set. npsh Overview On the Print Server itself, is an entire command set, npsh, allowing for M204 parameter configuration, display, and execution.
npsh Prompt When npsh is accessed through a Telnet or COM1 terminal session, a prompt is displayed after login to indicate that it is ready to accept a command from the user. The Telnet prompt is formatted ipaddress:userid> where ipaddress is the IP address of the M204, and userid is the user ID of the currently logged-in user. Example 192.75.11.32:root> where 192.75.11.32 is the M204’s IP address and the user is root. The COM1 I/O port’s login prompt is formatted userid>.
Examples list tcpip > prn1 sends current network settings to the first parallel port. chr $FF > prn1 sends a formfeed to PRN1. npsh Basic Commands Before reading on about the M204’s command set, it is important to understand some of the basic commands involved. Set commands affect only current settings, not stored settings in EEPROM. The save command is used after set to save the new settings to EEPROM. Store commands only affect stored settings in EEPROM but not the current settings.
cancel cancel jobid Delete a job from the M204’s internal queue. See also: lpstat on page 90. chr chr arguments Used with redirection, the chr command sends output control codes to the printer. Separate arguments with spaces. Arguments can be a combination of words, any printable character, or the common set of $BS, $TAB, $ESC, $DEL, $EOF, $NULL, $FF, $LF, or 0xhh (hexadecimal code for any character). Example chr $LF causes an extra linefeed before the next prompt.
enable enable ioportname|destname Enable the specified I/O port so jobs queued are printed or enable the specified destination so new jobs are processed. ioportname is one of the four I/O ports and destname is the name of one of the M204 destinations. See also: disable on page 84, list dest on page 86, list com1|com2 on page 85, and list prn1|prn2 on page 87. keycode keycode escapecharacter List the hexadecimal value of escapecharacter. See also: telnet on page 112.
list date list date List the current date. See also: set date on page 94. list dest list dest List current M204 destination definitions and their properties including: name, I/O port, backchannel, model used, logpath, state, alternate destination, and service(s). list dest destname List the specified M204 destination’s complete current settings. destname is the desired destination. See also: Destinations on page 77 and set dest on page 94.
list logins list logins List users currently logged into the Print Server. See also: User Accounts and Permissions on page 82 and list user on page 89. list logpath list logpath List the current settings of all logpaths. See also: Logpaths on page 80 and set logpath on page 95. list model list model List the current processing options for all models. list model modelname List the specified M204 model’s complete current settings. modelname is the desired model.
list rprinter list rprinter List information about the Novell RPRINTER configuration. Entry will appear if the M204 has made a connection to the file server. See also: Host Configuration on page 53, set rprinter on page 101, and debug on page 84. list sysinfo list sysinfo List the current M204 system information. Note This output will not include the descramble key even if you have set one. See also: set sysinfo on page 101, set logpath on page 95, ping on page 90, and telnet on page 112.
list user list user [userid|all] List current settings of a particular user indicated by userid, or all users. Current settings include user ID and permissions. See also: User Accounts and Permissions on page 82, list logins on page 87, and set user on page 104. list var list var List current settings of all variables. See also: Variable Definitions on page 163, set var on page 104, and Variables on page 79. load load Load the settings stored in EEPROM and use them as the current settings.
-V Show number of bytes printed. -onlcr Insert a CR character before LF characters. -ttabwidth Number of spaces for the tab in the range of 1 to 16. -off Generate a FF character at the end of the job. -oeof Generate an EOF character at the end of the job. -uusername The name of the user that will be printed on the banner page. -ffilename The name of the file that will be printed on the banner page. Note lp can only be used with a remote command (i.e. rsh/rcmd/remsh).
M204 can resolve the IP name. Please see set sysinfo on page 101 for more information. reset reset Restore current settings to those stored in EEPROM. Performs a warm boot or hardware reset, simulating a power-on reset. Use this after a power failure. save save Save the current settings to EEPROM. These parameters include: system information, destinations, models, logpaths, variables, I/O ports, and portmaps. Resetting the unit is not required.
set com1|com2 set com1|com2 arguments Configure serial I/O port parameters. arguments generally have the same syntax and meaning as UNIX stty command options. Use the optional “-” where indicated to reverse the command. The possible arguments are: [-]parenb Enable [disable] parity generation and detection. [-]parodd Select odd [even] parity. [-]rtsflow Set RTS low when the M204 is not ready to accept data.
[-]igndcd Disable this feature if you are using a modem connected to the COM port to establish terminal sessions. [-]onlcr Enable [disable] carriage return insertion. [-]opost Allow output processing such as onlcr, xtab, and descrambling. With “-”, do not allow any of this processing. [-]slip Sets the specified serial port as a dedicated SLIP connection. This command will fail if the serial port is already configured as a print destination.
Example set com1 4800 cs7 cstopb parodd sets COM1 to 4800 bps (bits per second), 7 data bits, 2 stop bits, and odd parity. See also: list com1|com2 on page 85. set date set date year month day Set the current date. year is four digits, month is from 1 to 12, and day is the number in the month. See also: list date on page 86. set dest set dest destname alternate alternatedestname Set up an alternate destination for the print job if that particular destname’s printer is busy already.
processed according to the options defined in the named model. Please see set model on page 97 to configure this modelname. set dest destname name newname Change the current name of a destination to a new name. destname is the current name and newname is the new name you wish to give the destination. This newname must be nine characters or less or else it will be truncated. In addition, all names are case sensitive.
case sensitive. set logpath logpathname port tcpport|prn1|prn2 |com1|com2|email|syslog Send the printer logging information either to a TCP port number, to one of the M204’s I/O ports, to a particular user’s email address, or to SYSLOGD on a TCP/IP host. tcpport is a TCP port in the range 1,024 to 65,000. If the email or syslog option is selected, please see set sysinfo on page 101 for setting up IP addresses to send to. Note Do not use an I/O port for both printing jobs and printing logs.
set model set model modelname banner [ps|text|auto] [after] Indicate if destinations using modelname are to send a banner page. If a banner page is to be sent, indicate the type according to the printer attached. Specifying after will print a trailing banner at the end of the job. Note The banner type and the printer type must match.
set model modelname name newname Change the name of a model to a new name. modelname is the current name of the model and newname is the new name you wish to give the model. This newname must be nine characters or less or else it will be truncated. In addition, all names are case sensitive. set model modelname trailer trailerstring Set the trailer contents for a named model. The trailer is appended to the end of every job that goes to any destination associated with the named model.
printer how to change between PCL and PostScript modes. If no parameters are specified, the model defaults to the switching strings for an HP LJIIIsi printer. pclswvar is the switching string to change modes to PCL and psswvar is the switching string to change modes to PostScript. Please see set var on page 104 to set a new variable with a particular switch string or Variable Definitions on page 163 for the pre-defined switching variables.
[-]autofd Assert AUTOFD line for CR insertion. This only affects printers that support this function. [-]bbmode Simulate an attached printer even if a printer isn’t really there. [-]fastmode Increase transfer rate. The parallel interface of the attached printer must be able to support this increased rate and if using this mode, use only with short (less than two meter) lowcapacitance cabling. [-]onlcr Enable [disable] carriage return insertion.
set prn1|prn2 xtab |none Sets the tabstop width. INT is an integer within the range 1 to 16. Example set prn1 fastmode -ackmode sets PRN1 to high performance mode and to not use the ACK handshake signal. See also: list prn1|prn2 on page 87. set rprinter set rprinter add pservername printernumber destname Initiate a connection to a Novell PSERVER so that the M204 can act as a remote printer. A non-M204 PSERVER must be pre-configured to recognize a remote printer.
four digit hex value you’d like. Note If you change the key value in npscramble.c, you must recompile the source code and then use this key in the set sysinfo command. set sysinfo dns ipaddress Set the DNS server’s IP address so the M204 can resolve names used with ping and telnet. Please see ping on page 90 or telnet on page 112. set sysinfo email emailname@ipaddress Set the user’s email address to receive printer logging information. emailname is the IP name of the user to send mail to.
set sysinfo logport prn1|prn2|com1|com2|syslog Set the I/O port to receive M204 debugging information or set it to go back to SYSLOGD on a TCP/IP host. If the syslog option is selected, you must set the IP address of the host it will send the details back to. set sysinfo module [[-]novell] [[-]appletalk] Set the Print Server to handle particular protocol modules. See also: Manipulating the M204’s Services on page 121. set sysinfo name [namestring] Set the name of the M204.
set user set user add|delete userid Define a new user or delete a current one. userid is the user’s login ID. Caution Any user can be deleted so be careful using this command. You might delete all the root user types. If this happens, configuration capability is no longer available through any of the normal methods. Instead, you must set the unit back to defaults with the jumper settings. Please see Restoring To Factory Defaults on page 124.
Example set var NEW_VAR $ESC E sets a variable named NEW_VAR with an HP PCL defined printer reset. Note When inputting a “$” or a “&” and you’re using RSHD to execute this command, you must place a “\” beforehand so the local shell interpretor doesn’t parse it out. See also: Variables on page 79, Variable Definitions on page 163, and list var on page 89. slip slip Configures the serial port as a SLIP connection from a terminal or PC connected to the particular serial port.
THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG 1234567890 DE THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG 1234567890 DE THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG 1234567890 DE ... 3 loopback test. Any input characters from the device attached to the output I/O port are echoed back as output characters. See also: stop on page 106 and list test on page 88. stop stop all|prn1|prn2|com1|com2 Stop an output test on the specified I/O port(s). See also: start on page 105 and list test on page 88.
interface between the data link protocol layer (i.e. Ethernet or Token Ring) and higher network protocol layers. Each NIT is indexed by an interface number (ifnum). papname Printer Access Protocol (PAP) name. An AppleTalk name for each printer defined on the host. Makes up the second half of the name listed in the Chooser and is transparently mapped to an M204 destination. There can be a maximum of four printers which can point to any one of eight destinations on the M204.
store pserver apple zone [zonename] Store a particular AppleTalk zone on the unit. To clear the AppleTalk zone, type store pserver apple zone and press enter. store pserver applepap papname dest destname Alter the AppleTalk printer specified by papname to print to the destination indicated by destname. This name does not appear in the Chooser. store pserver applepap papname driver chooser_driver Change the AppleTalk printer specified by papname to use the printer driver name specified by chooser_driver.
store pserver novell fserver add fservername Adds a specified Novell file server as a preferred file server. This feature is useful in a large Novell network so that the M204 does not ignore important file servers. If this feature is not enabled, the M204 will only acknowledge the first 16 file servers it senses. store pserver novell fserver del fservername Deletes a particular Novell file server from the M204’s list of preferred file servers.
store tcpip store tcpip ifnum addr ipaddress Store the ipaddress for the NIT module specified by ifnum. Note ifnum is the Interface Number labelled on each of the M204’s PCMCIA slots. store tcpip ifnum frametype [[-]ethernet2] [[-]802.2snap] Control the frame type(s) used by the NIT module specified by ifnum. store tcpip ifnum mask netmask Store the netmask for the NIT module specified by ifnum.
store tcpip route add [host|net] targetipaddress[/targetnetmask] [routeripaddress] [ifnum|com1|com2] [metric] Add a specific route to the Print Server’s routing table. Example store tcpip route add 192.75.30.11 192.75.30.3 1 stores a host with IP address 192.75.30.11 into the unit’s routing table for the first NIT module. The router’s IP address is 192.75.30.3. store tcpip route add|del default routeripaddress ifnum Add or delete a default router entry in the M204’s routing table.
supervisor supervisor Gives you root permissions when utilizing the Novell host software, npsh.exe, to start a full session with the M204. See also: Host Software on page 51 and User Accounts and Permissions on page 82. telnet telnet ipname [escapecharacter [portnumber]] Telnet from the M204 to another host on the network specified by its ipname. ipname can be either an IP address or an IP name. By specifying a TCP portnumber, you can also connect to a specific socket on the target host.
USING NPWIN Overview NPWin is an SNMP-based software utility that allows you to perform all unit configuration and management in a point-and-click, Windows environment. NPWin provides all the same configuration and management functionality available with the built-in npsh command set. NPWin also includes an extensive, context-sensitive, on-line help system to explain the features and how they work. System Requirements NPWin requires a workstation capable of running Windows 3.11, Windows NT, or Windows 95.
4 Change to the specified directory, and double click on the NPWIN.EXE icon to launch the software. Print Server Configuration NPWin allows you to configure the M204 in a point-and-click, graphical environment. NPWin has been designed to be very intuitive and easy-to-use; the best way to learn about its features and potential is to start it up, open a session with a unit, and browse around.
Step Action Result of Action 3 Select Add from the dialogue box. A new unit IP configuration window appears. 4 Enter the IP address, serial number, netmask, and IP name (optional) of the M204. Note: The serial number is the six digit number found on the bottom of the unit. 5 Select OK. Returns to window showing previously configured Microplex Print Servers. 6 Select the M204 that you have just added. A dialogue box appears asking if you want to either View or View and Change the configuration.
116 USING NPWIN: Starting a NPWin Session With An Unconfigured Unit
: 117
118 :
USING THE M204’S ADDITIONAL OPTIONS Overview As of now, you will have configured your M204 and you’re probably printing to it successfully. The purpose of this chapter is to enhance your print setup by describing some of the additional features that the Print Server provides.
on page 128 for more information. Setting passwords and assigning a permission level to users eliminates the possibility of any unwanted users from getting into the M204’s command set and manipulating the current settings. To configure passwords and to learn more about the two different permission levels provided for users, please see set user on page 104 and User Accounts and Permissions on page 82. To view the current user settings, see list user on page 89.
Setting Up Special Job Processing Printing with the M204 adds a lot of extra job processing options to your current print setup. No matter the environment, you now have the choice of several helpful features including: • ASCII to PostScript conversion (a2ps), • carriage return insertion (onlcr), • tab expansion (xtab), • banner page generation, • load-balancing (sending to another printer if the current one is busy), • printer mode switching and general printer manipulation.
an AppleTalk setup, you probably don’t want every destination appearing in the Chooser. Please see set dest on page 94 and Removing Excess Printers from the Chooser on page 65 for further details. Making An Alternate Print Destination If more than one printer is attached to the M204, you can make the best use out of each one with load-balancing. Normally, you would print to one destination on the unit and your print jobs would go to that printer only.
Backchannel Method In addition, printer feedback can be directed to a serial I/O port through the use of a backchannel method. For example, if you like the speed of the parallel port but need the printer status, you could set up a backchannel to one of the serial ports. From here, you have two choices: Note 1 Utilize host software to obtain this data such as Adobe TranScript or Sun NeWSprint with npd (see npd Pseudo-device Interface on page 42).
Novell and TCP/IP are the only protocols that offer this configuration. The M204 provides simultaneous support of multiple Novell frame types. Please see store pserver on page 107 and store tcpip on page 110 to find out which frame types are offered in each environment.
3 Power up the unit in its default state and configure as desired. 4 After configuring the Print Server, be sure to return the jumper strap to EEPROM Enable and repower the unit. Through npsh To restore the network default settings through the M204’s command set: 1 Use a Telnet session or connect a terminal to a COM port of the Print Server.
• default routes for generic or unknown network addresses to use, • static routes to known network addresses such as a particular host or network. To set a default router or a static route, please see store tcpip on page 110 and to look at the current routing entries, please see list tcpip on page 88. Remotely Managing the M204 In a TCP/IP environment, various methods are available for remotely monitoring the Print Server.
Note Only users that have root permission can configure the remote host access entries. Users with guest permission can only display these entries. To set up the access list, please see store tcpip on page 110 and to look at the current settings, see list tcpip on page 88. Scrambling/Descrambling A second method of security is provided through data scrambling/descrambling. This second TCP/IP security method protects users’ print data as it is sent across the network to the M204 for printing.
Using the Terminal Server Capabilities The M04’s built-in command set includes telnet which allows the unit to act as a terminal server as well as a print server. The Print Server’s terminal serving capabilities can be used in a number of ways including connecting a terminal to a network or using a terminal as an output device.
Note 6 Select CHANGE PASSWORD. 7 At the prompts, type and retype the new password used on this M204 PSERVER. Press when you are finished. These steps may vary for NetWare 4 environments. Setting Preferred File Servers The M204 allows you to specify a list of preferred file servers in a Novell environment. This feature is useful in a large Novell network so that the M204 does not ignore important file servers.
age the agent. A MIB file is simply a formal description of the way an agent can be accessed using SNMP and what functions can be managed. The M204 is a fully manageable SNMP agent that supports MIB-II, custom MIB’s and traps. MIB II Support The M204 is MIB II compliant allowing SNMP managers to monitor protocol, network, and routing statistics. Custom MIBs and Traps The M204 provides a custom MIB definition file which consists of 150 variables and three traps.
destinations, logpaths, and users. status group All dynamic monitoring components such as print queues, user logins, and RPRINTER configurations. command group This includes the commands save, load, and reset. Note These variables can have read, write, or readwrite permissions. Along with these permissions there are other elements that can limit the write access to these variables. Please see SNMP Security on page 131 and User Accounts and Permissions on page 82 for more information.
community string which allows write access. Note If no snmp user is defined with root privileges, no write requests will be accepted by the M204. Adding an SNMP User To add a user named snmp with root privileges, please follow the steps below: 1 Login to the M204 as a root user. 2 Add a user named snmp. set user add snmp 3 Set the user type to root. set user type snmp root 4 Set the password for the snmp user. set user passwd snmp snmppassword 5 Save the changes.
Note If you are using Castle Rock Computing’s SNMPc package, you will need to rename the MIB variable UInteger32 to another name such as U32. Writing to the Custom MIB The following example explains how to use the custom MIB variables to set the M204’s parameters.
information. This community string has a 14 character maximum. echo “trapDest[1]=192.75.11.11” | snmp-set spike custommib where 192.75.11.11 is the IP address of your SNMP manager. To disable the entry in the trap table, set the IP address to 0.0.0.0 Note The M204 will now send trap information with the community string building-A to the SNMP manager with the IP address 192.75.11.11. For more information on these trap variables, please see their description in the custom MIB definition file.
/dest Contains eight subdirectories, one for each of the eight print destination on the M204. Please see Destinations on page 77 to better understand destinations and printing. These directories are where files are put in order to print. /jobs Contains files representing all the print jobs currently queued. The only command available for these files is del, which cancels the job. /config Contains three subdirectories: current, stored, and default.
6 Copy the file you want to print to this directory. put filename The file is spooled and printed. 7 Logout of the FTP session. quit Removing a Print Job Using FTP The following example shows how to remove a print job using FTP: 1 Login to the M204 using ftp. ftp ipname 2 Login as guest, root or anonymous. 3 Change to the /jobs directory cd jobs 4 Display a list of current print jobs. ls Displays listing of all queued print jobs by their ID number. 5 Remove desired print job from the list.
4 Turn interactive mode off. prompt This enables you to copy a number of files without having to respond to prompts by the M204. 5 Download all files in the print queue directory. mget * Files prn1, prn2, com1, and com2 are downloaded to the users local directory. 6 Logout of the FTP session. quit 7 View file with information pertaining to print queue status. cat prn1 prn2 com1 com2 Note This command gives you the same information as a lpstat in npsh.
1 Login to the M204 using ftp. ftp ipname 2 Login as root. You must be a root user in order to copy a configuration file. 3 Change to the config/stored directory. cd config/stored 4 Set mode to binary. bin 5 Turn off the interactive mode. prompt 6 Download all the files in this directory. mget * Downloads a copy of all files in the config/stored directory to the user’s local directory on their host. 7 Logout of the FTP session.
2 Login to the M204 using ftp. ftp ipname 3 Login as root. You must be a root user in order to FTP files to the /config directory. Note 4 Change to the config/stored directory. cd config/stored 5 Set mode to binary. Configuration files are always in binary form. bin 6 Turn off the interactive mode. prompt 7 Upload all the files from the user’s local directory. put * Copies all files from the local directory to the config/stored directory. 8 Logout of the FTP session.
The following is an example of a simple configuration file: Example ; These are comments for the example config file. ; Note that comments have to start at the beginning of a ; line and be preceded by an ‘;’ ; version 5.4 ; If this command is found and the current version does not ; correspond to the command parameter, the file execution ; will abort.
Executing a Configuration File Using FTP The following example shows how to execute a configuration file using FTP: 1 Change to the local directory where the text configuration file resides. 2 Login to the M204 using ftp. ftp ipname 3 Login as root. You must be a root user in order to FTP files to the /exec directory. Note 4 Change to the /exec directory. cd exec 5 Copy the text configuration file to the exec directory.
remote network is just sent through the serial line followed by a byte to indicate the end of that packet. SLIP does not allow communications with Novell or AppleTalk network. SLIP is very useful if you want, for example, to allow remote users access to the local network or to allow users to send print jobs to a remote office rather than sending a fax. There are two ways to enable SLIP on the serial ports: • As a dedicated SLIP connection.
the Local M204 network to the remote host. store tcpip opts gateway 5 Reset the Print Server to make these settings take effect. reset The remote host can now dial-in to the modem and become part of the M204’s network as if it were a new host on that network. Basically, whatever a host on the local network can do, the remote host can do. Note A dedicated SLIP connection can be the source of a security hole because anyone with the dial-in modem number can access the local network.
destined for this remote host will go to the M204. store tcpip proxy add host [remotehost ipaddress] Example store tcpip proxy add host 192.147.242.3 4 Enable the IP gateway option on the M204 so that data packets will be sent from the Local M204 network to the remote host. store tcpip opts gateway 5 Create logins for the users who will be dialing-in from a remote host. set user add userid set user passwd userid [password] 6 Reset the Print Server to make these settings take effect.
IP Routing IP routers allow computers connected to two (or more) separate networks to communicate with each other. The M204 IP routing capabilities allows the Print Server to be Wide Area Network compatible. For information on configuring the M204’s IP routing features, please see store tcpip opts [-]ipforward on page 110 and store tcpip route add|del default routeripaddress ifnum on page 110.
146 USING THE M204’S ADDITIONAL OPTIONS: IP Routing
? ? TROUBLESHOOTING THE M204 Overview This chapter will help you with various problems you may encounter throughout your print setup or when printing. There are five main sections in this chapter: 1 Common Problems 2 TCP/IP Problems 3 Novell Problems 4 AppleTalk Problems 5 Windows Problems. Common Problems ? The M204 doesn’t power up with the correct LED sequence Please refer to LED Patterns on page 172. This table describes different LED startup patterns that are possible on the M204.
? • Have you checked your network connection to the M204? Try it at a new location on your network if possible or swap in another device. • Have you made an entry in your host table (/etc/hosts, host nis map, or DNS name table) for the M204? • Have you tried to ping with the IP address instead of the IP name? This will eliminate any name-lookup issues and focus more on the communications between the M204 and your host.
? ? You cannot Telnet to the M204 If you are unable to ping the Print Server as well, please see Communication Related on page 145. If it is telnet only that you are having problems with, these points should be considered: • Are you able to telnet to another host on your network or telnet from another host? If not, look into your host’s TELNET configuration.
? • If you’re using npr.if to print, are the host binaries installed on your system in a general directory such as /usr/local/bin? Please see Printing Via the Spooler on page 32 for more on interface file printing. • Are there any error messages in your email, a log file, or other standard error files on your particular host? These messages can be very helpful in narrowing down the problem.
? somewhere in the print path. Any printing from PCs should have a “raw” setup. Note Some other things to consider when garbled data persists are: • tab expansion (xtab) set on with graphic jobs, • cable used between the M204 and the printer, • type of flow control being used on the M204 and a serial printer. If you cannot eliminate the garbling, you may want to try printing without the Print Server to see if the problem persists.
? Note M204 destinations are case sensitive so they will not be recognized if they are typed incorrectly. By default, they are all in lowercase. If you are setting up in a NetWare 4 environment, the destination must be renamed to uppercase to match PCONSOLE’s entry. Please see set dest on page 94 for information on changing names. • In a PSERVER setup, did you ensure that you were in bindery emulation mode? If you were, then did you do your entire print setup (i.e.
? Printing Related ? The job goes to the queue but nothing prints If nothing is printing, make sure you have a connection to the M204 first. Please see Communication Related on page 149 if you are having connection-related problems. Otherwise, consider these points to solve any printing problems you may be having in your Novell environment: • Does the job leave the queue or is it stuck there indefinitely? If it leaves properly, the problem points to the actual printing mechanism on your Novell system (i.
? ? The job prints but it comes out incorrectly This category really can be broken down into several sub-categories such as lost characters, garbled data, extra banner pages, or blank pages at the end of the job. However, the reason for these mishaps can generally be traced to the printing mechanism used on your Novell system. These points should be considered when configuring your print method (i.e. CAPTURE, NPRINT, etc.
? AppleTalk Problems ? The Laserwriter icon in the Chooser Menu doesn’t display any printer destinations In this situation, these things should be considered: • Are you using EtherTalk rather than LocalTalk or TokenTalk? • Is “EtherTalk” chosen in the Control Panel’s Network icon? • Have you checked the M204 and the Apple system’s Ethernet connections? • Have you configured the M204 to show up in the correct AppleTalk Zone. Please see AppleTalk Zones on page 64 for information on doing this.
? goes away (i.e. the printer sends the signal saying it’s okay to send more data). Once the printer is cleared of any error situation and the “blocked” message goes away, the print job should then go through and the queue should move along properly. However, if the printer is in fact online and ready to print but you’re still seeing “blocked” messages, there may be a problem with the communications between the print server’s I/O port and the printer.
? Printer and Network Errors ? Anytime you have several Windows for Workgroups (WfW) stations printing directly to a print server, you may run into various printer and network errors. The problem occurs when one station is sending a print job to the printer and another station tries to send a print job to the same printer at the same time. The print server tells the second station to hold on to its data until it has finished with the first job.
? 156 TROUBLESHOOTING THE M204: Windows Problems
GETTING HELP WITH THE M204 Overview This is an important chapter to read if you are in need of any assistance with the M204. It covers the procedures for obtaining technical support, upgrade packages, and general product information and software, and it explains Microplex’s warranty policy. Help Methods Available Support and information regarding your Microplex product can be obtained via several methods: • WWW site: http://www.microplex.com/, • FTP site: ftp.microplex.com, • Email: info@microplex.
related to the different products and information available. If you cannot access this site over the Internet, a 1-900 number is also provided. This is a dial-up line that goes directly to this FTP site. You can login “anonymous” and no password is required. The number is 1-900-468-7727. Note A fee is charged for using this number. Email Two email addresses are provided if you want to contact Microplex. Please write to info@microplex.
Note • M204 firmware version (please see list sysinfo on page 88), • M204 I/O port settings (please see list com1|com2 on page 85 or list prn1|prn2 on page 87), • host print setup including the host type and print method used, • any special processing done on the host or on the Print Server, • description of the problem including the troubleshooting steps you have tried. The more details you have for the support technician and the more prepared you are, the better.
section “M204 Print Server” on the Technical Support page. FTP Site If using the FTP site, you need to change to the directory /support/m204/rom where these upgrade files exist. Enter into binary mode and then get each file. Change to /support/m204/host/current to get the latest host software. Once in binary mode, get the file m204npdist.tar.1.Z. Note To be notified of any new releases, make sure you send in your Warranty Registration/Customer Survey card.
• excessive environmental conditions including electrical power surges, temperature, humidity, or any other irregularities, • negligence or abuse. Warranty Claim Procedure Please use the following guidelines when shipping goods back for warranty claim: Note • Get an RMA number and shipping instructions from Microplex using one of the methods mentioned in Help Methods Available on page 157. • Indicate the RMA number clearly on the address label of the shipping carton.
Figure 5: Sample Commercial Invoice COMMERCIAL INVOICE from Leslie Smith ABC Corporation 1234 Western Parkway Anycity, NC USA, 27511 DATE OF EXPORT: 02/12/93 AIR WAYBILL NO.: 123-12341234 CONSIGNEE: Microplex Systems Ltd. 8525 Commerce Court Burnaby, B.C. V5A 4N3, CANADA IMPORTER (IF OTHER THAN CONSIGNEE) same as consignee COUNTRY OF ORIGIN: Canada # OF PKGS COMPLETE DESCRIPTION OF GOODS QTY TOTAL VALUE 1 Print Server 1 600.
M204 SPECIFICATIONS Variable Definitions list default var Name Hexadecimal Description BS 08 backspace FF 0C formfeed CR 0D carriage return SP 20 space LF 0A linefeed TAB 09 tab ESC 1B escape DEL 7F delete EOT 04 end of transmission NUL 00 NULL character PCL-POP 1B 26 6C 30 4F portrait page orientation PCL-POL 1B 26 6C 31 4F landscape page orientation PCL-PORP 1B 26 6C 32 4F reverse portrait page orientation PCL-PORL 1B 26 6C 33 4F reverse landscape page orientat
164 Name Hexadecimal Description PCL-PSRC3 1B 26 6C 33 48 manual envelope feed paper source PCL-PSRC4 1B 26 6C 34 48 lower tray paper source PCL-PSRC6 1B 26 6C 36 48 envelope feeder paper source PCL-PDST1 1B 26 6C 31 47 upper output bin paper destination PCL-PDST2 1B 26 6C 32 47 reader output bin paper destination PCL-RST 1B 45 printer reset PCL-JSEP 1B 26 6C 31 54 job separation HP3-SWPCL 1B 25 2D 31 32 33 34 35 58 40 50 4A 4C 20 45 4E 54 45 52 20 4C 41 4E 47 55 41 47 45 20 3D 20
Hardware Specifications Network Interfaces Two PCMCIA Type II interface card slots. Printer Support IBM PC compatible parallel interface (Centronics). IEEE 1284-I compliant. Parallel Ports (PRN1, PRN2) Female DB25 connectors. DMA-driven state-machine implementation supports data rates in excess of 280,000 characters per second.
Table 4: Parallel Port Timing Fastmode (µS) # Normal (µS) Slowmode (µS) vSlowmode (µS) Characteristic min max typ min max typ min max typ 1 Data Setup 0.5 2.0 8.0 16.0 2 Strobe Width 0.5 2.0 8.0 16.0 3 Data Hold 0.5 2.0 8.0 16.0 4 Cycle Time 2.0 3.0 8 Peripheral Ready to Start of Next Byte -0.5 1.0 2.5 8.0 9.0 -2.0 4.0 8.5 32.0 33.0 -8 16 32.5 64 65 -16 32 64.5 Independent of Mode (Dependant on Peripheral) 5 Strobe Negated to Ack Asserted 0.
Parallel Port Pinout 13 12 25 Table 5: 11 24 10 23 9 22 8 21 7 20 6 19 5 18 4 17 3 16 2 15 1 14 PRN1/PRN2 Pinout Pin Signal Source Pin Signal Source 1 -STROBE M204 10 -ACK PRINTER 2 DATA 1 M204 11 BUSY PRINTER 3 DATA 2 M204 12 PE PRINTER 4 DATA 3 M204 13 SLCT PRINTER 5 DATA 4 M204 14 -AUTOFD M204 6 DATA 5 M204 15 -ERROR PRINTER 7 DATA 6 M204 16 -INIT M204 8 DATA 7 M204 17 -SLCTIN M204 9 DATA 8 M204 18-25 GROUND - M204 SPECIFICATIONS:
Dual bi-directional IBM AT compatible serial interfaces, male DE09 connectors. Serial Ports (COM1, COM2) Data rates supported: 50 to 38,400 bps. The M204 acts as a DTE with this 9-pin pinout. Serial Port Pinouts 1 2 6 Table 6: 168 3 7 4 8 5 9 9-Pin COM1/COM2 Pinout Pin Abbr. Name Source EIA CCITT 1 DCD Data Carrier Detect DCE CF 109 2 RXD Receive Data DCE BB 104 3 TXD Transmit Data DTE BA 103 4 DTR Data Terminal Ready DTE CD 108.
Most often printers are attached are 25-pin DTE’s with the following pinout: Table 7: 25-Pin Serial Device Pinout Flow Control Methods Pin Abbr. Name Source EIA CCITT 2 TXD Transmit Data DTE BA 103 3 RXD Receive Data DCE BB 104 4 RTS Request To Send DTE CA 105 5 CTS Clear To Send DTE CB 106 6 DSR Data Set Ready DCE CC 107 7 GND Signal Ground - AB 102 8 DCD Data Carrier Detect DCE CF 109 20 DTR Data Terminal Ready DTE CD 108.
Note It is important that the settings on the M208’s serial ports are the same as on the printer’s serial interface. Serial Cable Schematic The schematic below shows the most common 9-pin to 25-pin setup. This setup relies on the DTR signal meaning that the printer must toggle DTR if it can or cannot take more data. If the printer uses another signal to do this, this schematic will not work.
Electrical Details External Transformer Power Requirements Low Voltage AC Power Requirements Typical 115VAC +/- 10% 0.3 A, 60Hz 220VAC +/- 10% 0.15A, 50/60Hz Maximum 115VAC +/- 10% 0.4 A, 60Hz 220VAC +/- 10% 0.2 A, 50/60Hz. Typical 16V AC +/- 10%, 600mA (THIN Ethernet) Maximum Customer-supplied external transformers must be rated at 20 VA or greater for proper operation.
M204 LED’s LED Indicators Table 8: PWR Power supply. STAT System status. ERR System error. NET Data to network.
Table 9: Run and Auto-Reset Mode Description STAT Rate Indicates Flashes On once per second Normal Mode, IP address configured Flashes On 2.5 times per second Monitor Mode, IP address not configured Flashes Off once per second Normal Mode, IP address configured Flashes Off 2.
Hardware Exception Bus errors, address errors, and illegal instructions force the M204 into this non-operational mode. Physical Details Dimensions Weight Metric 21.6 cm W x 3.3 cm H x 15.6 cm D Imperial 8.5” W x 1.3” H x 6.2” D With external transformer 1.8 kg, 4 lbs Without external transformer 1 kg, 2.2 lbs Environmental Details Operating 0° C to 50° C Storage -40° C to 70° C 95% maximum humidity, non-condensing.
Software Specifications Table 10: TCP/IP Port Numbers # Description # Description 20 TCP Protocol for FTPD (data) 21 TCP Protocol for FTPD (control) 23 TCP Protocol TELNETD port 68 BOOTP Client port 161 UDP port for SNMP 515 TCP Protocol BSD 4.
Standards Supported ARC (Ethernet Address Control Protocol) ARP (Address Resolution Protocol) BOOTP (Bootstrap Protocol) ICMP (Internet Address Resolution Protocol) IEEE 802.3 10Base2 Thin-cable Ethernet IEEE 802.3 10Base-T UTP Ethernet IEEE 802.
AC B AC B GLOSSARY a2ps ASCII to PostScript translation program. ARP Address Resolution Protocol. autosensing printer Printer that automatically switches between PostScript (PS) and HP Print Control Language (PCL), depending on the type of print job. backchannel Device for reverse-direction communication from the peripheral, providing printer status information such as PostScript page counting. banner page A page printed before the print job including details about that job.
AC B mesh of possible connections, a router receives transmitted messages and forwards them to their correct destinations over the best available route. On an interconnected set of local area networks (LANs) using the same communications protocols, a router acts as a link between LANs, so messages can be sent between them. destination Conceptual destination (similar to a logical queue) within the M204 firmware that defines the print job and directs it to a specific I/O port.
AC B ifnum Interface number. An index to a Network Interface Tap (NIT). ifnum will always be 1 for the M204 since there is only one network interface, Ethernet. interface file Host filter that processes the print job before it is sent to the M204. IP Router IP routers allow computers connected to two or more separate networks to communicate with each other. IP routers forward data packets that do not belong on the local network. kbps Kilobytes per second.
AC B npconfig NetPrint setup and configuration. An in-depth management utility allowing you to install, monitor, change, and troubleshoot the M204. npscramble NetPrint scramble. A program that scrambles print job data before sending it over a TCP/IP network to the M204 where it is descrambled and printed. npsh Command shell on the M204 used for parameter configuration and display and for print job monitoring and troubleshooting. npwrite NetPrint write.
AC B Internet. router A device that forwards Internet Protocol (IP) packets to their destination. rsh/rcmd/remsh Executes a command on a different host. SLIP Serial Line IP. A protocol used to connect two internet hosts using a serial line. SMIT program AIX device administration program. SNMP Simple Network Management Protocol. A standard protocol used to monitor IP gateways, hosts, and the networks to which they attach. spooling Storing data in memory or in a file until it can be printed.
AC B 182 GLOSSARY
APPENDIX A Planning Your Print Setup In this appendix, you will find information that will help you with your print setup including the advantages and disadvantages of your various configuration options. . Table 11: Configuration Considerations Setting Advantages Disadvantages Parallel ports High speed and IEEE 1284-I compliant. Need bi-directional printer if using 1284-I capabilities. Serial ports Bi-directional. Allows connection of alternate device, such as modem.
Table 11: Configuration Considerations Setting Advantages Disadvantages RPRINTER Doesn’t take up a NetWare user license. A non-M204 print server (PSERVER) must be running. Processing Location: Output processing performed on host Increases M204 throughput. Increases overhead on host system and requires host software. Output processing performed on M204 Interface files optional and no host software required. Decreases M204 throughput.
Table 11: Configuration Considerations Setting Advantages Disadvantages Load-balancing Print job goes to first available printer rather than waiting for a busy one. May print on a printer that’s not compatible with the print job format. Descrambling Some print job security as data travels over the network. Requires binary on host system and lowers throughput.
186 APPENDIX A: Planning Your Print Setup
INDEX Symbols .options file 46 .rc 44 .rhosts file 124 /etc/bootptab 27 /etc/ethers 27 /etc/hosts 24, 25, 146 /etc/printcap 35, 36, 44, 45, 47 /etc/qconfig 49 /support 157 /tmp/ezsetup.log 20 /tmp/npconfig.
and redirecting output 83 in host software 19 in interface scripts 37 use 19 COM1|COM2 and npsh 81 and restoring defaults 123 cable schematic 170 cabling 16 configuration with 28 details 168 list 85 login prompt 82 pinout 168 port numbers 175 set 92 set in logpaths 96 terminal on 23, 146 COM1|COM2, see also COM1, COM2, I/O port, serial ports COM1|COM2, see also I/O port, serial ports command set, see npsh command syntax in manual 3 npsh 83 commercial invoice inclusions 161 sample 162 config file and naming
default serial 28 list parallel 87 list serial 85 problems 147 serial options 169 set on parallel ports 99 set on serial ports 92 frame type configure with npconfig 22 controlling 121 list 87, 88 store 108 FTP Daemon and configuration 135 and printing 133 details 132 FTP site 157 details 157 FTP Software details 49 G garbled data 148, 152 GOSIP 6, 176 guest and access list 125 npsh permissions 82 set access 104 with DOS software 51 H hardware address list 88 header string 6 configure with npconfig 21 for s
destination logging 6 email 102 methods 120 set with npconfig 22 system options 102 type 96 with syslog 6 logging, see also logpaths login list 87 with Telnet 25 logpaths and backchannels 121 configure with npconfig 22 details 80 in destinations 77 list 87 list in destinations 86 options 96, 120 save 91 set 95 set in destinations 94 lp 31, 81, 89, 90 and logging 120, 121 lpadmin 41, 44 LPD 176 avantages/disadvantages 183 LPD, see also BSD LPR client 7 lpsched 39 lpstat 31, 90 troubleshooting with 147 M mem
data in wrong format 148 garbled data 148 in host software 19 list 87 set on parallel ports 100 set on serial ports 93 onlcr, see also carriage return insertion opost possibilities 180 set on parallel ports 100 set on serial ports 93 P page count and logging 6 in logpaths 80 set in logpaths 96 PAP 107, 176, 180 papname 107 list 87 store 108 parallel port timing 166 parallel ports advantages/disadvantages 183 data rate 165 details 17 flush 100 list 87 pinout 167 set 99 speeds 5 timeout 100 timing 165 unlock
advantages/disadvantages 183 and Adobe TranScript 46 and interface scripts 34, 38, 40 and lp 89, 121 and npsh 81 and remote management 124 BSD syntax 32 details 31 port number 175 System V syntax 31 RXD grounding 18 S S2 122 save 83, 91 and set command 91 default 91 scrambling/descrambling 6 advantages/disadvantages 185 and security 124 in host software 19 in interface scripts 38 set 125 set key value 101 security 5 and npconfig 22 general network 117 Novell 126 TCP/IP 6, 124 serial ports advantages/disadv
prompt 82 telnet 6, 102, 112 and logging 120 and terminal server 126 permissions 82 terminal and logging 80 and npsh 81 and restoring defaults 123 configuration with 28 default settings 28 on COM1|COM2 23, 146 server capabilities 126 test equipment and configuration 26 for npd 44 list 88 options 105 power-on 17, 172 printer 147 start 105 stop 106 with npconfig 22 THICK 176 THIN 176 power 171 Token Ring card properties 107 trailer string 6, 184 and formfeeds 147, 151 configure with npconfig 21 for switching
194 INDEX