Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Canon Selphy CP1500 recognized but not printing.

Aperta
#91 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
go, linux, raspberry-pi

Direzione di ricerca

Inizia riproducendo il comportamento della Canon SELPHY CP1500 su un Raspberry Pi 5 con Raspberry Pi OS Bookworm e ipp-usb in modalità debug. Confronta la richiesta riuscita della pagina di prova di CUPS con le richieste di stampa delle immagini nel log fornito; il lavoro è completato quando viene identificata una causa riproducibile e viene confermato che i job delle immagini vengono stampati correttamente, oppure quando viene documentata la limitazione residua del dispositivo.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

I am having issues setting up a Canon Selphy CP1500 with ipp-usb and CUPS on a Raspberry PI 5(Raspberry PI OS Bookworm).
When I first set up ipp-usb from the Apt package, ipp-usb threw an error. I then compiled the newest version from GitHub and It seemed to work. I successfully printed a CUPS test page, but after that I tried printing my own picture and the printer showed an error on the screen "Cannot print incompatible images or memory card not readable". Since then, It doesn't even respond at all, when I try printing a picture. I have tried rebooting and recompiling several times, but the result has not changed.
Here is the output from ipp-usb in debug mode:

 ===============================
  ipp-usb started in "debug" mode, pid=991
  ctrlsock: listening at "/var/ipp-usb/ctrl"
+ PNP Bus 003 Device 002: added

  ===============================
+ Bus 003 Device 002: added SELPHY CP1500
  Device info:
    Ident:         04a9-3302-C224011020331979-Canon-SELPHY-CP1500
    Manufacturer:  Canon
    Product:       SELPHY CP1500
    SerialNumber:  C224011020331979
    MfgAndProduct: Canon SELPHY CP1500
    BasicCaps:     print,scan,fax,http

  Device quirks:
    from [Canon SELPHY CP1500] (/usr/share/ipp-usb/quirks/Canon.conf:7)
      blacklist = false
      usb-max-interfaces = 0
      disable-fax = false
      init-delay = 0s
      request-delay = 0s
      ignore-ipp-status= true
    from [Canon SELPHY CP1500] (/tmp/ipp-usb/ipp-usb-quirks/Canon.conf:7)
      blacklist = false
      usb-max-interfaces = 0
      disable-fax = false
      init-delay = 0s
      request-delay = 0s
      ignore-ipp-status= true
    from [*] (/usr/share/ipp-usb/quirks/default.conf:3)
      blacklist = false
      usb-max-interfaces = 0
      disable-fax = false
      init-delay = 0s
      request-delay = 0s
      ignore-ipp-status= false
      http-connection = ""

  USB stack parameters
    authorized_default:          -1
    autosuspend:                 2
    blinkenlights:               N
    initial_descriptor_timeout:  5000
    nousb:                       N
    old_scheme_first:            N
    quirks:
    usbfs_memory_mb:             16
    usbfs_snoop:                 N
    usbfs_snoop_max:             65536
    use_both_schemes:            Y

  USB interfaces:
    Config Interface Alt Class SubClass Proto
       1       0      0   7      1       2
*      1       0      1   7      1       4
       1       1      0   255    0       0
*      1       1      1   7      1       4

  USB[0]: open: Bus 003 Device 002 Interface 0 Alt 1
  USB[1]: open: Bus 003 Device 002 Interface 1 Alt 1
> HTTP[000]: POST http://localhost:60000/ipp/print
> HTTP[000]: request body: got 462 bytes; closed
> HTTP[000]: body is small (462 bytes), prefetched before sending
  USB[0]: connection allocated, 1 in use: a-- ---
  HTTP[000]: connection 0 allocated
< HTTP[000]: POST http://localhost:60000/ipp/print - 200 OK
< HTTP[000]: response body: got 1129 bytes; EOF
  USB[0]: connection released, 0 in use: --- ---
> HTTP[001]: POST http://localhost:60000/ipp/faxout
> HTTP[001]: request body: got 463 bytes; closed
> HTTP[001]: body is small (463 bytes), prefetched before sending
  USB[1]: connection allocated, 1 in use: --- a--
  HTTP[001]: connection 1 allocated
< HTTP[001]: POST http://localhost:60000/ipp/faxout - 404 Not Found
< HTTP[001]: client has gone; draining response from USB
! IPP FaxOut probe failed: HTTP: 404 Not Found
> HTTP[002]: GET http://localhost:60000/eSCL/ScannerCapabilities
> HTTP[002]: body is chunked, sending as is
  USB[0]: connection allocated, 2 in use: a-- a--
  HTTP[002]: connection 0 allocated
< HTTP[002]: GET http://localhost:60000/eSCL/ScannerCapabilities - 404 Not Found
< HTTP[002]: client has gone; draining response from USB
! ESCL: eSCL: HTTP status: 404 Not Found
> Canon SELPHY CP1500: _printer._tcp TXT record:
> Canon SELPHY CP1500: _ipp._tcp TXT record:
    air=none
    mopria-certified=2.1
    rp=ipp/print
    priority=50
    kind=photo
    PaperMax=<legal-A4
    URF=W8,SRGB24,V1.5,RS300,IS7,MT11,PQ4,OB9,IFU0,OFU0,CP99
    UUID=b649f780-754a-4bd3-809e-40f8dfeb9758
    Color=T
    Duplex=F
    note=
    qtotal=1
    usb_MDL=SELPHY CP1500
    usb_MFG=Canon
    usb_CMD=URF
    ty=Canon SELPHY CP1500 HTTP
    product=(Canon SELPHY CP1500 HTTP)
    pdl=image/urf,application/octet-stream,image/jpeg,image/pwg-raster
    txtvers=1
    Fax=F
    Scan=F
