print with cups to remote LPD II
Samuel
anonymous at easysw.com
Wed Oct 19 00:53:20 PDT 2005
Hey All
thanks for your prompt answers, here my work-arraound &
my questions to the context.
Samuel
***********************************************************************
* print with cups to remote LPD II
***********************************************************************
reference
#########
content & answers to 'print with cups to remote LPD' Oct 18 02:36 Anonymous
LPD server
**********
rpm's
=====
> Very old software, if possible use LPRng.
this is a multiboot linux-box, and other OSs can't print remote ;-)
cups server
***********
RFC 1179 complience
===================
> try an unprivileged port (e.g. 1722)
MyThird:~ # echo -e "\004lp" | netcat -w 2 -p 1722 10.0.0.11 515
lpd: Malformed from address
MyThird:~ #
! but root see the local jobs on 10.0.0.11 !
MyThird:~ # echo -e "\004lp" | netcat -w 2 -p 722 10.0.0.11 515
lp is ready and printing
root: active [job 092MyFirst]
my_test 17 bytes
MyThird:~ #
> Note that this requires that the lpd backend runs as root
> wich requires that the cupsd wich starts the backend
> runs as root too.
daily at MyThird:~> echo -e "\004lp" | netcat -w 2 -p 722 10.0.0.11 515
Can't grab 0.0.0.0:722 with bind : Permission denied
daily at MyThird:~>
my work arround
###############
RunAsUser
*********
MyThird:~ # vi /etc/cups/cupsd.conf
...
User lp
Group lp
RunAsUser No
...
MyThird:~ #
use
###
Testpage
********
hp (Default)
[Test ...]
--> Job ID Owner Name State Size(KB) Page(s) Priority Billing Info
1 root <name> Queued 15 1 50
--> +--------+ questions:
: :\ =========
: ;-) +-+ 1) is the "can't grab ... with bind"-error in the same
: : context that you means with "reserve=rfc1179" ?
: : 2) is an other solution possible as my work arround
: : without root permission for cupsd ?
: : 3) exist a possibility to run the backend
: : only for this remote LPD-queue as root ?
: : 4) exist an event to decide to run the cupsd
+----------+ as user or not ?
5) where is defined, that the queue will be
stopped by cupsd ?
general
*******
daily at MyThird:~> lpr -Php Documents/skeleton.txt
daily at MyThird:~>
Job ID Owner Name State Size(KB) Page(s) Priority Billing Information
1 daily <name> Queued 15 1 50
MyThird:~ # echo -e "\004lp" | netcat -w 2 -p 722 10.0.0.11 515
lp is ready and printing
daily: 1st [job 147mythird.mydomain]
skeleton_txt 38739 bytes
MyThird:~ #
***********************************************************************
More information about the cups
mailing list