Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: "jim comstock" <jimc@gw.total-web.net>
Subject: Re: Setting up a LaserJet Printer with a JetDirect Card
Date: 2000/06/15	[thread overview]
Message-ID: <skit8agnis4110@corp.supernews.com> (raw)
In-Reply-To: 39474E9B.579D7992@physik.uni-marburg.de

 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 <ralf.eichmann@physik.uni-marburg.de> 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 <ralf.eichmann@physik.uni-marburg.de> 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





  parent reply	other threads:[~2000-06-15  4:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-06-09  4:00 Setting up a LaserJet Printer with a JetDirect Card Gary Hansford
2000-06-14  4:00 ` Bryan Mills
2000-06-14  4:00 ` Ralf Eichmann
2000-06-14  4:00   ` Jan Wysocki
2000-06-15  4:00   ` jim comstock [this message]
2000-06-24  4:00     ` Ray T.
2000-06-29  4:00 ` Rob Hamilton
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox