attah / harbour-seaprint

🐟🖨 Network printing for Sailfish OS
GNU General Public License v3.0
16 stars 20 forks source link

debug info, Canon Selphy CP1500 #81

Closed poetaster closed 9 months ago

poetaster commented 1 year ago

Perhaps of utility:

* Connected to 192.168.178.32 (192.168.178.32) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
*  subject: CN=Canon Compact Photo Printer
*  start date: Jan  1 00:00:00 2021 GMT
*  expire date: Dec 31 23:59:59 2040 GMT
*  issuer: CN=Canon Compact Photo Printer
*  SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
> POST /ipp/print HTTP/1.1
Host: 192.168.178.32
Accept: */*
Content-Type: application/ipp
Accept-Encoding: identity
Content-Length: 158

* We are completely uploaded and fine
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Content-Type: application/ipp
< Content-Length: 6432
< 
* Connection #0 to host 192.168.178.32 left intact
[D] unknown:0 - 0
[D] unknown:0 - 0 QJsonObject({"attributes-charset":{"tag":71,"value":"utf-8"},"attributes-natural-language":{"tag":72,"value":"en-us"}}) QJsonObject({"charset-configured":{"tag":71,"value":"utf-8"},"charset-supported":{"tag":71,"value":["utf-8","us-ascii"]},"color-supported":{"tag":34,"value":true},"compression-supported":{"tag":68,"value":["none"]},"copies-default":{"tag":33,"value":1},"copies-supported":{"tag":51,"value":{"high":99,"low":1}},"document-format-default":{"tag":73,"value":"image/urf"},"document-format-supported":{"tag":73,"value":["image/urf","application/octet-stream","image/jpeg","image/pwg-raster"]},"finishings-default":{"tag":35,"value":3},"finishings-supported":{"tag":35,"value":[3]},"generated-natural-language-supported":{"tag":72,"value":["en-us"]},"identify-actions-default":{"tag":68,"value":"flash"},"identify-actions-supported":{"tag":68,"value":["flash"]},"ipp-features-supported":{"tag":68,"value":["airprint-1.4","airprint-1.3","wfds-print-1.0","airprint-1.5","airprint-1.6","airprint-1.7","airprint-1.8","airprint-2.1"]},"ipp-versions-supported":{"tag":68,"value":["1.1","2.0"]},"job-creation-attributes-supported":{"tag":68,"value":["copies","finishings","job-name","media","media-col","orientation-requested","output-bin","print-color-mode","print-quality","printer-resolution","sides","ipp-attribute-fidelity"]},"job-ids-supported":{"tag":34,"value":true},"job-mandatory-attributes-supported":{"tag":34,"value":true},"job-spooling-supported":{"tag":68,"value":["stream"]},"jpeg-features-supported":{"tag":68,"value":["none"]},"jpeg-k-octets-supported":{"tag":51,"value":{"high":32768,"low":0}},"jpeg-x-dimension-supported":{"tag":51,"value":{"high":15000,"low":64}},"jpeg-y-dimension-supported":{"tag":51,"value":{"high":15000,"low":64}},"landscape-orientation-requested-preferred":{"tag":35,"value":5},"media-bottom-margin-supported":{"tag":33,"value":[0,370,340,640]},"media-col-default":{"tag":52,"value":{"media-bottom-margin":{"tag":33,"value":370},"media-left-margin":{"tag":33,"value":250},"media-right-margin":{"tag":33,"value":250},"media-size":{"tag":52,"value":{"x-dimension":{"tag":33,"value":10000},"y-dimension":{"tag":33,"value":14800}}},"media-source":{"tag":68,"value":"photo"},"media-top-margin":{"tag":33,"value":370},"media-type":{"tag":68,"value":"photographic"}}},"media-col-ready":{"tag":52,"value":[{"media-bottom-margin":{"tag":33,"value":370},"media-left-margin":{"tag":33,"value":250},"media-right-margin":{"tag":33,"value":250},"media-size":{"tag":52,"value":{"x-dimension":{"tag":33,"value":10000},"y-dimension":{"tag":33,"value":14800}}},"media-source":{"tag":68,"value":"photo"},"media-top-margin":{"tag":33,"value":370},"media-type":{"tag":68,"value":"photographic"}},{"media-bottom-margin":{"tag":33,"value":0},"media-left-margin":{"tag":33,"value":0},"media-right-margin":{"tag":33,"value":0},"media-size":{"tag":52,"value":{"x-dimension":{"tag":33,"value":10000},"y-dimension":{"tag":33,"value":14800}}},"media-source":{"tag":68,"value":"photo"},"media-top-margin":{"tag":33,"value":0},"media-type":{"tag":68,"value":"photographic"}}]},"media-col-supported":{"tag":68,"value":["media-size","media-bottom-margin","media-left-margin","media-right-margin","media-top-margin","media-type","media-source"]},"media-default":{"tag":68,"value":"jpn_hagaki_100x148mm"},"media-left-margin-supported":{"tag":33,"value":[0,250]},"media-ready":{"tag":68,"value":["jpn_hagaki_100x148mm"]},"media-right-margin-supported":{"tag":33,"value":[0,250]},"media-size-supported":{"tag":52,"value":[[{"x-dimension":{"tag":33,"value":10000},"y-dimension":{"tag":33,"value":14800}},{"x-dimension":{"tag":33,"value":8900},"y-dimension":{"tag":33,"value":11900}},{"x-dimension":{"tag":33,"value":5400},"y-dimension":{"tag":33,"value":8600}},{"x-dimension":{"tag":51,"value":{"high":10200,"low":5300}},"y-dimension":{"tag":51,"value":{"high":15300,"low":8500}}}]]},"media-source-supported":{"tag":68,"value":["photo"]},"media-supported":{"tag":68,"value":["jpn_hagaki_100x148mm","om_dsc-photo_89x119mm","om_card_54x86mm","custom_min_53x85mm","custom_max_102x153mm"]},"media-top-margin-supported":{"tag":33,"value":[0,370,340,640]},"media-type-supported":{"tag":68,"value":["photographic"]},"mopria-certified":{"tag":65,"value":"2.1"},"multiple-document-handling-default":{"tag":68,"value":"single-document"},"multiple-document-handling-supported":{"tag":68,"value":["single-document"]},"multiple-document-jobs-supported":{"tag":34,"value":false},"multiple-operation-time-out":{"tag":33,"value":200},"natural-language-configured":{"tag":72,"value":"en-us"},"operations-supported":{"tag":35,"value":[2,4,5,6,8,9,10,11,60]},"orientation-requested-default":{"tag":35,"value":3},"orientation-requested-supported":{"tag":35,"value":[3,4,5,6]},"output-bin-default":{"tag":68,"value":"face-up"},"output-bin-supported":{"tag":68,"value":["face-up"]},"output-mode-default":{"tag":68,"value":"color"},"output-mode-supported":{"tag":68,"value":["auto","color","monochrome","auto-monochrome"]},"page-ranges-supported":{"tag":34,"value":false},"pages-per-minute":{"tag":33,"value":1},"pages-per-minute-color":{"tag":33,"value":1},"pdf-versions-supported":{"tag":68,"value":["none"]},"pdl-override-supported":{"tag":68,"value":["attempted"]},"print-color-mode-default":{"tag":68,"value":"color"},"print-color-mode-supported":{"tag":68,"value":["auto","color","monochrome","auto-monochrome"]},"print-content-optimize-default":{"tag":68,"value":["photo","auto"]},"print-content-optimize-supported":{"tag":68,"value":["photo","auto"]},"print-quality-default":{"tag":35,"value":4},"print-quality-supported":{"tag":35,"value":[4]},"print-scaling-default":{"tag":68,"value":"auto"},"print-scaling-supported":{"tag":68,"value":["auto","auto-fit","fill","fit","none"]},"print_wfds":{"tag":65,"value":"T"},"printer-device-id":{"tag":65,"value":"MFG:Canon;CMD:URF;MDL:SELPHY CP1500;CLS:PRINTER;URF:W8,SRGB24,V1.5,RS300,IS7,MT11,PQ4,OB9,IFU0,OFU0,CP99;"},"printer-dns-sd-name":{"tag":66,"value":"Canon SELPHY CP1500"},"printer-firmware-name":{"tag":66,"value":["External Firm ver, Internal Firm ver"]},"printer-firmware-patches":{"tag":65,"value":[""]},"printer-firmware-string-version":{"tag":65,"value":["1.0.2.0, 1.33"]},"printer-firmware-version":{"tag":48,"value":["01000200,0121"]},"printer-geo-location":{"tag":69,"value":"geo:0.0000000,0.0000000,0;u=0"},"printer-icons":{"tag":69,"value":["http://192.168.178.32/ipp/icons/48_48.png","http://192.168.178.32/ipp/icons/128_128.png","http://192.168.178.32/ipp/icons/512_512.png"]},"printer-info":{"tag":65,"value":"Canon SELPHY CP1500"},"printer-input-tray":{"tag":48,"value":"type=sheetFeedAutoRemovableTray;mediafeed=300;mediaxfeed=300;maxcapacity=18;level=-2;status=0;name=InputTray;index=1;dimunit=tenThousandthsOfInches;unit=sheets;medianame=jpn_hagaki_100x148mm;mediaweight=-2;mediatype=photographic;mediacolor=white;"},"printer-is-accepting-jobs":{"tag":34,"value":true},"printer-kind":{"tag":68,"value":"photo"},"printer-location":{"tag":65,"value":""},"printer-make-and-model":{"tag":65,"value":"Canon SELPHY CP1500 HTTP"},"printer-more-info":{"tag":69,"value":"http://192.168.178.32:8008/index.html"},"printer-name":{"tag":66,"value":"Canon SELPHY CP1500"},"printer-output-tray":{"tag":48,"value":"type=removableBin;maxcapacity=-2;remaining=-2;status=0;name=OutputTray;index=1;dimunit=sheets;unit=sheets;stackingorder=firstToLast;pagedelivery=faceUp;offsetstacking=notPresent;"},"printer-resolution-default":{"tag":50,"value":{"units":3,"x":300,"y":300}},"printer-resolution-supported":{"tag":50,"value":[{"units":3,"x":300,"y":300}]},"printer-state":{"tag":35,"value":3},"printer-state-reasons":{"tag":68,"value":["none"]},"printer-supply":{"tag":48,"value":"index=1;class=other;type=inkRibbon;unit=sheets;maxcapacity=36;level=-2;colorantindex=1;colorantrole=other;colorantname=other;coloranttonality=128;"},"printer-supply-info-uri":{"tag":69,"value":"http://192.168.178.32:8008/supply/ink_content.html"},"printer-up-time":{"tag":33,"value":1772},"printer-uri-supported":{"tag":69,"value":["ipp://192.168.178.32:631/ipp/print","ipps://192.168.178.32:443/ipp/print"]},"printer-uuid":{"tag":69,"value":"urn:uuid:e449af80-bb08-41a9-96ae-5c625afc63cc"},"pwg-raster-document-resolution-supported":{"tag":50,"value":[{"units":3,"x":300,"y":300}]},"pwg-raster-document-type-supported":{"tag":68,"value":["rgb_8"]},"queued-job-count":{"tag":33,"value":0},"sides-default":{"tag":68,"value":"one-sided"},"sides-supported":{"tag":68,"value":["one-sided"]},"urf-supported":{"tag":68,"value":["W8","SRGB24","V1.5","RS300","IS7","MT11","PQ4","OB9","IFU0","OFU0","CP99"]},"uri-authentication-supported":{"tag":68,"value":["none","none"]},"uri-security-supported":{"tag":68,"value":["none","tls"]}})
[D] unknown:0 - QUrl("http://192.168.178.32/ipp/icons/128_128.png")  is allowed:  true
[D] unknown:0 - additionalDocumentFormats ()
*   Trying 192.168.178.32:80...
* Connected to 192.168.178.32 (192.168.178.32) port 80 (#0)
> GET /ipp/icons/128_128.png HTTP/1.1
Host: 192.168.178.32
Accept: */*

