Gentoo Archives: gentoo-user

From: Dan Egli <dan@×××××××××××.site>
To: gentoo-user@l.g.o, Grant Edwards <grant.b.edwards@×××××.com>
Subject: Re: [gentoo-user] Re: Sharing printers via Cups
Date: Thu, 11 Feb 2021 00:53:57
Message-Id: d3bfd1b0-f749-1a81-5175-0ead0ca8ac20@newideatest.site
In Reply to: [gentoo-user] Re: Sharing printers via Cups by Grant Edwards
1 On 2/10/2021 4:44 PM, Grant Edwards wrote:
2 >
3 > I think I probably would have just bought a printer long before this
4 > point...
5 >
6
7 I guess you have money. As the old joke saying goes "I'm so broke I
8 can't afford to pay attention."
9
10 Fact is, though, that a new printer would solve nothing because at the
11 moment all that I'm doing is in VMWare on the Win 10 box that I stated
12 before is not mine but I have permission to use. I'm trying to get it
13 all set for eventual transfer to real computers. And the issue I am
14 facing is an issue I'd face no matter what. I am _NOT_ buying a printer
15 for each computer that will be there. So it's a matter of having a
16 printer connected to one computer and having the others connect to that
17 first server. Great. That's just what I'm trying to accomplish!
18
19 I even tried sending the job via HTTP and HTTPS. At that point the logs
20 on Athena show a LOT of output like this:
21
22 D [10/Feb/2021:17:44:46 -0700] [Client 77] Server address is "192.168.10.2".
23 D [10/Feb/2021:17:44:46 -0700] [Client 77] Accepted from
24 192.168.10.3:35684 (IPv4)
25 D [10/Feb/2021:17:44:46 -0700] [Client 77] Waiting for request.
26 D [10/Feb/2021:17:44:46 -0700] [Client 77] POST /printers/ENVY HTTP/1.1
27 D [10/Feb/2021:17:44:46 -0700] cupsdSetBusyState: newbusy="Active
28 clients", busy="Active clients"
29 D [10/Feb/2021:17:44:46 -0700] [Client 77] Read: status=200, state=6
30 D [10/Feb/2021:17:44:46 -0700] [Client 77] No authentication data provided.
31 D [10/Feb/2021:17:44:46 -0700] [Client 77] 2.0 Get-Job-Attributes 132
32 D [10/Feb/2021:17:44:46 -0700] Get-Job-Attributes
33 http://athena:631/printers/ENVY
34 D [10/Feb/2021:17:44:46 -0700] [Client 77] Returning IPP successful-ok
35 for Get-Job-Attributes (http://athena:631/printers/ENVY) from 192.168.10.3.
36 D [10/Feb/2021:17:44:46 -0700] [Client 77] Content-Length: 284
37 D [10/Feb/2021:17:44:46 -0700] [Client 77] cupsdSendHeader: code=200,
38 type="application/ipp", auth_type=0
39 D [10/Feb/2021:17:44:46 -0700] [Client 77] con->http=0x561443dbc990
40 D [10/Feb/2021:17:44:46 -0700] [Client 77] cupsdWriteClient error=0,
41 used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH,
42 data_remaining=284, response=0x561443df8940(IPP_STATE_DATA), pipe_pid=0,
43 file=-1
44 D [10/Feb/2021:17:44:46 -0700] [Client 77] Writing IPP response,
45 ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
46 D [10/Feb/2021:17:44:46 -0700] [Client 77] bytes=0, http_state=0,
47 data_remaining=284
48 D [10/Feb/2021:17:44:46 -0700] [Client 77] Flushing write buffer.
49 D [10/Feb/2021:17:44:46 -0700] [Client 77] New state is HTTP_STATE_WAITING
50 D [10/Feb/2021:17:44:46 -0700] [Client 77] Waiting for request.
51 D [10/Feb/2021:17:44:46 -0700] cupsdSetBusyState: newbusy="Not busy",
52 busy="Active clients"
53 D [10/Feb/2021:17:44:47 -0700] [Client 77] POST /printers/ENVY HTTP/1.1
54 D [10/Feb/2021:17:44:47 -0700] cupsdSetBusyState: newbusy="Active
55 clients", busy="Not busy"
56 D [10/Feb/2021:17:44:47 -0700] [Client 77] Read: status=200, state=6
57 D [10/Feb/2021:17:44:47 -0700] [Client 77] No authentication data provided.
58 D [10/Feb/2021:17:44:47 -0700] [Client 77] 2.0 Get-Printer-Attributes 133
59 D [10/Feb/2021:17:44:47 -0700] Get-Printer-Attributes
60 http://athena:631/printers/ENVY
61 D [10/Feb/2021:17:44:47 -0700] [Client 77] Returning IPP successful-ok
62 for Get-Printer-Attributes (http://athena:631/printers/ENVY) from
63 192.168.10.3.
64 D [10/Feb/2021:17:44:47 -0700] [Client 77] Content-Length: 1853
65 D [10/Feb/2021:17:44:47 -0700] [Client 77] cupsdSendHeader: code=200,
66 type="application/ipp", auth_type=0
67 D [10/Feb/2021:17:44:47 -0700] [Client 77] con->http=0x561443dbc990
68 D [10/Feb/2021:17:44:47 -0700] [Client 77] cupsdWriteClient error=0,
69 used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH,
70 data_remaining=1853, response=0x561443de64a0(IPP_STATE_DATA),
71 pipe_pid=0, file=-1
72 D [10/Feb/2021:17:44:47 -0700] [Client 77] Writing IPP response,
73 ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
74 D [10/Feb/2021:17:44:47 -0700] [Client 77] bytes=0, http_state=0,
75 data_remaining=1853
76 D [10/Feb/2021:17:44:47 -0700] [Client 77] Flushing write buffer.
77 D [10/Feb/2021:17:44:47 -0700] [Client 77] New state is HTTP_STATE_WAITING
78 D [10/Feb/2021:17:44:47 -0700] [Client 77] Waiting for request.
79 D [10/Feb/2021:17:44:47 -0700] cupsdSetBusyState: newbusy="Not busy",
80 busy="Active clients"
81 D [10/Feb/2021:17:44:47 -0700] [Client 77] HTTP_STATE_WAITING Closing
82 for error 32 (Broken pipe)
83 D [10/Feb/2021:17:44:47 -0700] [Client 77] Closing connection.
84
85 --
86 Dan Egli
87 On my test server