From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,82e434e7df2ccdae X-Google-Attributes: gid1164f8,public X-Google-Thread: 10f035,82e434e7df2ccdae X-Google-Attributes: gid10f035,public X-Google-ArrivalTime: 1995-03-16 08:45:21 PST Path: bga.com!news.sprintlink.net!malgudi.oar.net!zaphod.rohrer.com!user From: matuscak@rohrer.com (Joe Matuscak) Newsgroups: comp.sys.novell,comp.sys.dec Subject: Re: HP Printer JetDirect TCP/IP question Date: Thu, 16 Mar 1995 11:44:37 -0500 Organization: Rohrer Corporation Message-ID: References: NNTP-Posting-Host: zaphod.rohrer.com Xref: bga.com comp.sys.novell:49007 comp.sys.dec:9940 In article , pnord@exodus.valpo.edu (Paul Nord) wrote: > Good Day! > > We're looking to add another LaserJet 4M or 4M plus. > > We want to support printing from Novell, Macintosh, and a variety of TCP/IP > systems including DEC OSF/1 Alpha, DEC OpenVMS Alpha, and SunOS. HP's > JetDirect card does support Novell, Mac, and SunOS but claims not to support > VMS or OSF/1. It runs as an LPD. Seems like it should work? Has anyone > made it work? Ive got a couple of 4m+ printers that Im using with Macs, NT, and Ultrix. To drive them from Ultrix, Im using a filter that I got off the net. This talks to the HP printer telnet port, rather than using lpd. I tried lpd, but I wasnt satisfied with the ammount of control that I had over the printout (I also kept getting a trailer page out, if I forgot to do a -h). I actually use this filter "behind" the Ultrix ln03rof PostScript filter. This lets me control lines & columns per page (and orientation). The filter was actually written for something other than Ultrix, so I would expect that it should work on OSF. The HP JetDirect driver was written by Lawrence LeMay (lemay@epx.cis.umn.edu). The code is available from ftp.cs.umn.edu in the users/lemay directory. Here is a sample printcap entry: #++ # Accounting LaserJet 4m+, with JetDirect card. #-- jgm|lp9|Accounting LaserJet 4M+:\ :af=/usr/spool/lpd9/lp9acct:\ :ct=dev:\ :lp=/dev/null:\ :lf=/usr/adm/lp9err:\ :mc#20:\ :mx#0:\ :if=/usr/lib/lpdfilters/hpln03rof:\ :pl#66:\ :pw#132:\ :sh:\ :sd=/usr/spool/lpd9:\ :uv=4.0:\ :xf=/usr/lib/lpdfilters/xf: The "hpln03rof" filter shell script: #!/bin/sh # # Run the print job through ln03rof and send it to a HP LaserJet with # a JetDirect TCP/IP card. # # 03NOV94 JGM Original ln03rof $* | hpdriver $* exit This has been working quite well for me for several months now. BTW, depending on the TCP/IP package you have on VMS, it may be able to talk to the HP JetDirect directly (as it were). As I recall, TGV's Multinet includes a symbiont to do exactly that. Good Luck. -- Joe Matuscak Rohrer Corporation 717 Seville Road Wadsworth, Ohio 44281 (216)335-1541 Matuscak@Rohrer.com