🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.rt
Article #638

Re: Remote printer queues using lprbe

#638
From: Alexander Vonk
Date: Fri, 19 Jan 1990 00:06
73 lines
2627 bytes
kovar@popvax.harvard.edu (David C. Kovar) writes:


>  I'm trying to allow an IBM RT to print a LaserWriter connected to
>a Sun workstation. If I define the Sun as "printserver" in /etc/hosts
>and use lprbe directly the file gets printed. (lprbe -pqueue=ps <file>)

>  However, when I try to do it with a printer queue, the job vanishes
>into thin air. The manual waves its hands and says that lprbe will
>be invoked by the qdaemon but I've never seen this happen. I tried
>running the printer install script in the tcp/ip samples directory and
>it added the following lines:

>rp0:
>	argname = rp0
>	friend = TRUE
>	device = drp0

>drp0:
>	backend = /usr/bin/lprbe

>rp0 shows up in the print -q listing, and jobs are accepted via print -rp0
>but nothing ever appears on the printer, in the queue, or on the Sun.
>I also tried cooking up my own stanzas and failed there, too. Any suggestions
>would be most welcome, including "Go read manual X". (I tried the Managing
>AIX, the TCP/IP manual for AIX, and the commands reference manual. Lots of
>hand waving when it comes to queuing files for remote non-AIX hosts but no
>examples that work.)

Try the following (remember to have the Sun register your machine as
a 'trusted' machine in file /etc/hosts.equiv if you don't define it as
a printserver):

<start abstract from our /etc/qconfig>
*
*	Apple laser printer on dutiaa (printer queue ps)
*
lp2:
	argname = apple
	friend = TRUE
	discipline = sjn
	device = dlp2

dlp2:
	backend = /usr/bin/lprbe -pserver=dutiaa -pqueue=ps -naix

*
*	DVI format
*
lp3:
	argname = appledvi
	friend = TRUE
	discipline = sjn
	device = dlp3

dlp3:
	backend = /usr/bin/lprbe -pserver=dutiaa -pqueue=ps -naix -filter=-d
<end abstract from our /etc/qconfig>

>Thanks, in advance.
Your welcome.

Say, you wouldn't have a GNU C installation on your system, would you :-)?


>-David C. Kovar
>	Consultant				ARPA: kovar@popvax.harvard.edu
>	Eclectic Associates			BITNET: corwin@harvarda.bitnet
>	Ma Bell: 617-646-0428			MacNET: DKovar

+++	Alexander Vonk - Technical Univ. Delft, Netherlands	+++
+++Phone:	(NL) 015 - 78 64 12	(world) 31 15 78 64 12	+++
+++Mail:	alex@dutirt2.tudelft.nl	or alex@dutirt2.UUCP	+++
Technical Details
Message-ID: <709@duteca.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!mcsun!hp4nl!dutrun!duteca!dutirt2!alex
References: <1283@husc6.harvard.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!mcsun!hp4nl!dutrun!duteca!dutirt2!alex
From: alex@dutirt2.tudelft.nl (Alexander Vonk)
Newsgroups: comp.sys.ibm.pc.rt
Subject: Re: Remote printer queues using lprbe
Message-ID: <709@duteca.UUCP>
Date: 19 Jan 90 00:06:45 GMT
References: <1283@husc6.harvard.edu>
Sender: news@duteca
Lines: 73