- printing from CUPS to a LPRng Server
- Posted by Alex_the_great on November 3rd, 2003
hello,
I have the following setup:
cups lprng
------ --------
| me | ---- |server|
------ --------
|
---------
|printer|
---------
ok, in words: my two linux boxes (I have two, but drew one) both run
cups. my server, which has an attached LaserJet6L runs LPRng.
how do I make my two linux boxes print on the printer connected to my
server?
I did not modify my LPRng setup, the lpd is listening on tcp port 515.
any help is greatly appreciated!
alex.
- Posted by Bob Hauck on November 3rd, 2003
On 3 Nov 2003 03:33:30 -0800, Alex_the_great <keex@gmx.de> wrote:
By setting up a printer the usual way. Use a web browser to go to
<http://localhost:631/admin>. Log in as root. Click "add printer".
Fill in the forms. When it asks for the device, select "LPD/LPR Host or
Printer".
Yes, you'll have to do this on each of the clients. That's why it would
be smart to run CUPS on the server instead of lprng.
--
-| Bob Hauck
-| To Whom You Are Speaking
-| http://www.haucks.org/
- Posted by Bill Unruh on November 3rd, 2003
Bob Hauck <postmaster@localhost.localdomain> writes:
]On 3 Nov 2003 03:33:30 -0800, Alex_the_great <keex@gmx.de> wrote:
]> ok, in words: my two linux boxes (I have two, but drew one) both run
]> cups. my server, which has an attached LaserJet6L runs LPRng.
]>
]> how do I make my two linux boxes print on the printer connected to my
]> server?
]By setting up a printer the usual way. Use a web browser to go to
]<http://localhost:631/admin>. Log in as root. Click "add printer".
]Fill in the forms. When it asks for the device, select "LPD/LPR Host or
]Printer".
It may work with lprng but does not work with a straight lpd server-- or
rather I never managed to get it to work. I have cups.
- Posted by Bob Hauck on November 3rd, 2003
On Mon, 3 Nov 2003 17:43:29 +0000 (UTC), Bill Unruh
<unruh@string.physics.ubc.ca> wrote:
It works for me with Windows NT's version of lpd. And I'm using a
fairly old version of CUPS from Debian 3.0 (with security patches). I
don't recall having done anything special but it has been almost a year
now. What kind of trouble did you have? CUPS does expect the printer
to accept raw printer data, not Postscript (unless it is a PS printer of
course), so lpd's that try to be too smart might cause a problem.
In any event, the OP gave no indication that he had even bothered to
try.
I did mis-speak though. It is possible to set up one machine with CUPS
as a server printing to the lpd printer and the rest of the machines as
CUPS clients printing to the CUPS sub-server. That way the OP will only
have to configure once.
--
-| Bob Hauck
-| To Whom You Are Speaking
-| http://www.haucks.org/
- Posted by Michael Heiming on November 3rd, 2003
Bill Unruh <unruh@string.physics.ubc.ca> wrote:
....
Had problems printing from cups --> lprng, didn't spend much time on the
problem, tossed cups installed lprng and things were running in minute.
--
Michael Heiming
Remove +SIGNS and www. if you expect an answer, sorry for
inconvenience, but I get tons of SPAM
- Posted by David Efflandt on November 4th, 2003
On 3 Nov 2003 03:33:30 -0800, Alex_the_great <keex@gmx.de> wrote:
For cups to lpr print to Linksys switch/printserver, in SuSE I just used
YaST2 to configure a normal prefilter queue for a remote printer (which
converts to printer language) which also sets up a raw queue to pass the
filtered output to the print server.
Normally for lpd to accept remote printing, you need allowed hosts or IPs
in /etc/hosts.lpd, although LPRng does permissions differently (see man 5
lpd.perm on the print server).
--
David Efflandt - All spam ignored http://www.de-srv.com/
- Posted by Alex_the_great on November 4th, 2003
efflandt@xnet.com (David Efflandt) wrote in message news:<slrnbqe1rh.af1.efflandt@typhoon.xnet.com>...
THANK YOU ALL!!!!
I started looking more carefully at my configuration... well, on the
server, I found out, what the queue name was by typing in the command
"lpc defaultq" --> lp (LaserPrinter); so now all I had to do, is to
add a new printer with the wizard. lpd: lpd://bluemix/lp ...
Description:
Location:
Printer State: idle, accepting jobs.
"Data file sent successfully"
Device URI: lpd://bluemix/lp
it would have worked right after I added the printer... but, after
setting the DEBUG informationlevel a little higher, I found in the
errorlogs that the libgimpprint was missing... so here it is: I
installed gimpprint and printing works like a charm!
again, thank you all!
cheers,
alex