Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* Setting up a LaserJet Printer with a JetDirect Card
@ 2000-06-09  4:00 Gary Hansford
  2000-06-14  4:00 ` Bryan Mills
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Gary Hansford @ 2000-06-09  4:00 UTC (permalink / raw)


  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.

Taa

Gary Hansford




Sent via Deja.com http://www.deja.com/
Before you buy.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Setting up a LaserJet Printer with a JetDirect Card
  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-29  4:00 ` Rob Hamilton
  2 siblings, 0 replies; 7+ messages in thread
From: Bryan Mills @ 2000-06-14  4:00 UTC (permalink / raw)


Gary Hansford wrote:
> 
>   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.
> 
> Taa
> 
> Gary Hansford
> 
> Sent via Deja.com http://www.deja.com/
> Before you buy.

You are trying to do all the things that we achieve easily...  Trouble
is that we do it all through the application.

Bryan.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Setting up a LaserJet Printer with a JetDirect Card
  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
  2000-06-29  4:00 ` Rob Hamilton
  2 siblings, 2 replies; 7+ messages in thread
From: Ralf Eichmann @ 2000-06-14  4:00 UTC (permalink / raw)


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



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Setting up a LaserJet Printer with a JetDirect Card
  2000-06-14  4:00 ` Ralf Eichmann
@ 2000-06-14  4:00   ` Jan Wysocki
  2000-06-15  4:00   ` jim comstock
  1 sibling, 0 replies; 7+ messages in thread
From: Jan Wysocki @ 2000-06-14  4:00 UTC (permalink / raw)


Ralf Eichmann wrote:
> 
> 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,
> 
[snip ppdof]

I haven't got 'round to trying the following yet,
but I listened to Evi Nemeth extolling the virtues of LPRng
a couple of weeks ago.  It's an RFC1179 compliant update for lp & lpr
that understands modern printers and talks to non-Unix systems
too.  See http://www.astart.com/Lprng/LPRng.html for a free download
and paid for support if you need it.

-- 
Jan



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Setting up a LaserJet Printer with a JetDirect Card
  2000-06-14  4:00 ` Ralf Eichmann
  2000-06-14  4:00   ` Jan Wysocki
@ 2000-06-15  4:00   ` jim comstock
  2000-06-24  4:00     ` Ray T.
  1 sibling, 1 reply; 7+ messages in thread
From: jim comstock @ 2000-06-15  4:00 UTC (permalink / raw)


 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





^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Setting up a LaserJet Printer with a JetDirect Card
  2000-06-15  4:00   ` jim comstock
@ 2000-06-24  4:00     ` Ray T.
  0 siblings, 0 replies; 7+ messages in thread
From: Ray T. @ 2000-06-24  4:00 UTC (permalink / raw)
  To: jim comstock

Hi Jim,

Great idea.  But I must be missing something.  It just sits there.
lpc stat shows
"printer is on device '/dev/nul' speed -1
 queuing is enabled
 printing is enabled
 1 entry in spool area
 waiting for dtel_land to become ready (offline?)"

The queue it is trying to print through works fine.  If you have any
ideas of what to check, I would appreaciate it.

Ray T.

jim comstock wrote:
> 
>  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.
>



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Setting up a LaserJet Printer with a JetDirect Card
  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-29  4:00 ` Rob Hamilton
  2 siblings, 0 replies; 7+ messages in thread
From: Rob Hamilton @ 2000-06-29  4:00 UTC (permalink / raw)


Gary,

Advanced Printing Software does print landscape, portrait 
and n-up of text files to just about any PostScript printer 
through a JetDirect card.  (Formatting a document in landscape 
or portrait format is usually accomplished with the generating
application to make sure the page is "the right shape".)

If you're still interested in using Advanced Printing, just 
make sure the logical and physical printers have 
 
 content-orientations-supported="portrait landscape" 

set up on them.  If you used the /usr/pd/scripts/pd_get_started 
tool, it should have been set up automatically.  Then print 
with a command like

  > pdpr -x cont-or=landscape <text file>

Similarly, for n-up printing, the pd_get_started script 
sets up numbers-up-supported="0 1 2 4".  So to print a text 
file 2-up, use

  > pdpr -x number-up=2 <text file>

--Rob Hamilton



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2000-06-29  4:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2000-06-24  4:00     ` Ray T.
2000-06-29  4:00 ` Rob Hamilton

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