John Jamerson
1999-Jun-29 13:53 UTC
Anyone successfully using a HP 8000 DN (with JetDirect module and IP) with samba?
Anyone successfully using a HP 8000 DN or HP 5 Lsi (with JetDirect module and assigned IP) with samba? Subject says it all. If you're successfully doing this, what configs made it work? FAQs tell how to set up with a print server, but what if the printer itself is the server? Trust me, the HP doesn't know jack about port 139. Using samba 2.0.4 on Solaris 7 and NT 4.0 SP5 with hotfixes. TIA John Jamerson
Burkhard Weeber
1999-Jun-29 14:17 UTC
Anyone successfully using a HP 8000 DN (with JetDirect module and IP) with samba?
Hello, it should work this way: Create an entry in /etc/printcap as remote printer with the IP-address of the printer(-server). The remote queue is RAW for the JetDirect Card or RAW1-RAW3 for the printer server. These Names are sometimes mentioned in the manuals. Then install the Windows printer driver for a remote printer on your workstation. If anything goes wrong use a program to connect to port 9100-9102 on the printer server (PORT1-PORT3). Hope it helps.... Burkhard Weeber C. Haushahn Automationssysteme GmbH & Co. KG P/O Box 300668 D-70446 Stuttgart Email: B.Weeber@haushahn-as.de -----Original Message----- From: samba@samba.org [mailto:samba@samba.org]On Behalf Of John Jamerson Sent: Tuesday, June 29, 1999 3:57 PM To: Multiple recipients of list Subject: Anyone successfully using a HP 8000 DN (with JetDirect module and IP) with samba? Anyone successfully using a HP 8000 DN or HP 5 Lsi (with JetDirect module and assigned IP) with samba? Subject says it all. If you're successfully doing this, what configs made it work? FAQs tell how to set up with a print server, but what if the printer itself is the server? Trust me, the HP doesn't know jack about port 139. Using samba 2.0.4 on Solaris 7 and NT 4.0 SP5 with hotfixes. TIA John Jamerson
Michael James
1999-Jun-30 09:11 UTC
Anyone successfully using a HP 8000 DN (with JetDirect module and IP) with samba?
Yes, there are 3 ways that work well. Even JetAdmin works but it is hugely overweight. In these examples hp8000 is the unix name of the printer and ip.of.hp is its IP number. 1) Plain old BSD LPD Sun have at last found the bug that returns "Printer Faulted" on any lpstat between a Solaris box and HP. Bug Id: 4167443 Category: utility Subcategory: printer State: integrated Synopsis: Unable to configure SUN to HP or Unisys printing under 2.6. Description: After configuring a remote printer that resides on a HP print server lpstat reports the printer in an "unknown state". This is the same as closed bug 4127263. The printer was added in the traditional fashion using the standard 2.6 utilities. And they have patched it: Patch-ID 107115 And it works! So you can add an HP8000 with lpadmin -p hp8000 -v /dev/null -i /usr/lib/lp/model/netstandard \ -Isimple,postscript,pcl -o dest=ip.of.hp -o protocol=bsd enable hp8000 accept hp8000 vi /etc/lp/interfaces/hp8000 and set nobanner=yes or you'll waste paper. Try testing it: lpstat -t | grep hp8000 | lp -d hp8000 In the past, after a long delay you would be holding a perfectly printed sheet telling you your printer doesn't work. 2) RAW TCP CONNECTION TO PORT 9100 Since Solaris 2.6 you can add printers using a raw tcp connection to port 9100 lpadmin -p hp8000 -v /dev/null -i /usr/lib/lp/model/netstandard \ -Isimple,postscript,pcl -o dest=ip.of.hp:9100 -o protocol=raw Works fine, you don't get any logging of connection status but. 3) USING BITS FROM JETADMIN If you have installed the 3.7 Meg of JetAdmin... well there are 270K of useful bits that provide a good connection to HP JetDirect. I assume you have the JetAdmin package in /opt/hpnp lpadmin -p hp8000 -v /dev/null -i /opt/hpnp/sh/hpnp.model -I 'simple,postscript,pcl' Then you must edit the /etc/lp/interfaces/hp8000 file: PERIPH=ip.of.hp HPNPF=/opt/hpnp/bin/hpnpf REALMODEL=/opt/hpnp/<you'll have to find it>/net_ljx000 And you must have in place the files: /opt/hpnp/lib/hpnpsnmp1.so /opt/hpnp/lib/hpnpsnmp2.so I have doctored copies of the hpnp.model and net_lj5x00 sh-scripts and an add_hp_printer script of my own if you are interested. Michaelj Michael James _/ _/ _/ _/ _/ v +61 2 6279 8318 Network Programmer _/_/ _/_/ _/ _/ _/ Coombs Computing _/ _/ _/ _/ _/ _/ _/ f +61 2 6257 1893 Australian _/ _/ _/ _/ _/ _/ _/ National _/_/_/_/_/ _/ _/_/ _/ _/ michael.james University _/ _/ _/ _/ _/_/_/_/ @anu.edu.au
David Crisp
1999-Jul-21 01:30 UTC
Anyone successfully using a HP 8000 DN (with JetDirect module and IP) with samba?
Remember of course that these printers are nice Postscript printers. We use 5 of these beasts for our printing. The following configs seem to work for us. Printer Drivers on Windows: -------------------------- We use the Adobe Postscript Printer Drivers. Adobe? PostScript? Printer Driver AdobePS (TM) 5.0.1 for Microsoft? Windows NT (TM) Version 4.0 U.S. English From: http://www.adobe.com Samba Config section for the printers: -------------------------------------- printers.conf [printer$] path = /var/spool/samba/printers admin users = me browseable = no printable = no public = yes writable = no locking = no [HP8000] comment = HP8000 printer driver = HP8000N path = /var/spool/samba/printjobs browseable = yes printable = yes public = no writable = no Printer.def LJ8000N:ADOBEPS4.DRV:HP8000_4.PPD:ADOBEPS4.HLP:PostScript Language \ Monitor:RAW:HP8000_4.PPD,ADOBEPS4.DRV,ADOBEPS4.HLP,DEFPRTR2.PPD, \ ADFONTS.MFM,ICONLIB.DLL,PSMON.DLL,PSCRIPT.INI /etc/printcap ------------- hp8000|hp8000 :tc=@melclient hp8000|hp8000 :oh=printserver :lp=hp8000n.mel%9100 :connect_grace#1 :tc=@ctihpfilter # global defaults # --------------- @defaults :sd=/var/spool/lpd/%P # :af=acct :lf=log :ps=status :rw :sh :mx#0 :xt@ :send_try#1 :send_failure_action=remove @melclient :rm=printserver :tc=@defaults @ctihpfilter :tc=@defaults :if=/opt/local/lib/filters/ifhp :of=/opt/local/lib/filters/ofhp To make all this work We use LPRNG with the CTI-ifhp-2.2.3 filters installed: LprNG can be got from : Web Page and HOWTO in HTML format: http://www.astart.com/LPRng.html and the HOWTO/ directory in the distribution The software may be obtained from ftp://ftp.astart.com/pub/LPRng (Main site) CTI-ifhp-2.2.3 can be got from : ????? I cant rememebr where we downloaded this from! :( if sombody could remind me that would be good :) *ducks* Once all that is installed and configured I think it should all work perfectly :) Good luck! Let me know if you have problems! :) Regards, David Crisp Connect.com.au Pty Ltd +61 3 9251 3646 MIS / PC Admin type Dude On Tue, 29 Jun 1999 09:53:12 -0400 jjamerson@mis-intl.com Wrote : : Anyone successfully using a HP 8000 DN or HP 5 Lsi (with JetDirect module : and assigned IP) with samba?