* Mark bundle as not supporting multiuse
* HTTP 1.0, assume close after body
< HTTP/1.0 500 
< Content-Length: 25
< 
* Closing connection 0
[D] unknown:0 - 0 25
*   Trying 192.168.178.32:443...
* Connected to 192.168.178.32 (192.168.178.32) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
*  subject: CN=Canon Compact Photo Printer
*  start date: Jan  1 00:00:00 2021 GMT
*  expire date: Dec 31 23:59:59 2040 GMT
*  issuer: CN=Canon Compact Photo Printer
*  SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
> POST /ipp/print HTTP/1.1
Host: 192.168.178.32
Accept: */*
Content-Type: application/ipp
Accept-Encoding: identity
Content-Length: 158

* We are completely uploaded and fine
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Content-Type: application/ipp
< Content-Length: 6432
< 
* Connection #0 to host 192.168.178.32 left intact
[D] unknown:0 - 0
[D] unknown:0 - 0 QJsonObject({"attributes-charset":{"tag":71,"value":"utf-8"},"attributes-natural-language":{"tag":72,"value":"en-us"}}) QJsonObject({"charset-configured":{"tag":71,"value":"utf-8"},"charset-supported":{"tag":71,"value":["utf-8","us-ascii"]},"color-supported":{"tag":34,"value":true},"compression-supported":{"tag":68,"value":["none"]},"copies-default":{"tag":33,"value":1},"copies-supported":{"tag":51,"value":{"high":99,"low":1}},"document-format-default":{"tag":73,"value":"image/urf"},"document-format-supported":{"tag":73,"value":["image/urf","application/octet-stream","image/jpeg","image/pwg-raster"]},"finishings-default":{"tag":35,"value":3},"finishings-supported":{"tag":35,"value":[3]},"generated-natural-language-supported":{"tag":72,"value":["en-us"]},"identify-actions-default":{"tag":68,"value":"flash"},"identify-actions-supported":{"tag":68,"value":["flash"]},"ipp-features-supported":{"tag":68,"value":["airprint-1.4","airprint-1.3","wfds-print-1.0","airprint-1.5","airprint-1.6","airprint-1.7","airprint-1.8","airprint-2.1"]},"ipp-versions-supported":{"tag":68,"value":["1.1","2.0"]},"job-creation-attributes-supported":{"tag":68,"value":["copies","finishings","job-name","media","media-col","orientation-requested","output-bin","print-color-mode","print-quality","printer-resolution","sides","ipp-attribute-fidelity"]},"job-ids-supported":{"tag":34,"value":true},"job-mandatory-attributes-supported":{"tag":34,"value":true},"job-spooling-supported":{"tag":68,"value":["stream"]},"jpeg-features-supported":{"tag":68,"value":["none"]},"jpeg-k-octets-supported":{"tag":51,"value":{"high":32768,"low":0}},"jpeg-x-dimension-supported":{"tag":51,"value":{"high":15000,"low":64}},"jpeg-y-dimension-supported":{"tag":51,"value":{"high":15000,"low":64}},"landscape-orientation-requested-preferred":{"tag":35,"value":5},"media-bottom-margin-supported":{"tag":33,"value":[0,370,340,640]},"media-col-default":{"tag":52,"value":{"media-bottom-margin":{"tag":33,"value":370},"media-left-margin":{"tag":33,"value":250},"media-right-margin":{"tag":33,"value":250},"media-size":{"tag":52,"value":{"x-dimension":{"tag":33,"value":10000},"y-dimension":{"tag":33,"value":14800}}},"media-source":{"tag":68,"value":"photo"},"media-top-margin":{"tag":33,"value":370},"media-type":{"tag":68,"value":"photographic"}}},"media-col-ready":{"tag":52,"value":[{"media-bottom-margin":{"tag":33,"value":370},"media-left-margin":{"tag":33,"value":250},"media-right-margin":{"tag":33,"value":250},"media-size":{"tag":52,"value":{"x-dimension":{"tag":33,"value":10000},"y-dimension":{"tag":33,"value":14800}}},"media-source":{"tag":68,"value":"photo"},"media-top-margin":{"tag":33,"value":370},"media-type":{"tag":68,"value":"photographic"}},{"media-bottom-margin":{"tag":33,"value":0},"media-left-margin":{"tag":33,"value":0},"media-right-margin":{"tag":33,"value":0},"media-size":{"tag":52,"value":{"x-dimension":{"tag":33,"value":10000},"y-dimension":{"tag":33,"value":14800}}},"media-source":{"tag":68,"value":"photo"},"media-top-margin":{"tag":33,"value":0},"media-type":{"tag":68,"value":"photographic"}}]},"media-col-supported":{"tag":68,"value":["media-size","media-bottom-margin","media-left-margin","media-right-margin","media-top-margin","media-type","media-source"]},"media-default":{"tag":68,"value":"jpn_hagaki_100x148mm"},"media-left-margin-supported":{"tag":33,"value":[0,250]},"media-ready":{"tag":68,"value":["jpn_hagaki_100x148mm"]},"media-right-margin-supported":{"tag":33,"value":[0,250]},"media-size-supported":{"tag":52,"value":[[{"x-dimension":{"tag":33,"value":10000},"y-dimension":{"tag":33,"value":14800}},{"x-dimension":{"tag":33,"value":8900},"y-dimension":{"tag":33,"value":11900}},{"x-dimension":{"tag":33,"value":5400},"y-dimension":{"tag":33,"value":8600}},{"x-dimension":{"tag":51,"value":{"high":10200,"low":5300}},"y-dimension":{"tag":51,"value":{"high":15300,"low":8500}}}]]},"media-source-supported":{"tag":68,"value":["photo"]},"media-supported":{"tag":68,"value":["jpn_hagaki_100x148mm","om_dsc-photo_89x119mm","om_card_54x86mm","custom_min_53x85mm","custom_max_102x153mm"]},"media-top-margin-supported":{"tag":33,"value":[0,370,340,640]},"media-type-supported":{"tag":68,"value":["photographic"]},"mopria-certified":{"tag":65,"value":"2.1"},"multiple-document-handling-default":{"tag":68,"value":"single-document"},"multiple-document-handling-supported":{"tag":68,"value":["single-document"]},"multiple-document-jobs-supported":{"tag":34,"value":false},"multiple-operation-time-out":{"tag":33,"value":200},"natural-language-configured":{"tag":72,"value":"en-us"},"operations-supported":{"tag":35,"value":[2,4,5,6,8,9,10,11,60]},"orientation-requested-default":{"tag":35,"value":3},"orientation-requested-supported":{"tag":35,"value":[3,4,5,6]},"output-bin-default":{"tag":68,"value":"face-up"},"output-bin-supported":{"tag":68,"value":["face-up"]},"output-mode-default":{"tag":68,"value":"color"},"output-mode-supported":{"tag":68,"value":["auto","color","monochrome","auto-monochrome"]},"page-ranges-supported":{"tag":34,"value":false},"pages-per-minute":{"tag":33,"value":1},"pages-per-minute-color":{"tag":33,"value":1},"pdf-versions-supported":{"tag":68,"value":["none"]},"pdl-override-supported":{"tag":68,"value":["attempted"]},"print-color-mode-default":{"tag":68,"value":"color"},"print-color-mode-supported":{"tag":68,"value":["auto","color","monochrome","auto-monochrome"]},"print-content-optimize-default":{"tag":68,"value":["photo","auto"]},"print-content-optimize-supported":{"tag":68,"value":["photo","auto"]},"print-quality-default":{"tag":35,"value":4},"print-quality-supported":{"tag":35,"value":[4]},"print-scaling-default":{"tag":68,"value":"auto"},"print-scaling-supported":{"tag":68,"value":["auto","auto-fit","fill","fit","none"]},"print_wfds":{"tag":65,"value":"T"},"printer-device-id":{"tag":65,"value":"MFG:Canon;CMD:URF;MDL:SELPHY CP1500;CLS:PRINTER;URF:W8,SRGB24,V1.5,RS300,IS7,MT11,PQ4,OB9,IFU0,OFU0,CP99;"},"printer-dns-sd-name":{"tag":66,"value":"Canon SELPHY CP1500"},"printer-firmware-name":{"tag":66,"value":["External Firm ver, Internal Firm ver"]},"printer-firmware-patches":{"tag":65,"value":[""]},"printer-firmware-string-version":{"tag":65,"value":["1.0.2.0, 1.33"]},"printer-firmware-version":{"tag":48,"value":["01000200,0121"]},"printer-geo-location":{"tag":69,"value":"geo:0.0000000,0.0000000,0;u=0"},"printer-icons":{"tag":69,"value":["http://192.168.178.32/ipp/icons/48_48.png","http://192.168.178.32/ipp/icons/128_128.png","http://192.168.178.32/ipp/icons/512_512.png"]},"printer-info":{"tag":65,"value":"Canon SELPHY CP1500"},"printer-input-tray":{"tag":48,"value":"type=sheetFeedAutoRemovableTray;mediafeed=300;mediaxfeed=300;maxcapacity=18;level=-2;status=0;name=InputTray;index=1;dimunit=tenThousandthsOfInches;unit=sheets;medianame=jpn_hagaki_100x148mm;mediaweight=-2;mediatype=photographic;mediacolor=white;"},"printer-is-accepting-jobs":{"tag":34,"value":true},"printer-kind":{"tag":68,"value":"photo"},"printer-location":{"tag":65,"value":""},"printer-make-and-model":{"tag":65,"value":"Canon SELPHY CP1500 HTTP"},"printer-more-info":{"tag":69,"value":"http://192.168.178.32:8008/index.html"},"printer-name":{"tag":66,"value":"Canon SELPHY CP1500"},"printer-output-tray":{"tag":48,"value":"type=removableBin;maxcapacity=-2;remaining=-2;status=0;name=OutputTray;index=1;dimunit=sheets;unit=sheets;stackingorder=firstToLast;pagedelivery=faceUp;offsetstacking=notPresent;"},"printer-resolution-default":{"tag":50,"value":{"units":3,"x":300,"y":300}},"printer-resolution-supported":{"tag":50,"value":[{"units":3,"x":300,"y":300}]},"printer-state":{"tag":35,"value":3},"printer-state-reasons":{"tag":68,"value":["none"]},"printer-supply":{"tag":48,"value":"index=1;class=other;type=inkRibbon;unit=sheets;maxcapacity=36;level=-2;colorantindex=1;colorantrole=other;colorantname=other;coloranttonality=128;"},"printer-supply-info-uri":{"tag":69,"value":"http://192.168.178.32:8008/supply/ink_content.html"},"printer-up-time":{"tag":33,"value":1778},"printer-uri-supported":{"tag":69,"value":["ipp://192.168.178.32:631/ipp/print","ipps://192.168.178.32:443/ipp/print"]},"printer-uuid":{"tag":69,"value":"urn:uuid:e449af80-bb08-41a9-96ae-5c625afc63cc"},"pwg-raster-document-resolution-supported":{"tag":50,"value":[{"units":3,"x":300,"y":300}]},"pwg-raster-document-type-supported":{"tag":68,"value":["rgb_8"]},"queued-job-count":{"tag":33,"value":0},"sides-default":{"tag":68,"value":"one-sided"},"sides-supported":{"tag":68,"value":["one-sided"]},"urf-supported":{"tag":68,"value":["W8","SRGB24","V1.5","RS300","IS7","MT11","PQ4","OB9","IFU0","OFU0","CP99"]},"uri-authentication-supported":{"tag":68,"value":["none","none"]},"uri-security-supported":{"tag":68,"value":["none","tls"]}})
[D] unknown:0 - QUrl("http://192.168.178.32/ipp/icons/128_128.png")  is allowed:  true
[D] unknown:0 - additionalDocumentFormats ()
*   Trying 192.168.178.32:80...
* Connected to 192.168.178.32 (192.168.178.32) port 80 (#0)
> GET /ipp/icons/128_128.png HTTP/1.1
Host: 192.168.178.32
Accept: */*

