On 2018-12-13 20:43, basti wrote:
On 13.12.18 20:44, mick crane wrote:
I think I must be getting elderly
I have a debian buster PC that works as a print server. I can send
files
to it from windows and I can print from it by typing
"lpr filename"
I think I set it up with the cups web interface.
I have another debian buster PC that I sometimes fiddle about on and
I'd
like to type on that.
"lpr filename"
I don't want the cups sever on it just to print
is the cups server runing on IP 10.0.0.107 ?
what does "ss -tulpen | grep 631" say?
yes cups server 107
:~$ ss -tulpen | grep 631
udp UNCONN 0 0 0.0.0.0:631
0.0.0.0:* ino:17297 sk:1 <->
tcp LISTEN 0 5 127.0.0.1:631
0.0.0.0:* ino:17288 sk:c <->
tcp LISTEN 0 5 [::1]:631
[::]:* ino:17287 sk:13 v6only:1 <->
I typed
"lpadmin -U mick -h http://10.0.0.107:631 -d HP_LaserJet_4000_series"
hoping it might do something but says
"Unable to connect to server: No such file or directory"
you can install cups-client on this machine an then create a file
/etc/cups/client.conf like:
ServerName 10.0.0.107
cups is there likely I haven't set anything up
I attempted to use the GUI from the desktop System/Print Settings
where
I hoped I could put in sensible values but it says it is locked and
ask
for authentication.
I put in the root password but it won't do anything
why might that be then ?
is root in the lpamin group?
this was really my question, sometimes I just don't get these
permissions. I thought root was access everywhere.
mick
--
Key ID 4BFEBB31