tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Kjell Andresen <kjell.andresen () usit ! uio ! no>
To: tru64-unix-managers
Subject: lpd: printcap entry for networked HP lj4 ps?
Date: Mon, 19 Nov 2001 14:37:17 +0000	[thread overview]
Message-ID: <102653643321839.tru64-unix-managers.marc@archive.invalid> (raw)

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

                 reply	other threads:[~2001-11-19 14:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
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