[cups-devel] Communication between IPP printer and "ipp" CUPS backend

Till Kamppeter till.kamppeter at gmail.com
Wed Sep 16 12:24:47 PDT 2015


On 09/15/2015 09:32 PM, Kennedy, Smith (Wireless Architect) wrote:
> Hi Till,
>
> Sorry for not replying earlier. Would you have any USB traces from Wireshark or a Beagle protocol analyzer, or logs, and/or the corresponding document files, so that we could try to repro it internally?
>
> Smith

Attached is a tarball with the following files:

"log" files (with hex dumps of all communication content) of the 
following command line for several print jobs:

./ippusbxd -d -v 03f0 -m c211 -s BR54BFB02C05XK -P 60000 2>&1 | tee log

Each job was printing the file "doacao.odt" out of LibreOffice on a CUPS 
queue with the device URI (using HPLIP driver):

ipp://localhost:60000/ipp/print?waitjob=false

The job succeeded in most cases, after each job I have stopped ippusbxd, 
saved the "log" file and started it again. After each failed job I have 
turned off and turned on the printer again.

log10 Succeeded
log11 Succeeded
log12 Succeeded
log13 Succeeded
log14 Failed
log20 Succeeded
log21 Succeeded
log22 Succeeded
log23 Succeeded
log24 Failed
log30 Succeeded
log31 Succeeded
log32 Succeeded
log33 Succeeded
log34 Succeeded
log35 Failed

error_log file (with LogLevel=debug) for all the above print jobs:

error_log

Example files:

bashrc
doacao.odt

Binary data which goes to the printer when printing the above example files:

printout-bashrc
printout-doacao

Script to run ipptool for printing a job:

ipptool-print

I have tested on a Ubuntu Vivid (15.04) system with the following 
software versions (some Wily (15.10) packages installed):

ippusbxd: Current GIT snapshot from 
https://github.com/tillkamppeter/ippusbxd
The GIT snapshot (compared to the 1.22 release) adds hex-dumping 
communication content in log output.

CUPS 2.1rc1
cups-filters 1.0.67
HPLIP 3.15.2
Ghostscript 9.16

Printer is the HP DeskJet Ink Advantage 2546 all-in-One

I hope that this information helps.

    Till




More information about the cups-devel mailing list