Ref: 06430015 Title: Configuring a 3+Open Server for a Serial HP Laserjet Printer Date: 7/13/90 Copyright 3Com Corporation, 1991. All rights reserved. This article provides a step-by-step guide for configuring an HP Laserjet serial printer on a 3+Open platform. For instruction on configuring other printers, refer to the 3+Open LAN Manager Administration Guide or your printer documentation. For a 3Com dedicated server (3S/40x, 3S/5xx): 1. From a console connection (3C Start) run the Netsetup program on the server. 2. Choose "Configure Network Printer." 3. Type the path to the installed LANMAN files. 4. Chose the com port that will connect to the printer. 5. Choose configuration settings as follows: 9600 N 8 1 to=off xon=on dtr=on *ALL OTHER VALUES OFF* 6. Reboot the server. 7. Log on to an OS/2 workstation with Admin capabilities and execute the command: NET ADMIN \\servername 8. Choose "View This Server." 9. Choose "Add Share." 10. Choose "Spooled Printer." 11. Assign a sharename for the printer, and choose "OK" at the following message: The specified print queue does not exist. Choose to create the queue SHARENAME. 12. Configure the queue as follows: Priority = 5 Printer device(s) = the com port configured in NETSETUP Separator file = laserjet.sep ALL OTHER VALUES MAY BE LEFT AT DEFAULT (Instructions for creating a separator file called "laserjet.sep" with the appropriate Laserjet reset sequence are at the end of this article.) 13. You will then be prompted for permissions for the print queue. Set permissions as needed. 14. Ensure the Laserjet is set for "robust xon" and "serial" printing. 15. Ensure that you are using a true HP Laserjet serial cable between the server and Laserjet. For a PC server, follow the steps above with these modifications: 1. A PC server does not use the 3Com console connection. Skip step 1, and type "NETSETUP" at the \3OPEN\SERVER\LANMAN\NETPROG subdirectory of the server. 2. On a PC server the NET ADMIN command does not need to be executed from another OS/2 workstation, although it may be if you wish. You may type "NET ADMIN" from the keyboard of the PC server itself. ================================================================ In configuring serial Laserjets, the most common source of failure are bad com port parameter settings. If the Laserjet does not work after you have followed the steps above, check the com port parameters: For a 3Com dedicated server: 1. From an OS/2 or DOS Enhanced netstation, establish an administrative connection to the server using command line mode: NET ADMIN \\servername /C 2. From the [\\servername] prompt, type NET STOP commands for the SPOOLER and (if applicable) 3INTERNET services: NET STOP SPOOLER NET STOP 3INTERNET 3. Verify the mode settings for the port as follows: C:\OS2\MODE COMx where COMx is the port to which the printer is attached. The settings returned should be 9600 N 8 1 to=off xon=on ..... dtr=on... (all other parameters are off) 4. If the com port settings are incorrect, edit the file SETMODE.CMD to insert the correct values. (SETMODE.CMD is created by NETSETUP when configuring printers and is called by STARTUP.CMD during the boot process.) SETMODE.CMD executes the OS/2 MODE command for each port configured in NETSETUP and will look something like this: C:\OS2\MODE COM1 9600 N 8 1 to=off, xon=on...... C:\OS2\MODE COM3 9600 N 8 1 to=off, xon=on...... The values in SETMODE.CMD may be changed with a text editor. You must exit the NET ADMIN connection, link to the C$ sharename of your server, and edit the file C:\SETMODE.CMD. If the settings returned from step 3 are "1200 E 7 1....." the port is still set at the OS/2 default, and the SETMODE.CMD file did not execute properly when the server was rebooted. The file should be tested manually as explained in step 7. 5. Once the new values for the SETMODE.CMD file are in place, establish a NET ADMIN \\servername /C connection. 6. Ensure that the SPOOLER and 3INTERNET services are not started. If either of those services are started, any attempt to use the OS/2 MODE command to access a serial port (either by typing SETMODE commands or executing the SETMODE.CMD file) will result in this error: Com port specified has not been installed 7. Run the SETMODE.CMD file by typing C:\SETMODE If the file executes successfully, the message "Asynchronous communication mode has been set" will be returned. 8. Restart the SPOOLER and (if applicable) 3INTERNET services. 9. Exit the NET ADMIN connection. 10. Test the new com port setting by printing a file. The new SETMODE.CMD file will now be executed whenever the server is rebooted. For a PC server: Follow the above steps keeping in mind that a PC server does not require a NET ADMIN \\servername /C connection to be established from a workstation in order to configure the ports, though it may be done this way. You may use the MODE command locally at the server after stopping the SPOOLER and 3INTERNET services. ================================================================= Creating a Separator File for a HP Laserjet 1. Run the NETSETUP program. 2. Choose "Configure network printers." 3. Enter the appropriate paths for the server configuration files. 4. Choose "Manage separator files." 5. Choose "Create new separator page file." 6. Name the file "LASERJET.SEP" (if you wish to name the file something else you may as long as you specify the chosen name in the "separator file" for the print queue configuration in the NET ADMIN interface. 7. Under the "Reset Sequence Filename:" option, specify the file "LASERJET.RES." The LASERJET.RES reset sequence is provided by default with your 3+Open. A separator file will be created from the 3OPEN.SEP model with the appropriate Laserjet reset sequence.