From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,8a92eac633c0687e X-Google-Attributes: gid1164f8,public From: gary.fisher@lantronix.com Subject: Re: LPR-printing to DECserver Date: 1997/04/29 Message-ID: <862340558.11315@dejanews.com> X-Deja-AN: 238219675 References: <33614A24.6CE7@ect.nl> To: support@lantronix.com X-Http-User-Agent: Mozilla/3.01 (X11; I; SunOS 5.5.1 sun4u) via proxy gateway CERN-HTTPD/3.0 libwww/2.17 X-Originating-IP-Addr: 207.211.9.200 () Organization: Lantronix X-Article-Creation-Date: Tue Apr 29 19:03:39 1997 GMT X-Authenticated-Sender: gary.fisher@lantronix.com Reply-To: support@lantronix.com Newsgroups: comp.sys.dec In article <33614A24.6CE7@ect.nl>, FBiesheuvel wrote: > > Hi all, > > does anybody know how to set up an LPR-printer from NT? With other brand > printservers one can setup the LPR printer to print to nodename-servicename > and the printserver (Lantronix EPS) binds the service to a TCP-port (in fact, > acts like a LPD-daemon). I have a little experience how to set up a DECserver > port as a telnet listener and as a raw TCP listener port (in NAS 2.0) but I > can't get things to work. > > If there's a goeroe out there, please help! > Thanx in Adv.! > > -- > ----------------------------------------------------------------------- > |Frans Biesheuvel | E-mail :rvdwaal@ect.nl | > |Network Communications Engineer | Phone :+31 104918700/8776 | > |Europe Combined Terminals | Fax :+31 104918208 | > |PO 3785 | | > |3000 HJ Rotterdam | 'my employers ideas are not | > |The Netherlands | necessarily mine' | > ----------------------------------------------------------------------- Frans, There's a Tech Tip on setting up print queues to Lantronix servers under NT 3.5x on the Lantronix website at www.lantronix.com. I'm attaching that and a new one for NT 4.x that will be on the website soon. If you're still having problems please send email to support@lantronix.com or call (714)422-7044 to talk to someone in the Tech Support department at Lantronix. The Tech Support phones are open 6am to 5pm PDT on weekdays. Gary -- Gary Fisher (800)422-7044 gary.fisher@lantronix.com (714)453-3990 www.lantronix.com FAX (714)450-7226 Question: Why does Lantronix recommend TCP/IP printing from NT and Win95 instead of NetBIOS? Answer: When printing from Windows NT and Win 95 using Lan Manager, if the printer flow controls for more than 45 seconds, the NT machine will display an alert box saying the printer is having problems. At that point, it presents the options to restart or cancel the job. Unfortunately, whatever you select, the NT or Win 95 machine will never send any more data out the network. Unfortunately, when this happens, the print server still thinks there is a valid job in the queue. It will not time out the job so you need to type LOGOUT PORT n at the local> prompt to get things going again. NT has the option to increase this timeout and their documentation suggests upping it for slow devices. Unfortunately, this does not seem to work. You can change the number to whatever you want but after 45 seconds it still times out the job. ================================================================================ Windows NT, Printing Methods Question: What is the procedure for installing an print queue to a Lantronix print server under Windows NT 3.5x? Answer: There are 3 methods of printing which are supported by Lantronix print servers: 1. LPR Configuration: --------------------- The following installation assumes that TCP/IP protocol and printing support has been installed in Windows NT server machine. In addition, the print server must have an IP address assigned via the ARP command. To use the ARP command, select the Command Prompt icon in the Main group and issue the following at the prompt: ARP -S XXX.XXX.XXX.XXX 00-80-A3-XX-XX-XX XXX.XXX.XXX.XXX = IP address to be assigned to print server 00-80-A3-XX-XX-XX = Print server's Ethernet address To install an lpr print queue: Run print manager. In the Printer menu, choose "Create Printer" Provide a printer name and select your particular printer. Select Print To: Select other Select lpr port Provide input to the following: Name or Address of host providing lpd: xxx.xxx.xxx.xxx Name of printer on that machine: eps_xxxxxx_p1 xxx.xxx.xxx.xxx = IP address of the Lantronix print server eps_xxxxxx_p1 = name of print service on the print server 2. DLC Configuration -------------------- To print with DLC protocol, a service must be enabled with DLC characteristic. An example is displayed below. Local_1> SET PRIVILEGED Local_1> system (not echoed) Local_1>> SET SERVICE EPS_XXXXXX_P1 DLC ENABLED Local_1>> SAVE SERVICE Open the NT Print Manager; its icon is located in the Main window on the desktop. Choose Create Printer from the Printer menu. In the dialog that is displayed, enter the following: o Name of the queue on the NT host o A description string o Type of printer driver required Note: If the printer driver isn't already installed, you'll need the Windows NT installation disks. If applicable, choose the Share this printer on the network option. (This is not recommended until the print queue is confirmed to be running properly.) Click the Print To menu arrow to view its pull-down menu. Scroll to the Network Printer option. From the dialog that appears, choose the Hewlett Packard Network Port option and click the OK button. Click the Card Address menu arrow to view its pull-down menu; all known DLC nodes will be listed. Select the EPS' hardware address. Enter a name to be associated with this address at the prompt. This printer name will be displayed in the Print To menu mentioned above. Click the Timers button. In the dialog that appears, click the Job Based radio button. Click the OK button in each print dialog displayed. If you'd like this printer to be the default printer, click the Default menu arrow on the Create Printer window's title bar and scroll to the printer's name. 3. Net BIOS Configuration ------------------------- To print with Net BIOS protocol, a service must be with enabled with LanManager characteristic. An example is displayed below: Local_1> SET PRIVILEGED Local_1> system (not echoed) Local_1>> SET SERVICE EPS_XXXXXX_P1 LANMANAGER ENABLED Local_1>> SAVE SERVICE Choose one of the lpt ports to redirect (typically the ports to choose from will be lpt1, lpt2, or lpt3.) Before you select a port to redirect, ensure that it doesn't currently have a printer connected to it. Double-click the DOS Command Prompt icon to open a DOS session. At the DOS prompt, use the NET USE command to indicate that the lpt port will be redirected to the EPS service [see example below]. C:> NET USE LPTn: \\EPS_XXXXXX\EPS_XXXXXX_P1 EPS_XXXXXX = Print server's name EPS_XXXXXX_P1 = Print service name on the print server The Windows NT node will attempt to connect to the EPS. (If it cannot connect to the EPS, it will inform you of the problem.) At this point, all references to LPTn (the port specified with the NET USE command above) will go to the service that you created. For testing purposes, you can try to use a copy command, if the EPS is ready to accept data. Exit the MS/DOS shell. Open the NT Print Manager; its icon is located in the Main window on the desktop. Choose Create Printer from the Printer menu. In the dialog that is displayed, choose the following: o Name of the queue on the NT host o A description string o Type of printer driver required Click the Print To menu arrow to view its pull-down menu, and select the LPT port you wish to redirect. Click the OK button in each print dialog displayed. If you'd like this printer to be the default printer, click the Default menu arrow on the Create Printer window's title bar and scroll to the printer's name. Note: Windows NT does not ship with a basic, text-only printer driver. If you wish to print only to a terminal, you'll need to use some type of line printer driver. and be willing to accept the embedded print codes. ================================================================================ Title: Windows NT 4.0 Printing Author: Technical Support Date Created: 9/24/96 Date Revised: 10/02/96 Number: WINNT007 Products: ETS/EPS/MPS/LPS Hardware/Prom Rev: Software Version: 3.1/x and greater Host System: Microsoft Operating systems: Windows NT 4.0 build 1381 Network Type: Ethernet Approved by: Bruce Approved Date: 09/24/96 Keywords: Windows NT, LPR, DLC, NetBIOS Question: How can I install Lantronix print servers with Windows NT 4.0? Answer: Lantronix print servers support the following printing methods in Windows NT 4.0: 1. TCP/IP LPR Configuration: --------------------------- The following installation assumes that TCP/IP protocol and printing support has been installed on the Windows NT machine correctly. Please refer to the Windows NT manuals or Microsoft Technical Support if you are having difficulty. The Lantronix print server will need to have a valid IP address assigned prior to the print queue installation. There are several methods which are described in the Installation guide. One of the most common method to assign an IP address to an ethernet device is to use the ARP command. To use the ARP command, select the Command Prompt icon in the Programs menu. In order to successfully assign IP addresses with Microsoft TCP/IP stack, the local ARP table must have at least 1 entry other than the local machine listed. To verify, type the following command: ARP -A To add entry to the ARP table, use the PING command to ping another IP host on the same local network. For example: PING 192.168.x.x Once the ARP table has at least one entry in it, use the ARP -S command to add the Lantronix print server's IP address to the ARP table: ARP -S XXX.XXX.XXX.XXX 00-80-A3-XX-XX-XX XXX.XXX.XXX.XXX = IP address to be assigned to print server 00-80-A3-XX-XX-XX = Print server's Ethernet address Next, ping the IP address to set the address on the server and verify that it's alive. PING XXX.XXX.XXX.XXX This will temporarily set the IP address until the next time the server is rebooted or power cycled. To make this address permanent on the print server, follow the instructions in the Installation guide. To install an LPR print queue: Select Settings then Printers from the Start menu or double click on My Computer and then Printers Double click on Add Printer Select My Computer Select Add Port Select LPR Port Provide input to the following: Name or address of server providing lpd: xxx.xxx.xxx.xxx Name of printer or print queue on that server: eps_xxxxxx_p1 xxx.xxx.xxx.xxx = IP address of the Lantronix print server eps_xxxxxx_p1 = name of print service on the print server Select Close to finish adding network port Select Next to chose the printer that is attached to this port Change the printer name if needed and click on Next to continue Select Shared and give the printer a shared name and client computers that can print to this printer Choose Yes to print a test page to the printer The installation wizard will need to have the NT installation CD available if the drivers are not already installed. 2. DLC Configuration: --------------------- The following installation assumes that DLC protocol has been installed on the Windows NT machine correctly. Please refer to the Windows NT manuals or Microsoft Technical Support if you are having difficulty. In addition, DLC protocol is not supported with the LPS product. To print with DLC protocol, a service on the print server must be enabled with the DLC characteristic and the print server must have LanManager protocol enabled . Follow the instructions in the Installation manual regarding services characteristics. An example is displayed below: Local_1> SET PRIVILEGED Local_1> system (not echoed) Local_1>> SET SERVICE EPS_XXXXXX_P1 DLC ENABLED Local_1>> SAVE SERVICE ALL Select Settings then Printers from the Start menu or double click on My Computer and then Printers Double click on Add Printer Select My Computer Select Add Port Select Hewlett-Packard Network Port and all new DLC devices should be listed. Clicked on Refresh if the device is not there. Select the correct print server' hardware address and provide a name to be associated with this DLC port at the prompt. Select the Timers button and choose the Job Based option. Select Close to finish adding network port Select Next to chose the printer that is attached to this port Change the printer name if needed and click on Next to continue Select Shared and give the printer a shared name and client computers that can print to this printer Choose Yes or No to print a test page to the printer then Finish The installation wizard will need to have the NT installation CD available if the drivers are not already installed. 3. NetBIOS/NetBEUI Configuration: --------------------------------- The following installation assumes that NetBIOS/NetBEUI protocol has been installed on the Windows NT machine correctly. Please refer to the Windows NT manuals or Microsoft Technical Support if you are having difficulty. In addition, LanManager printing is not supported with the LPS product. To print with NetBIOS/NetBEUI protocol, the print server must have LanManager protocol enabled and a service on the print server enabled with the LanManager characteristic. Follow the instructions in the Installation manual regarding services characteristics. An example is displayed below: Local_1> SET PRIVILEGED Local_1> system (not echoed) Local_1>> SET SERVICE EPS_XXXXXX_P1 LANMANAGER ENABLED Local_1>> SAVE SERVICE ALL Determine one of the available lpt ports to redirect (typically the ports to choose from will be lpt1, lpt2, or lpt3.) Select the Command Prompt icon in the Programs menu or type Command in the Run menu. At the Command prompt, use the NET USE command to indicate that the lpt port will be redirected to the Lantronix print server. For example: NET USE LPT3: \\EPS_XXXXXX\EPS_XXXXXX_P1 EPS_XXXXXX = Print server's name EPS_XXXXXX_P1 = Print service name on the print server The Windows NT node will attempt to connect to the print server. If it cannot connect to the EPS, it will inform you of the problem. At this point, all references to LPT3 (the port specified with the NET USE command above) will go to the service that you created. For testing purposes, you can try to use a copy command, if the printer is ready to accept data. Exit the Command prompt and Select Settings then Printers from the Start menu or double click on My Computer and then Printers Double click on Add Printer Select My Computer Select LPT3: as the available port and click on Next to chose the printer that is attached to this port Change the printer name if needed and click on Next to continue Select Shared and give the printer a shared name and client computers that can print to this printer Choose Yes or No to print a test page to the printer then Finish The installation wizard will need to have the NT installation CD available if the drivers are not already installed. -------------------==== Posted via Deja News ====----------------------- http://www.dejanews.com/ Search, Read, Post to Usenet