[cups] Debugging FujiXerox DocuPrint CP115/118 w

Alexey Kardashevskiy aik at ozlabs.ru
Sat Dec 28 03:06:45 PST 2019


Hi!

I got this nice little color laser printer with wifi, I am trying to print
to it from Fedora29/x86_64. Sadly it only works randomly and I cannot see
the system here. The printer claims to support LPT/IPP/JetDirect but using
"IPP Everywhere" does not work most of times. By the same time it works
just fine from windows7/10 (uses LPD according to the printer's
webinterface) and somewhat ok from android (works with FujiXerox tool most
times and sometimes with IPP).

I can see in tcpdump that fedora and printer talk a lot and even
http://aikprinter:631 reports active job but the job does not appear on its
webinterface, no errors either.

How to debug these kind of issues? Am I using ipptool right (below)? Is
lpinfo any useful? Thanks!


[aik at aikyoga2 ~]$ ipptool  -tf testfile.txt  -I  ipp://aikprinter/ipp
ipp-2.0.test
"/usr/share/cups/ipptool/ipp-1.1.test":
    RFC 8011 section 4.1.1: Bad request-id value 0
[PASS]
    RFC 8011 section 4.1.4: No Operation Attributes
 [PASS]
    RFC 8011 section 4.1.4: attributes-charset
[PASS]
    RFC 8011 section 4.1.4: attributes-natural-language
 [PASS]
    RFC 8011 section 4.1.4: attributes-natural-language + attributes-cha
[PASS]
    RFC 8011 section 4.1.4: attributes-charset + attributes-natural-lang
[PASS]
    RFC 8011 section 4.1.8: Unsupported IPP version 0.0
 [PASS]
    RFC 8011 section 4.2: No printer-uri operation attribute
[PASS]
    RFC 8011 section 4.2.1: Print-Job Operation
 [FAIL]
        RECEIVED: 103 bytes in response
        status-code = successful-ok (successful-ok)
        EXPECTED: job-uri
        EXPECTED: job-id
        EXPECTED: job-state
        EXPECTED: job-state-reasons
    RFC 8011 section 4.2.3: Validate-Job Operation
[PASS]
    RFC 8011 section 4.2.5: Get-Printer-Attributes Operation (default)
[PASS]
        color-supported (boolean) = true
        compression-supported (keyword) = none
        document-format-supported (1setOf mimeMediaType) =
application/pdf,image/urf,image/jpeg,application/octet-stream
        finishings-supported (enum) = none
        ipp-versions-supported (1setOf keyword) = 2.0,1.1,1.0
        job-sheets-supported (nameWithoutLanguage) = none
        media-supported (1setOf keyword) =
iso_a4_210x297mm,jis_b5_182x257mm,iso_a5_148x210mm,na_legal_8.5x14in,na_letter_8.5x11in,na_foolscap_8.5x13in,na_executive_7.25x10.5in,custom_min_76x127mm,custom_max_215.9x356mm
        number-up-supported (integer) = 1
        operations-supported (1setOf enum) =
Print-Job,Validate-Job,Create-Job,Send-Document,Cancel-Job,Get-Job-Attributes,Get-Jobs,Get-Printer-Attributes,Identify-Printer
        pages-per-minute (integer) = 18
        pages-per-minute-color (integer) = 18
        print-quality-supported (1setOf enum) = draft,normal,high
        reference-uri-schemes-supported (1setOf uriScheme) =
file,ftp,http,https
        uri-authentication-supported (keyword) = none
        uri-security-supported (keyword) = none
        printer-uri-supported (uri) = ipp://aikprinter:631/ipp/print
    RFC 8011 section 4.2.5: Get-Printer-Attributes Operation (requested-
[PASS]
    RFC 8011 section 4.2.6: Get-Jobs Operation (default)
[PASS]
    RFC 8011 section 4.2.6: Get-Jobs Operation (requested-attributes)
 [PASS]
    RFC 8011 section 4.2.6: Get-Jobs Operation (my-jobs)
[PASS]
    RFC 8011 section 4.2.6: Get-Jobs Operation (my-jobs different user)
 [PASS]
    RFC 8011 section 4.2.6: Get-Jobs Operation (which-jobs=not-completed
[PASS]
    Get-Job-Attributes Until Job Complete
 [SKIP]
    RFC 8011 section 4.2.6: Get-Jobs Operation (which-jobs=completed)
 [FAIL]
        RECEIVED: 91 bytes in response
        status-code = successful-ok ()
        EXPECTED: job-id
        EXPECTED: job-uri
    RFC 8011 section 4.2.6: Get-Jobs Operation (which-jobs, requested-at
[FAIL]
        RECEIVED: 91 bytes in response
        status-code = successful-ok ()
        EXPECTED: job-id
        EXPECTED: job-uri
        EXPECTED: job-printer-uri
        EXPECTED: job-name
        EXPECTED: job-originating-user-name
        EXPECTED: job-state
        EXPECTED: job-state-reasons
        EXPECTED: time-at-creation
        EXPECTED: time-at-processing
        EXPECTED: time-at-completed
        EXPECTED: job-printer-up-time
ipptool: Bad integer value '' for "job-id" on line 806.
"/usr/share/cups/ipptool/ipp-2.0.test":
    PWG 5100.12 section 6.2 - Required Printer Description Attributes
 [PASS]

Summary: 21 tests, 17 passed, 3 failed, 1 skipped
Score: 85%

-- 
-- 
Alexey


More information about the cups mailing list