* Mark bundle as not supporting multiuse
* HTTP 1.0, assume close after body
< HTTP/1.0 500 
< Content-Length: 25
< 
* Closing connection 0
[D] unknown:0 - 0 25
[W] unknown:79 - file:///usr/share/harbour-seaprint/qml/pages/DetailsPage.qml:79: TypeError: Cannot read property 'value' of undefined
[W] unknown:90 - file:///usr/share/harbour-seaprint/qml/pages/DetailsPage.qml:90: TypeError: Cannot read property 'value' of undefined
*   Trying 192.168.178.32:443...
* Connected to 192.168.178.32 (192.168.178.32) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
*  subject: CN=Canon Compact Photo Printer
*  start date: Jan  1 00:00:00 2021 GMT
*  expire date: Dec 31 23:59:59 2040 GMT
*  issuer: CN=Canon Compact Photo Printer
*  SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
> POST /ipp/print HTTP/1.1
Host: 192.168.178.32
Accept: */*
Content-Type: application/ipp
Accept-Encoding: identity
Content-Length: 158

* We are completely uploaded and fine
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Content-Type: application/ipp
< Content-Length: 6432
< 
* Connection #0 to host 192.168.178.32 left intact
[D] unknown:0 - 0
[D] unknown:0 - 0 QJsonObject({"attributes-charset":{"tag":71,"value":"utf-8"},"attributes-natural-language":{"tag":72,"value":"en-us"}}) QJsonObject({"charset-configured":{"tag":71,"value":"utf-8"},"charset-supported":{"tag":71,"value":["utf-8","us-ascii"]},"color-supported":{"tag":34,"value":true},"compression-supported":{"tag":68,"value":["none"]},"copies-default":{"tag":33,"value":1},"copies-supported":{"tag":51,"value":{"high":99,"low":1}},"document-format-default":{"tag":73,"value":"image/urf"},"document-format-supported":{"tag":73,"value":["image/urf","application/octet-stream","image/jpeg","image/pwg-raster"]},"finishings-default":{"tag":35,"value":3},"finishings-supported":{"tag":35,"value":[3]},"generated-natural-language-supported":{"tag":72,"value":["en-us"]},"identify-actions-default":{"tag":68,"value":"flash"},"identify-actions-supported":{"tag":68,"value":["flash"]},"ipp-features-supported":{"tag":68,"value":["airprint-1.4","airprint-1.3","wfds-print-1.0","airprint-1.5","airprint-1.6","airprint-1.7","airprint-1.8","airprint-2.1"]},"ipp-versions-supported":{"tag":68,"value":["1.1","2.0"]},"job-creation-attributes-supported":{"tag":68,"value":["copies","finishings","job-name","media","media-col","orientation-requested","output-bin","print-color-mode","print-quality","printer-resolution","sides","ipp-attribute-fidelity"]},"job-ids-supported":{"tag":34,"value":true},"job-mandatory-attributes-supported":{"tag":34,"value":true},"job-spooling-supported":{"tag":68,"value":["stream"]},"jpeg-features-supported":{"tag":68,"value":["none"]},"jpeg-k-octets-supported":{"tag":51,"value":{"high":32768,"low":0}},"jpeg-x-dimension-supported":{"tag":51,"value":{"high":15000,"low":64}},"jpeg-y-dimension-supported":{"tag":51,"value":{"high":15000,"low":64}},"landscape-orientation-requested-preferred":{"tag":35,"value":5},"media-bottom-margin-supported":{"tag":33,"value":[0,370,340,640]},"media-col-default":{"tag":52,"value":{"media-bottom-margin":{"tag":33,"value":370},"media-left-margin":{"tag":33,"value":250},"media-right-margin":{"tag":33,"value":250},"media-size":{"tag":52,"value":{"x-dimension":{"tag":33,"value":10000},"y-dimension":{"tag":33,"value":14800}}},"media-source":{"tag":68,"value":"photo"},"media-top-margin":{"tag":33,"value":370},"media-type":{"tag":68,"value":"photographic"}}},"media-col-ready":{"tag":52,"value":[{"media-bottom-margin":{"tag":33,"value":370},"media-left-margin":{"tag":33,"value":250},"media-right-margin":{"tag":33,"value":250},"media-size":{"tag":52,"value":{"x-dimension":{"tag":33,"value":10000},"y-dimension":{"tag":33,"value":14800}}},"media-source":{"tag":68,"value":"photo"},"media-top-margin":{"tag":33,"value":370},"media-type":{"tag":68,"value":"photographic"}},{"media-bottom-margin":{"tag":33,"value":0},"media-left-margin":{"tag":33,"value":0},"media-right-margin":{"tag":33,"value":0},"media-size":{"tag":52,"value":{"x-dimension":{"tag":33,"value":10000},"y-dimension":{"tag":33,"value":14800}}},"media-source":{"tag":68,"value":"photo"},"media-top-margin":{"tag":33,"value":0},"media-type":{"tag":68,"value":"photographic"}}]},"media-col-supported":{"tag":68,"value":["media-size","media-bottom-margin","media-left-margin","media-right-margin","media-top-margin","media-type","media-source"]},"media-default":{"tag":68,"value":"jpn_hagaki_100x148mm"},"media-left-margin-supported":{"tag":33,"value":[0,250]},"media-ready":{"tag":68,"value":["jpn_hagaki_100x148mm"]},"media-right-margin-supported":{"tag":33,"value":[0,250]},"media-size-supported":{"tag":52,"value":[[{"x-dimension":{"tag":33,"value":10000},"y-dimension":{"tag":33,"value":14800}},{"x-dimension":{"tag":33,"value":8900},"y-dimension":{"tag":33,"value":11900}},{"x-dimension":{"tag":33,"value":5400},"y-dimension":{"tag":33,"value":8600}},{"x-dimension":{"tag":51,"value":{"high":10200,"low":5300}},"y-dimension":{"tag":51,"value":{"high":15300,"low":8500}}}]]},"media-source-supported":{"tag":68,"value":["photo"]},"media-supported":{"tag":68,"value":["jpn_hagaki_100x148mm","om_dsc-photo_89x119mm","om_card_54x86mm","custom_min_53x85mm","custom_max_102x153mm"]},"media-top-margin-supported":{"tag":33,"value":[0,370,340,640]},"media-type-supported":{"tag":68,"value":["photographic"]},"mopria-certified":{"tag":65,"value":"2.1"},"multiple-document-handling-default":{"tag":68,"value":"single-document"},"multiple-document-handling-supported":{"tag":68,"value":["single-document"]},"multiple-document-jobs-supported":{"tag":34,"value":false},"multiple-operation-time-out":{"tag":33,"value":200},"natural-language-configured":{"tag":72,"value":"en-us"},"operations-supported":{"tag":35,"value":[2,4,5,6,8,9,10,11,60]},"orientation-requested-default":{"tag":35,"value":3},"orientation-requested-supported":{"tag":35,"value":[3,4,5,6]},"output-bin-default":{"tag":68,"value":"face-up"},"output-bin-supported":{"tag":68,"value":["face-up"]},"output-mode-default":{"tag":68,"value":"color"},"output-mode-supported":{"tag":68,"value":["auto","color","monochrome","auto-monochrome"]},"page-ranges-supported":{"tag":34,"value":false},"pages-per-minute":{"tag":33,"value":1},"pages-per-minute-color":{"tag":33,"value":1},"pdf-versions-supported":{"tag":68,"value":["none"]},"pdl-override-supported":{"tag":68,"value":["attempted"]},"print-color-mode-default":{"tag":68,"value":"color"},"print-color-mode-supported":{"tag":68,"value":["auto","color","monochrome","auto-monochrome"]},"print-content-optimize-default":{"tag":68,"value":["photo","auto"]},"print-content-optimize-supported":{"tag":68,"value":["photo","auto"]},"print-quality-default":{"tag":35,"value":4},"print-quality-supported":{"tag":35,"value":[4]},"print-scaling-default":{"tag":68,"value":"auto"},"print-scaling-supported":{"tag":68,"value":["auto","auto-fit","fill","fit","none"]},"print_wfds":{"tag":65,"value":"T"},"printer-device-id":{"tag":65,"value":"MFG:Canon;CMD:URF;MDL:SELPHY CP1500;CLS:PRINTER;URF:W8,SRGB24,V1.5,RS300,IS7,MT11,PQ4,OB9,IFU0,OFU0,CP99;"},"printer-dns-sd-name":{"tag":66,"value":"Canon SELPHY CP1500"},"printer-firmware-name":{"tag":66,"value":["External Firm ver, Internal Firm ver"]},"printer-firmware-patches":{"tag":65,"value":[""]},"printer-firmware-string-version":{"tag":65,"value":["1.0.2.0, 1.33"]},"printer-firmware-version":{"tag":48,"value":["01000200,0121"]},"printer-geo-location":{"tag":69,"value":"geo:0.0000000,0.0000000,0;u=0"},"printer-icons":{"tag":69,"value":["http://192.168.178.32/ipp/icons/48_48.png","http://192.168.178.32/ipp/icons/128_128.png","http://192.168.178.32/ipp/icons/512_512.png"]},"printer-info":{"tag":65,"value":"Canon SELPHY CP1500"},"printer-input-tray":{"tag":48,"value":"type=sheetFeedAutoRemovableTray;mediafeed=300;mediaxfeed=300;maxcapacity=18;level=-2;status=0;name=InputTray;index=1;dimunit=tenThousandthsOfInches;unit=sheets;medianame=jpn_hagaki_100x148mm;mediaweight=-2;mediatype=photographic;mediacolor=white;"},"printer-is-accepting-jobs":{"tag":34,"value":true},"printer-kind":{"tag":68,"value":"photo"},"printer-location":{"tag":65,"value":""},"printer-make-and-model":{"tag":65,"value":"Canon SELPHY CP1500 HTTP"},"printer-more-info":{"tag":69,"value":"http://192.168.178.32:8008/index.html"},"printer-name":{"tag":66,"value":"Canon SELPHY CP1500"},"printer-output-tray":{"tag":48,"value":"type=removableBin;maxcapacity=-2;remaining=-2;status=0;name=OutputTray;index=1;dimunit=sheets;unit=sheets;stackingorder=firstToLast;pagedelivery=faceUp;offsetstacking=notPresent;"},"printer-resolution-default":{"tag":50,"value":{"units":3,"x":300,"y":300}},"printer-resolution-supported":{"tag":50,"value":[{"units":3,"x":300,"y":300}]},"printer-state":{"tag":35,"value":3},"printer-state-reasons":{"tag":68,"value":["none"]},"printer-supply":{"tag":48,"value":"index=1;class=other;type=inkRibbon;unit=sheets;maxcapacity=36;level=-2;colorantindex=1;colorantrole=other;colorantname=other;coloranttonality=128;"},"printer-supply-info-uri":{"tag":69,"value":"http://192.168.178.32:8008/supply/ink_content.html"},"printer-up-time":{"tag":33,"value":1964},"printer-uri-supported":{"tag":69,"value":["ipp://192.168.178.32:631/ipp/print","ipps://192.168.178.32:443/ipp/print"]},"printer-uuid":{"tag":69,"value":"urn:uuid:e449af80-bb08-41a9-96ae-5c625afc63cc"},"pwg-raster-document-resolution-supported":{"tag":50,"value":[{"units":3,"x":300,"y":300}]},"pwg-raster-document-type-supported":{"tag":68,"value":["rgb_8"]},"queued-job-count":{"tag":33,"value":0},"sides-default":{"tag":68,"value":"one-sided"},"sides-supported":{"tag":68,"value":["one-sided"]},"urf-supported":{"tag":68,"value":["W8","SRGB24","V1.5","RS300","IS7","MT11","PQ4","OB9","IFU0","OFU0","CP99"]},"uri-authentication-supported":{"tag":68,"value":["none","none"]},"uri-security-supported":{"tag":68,"value":["none","tls"]}})
[D] unknown:0 - QUrl("http://192.168.178.32/ipp/icons/128_128.png")  is allowed:  true
[D] unknown:0 - additionalDocumentFormats ()
*   Trying 192.168.178.32:80...
* Connected to 192.168.178.32 (192.168.178.32) port 80 (#0)
> GET /ipp/icons/128_128.png HTTP/1.1
Host: 192.168.178.32
Accept: */*
attah commented 1 year ago

The debug info that is most interesting is that which you get in-app. See readme. It should have been here too though, but maybe you didn't enable debug logs?

poetaster commented 1 year ago

The debug info that is most interesting is that which you get in-app. See readme. It should have been here too though, but maybe you didn't enable debug logs?

This is the output on the cli after enabling debug in settings and starting with 'harbour-seaprint'. I just dumped the stuff relevant to the selphy .... QJsonObject ....

attah commented 1 year ago

My bad, no linewrap made it all but invisible.