From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,c49f19cc2fae6b49 X-Google-Attributes: gidfa528,public From: "jim comstock" Subject: Re: Setting up a LaserJet Printer with a JetDirect Card Date: 2000/06/15 Message-ID: #1/1 X-Deja-AN: 635125907 References: <8hqp5f$qqp$1@nnrp1.deja.com> <39474E9B.579D7992@physik.uni-marburg.de> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Complaints-To: newsabuse@supernews.com Organization: Posted via Supernews, http://www.supernews.com X-MSMail-Priority: Normal Newsgroups: comp.unix.tru64 You were'nt clear if you're printing straight text or postscript files, and if you're using lpd or tcp/ip printing. We do straight text tcp/ip printing (reports, etc.). For that, you do the following: 1) HP JetDirect receives tcp/ip print jobs on port 9100. Put an entry in your /etc/services file. 2) Put an entry in your /etc/hosts file for the printer. 3) Make an entry in your /etc/printcap file for the portrait printer 4) Create a file in the /usr/lbin directory that contains the escape sequence to put the printer into landscape. 5) Create a shell script to concatenate the print job with the escape sequence and pipe it to the printer. Here's what one of ours looks like: Printcap entry for portrait: lp217|217|ATLBIGJOBN_P:\ :ct=tcp:\ :if=/usr/lbin/hplaserof:\ :lf=/usr/adm/lp216err:\ :lp=@ATLBIGJOBN/hplaser:\ :mx#0:\ :of=/usr/lbin/hplaserof:\ :pw#80:\ :pl#55:\ :rw:\ :sd=/usr/spool/lpd216:\ :xf=/usr/lbin/xf: # tcp/ip entry for ATLBIGJOBN landscape lp218|218|ATLBIGJOBN_L:\ :lp=/dev/null:\ :mx#0:\ :of=/usr/lbin/landfil218:\ :sd=/usr/spool/lpd218:\ :xf=/usr/lbin/xf: Script file /usr/lbin/landfil218 #! /bin/csh /bin/cat /usr/lbin/addland - | lpr -h -Plp217 /usr/lbin/addland: ^[(s16.67H ^[&l1O Note: the ^[ are escape's. This seems to work well for us. Hope this helps. Ralf Eichmann wrote in message news:<39474E9B.579D7992@physik.uni-marburg.de>... > Gary Hansford schrieb: > > > > I'm running Tru64 4.0f and I would love to be able to print > > landscape/portrait and all the other lovely things that my SCO box can > > do with a HP LaserJet (with JetDirect Card) using "lp -Ooptions..." > > command. Unfortunately this doesn't seem to be possible on Tru64, it > > just comes out in portrait. (Even had a look at Compaq's Advanced > > Printing Software - no support for Orientation or it seems much else). > > > > If anybody can suggest ways of making my LaserJet shine to its full > > potential it would be appreciated. > > Hi, > > there is an unsupported print filter called ppdof that works with ppd > files. Those can be obtained from Adobe's web site for most PS printers. > If you find one for your LaserJet then you are able to use all the > features that appear in the ppd file via -O switches. Tru64 4.0x > supports one of them at a time, 5.0x supports multiple -O switches. > I haven't tested all possible features of our LaserJet 4M+ setup but at > least choosing the paper source works now. That was the most important > thing for us. > If you are interested in that ppdof filter kit, send me an e-mail, and > I'll send it to you. > > Regards, > Ralf Eichmann Ralf Eichmann wrote in message news:39474E9B.579D7992@physik.uni-marburg.de... > Gary Hansford schrieb: > > > > I'm running Tru64 4.0f and I would love to be able to print > > landscape/portrait and all the other lovely things that my SCO box can > > do with a HP LaserJet (with JetDirect Card) using "lp -Ooptions..." > > command. Unfortunately this doesn't seem to be possible on Tru64, it > > just comes out in portrait. (Even had a look at Compaq's Advanced > > Printing Software - no support for Orientation or it seems much else). > > > > If anybody can suggest ways of making my LaserJet shine to its full > > potential it would be appreciated. > > Hi, > > there is an unsupported print filter called ppdof that works with ppd > files. Those can be obtained from Adobe's web site for most PS printers. > If you find one for your LaserJet then you are able to use all the > features that appear in the ppd file via -O switches. Tru64 4.0x > supports one of them at a time, 5.0x supports multiple -O switches. > I haven't tested all possible features of our LaserJet 4M+ setup but at > least choosing the paper source works now. That was the most important > thing for us. > If you are interested in that ppdof filter kit, send me an e-mail, and > I'll send it to you. > > Regards, > Ralf Eichmann