tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* lpd: printcap entry for networked HP lj4 ps?
@ 2001-11-19 14:37 Kjell Andresen
  0 siblings, 0 replies; only message in thread
From: Kjell Andresen @ 2001-11-19 14:37 UTC (permalink / raw)
  To: tru64-unix-managers

Hello!

Setting up a separate tiny network I need to put a lpr-printer on-line
as well. The server is an alpha 255; DU 4.0 F (1229)

The printer is defined in /etc/hosts and configured to an ip number.
It's on-line (ping). It answers port 9100 - I don't know if there is
a lpd aboard on it.

I've tried to compile an entry for it in /etc/printcap *) but is only
able to place jobs in the spool queue:

From turid.telle@admin.uio.no Mon Nov 19 15:36:47 2001
Date: Mon, 19 Nov 2001 15:36:35 +0100
From: Turid Telle <turid.telle@admin.uio.no>
X-sender: telle@uio-pop.uio.no
To: kjell.andresen@usit.uio.no

hmsx|hmsx-lj|HP laserjet 4M PS:\
         :sd=/var/spool/lpd/hmsx-lj:\
         :lf=/var/adm/lpr:\
#       network spooling requires a dummy file
         :lp=/var/spool/lpd/hmsx-lj/.null:\
         :af=/var/adm/hmsx-acct:\
#       no max-size
         :rw:mx#0:\
#       the one machine doing spooling - hoping the printer itself does!
         :rm=cirocco:\
#       the printer - a network connected device
         :rp=hms:\
#       suppress headers true
         :sh=1

Does anybody got an example how to accomplish this?
It's especially the rm= and rp= -lines I need (I think)

lpc> status hmsx
hmsx:
	printer is in device '/dev/lp' speed -1
	queing is enables
	printing is enabled
	1 entry in spool area
	no daemon present

How can I set the printer to ipaddr and
I may have forgotten something?

*) reading Nemeth & al: UNIX System Administration v2 and v3

Mvh Kjell Andresen, UiO/USIT/SAPP/BSD, Boks 1059 Blindern, N-0316 Oslo

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-11-19 14:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-19 14:37 lpd: printcap entry for networked HP lj4 ps? Kjell Andresen

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