> Canon SELPHY CP1500: _http._tcp TXT record:
> Canon SELPHY CP1500: _ipp-usb._tcp TXT record:
  DNS-SD: Canon SELPHY CP1500 (USB): trying
  USB[1]: connection released, 1 in use: ar- ---
  DNS-SD: FQDN: "raspberrypi.local"
  DNS-SD: FQDN: "raspberrypi.local"->"localhost"
  DNS-SD: +subtype: "_universal._sub._ipp._tcp"
+ DNS-SD: Canon SELPHY CP1500 (USB): publishing requested
  DNS-SD: Canon SELPHY CP1500 (USB): AVAHI_ENTRY_GROUP_REGISTERING
  USB[0]: connection released, 0 in use: --- ---
  DNS-SD: Canon SELPHY CP1500 (USB): AVAHI_ENTRY_GROUP_ESTABLISHED
  DNS-SD: Canon SELPHY CP1500 (USB): published
> HTTP[003]: POST http://localhost:60000/ipp/print
> HTTP[003]: request body: got 207 bytes; EOF
> HTTP[003]: body is small (207 bytes), prefetched before sending
  USB[1]: connection allocated, 1 in use: --- a--
  HTTP[003]: connection 1 allocated
< HTTP[003]: POST http://localhost:60000/ipp/print - 200 OK
< HTTP[003]: response body: got 165 bytes; EOF
  USB[1]: connection released, 0 in use: --- ---
> HTTP[004]: POST http://localhost:60000/ipp/print
> HTTP[004]: request body: got 714 bytes; EOF
> HTTP[004]: body is small (714 bytes), prefetched before sending
  USB[0]: connection allocated, 1 in use: a-- ---
  HTTP[004]: connection 0 allocated
< HTTP[004]: POST http://localhost:60000/ipp/print - 200 OK
< HTTP[004]: response body: got 1130 bytes; EOF
  USB[0]: connection released, 0 in use: --- ---
> HTTP[005]: POST http://localhost:60000/ipp/print
> HTTP[005]: request body: got 297 bytes; EOF
> HTTP[005]: body is small (297 bytes), prefetched before sending
  USB[1]: connection allocated, 1 in use: --- a--
  HTTP[005]: connection 1 allocated
> HTTP[006]: POST http://localhost:60000/ipp/print
> HTTP[006]: request body: got 744 bytes; EOF
> HTTP[006]: body is small (744 bytes), prefetched before sending
  USB[0]: connection allocated, 2 in use: a-- ar-
  HTTP[006]: connection 0 allocated
< HTTP[006]: POST http://localhost:60000/ipp/print - 200 OK
< HTTP[005]: POST http://localhost:60000/ipp/print - 200 OK
< HTTP[006]: response body: got 1130 bytes; EOF
  USB[0]: connection released, 1 in use: --- ar-
< HTTP[005]: response body: got 94 bytes; EOF
  USB[1]: connection released, 0 in use: --- ---
> HTTP[007]: POST http://localhost:60000/ipp/print
> HTTP[007]: request body: got 744 bytes; EOF
> HTTP[007]: body is small (744 bytes), prefetched before sending
  USB[0]: connection allocated, 1 in use: a-- ---
  HTTP[007]: connection 0 allocated
< HTTP[007]: POST http://localhost:60000/ipp/print - 200 OK
< HTTP[007]: response body: got 1130 bytes; EOF
  USB[0]: connection released, 0 in use: --- ---
> HTTP[008]: POST http://localhost:60000/ipp/print
> HTTP[008]: request body: got 744 bytes; EOF
> HTTP[008]: body is small (744 bytes), prefetched before sending
  USB[1]: connection allocated, 1 in use: --- a--
  HTTP[008]: connection 1 allocated
< HTTP[008]: POST http://localhost:60000/ipp/print - 200 OK
< HTTP[008]: response body: got 1130 bytes; EOF
  USB[1]: connection released, 0 in use: --- ---
> HTTP[009]: POST http://localhost:60000/ipp/print
> HTTP[009]: request body: got 744 bytes; EOF
> HTTP[009]: body is small (744 bytes), prefetched before sending
  USB[0]: connection allocated, 1 in use: a-- ---
  HTTP[009]: connection 0 allocated
< HTTP[009]: POST http://localhost:60000/ipp/print - 200 OK
< HTTP[009]: response body: got 1130 bytes; EOF
  USB[0]: connection released, 0 in use: --- ---
> HTTP[010]: POST http://localhost:60000/ipp/print
> HTTP[010]: request body: got 744 bytes; EOF
> HTTP[010]: body is small (744 bytes), prefetched before sending
  USB[1]: connection allocated, 1 in use: --- a--
  HTTP[010]: connection 1 allocated
< HTTP[010]: POST http://localhost:60000/ipp/print - 200 OK
< HTTP[010]: response body: got 1130 bytes; EOF
  USB[1]: connection released, 0 in use: --- ---
> HTTP[011]: POST http://localhost:60000/ipp/print
> HTTP[011]: request body: got 297 bytes; EOF
> HTTP[011]: body is small (297 bytes), prefetched before sending
  USB[0]: connection allocated, 1 in use: a-- ---
  HTTP[011]: connection 0 allocated
< HTTP[011]: POST http://localhost:60000/ipp/print - 200 OK
< HTTP[011]: response body: got 94 bytes; EOF
  USB[0]: connection released, 0 in use: --- ---
Lingua principale
Go
Stelle
210
Fork
35
Merge medio
5h 47m
PR unite (30g)
1

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di OpenPrinting/ipp-usb

Tutte le issue di OpenPrinting/ipp-usb

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.