On 2/12/2021 4:00 AM, Michael wrote:
[snip]
Then we have this on line 292:

D [11/Feb/2021:13:08:36 -0700] [Job 11] hpcups (application/vnd.cups-raster to
printer/ENVY, cost 0)

This is the hplip printer driver in action, using a MIME format for CUPS to
transmit and print raster imaged pages.

Question:  Why is this driver in play?

Even if the physical printer is an HP, it is neither connected to Janus, nor
Athena.
No, it's not. But the windows printer driver expects the client to do all the rendering and deliver only finalized printer instructions when it receives network jobs. I suppose I could change it to a generic PostScript driver and tell Windows to do the rendering...
On lines 331 & 332:

I [11/Feb/2021:13:08:36 -0700] [Job 11] Started filter /usr/libexec/cups/
filter/hpcups (PID 92258)
I [11/Feb/2021:13:08:36 -0700] [Job 11] Started backend /usr/libexec/cups/
backend/smb (PID 92259)

Although the CUPS back end on Athena is using SMB - as it should, the input
filter is hpcups.

Then on lines 461, 462 we have the outcome of using the wrong filter:

D [11/Feb/2021:13:08:39 -0700] [Job 11] prnt/hpcups/HPCupsFilter.cpp 581:
cupsRasterOpen failed, fd = 5
D [11/Feb/2021:13:08:39 -0700] [Job 11] PID 92258 (/usr/libexec/cups/filter/
hpcups) stopped with status 1.

CUPS on athena can't use it and subsequently, the SMB connection fails too on
lines 689, 690:

E [11/Feb/2021:13:08:45 -0700] [Job 11] Connection failed:
NT_STATUS_IO_TIMEOUT
E [11/Feb/2021:13:08:45 -0700] [Job 11] SMB connection failed!


I suggest you configure CUPS in Janus to use a different print driver:

First try 'IPP everywhere' the latest /driverless/ printing option.  With 'IPP
everywhere' CUPS will communicate with IPP enabled printers and interrogate
them on the fly to generate and use the requisite PPD capabilities
configuration.

Hmmm. Didn't see IPP everywhere as a "driver" but i really didn't look past the HP drivers. But I question if even that will work. Sounds like when Athena tries to render the page into printer instructions it's dying, with the cupsRasterOpen failed (and what kind of an error message is that? Tell me something I might be able to use to FIX the issue!).
If this doesn't work, then try 'RAW' and leave it to Athena's CUPS server to
submit the raw data for printing to its back end (Windows Printer via SAMBA).

The logs should indicate if there is a problem somewhere along the chain.

I'll try this and let you know. I'm actually about to head for bed asĀ  I write this, so I'll check on it Tomorrow (Sunday).

--
Dan Egli
On my test server


Reply via email to