Re: Network Printer
- From: Dnix <denn.el@xxxxxxxxx>
- Date: Thu, 07 Jun 2007 11:16:19 -0700
On Jun 7, 6:01 pm, ThreeStar <s...@xxxxxxxxxxxxxxxxx> wrote:
On Jun 6, 10:20 am, Ian Wilson <scoblo...@xxxxxxxxxxxxx> wrote:
Dnix wrote:
Hi All,
What would be the simplest way of moving old serial printers on ttys
to new network printers i.e PCL compatible printers with a network
interface (card) on board no serial , and getting these new printers
to obey an old interface .I tried mdev rlp , rlpconf etc .I have added
the printers and I can print to them they are in /etc/printcap, text
comes out as text though it runs out of page , can't seem to control
it , I cannot get them to obey anything in my old interface
script .Is there an easy way to do this I need to install various new
printers and serial laser printers are getting harder to find and
maintain
This is the old simplified Interface I was using and served its
purpose , but I have been struggling to get these new printers to obey
any of this and to print properly .Is there anyway and interface can
be transfered to a printcap entry ? using SCO 5.0.7 printers have IP
and netmask set statically and on same net as SCO
IIRC OSR507 supports three categories of printers:
- locally attached printers (serial or parallel)
- remote LPD printers
- HP Network Printers (JetDirect)
/etc/printcap is essentially for the LPD remote printer protocol only.
Printer interface scripts are *not* invoked for LPD remote printers.
OSR507 does not make use of filter options in printcap either.
If your printers are JetDirect compatible (tcp port 9100?) you could try
using HPNP (I'd use `scoadmin printer` to set it up). Setting up HPNP is
a bit weird and scoadmin has unintuitive notions of what is "remote" and
"local" so do some reading first! I think HPNP allows the use of
interface scripts (but I may be wrong).
However the canonical advice is to use netcat. Search aplwarence.com and
use google groups to search this newsgroup - some regulars here have
published some good ways to use netcat for printing to remote printers.
You'll have to download netcat. Don't confuse netcat and nc.
HPNP does use LP interface scripts.
There was an issue with SCO's LPD/printcap filter implementation but
rumor is that it should work OK on 5.0.7. I haven't tried the "of="
option in /etc/printcap but I do use lpadmin -I to set filters in
systems as early as 5.0.5.
--RLR
many thanks all Netcat works amazingly well
.
- References:
- Network Printer
- From: Dnix
- Re: Network Printer
- From: Ian Wilson
- Re: Network Printer
- From: ThreeStar
- Network Printer
- Prev by Date: Re: Network Printer
- Next by Date: Re: tar / lone-tar error messages gwxlibs
- Previous by thread: Re: Network Printer
- Next by thread: Re: tar / lone-tar error messages gwxlibs
- Index(es):
Relevant Pages
|
|