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.com/ P/N 79-204-200...
Page 2
No patent liability is assumed with respect to the use of the information contained herein. While every precaution has been taken in the preparation of this manual, Microplex Systems Ltd. assumes no liability for errors contained herein or for incidental or consequential damages in connection with the performance or use of this material.
Overview....................5 M204 Features ..................5 Overview of Print Server Architecture ............. 8 Overview of Print Server Installation ............. 10 ......INSTALLING THE M204 ON THE NETWORK 15 Overview....................15 Preparing for Installation ................ 15 CE Mark Conformity Declaration ............15 Installing ....................
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 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...
Description of the M204’s features and an introduction to its architecture and installation INSTALLING THE M204 ON THE NETWORK on page 15 Description of the M204’s network connectors and I/O ports, along with steps to con- nect the Print Server to the network. CONFIGURING THE M204 FOR TCP/IP on page 19 Overview of TCP/IP host software and in-depth details on M204 configuration and...
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.
Command names, entries, and example references are bold along with directories and file names. Boldface is also used if emphasis is needed. Enter npwrite when you see... sends data to the M204 named spike... • Variable values are shown in italics both in command syntax, output, and in text.
Page 12
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.
Page 14
• scrambled print job data to protect the job as it passes over the network, • ability to telnet and ping to another host on the network from the M204 allowing for terminal server capabilities, • up to 256 simultaneous TCP connections, •...
Page 15
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: •...
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. Each I/O port has an internal queuing mechanism that automatically queues print jobs on a first-come, first-serve basis even if the print jobs come from different network environments (e.g.
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 INTER- NAL ARCHITECTURE on page 77. Figure 1:...
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), Net- BIOS over TCP/IP, and AppleTalk. Before installing the Print Server, it may be useful to look at Appendix A, Planning Note Your Print Setup on page 183 for advantages/disadvantages of various configuration...
Page 19
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.
Page 20
CONFIGURING THE M204 FOR NOVELL on page 51. Basic Windows Configuration The following outlines the basic steps required to add a M204 to a Windows NT Ver- sion 3.5 network using the LPR print method. Once the unit is physically attached to the network, you need to: Ensure that the appropriate network software is installed on your host system.
Page 21
For more information on NetBIOS over TCP/IP configurations, please see CONFIG- URING THE M204 FOR WINDOWS on page 67. Basic AppleTalk Configuration The following outlines the basic steps required to add a M204 to an AppleTalk net- work. An AppleTalk setup does not require any Print Server configuration; the network Note parameters are automatically configured for you once the M204 is booted on the net-...
Page 22
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.
Installing To attach the M204 to the network: Insert the PCMCIA card into the M204 and connect this to the network. For more information on the PCMCIA cards, please see the additional release notes. Connect peripherals to the appropriate I/O ports. Please see Connecting Peripher-...
M204 Front View M204 Rear View Connecting Peripherals A maximum of four devices can be attached to an M204 at the same time; two on the parallel ports and two on the serial ports. Parallel Port Connections (PRN1, PRN2) Two 25-pin female DB-25S connectors with an IBM PC compatible pinout are pro- vided on the rear panel for connection to a printer using a parallel port.
Page 26
You have now completed the basic installation of the Print Server onto the network and now it must be configured for use. Please continue with the appropriate chapter for your printing environment to learn how to print to the M204: •...
The extra processing binaries (a2ps, onlcr, banner) can be configured for the host to perform or they can each be set on the M204 alleviating the host of these extra tasks. To be utilized on a host, they must be used in conjunction with an interface file. Other- Note wise, please see USING THE M204’S COMMAND SET on page 81 for information on...
Page 28
first two choices of npconfig’s Main Menu. Within minutes, you will have configured the M204 so it can be recognized on the network and your host will be able to send print jobs successfully to it.
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, net- mask, and for root and guest passwords. (ezsetup as well) Configure Host Setup Configure a print destination on the host including com-...
Page 30
Add and remove users. Change user passwords and user types. Users . . . Configure Print Server’s Nov- Configure and list the M204 Novell settings: name, frame type, ell Options . . . and PSERVER password. List M204 PSERVER and RPRINTER configuration.
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 fol- lowing parameters are initialized and saved in EEPROM: • IP address (mandatory), •...
Page 32
If you choose computer-aided configuration, you must log on to your system as root Note 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.
Page 33
Manual Configuration Through the Network with ARP To manually configure the M204 using the network, go to a host terminal and do the following: Log on to your system as root user. Assign an IP address and IP name to the M204 in your host table (/etc/hosts, hosts nis map, or DNS name tables).
Page 34
These are now stored in EEPROM. 12 Logout of the Telnet session with quit. Then reboot the M204 by powering the unit off, then on. 13 Test the equipment and configuration after installation is complete. Enter at the...
Page 35
[Optional, but recommended] At this point, set up the user passwords. Please see set user on page 104. If no response is given by the M204, the RARP process probably failed. Reboot the unit and try one of the other methods mentioned in this section.
Page 36
: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 con- figuration purposes. A straight-through serial cable is normally needed unless a PC is attached;...
Page 37
If at any time you’d like to restore the Print Server’s network settings to their original state, you can do so with an npsh command or by utilizing jumpers within the M204 itself. Please see Restoring To Factory Defaults on page 124 for more details on this process.
The data transfer program npwrite is provided with the host software shipped with the M204. It sends data to the Print Server over a TCP connection. Data is read from a file CONFIGURING THE M204 FOR TCP/IP: Host Configuration...
Page 39
The rsh/rcmd/remsh programs are remote command execution clients that talk to the rshd server in the M204. rsh, rcmd, and remsh are actually the same programs but have different names on different UNIX systems; some systems may even have another name for remote command.
Page 40
Load the appropriate one for your system spooler type and use it in this state if the M204 can do sufficient processing. The M204 itself contains enough processing options, when they are turned on, to han- dle most processing needs without the need for host software.
Page 41
The important part of an interface script is where it sends the print job. With the M204, the data must be captured and sent over the network for printing, since your printer is no longer locally attached. There are two possible ways to make this happen with your current script: Encapsulate your script’s code with brackets ( ) and after the closing bracket, add...
Page 42
#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 destina- tion d3com1 by remotely executing the print server’s lp print command. Please see npwrite on page 30, rsh/rcmd/remsh on page 31, and lp on page 89 for more details on each command’s syntax.
Page 43
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.
Page 44
To manually set up your host with an interface file, you need to add an entry to the /etc/printcap file and then create and edit its associated files and directories. Here is an example of what the printcap entry should look like followed by a descrip- CONFIGURING THE M204 FOR TCP/IP: Host Configuration...
Page 45
: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 inter- face file npr.if. To create these entries, please do the following: Create the printer’s spooling directory and associated files. cd /usr/spool/lpd...
Page 46
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, pcl- ps, gen7170).
Page 47
The scheduler copies the file into a spooling directory and calls the interface program when the job is ready to go to the M204. It processes the job according to the script’s settings and then sends it over to the Print Server for printing.
Page 48
The example commands provided represent a print setup involving a printer named Note hp, an M204 named spike, and a printer attached to the Print Server’s com2 port. Copy the nprsysv.if file from the host software medium to the model directory.
Page 49
/usr/lib/lpadmin -php -mnpr.if -v/dev/spike.com2 Start the scheduler. lpsched Enable the printer and allow it to accept requests. enable hp accept hp Try printing a file with the following syntax: Syntax lp -d printername filename CONFIGURING THE M204 FOR TCP/IP: Host Configuration...
Overview TCP/IP Host The spooler M204 processes the job and passes it to the printer device. printer /dev/m204.prn1 npd watches over this device and sends any print jobs over to the M204. CONFIGURING THE M204 FOR TCP/IP: Host Configuration...
Page 51
/dev/pty is the directory used for locating the pseudo-tty pair slave device. npd locks As npd acquires an exclusive lock on the M204 port, it is possible to lock out other daemons that may reside on other UNIX hosts. Therefore, npd is designed to timeout and release the lock if the pseudo-tty pair is idle for a specified time (30 seconds is the...
Page 52
Process ID of npd daemon. ipname M204 IP address or IP name serviced by npd. port M204 I/O port used by npd (i.e. prn1, prn2, com1, com2). masterfile Master device used by npd. slavefile Slave device used by npd.
Page 53
Sun NeWSprint page accounting works with PostScript printers. It utilizes the bi- directionality of the M204’s serial ports to get this status back to the host. If the printer is attached to one of the parallel ports, no page information comes back from the printer.
Page 54
To avoid this, replace the pscomm program with Microplex’s equivalent npcomm.sh program in the .options file which redirects the data to the M204. npcomm.sh is found in the host software. Create and edit this .options file in the printer’s spooling directory with global read permissions.
Page 55
/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:\...
Page 56
This file is only created after the mkvirprt command has been executed in Step 5. Note This step redirects the print job over the network to the M204. For destinations other than d1prn1, please see Destinations on page 8. Run chvirprt since the print setup has been altered and needs updating. Enter: chvirprt -q queue2 -d lp0 If you need to delete an entire print setup, use the rmvirprt command.
Page 57
You can send jobs to the M204 with the following command syntax: Syntax lpr -S ipname -P destname where ipname is the M204 IP name or IP address and destname is the name of an M204 destination. Example lpr -Sspike -Pd4com2 sends a print job to d4com2 on the M204 named spike.
Page 58
Spooler on page 30. FTP Daemon The FTP Daemon provides an additional method to submit print jobs to the M204. For a complete discussion of printing and other M204 functions using the FTP Daemon, please see FTP Daemon on page 134.
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 dif- ferent 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...
TCP/IP one. No addresses, masks, or router entries are necessary and in most cases, the M204 can simply be connected to the network, turned on, and then configured for printing from a Novell station through PCONSOLE. The only parame- ters that you may want to set is a PSERVER password or possibly the frame type.
RPRINTER serviced by the M204 since the RPRINTER settings do not hold their effect through a power cycle. If the M204 loses a connection to a file server (as a PSERVER) or to a PSERVER (as Note a RPRINTER), it will automatically reconnect when that server becomes available again.
Page 62
TION. Press <Insert> to add a server. Prompts for the server’s name. Type the name of the M204. By This new server is added to the list. default, it is M_xxxxxx where xxxxxx equals the last six digits of the unit’s Ethernet address.
Page 63
You should see the Print Server’s name dis- SERVERS once you have gone into played (e.g. M_000BF5). view the appropriate queue. Press <Escape> until you have exited The configuration is complete. PCONSOLE. RPRINTER Setup (Pre-NetWare 4) CONFIGURING THE M204 FOR NOVELL: Host Configuration...
Page 64
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.
Page 65
An empty queue list comes up. defined and press <Enter>. Press <Insert>. A list of available queues displays. Select the queue you want this printer Prompts you for a priority. to service and press <Enter>. CONFIGURING THE M204 FOR NOVELL: Host Configuration...
Page 66
PSERVER, and destname equals an M204 destination (e.g. d1prn1, d4com2, etc.). Reboot the M204 to enable these The M204 will boot up and read this entry changes. from the CONFIG file and set itself to act as an RPRINTER. CONFIGURING THE M204 FOR NOVELL: Host Configuration...
Page 67
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: • Set the M204 up as a PSERVER replacing a dedicated workstation running PSERVER.EXE or PSERVER.NLM on the file server.
Page 68
Step Action Result of Action Type the name of the M204. By This new server is added to the list. default, it is M_xxxxxx where xxxxxx equals the last six digits of the unit’s Ethernet address. (e.g. M_000BF5) Select this new print server and press PRINT SERVER INFORMATION menu <Enter>.
Page 69
If you want to continue with any of the following procedures, please find them as indi- cated in other sections of this manual: • Add to or change configuration of your M204. Please see USING THE M204’S COMMAND SET on page 81. •...
Page 70
CONFIGURING THE M204 FOR NOVELL: Host Configuration...
M204 is booted on the net- work. If you wish to modify some of the M204’s default settings, you can use the built-in command set. Please see USING THE M204’S COMMAND SET on page 81 for more on the available commands.
Additional Configuration Options AppleTalk Zones If the M204 does not come up in the correct AppleTalk zone, you can configure a par- ticular zone name on the unit. To do this, start an npsh session with the unit and enter...
Page 73
Removing Excess Printers from the Chooser When you first install an M204 in an AppleTalk environment, you will notice that four printers show up in your Chooser; one printer for each destination on the Print Server that has AppleTalk services enabled.
Page 74
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.
first spool to the NT host before being sent to the Print Server/printer for print- ing. Print Setup Possibilities There are two print methods available with the M204 in a Windows environment: LPR - Berkeley’s Line Printer Protocol which uses TCP/IP to transfer data to the Print Server’s built-in Line Printer Daemon.
Ensure that you have the appropriate network software installed on your Windows host. Configure the Windows host with an IP address and netmask. Configure the M204 with an IP address and netmask. Create a printer and select a method of printing to the Print Server (e.g. LPR). TCP/IP Setup...
Page 77
Network Setup icon in the Network Group. Click on Drivers. Since the TCP/IP services will not yet be listed here, click on Add Protocols. Select Unlisted. Specify the directory where the file exists. A new TCP/IP-32 program group will CONFIGURING THE M204 FOR WINDOWS: TCP/IP Setup...
Page 78
Internet, the following are some sample settings to use: IP Address Netmask Host 1 192.1.1.1 255.255.255.0 M204 192.1.1.2 255.255.255.0 Host 2 192.1.1.3 255.255.255.0 and so on... The following sections will detail how you configure TCP/IP settings on the different Windows platforms. CONFIGURING THE M204 FOR WINDOWS: TCP/IP Setup...
Windows NT and WfW, this does not work reliably. Therefore, the best way to store an IP address and a netmask is to connect a terminal, PC, or laptop to one of the M204’s serial ports. This will log you into the unit where you can store the IP address and netmask.
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.
Page 81
Line Printer Daemon using TCP/IP. NetBIOS Using Print Manager Method In order to use this method, you must first configure the M204 with a Microsoft Net- Note works Workgroup name. This can be done by telneting to the M204, starting an npsh...
Page 82
Windows for Workgroups (WfW) NetBIOS Using Print Manager Method In order to use this method, you must first configure the M204 with a Microsoft Net- Note works Workgroup name. This can be done by telneting to the M204, starting an npsh...
Page 83
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.
Page 84
• Utilize more advanced features of the M204. Please see USING THE M204’S ADDITIONAL OPTIONS on page 119. CONFIGURING THE M204 FOR WINDOWS: Host Configuration...
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. Destinations allow you the ability to configure a number of different print setups on the Print Server.
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: •...
PostScript printers. Variables Variables are actually utilized within the M204’s models and are useful for defining lengthy header or trailer strings. This might be necessary for certain printer switch strings, for example. Each variable consists of a combination of escape codes and text for this printer control.
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.
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.
User Accounts and Permissions When you log into the M204, you either log in as a guest or as root user. The com- mands you will be able to utilize on the Print Server depend on which login name you use.
Store commands only affect stored settings in EEPROM but not the current settings. This means the M204 must be reset to make any changes take effect. For example, if you change the current settings of the IP address and the netmask, this will only take effect after a reset (warm boot) from EEPROM, or after a power-on (cold boot).
Page 92
I/O ports and destname is the name of one of the M204 destinations. See also: enable on page 85, list dest on page 86, list com1|com2 on page 85, and list prn1|prn2 on page 87.
Page 93
fied 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.
Page 94
Display all of the NIT modules’ physical properties such as their interface number and hardware address. See also: store ifc on page 107 and Manipulating the M204’s UTP Interface on page 120. list key list key List the license details and license key number.
Page 95
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. See also: Models on page 78 and set model on page 97. list prn1|prn2 list prn1|prn2 List current settings of the parallel I/O port.
Page 96
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.
Page 97
-d destname Print to the M204 using standard TCP/IP rsh/rcmd/remsh. destname is the name of the M204 destination. This command in default mode will show any parallel port printer errors to the user. The options are: Show incremental byte counts as the job is printing and show the job’s position in the queue as it moves to the top.
Page 98
(i.e. rsh/rcmd/remsh). Note Example rsh spike lp -d d1prn1 -off < test.txt prints the file test.txt, followed by a formfeed to the M204 destination d1prn1 on the Print Server named spike. lpstat lpstat Display active and queued jobs on the Print Server and I/O port status.
Page 99
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.
Page 100
Enable [disable] parity generation and detection. [-]parodd Select odd [even] parity. [-]rtsflow Set RTS low when the M204 is not ready to accept data. With “-”, RTS output is constantly high, and the M204 does not use the RTS line to control input flow. [-]ctsflow Observe [ignore] CTS input and don’t transmit data if it is...
Page 101
(INT is time in minutes in the range of 0 to 255). If the timeout is set to zero (0), the timeout feature is disabled. Printer errors will cause the M204 to postpone printing until the printer is Note fixed regardless of this timeout feature being set or not.
Page 102
Associate a logpath with a destination. Please see set logpath on page 95 to configure this logpathname. set dest destname model modelname Associate a model with a destination. Jobs sent to the named destination are USING THE M204’S COMMAND SET: npsh Command Set...
Page 103
[[-]lpsched] [[-]rprinter] [[-]pserver] [[-]appletalk] [[-]netbios] [[-]ftpd] Set the destination to handle only certain print server services. See also: Manipulating the M204’s Services on page 121. Examples set dest d1prn1 alternate d2prn2 where print jobs going to d1prn1 are redirected to d2prn2’s printer if the original printer is currently busy.
Page 104
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.
Page 105
CR LF (carriage return - linefeed) pairs. Turn this on when lines stair-step down the page, starting a new line without returning to the original line beginning. onlcr may slow throughput performance on the M204. Note descramble Set the model to automatically descramble any print jobs passing through.
Page 106
Continuously senses print job for data format. For example, if there is a PostScript banner page in front of a PCL print job, the M204 will sense both parts of the job separately and do the conversion. Enabling this feature will decrease output performance.
Page 107
“-”, the arguments will be reversed: [-]ackmode Use the ACK signal for the trigger of next data transfer. This can generally be used with older printers. With “-”, the BUSY signal is used as the trigger. USING THE M204’S COMMAND SET: npsh Command Set...
Page 108
(INT is time in minutes). If the timeout is set to zero (0), the timeout feature is also disabled. Note Printer errors will cause the M204 to postpone printing until the printer is fixed regardless of this timeout feature being set or not. Therefore, no data will be lost.
Page 109
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.
Page 110
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.
Page 111
See also: Manipulating the M204’s Services on page 121. set sysinfo name [ namestring ] Set the name of the M204. This is just a string and is not used in the operation of the unit. If namestring is not included in the syntax, the field is emptied.
Page 112
Create a named variable with a specific string. string is a space-separated list of words, hex numbers (e.g. 0x04), and references to other variables or con- stants. USING THE M204’S COMMAND SET: npsh Command Set...
Page 113
Start an ASCII output test on the specified I/O port. If no I/O port is specified, the command affects all of them. These tests are for confirming that the serial and parallel I/O ports on the M204 are communicating properly with connected devices. Three different types of tests can be done: fox message test.
Page 114
Once you store any parameters, you need to issue a reset command or do a Note cold reboot of the M204 to apply the changes. Otherwise, you will still be using the current settings. For the store commands, these new words are important to know: ifnum Interface number.
Page 115
A “-” before either disables this feature. ifnum is the Interface Number labelled on each of the M204’s PCMCIA slots. Note See also: list ifc on page 86 and Manipulating the M204’s UTP Interface on page 120. store pserver store pserver name newservername Store a new name for the M204 indicated by newservername.
Page 116
Change the AppleTalk printer name that appears in the Chooser. papname makes up the second half of the name and is transparently mapped to an M204 destination. Example store pserver applepap prn1 name hp4si changes the AppleTalk printer named prn1 to hp4si.
Page 117
Deletes a particular Novell file server from the M204’s list of preferred file servers. store pserver novell opts [[-]spxkeepalive] Allows users to disable the keepalive packets sent by the M204 to the host in order to maintain an SPX connection. The [-] disables spxkeepalive. store pserver novell passwd [ password ] Store the password for the Print Server to use when logging in to the file...
Page 118
Removes this entry from the proxy ARP table. store tcpip route add|del default routeripaddress ifnum Add or delete a default router entry in the M204’s routing table for the NIT module specified by ifnum. USING THE M204’S COMMAND SET: npsh Command Set...
Page 119
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. store tcpip route del [host|net] targetipaddress ifnum Delete a specific route from the routing table of the NIT module specified by ifnum.
Page 120
[ 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 port- number, you can also connect to a specific socket on the target host.
TCP/IP services available, and be on the same local IP network as the M204. A Windows workstation on a Novell IPX network will not be able to communicate Note with the M204. Please read the SETUP.TXT file for a list of compatible TCP/IP stacks. Note Installation...
To start a session with an unconfigured M204, please follow the steps below: Note These steps relate to establishing a stored IP address in the M204. If your network uses a dynamically assigned IP address, please see Manual Configuration Through the Network with RARP on page 26 and Manual Configuration Through the Network with BOOTP on page 27 for more information.
Page 123
Configure unit as desired. Note The IP address entered in Step 4 will be saved to the M204’s EEPROM. If the unit already has an IP address or if the IP address is assigned dynamically, the unit should show up in the list of already configured Print Servers when you select Open Print Server Session.
Page 124
USING NPWIN: Starting a NPWin Session With An Unconfigured Unit...
USING THE M204’S ADDITIONAL OPTIONS Overview As of now, you will have configured your M204 and you’re probably printing to it suc- cessfully. The purpose of this chapter is to enhance your print setup by describing some of the additional features that the Print Server provides. It is broken down into the following sections: General Options on page 119: network security, changing the Print Server’s...
Page 128
89. Using Different Naming Schemes By default, the M204 is named M_xxxxxx where xxxxxx is the last six digits of the Ethernet address as found on the bottom of the unit. This name affects a Novell, AppleTalk, and NetBIOS setup. To change this name to something more suitable for your printing environment, please see store pserver on page 107.
Page 129
If you are not utilizing all of the protocols provided on the M204, you can disable the unused ones providing more memory for the protocol(s) in use. Please see set sysinfo module [[-]novell] [[-]appletalk] on page 103 for the command details.
Page 130
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.
Page 131
Please see set dest on page 94 to configure a backchannel. Lp Method The M204 provides its own version of the lp print command. This is used in conjunc- tion with rsh/rcmd/remsh within an interface script or directly from the command line on the host.
Settings on page 125 for the jumper locations. Caution The inside of the M204 is sensitive to static electricity so be sure to ground yourself to the chassis before touching any internal components. To manually set the unit to defaults: Open the cover.
Page 133
Use a Telnet session or connect a terminal to a COM port of the Print Server. Once logged in as a root user, restore factory defaults by entering: store tcpip from default Reboot the M204 and reconfigure its settings according to one of the methods dis- cussed in M204 Configuration on page 23. Figure 4:...
Page 134
UNIX .rhosts file. If the access list is empty, any host can have access to the M204’s services. If there are entries in the access list, only those hosts specified have access to these services. Although the maximum number of entries is 10, each entry can refer to a network or a host so more than 10 machines can be enabled.
Page 135
This second TCP/IP security method protects users’ print data as it is sent across the network to the M204 for printing. A binary is provided on the host, npscramble, which scrambles the print job. Then when the job reaches the Print Server, it is descrambled for printing.
Besides the general security measures mentioned in Network Security on page 119, a Novell setup provides further password security. A password can be set on the M204 and within your PCONSOLE setup so that when the M204 tries to login to the file server, the passwords are compared.
The M204 allows you to specify a list of preferred file servers in a Novell environ- ment. 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.
Page 138
firmware version, serial number, etc. In addition to these, it includes a trap table which defines what SNMP managers will receive the traps generated by the M204. The trap table can have up to ten entries, but only the first entry is saved to EEPROM.
Page 139
MIB are accessed by SNMP managers. To access the M204’s custom MIB, the public community string can be used to read any variable that have read access. To restrict write access, there is an additional security step implemented.
Page 140
Compiling and Monitoring the Custom MIB For read-only SNMP functionality, please follow the steps below: Copy the M204 MIB definition file from the host software disk in a file called m204mib.txt. This file can also be downloaded from the Microplex FTP site (ftp.microplex.com: support/m204/misc/m204mib.txt) or can be accessed...
Page 141
M204’s ipname is spike, and that the SNMP manager is the Tricklets package. Set up an snmp user with root privileges on the M204. Please see Adding an SNMP User on page 132 for details. Issue the following configuration commands using the snmp user’s password as the community string.
M204 configuration files. Users FTP to the M204 as if it were any other computer on the network. For the purposes of FTP, a pseudo file system has been defined on the M204 to allow access to the unit’s functions. Three types of users can access this file system: root, guest, and anonymous.
Page 143
/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.
Page 144
The following example shows how to monitor a print queue using FTP: Login to the M204 using ftp. ftp ipname Login as guest, root or anonymous. Change to the /queue directory cd queue USING THE M204’S ADDITIONAL OPTIONS: FTP Daemon...
Page 145
DOS, use the type command. Configuring M204 Parameters Using FTP Users have two ways of configuring the M204's parameters using FTPD. The first is by uploading binary files to the /config directory and the second is by uploading text configuration files to the /exec directory.
Page 146
Logout of the FTP session. quit Now you have a copy of the M204’s stored configuration parameters. These files can be saved for archival purposes, used to reconfigure the unit to a previous setting, or used to set a number of units to the same configuration.
Page 147
Copies all files from the local directory to the config/stored directory. Logout of the FTP session. quit It will be necessary to reset the M204 for the changes to take effect. Note 2. /exec directory Using the /exec directory, users can upload a text file that includes a number of config- uration commands.
Page 148
It is important to ensure that the redirect port's parameters are not altered in com- mands that follow or else the output may be affected. It is not possible to generate a text configuration file from an existing binary configu- Note ration file in the /config directory. USING THE M204’S ADDITIONAL OPTIONS: FTP Daemon...
Depending on the specific commands in the configuration file, it may be necessary Note to reset the M204 for the commands to take effect. Basically, the same rules apply whether you are using npsh to issue commands or a configuration file to issue commands.
Page 150
[ remotehost ipaddress ] Example store tcpip proxy add host 192.147.242.3 Enable the IP gateway option on the M204 so that data packets will be sent from USING THE M204’S ADDITIONAL OPTIONS: Serial Line IP...
Page 151
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 net- work 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.
Page 152
When the connection is dropped, the serial port reverts back to standard npsh mode. The remote host is now part of the M204’s network as if it were a new host on that net- work. Basically, whatever a host on the local network can do, the remote host can do.
IP Routing IP routers allow computers connected to two (or more) separate networks to commu- nicate 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.
Page 154
USING THE M204’S ADDITIONAL OPTIONS: IP Routing...
AppleTalk Problems 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. If at any time after the bootup process the ERR LED comes on, please contact your Note local vendor.
Page 156
M204 Configuration on page 23 for possible configuration methods. • Is there a router between the M204 and your host? If so, a default router or a static route must be configured on the unit so the Print Server knows how to get its response back to the originating host.
Page 157
• Have you tried rebooting the M204? • Does the fourth octet of the M204’s given IP address equal 0 or 255? Each of the four octets in the IP address should be between 1 and 254. Printing Related You’ve completed your print setup but nothing is printing This can be the most frustrating problem since you’ve gone through the configuration...
Page 158
This tends to happen when PCs are used with a TCP/IP software package and they are printing to a Unix system or directly to the M204 where onlcr is turned on. DOS jobs have difficulty with this carriage return insertion and will therefore, print out incor- rectly.
Note byte with a zero (0). • Has the M204’s name been changed from its default of M_xxxxxx and if so, have you incorporated this new name into your setup? • When setting the M204 up as a PSERVER, did you specify a destination on the M204 (e.g.
Page 160
Novell installation? • If the M204 has logged in to the file server but has not attached to the queue, there may be a permission problem. Make sure the appropriate users have rights to this queue (they should be in the group “everyone.”) Also, you may have to assign the...
Page 161
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: •...
Page 162
Did you turn off banner pages and formfeeds if this is already taken care of within an application or on the M204? Doubling up of these types of print features is easy to do since these options are provided both on the M204 (in a model) and within the print command.
• 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. Windows Problems Windows NT 3.5x...
Page 164
file builds and builds leading to an error like the ones mentioned. Be sure to check the lpstat output on the print server to determine where the problem is and if it’s host related, keep the LPR bug in mind. Windows for Workgroups TROUBLESHOOTING THE M204: Windows Problems...
Page 165
It is because a “net use” connection is used between this central station and the print server that causes the problem. However, a central NT station can offer a shared network printer to these WfW stations. TROUBLESHOOTING THE M204: Windows Problems...
Page 166
TROUBLESHOOTING THE M204: Windows Problems...
WWW Site Microplex’s HTTP site contains information on the company as well as detailed infor- mation on the M204 including data sheets and technical bulletins. In addition, the lat- est software and manuals are always available. Using whatever Web browser you have available, you need to get to the URL, http://www.microplex.com/...
Help Methods Available on page 157. If you decide to call Microplex, you may be placed in a call queue depending on the current support load. A support technician will get back to you as soon as one comes available.
• 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, •...
Suitability, and Fitness for a particular application are limited to three (3) years from the time of the original purchase date. In no event shall Microplex be liable for Loss of Use, Loss of Profits or Revenues, or other Indirect, Incidental, or Conse- quential Damages.
Warranty Claim Procedure Please use the following guidelines when shipping goods back for warranty claim: • 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.
Page 172
COMPLETE DESCRIPTION OF GOODS TOTAL VALUE Print Server 600.00 REASON FOR RETURN: warranty repair I declare all information contained in this invoice to be true and correct. Leslie Smith 02/12/93 SIGNATURE NAME AND TITLE DATE GETTING HELP WITH THE M204: Warranty...
IBM PC compatible parallel interface (Centronics). IEEE 1284-I Parallel Ports (PRN1, PRN2) compliant. Female DB25 connectors. DMA-driven state-machine implementation supports data rates in excess of 280,000 characters per second. Figure 6: Parallel Port Timing DATA -STROBE -ACK BUSY M204 SPECIFICATIONS: Hardware Specifications...
Page 176
32.5 64.5 Peripheral Ready -0.5 -2.0 to Start of Next Byte Independent of Mode (Dependant on Peripheral) Strobe Negated to Ack Asserted Ack Cycle Width Strobe Negated to Busy Asserted Transfer Rate Characters Per Second (kcps) M204 SPECIFICATIONS: Hardware Specifications...
Dual bi-directional IBM AT compatible serial interfaces, male Serial Ports (COM1, COM2) DE09 connectors. Data rates supported: 50 to 38,400 bps. The M204 acts as a DTE with this 9-pin pinout. Serial Port Pinouts Table 6: 9-Pin COM1/COM2 Pinout Abbr.
3, and 7. This may not be as robust as hardware flow control so a fuller cable pinout is recommended providing either flow control method. To find out what is being used on the M204’s serial ports, use the Note npsh command list com1|com2. This will show either “ixon” for software flow control or “cts flow”...
Page 180
2 and 3 on both ends which must relate to transmit and receive. Transmit on one side must always go to receive on the other and vice versa or else there will be no communications between the two devices. M204 SPECIFICATIONS: Hardware Specifications...
Page 181
Maximum Customer-supplied external transformers must be rated at 20 VA or greater for proper operation. Typical Power Consumption Maximum External transformer available in 120V/60Hz or 220 - Power Supply Options 240V/50Hz. Power Socket AC IN 16V M204 SPECIFICATIONS: Hardware Specifications...
RAM, ROM, EEPROM, serial ports, parallel ports, and network interface. The STAT, ERR, and NET LEDs indicate which test is currently in progress. Run Mode is the normal operating state of the M204. Auto-Reset Run and Auto-Reset Modes mode is entered when the watchdog timer is triggered and the Print Server has reset itself.
Download Mode, IP address configured License Violation An invalid license mask and key forces the M204 into license- violation mode after three minutes of operation. Make sure the S3 jumper is on EEPROM Enable and if it continues, check to see if the keys are enabled.
Page 184
Bus errors, address errors, and illegal instructions force the M204 Hardware Exception into this non-operational mode. Physical Details Dimensions 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...
There can be 256 simultaneous TCP connections depending on the current Note memory available. 10 simultaneous TELNET connections are possible. M204 SPECIFICATIONS: Software Specifications...
(CONFIG) file File that the M204 reads upon bootup in a Novell environment. This file contains npsh commands which the Print Server exe- cutes as if they were entered on the unit itself. This file is neces- sary if the M204 is configured as an RPRINTER but optional...
Page 188
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 spe- cific I/O port. On the host, any number of print destinations can be defined.
Page 189
Interface number. An index to a Network Interface Tap (NIT). ifnum will always be 1 for the M204 since there is only one net- work interface, Ethernet. interface file Host filter that processes the print job before it is sent to the M204.
Page 190
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.
Page 191
Storing data in memory or in a file until it can be printed. switchable Capable of printing both PCL and PostScript files. The M204 attaches a header and trailer string to a print job to switch printer modes. SYSLOGD System Message Logger.
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 Port Used: Parallel ports High speed and IEEE 1284-I Need bi-directional printer if using...
Page 194
Table 11: Configuration Considerations Setting Advantages Disadvantages RPRINTER Doesn’t take up a NetWare user A non-M204 print server (PSERVER) license. must be running. Processing Location: Output process- Increases M204 throughput. Increases overhead on host system ing performed and requires host software.
Page 195
Table 11: Configuration Considerations Setting Advantages Disadvantages Load-balancing Print job goes to first available May print on a printer that’s not com- printer rather than waiting for a patible with the print job format. busy one. Descrambling Some print job security as data Requires binary on host system and travels over the network.
INDEX problems 153 in host software 19 zones 64, 108 bi-directional communications. see architecture also npd diagram 9 blank pages Symbols overview 8 with Novell 152 .options file 46 ARP 23, 176 BOOTP 23, 176 .rc 44 command syntax 25 configuration with 27 .rhosts file 124 configuration with 25...
Page 198
33 AppleTalk 63 details 77 host configuration with 30 considerations 183 diagram 9 M204 configuration with 24 destinations on host 21 disable and enable 84 Main Menu 21 I/O ports 80 in lp command 89 overview 20...
Page 199
default serial 28 DOS and npsh 81 IP Routing list parallel 87 for Novell 51, 150 and configuration 110 list serial 85 for TCP/IP 19 details 143 problems 147 installing 24 IPX 176 serial options 169 manage with npconfig 22 set on parallel ports 99 http site jobs...
Page 200
78 Detailed Options Sub-Menu 21 logging 6 module host configuration with 30 email 102 control 119 M204 configuration with 24 methods 120 set 103 Main Menu 21 set with npconfig 22 moving overview 20 system options 102...
Page 201
data in wrong format 148 ifnum 106 on COM1|COM2 82 garbled data 148 PCONSOLE 52 password 25 in host software 19 and setting passwords 126 root 25 list 87 troubleshooting with 150 Telnet 82 set on parallel ports 100 peripherals PSERVER 51, 53, 176 set on serial ports 93 and parallel ports 17...
Page 202
SLIP 105 host configuration 30 STAT LED 172 cable schematic 170 host software 19 flash patterns 173 data rate 168 M204 configuration 23 stop 106 flush 93 other print methods 49 store 83 parameters 92 port numbers 175 Sun 45...
Page 203
prompt 82 UTP 176 telnet 6, 102, 112 change 107 and logging 120 list 86 and terminal server 126 manipulate 118 permissions 82 terminal variables 91 and logging 80 default settings 163 and npsh 81 details 79 and restoring defaults 123 in switch strings 99 configuration with 28 list 89...
Need help?
Do you have a question about the M204 and is the answer not in the manual?
Questions and answers