1 |
On 2/12/2021 4:00 AM, Michael wrote: |
2 |
[snip] |
3 |
> Then we have this on line 292: |
4 |
> |
5 |
> D [11/Feb/2021:13:08:36 -0700] [Job 11] hpcups (application/vnd.cups-raster to |
6 |
> printer/ENVY, cost 0) |
7 |
> |
8 |
> This is the hplip printer driver in action, using a MIME format for CUPS to |
9 |
> transmit and print raster imaged pages. |
10 |
> |
11 |
> Question: Why is this driver in play? |
12 |
> |
13 |
> Even if the physical printer is an HP, it is neither connected to Janus, nor |
14 |
> Athena. |
15 |
No, it's not. But the windows printer driver expects the client to do |
16 |
all the rendering and deliver only finalized printer instructions when |
17 |
it receives network jobs. I suppose I could change it to a generic |
18 |
PostScript driver and tell Windows to do the rendering... |
19 |
> On lines 331 & 332: |
20 |
> |
21 |
> I [11/Feb/2021:13:08:36 -0700] [Job 11] Started filter /usr/libexec/cups/ |
22 |
> filter/hpcups (PID 92258) |
23 |
> I [11/Feb/2021:13:08:36 -0700] [Job 11] Started backend /usr/libexec/cups/ |
24 |
> backend/smb (PID 92259) |
25 |
> |
26 |
> Although the CUPS back end on Athena is using SMB - as it should, the input |
27 |
> filter is hpcups. |
28 |
> |
29 |
> Then on lines 461, 462 we have the outcome of using the wrong filter: |
30 |
> |
31 |
> D [11/Feb/2021:13:08:39 -0700] [Job 11] prnt/hpcups/HPCupsFilter.cpp 581: |
32 |
> cupsRasterOpen failed, fd = 5 |
33 |
> D [11/Feb/2021:13:08:39 -0700] [Job 11] PID 92258 (/usr/libexec/cups/filter/ |
34 |
> hpcups) stopped with status 1. |
35 |
> |
36 |
> CUPS on athena can't use it and subsequently, the SMB connection fails too on |
37 |
> lines 689, 690: |
38 |
> |
39 |
> E [11/Feb/2021:13:08:45 -0700] [Job 11] Connection failed: |
40 |
> NT_STATUS_IO_TIMEOUT |
41 |
> E [11/Feb/2021:13:08:45 -0700] [Job 11] SMB connection failed! |
42 |
> |
43 |
> |
44 |
> I suggest you configure CUPS in Janus to use a different print driver: |
45 |
> |
46 |
> First try 'IPP everywhere' the latest /driverless/ printing option. With 'IPP |
47 |
> everywhere' CUPS will communicate with IPP enabled printers and interrogate |
48 |
> them on the fly to generate and use the requisite PPD capabilities |
49 |
> configuration. |
50 |
> |
51 |
Hmmm. Didn't see IPP everywhere as a "driver" but i really didn't look |
52 |
past the HP drivers. But I question if even that will work. Sounds like |
53 |
when Athena tries to render the page into printer instructions it's |
54 |
dying, with the cupsRasterOpen failed (and what kind of an error message |
55 |
is that? Tell me something I might be able to use to FIX the issue!). |
56 |
> If this doesn't work, then try 'RAW' and leave it to Athena's CUPS server to |
57 |
> submit the raw data for printing to its back end (Windows Printer via SAMBA). |
58 |
> |
59 |
> The logs should indicate if there is a problem somewhere along the chain. |
60 |
|
61 |
I'll try this and let you know. I'm actually about to head for bed as I |
62 |
write this, so I'll check on it Tomorrow (Sunday). |
63 |
|
64 |
-- |
65 |
Dan Egli |
66 |
On my test server |