You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace PRINTER-IP with the printer's address and attach the complete output. That will tell us whether MintPRINT needs another endpoint/protocol compatibility change or whether the XP-345 is advertising discovery without exposing a usable IPP capability service.
@anakondase
Thanks for this update.
The printer is refusing HTTP connections
On your printer could you do this
Open Epson Web Config and look under the IPP/protocol settings for Allow Non-secure Communication. Epson documents that exact option: enabling it permits ordinary unencrypted IPP.
This should fix MintPRINT to work with it.
For a future version I could add AmiSSL in to it - to support HTTPS printers like this Epson directly.
So yeah this is a usability bug - the test print only goes off the active unit - so pressing activate on unit 1, would then make the test print come out.
should be fixed in #98 - Will test tonight
Activity
anakondase commentedon Sep 1, 2026
Query in Mintprint doesn't produce anything in the log and all I get is "Scan failed - please try query again"
Running the py script in windows only gives me this:
ERROR: IPP query failed: IPP response is shorter than the 8-byte header.
Add temporary issue #75 patch applicator
Run issue #75 patch applicator
Fix issue #75 patch applicator anchor
boingball commentedon Sep 1, 2026
Should be fixed in test build 1.3.0e
https://github.com/boingball/MintPRINT/releases/download/1.3.0RC/MintPRINT1.3.0e.lha
Uploading to beta branch now
anakondase commentedon Sep 2, 2026
No change.
Improve IPP endpoint diagnostics for issue #75
boingball commentedon Sep 2, 2026
Thanks for testing 1.3.0 — that confirms the first compatibility fix did not reach the actual failure.
I have opened PR #90 with a more useful diagnostic probe. It keeps the normal probe unchanged, but adds a read-only
--diagnosemode that:After PR #90 is merged, please run this from a Windows PC on the same network:
Replace
PRINTER-IPwith the printer's address and attach the complete output. That will tell us whether MintPRINT needs another endpoint/protocol compatibility change or whether the XP-345 is advertising discovery without exposing a usable IPP capability service.Merge pull request #90 from boingball/fix/issue-75-probe-diagnostics
anakondase commentedon Sep 3, 2026
This is what I got from running the script.
ERROR: IPP query failed: IPP response is shorter than the 8-byte header (0 bytes; check the advertised rp= path/port)
/ipp/print IPP/1.1 -> HTTP 426 Upgrade Required; bytes=0; Content-Type=application/ipp; Content-Length=0; Server=Epson_IPP-Server/2.0.0; Location=
hex= ascii=Endpoint/version diagnostics (read-only Get-Printer-Attributes requests)
/ipp/print IPP/1.1 -> HTTP 426 Upgrade Required; bytes=0; Content-Type=application/ipp; Content-Length=0; Server=Epson_IPP-Server/2.0.0; Location=; parse-error=IPP response is shorter than the 8-byte header (0 bytes; check the advertised rp= path/port)
hex= ascii=
/ipp/print IPP/1.0 -> HTTP 426 Upgrade Required; bytes=0; Content-Type=application/ipp; Content-Length=0; Server=Epson_IPP-Server/2.0.0; Location=; parse-error=IPP response is shorter than the 8-byte header (0 bytes; check the advertised rp= path/port)
hex= ascii=
/ipp/print IPP/2.0 -> HTTP 426 Upgrade Required; bytes=0; Content-Type=application/ipp; Content-Length=0; Server=Epson_IPP-Server/2.0.0; Location=; parse-error=IPP response is shorter than the 8-byte header (0 bytes; check the advertised rp= path/port)
hex= ascii=
/ipp IPP/1.1 -> HTTP 426 Upgrade Required; bytes=0; Content-Type=application/ipp; Content-Length=0; Server=Epson_IPP-Server/2.0.0; Location=; parse-error=IPP response is shorter than the 8-byte header (0 bytes; check the advertised rp= path/port)
hex= ascii=
/ipp IPP/1.0 -> ERROR: [WinError 10054] En befintlig anslutning tvingades att stänga av fjärrvärddatorn
/ipp IPP/2.0 -> ERROR: [WinError 10054] En befintlig anslutning tvingades att stänga av fjärrvärddatorn
/printers/print IPP/1.1 -> HTTP 426 Upgrade Required; bytes=0; Content-Type=application/ipp; Content-Length=0; Server=Epson_IPP-Server/2.0.0; Location=; parse-error=IPP response is shorter than the 8-byte header (0 bytes; check the advertised rp= path/port)
hex= ascii=
/printers/print IPP/1.0 -> HTTP 426 Upgrade Required; bytes=0; Content-Type=application/ipp; Content-Length=0; Server=Epson_IPP-Server/2.0.0; Location=; parse-error=IPP response is shorter than the 8-byte header (0 bytes; check the advertised rp= path/port)
hex= ascii=
/printers/print IPP/2.0 -> HTTP 426 Upgrade Required; bytes=0; Content-Type=application/ipp; Content-Length=0; Server=Epson_IPP-Server/2.0.0; Location=; parse-error=IPP response is shorter than the 8-byte header (0 bytes; check the advertised rp= path/port)
hex= ascii=
/printers/EPSON_XP-345 IPP/1.1 -> HTTP 426 Upgrade Required; bytes=0; Content-Type=application/ipp; Content-Length=0; Server=Epson_IPP-Server/2.0.0; Location=; parse-error=IPP response is shorter than the 8-byte header (0 bytes; check the advertised rp= path/port)
hex= ascii=
/printers/EPSON_XP-345 IPP/1.0 -> HTTP 426 Upgrade Required; bytes=0; Content-Type=application/ipp; Content-Length=0; Server=Epson_IPP-Server/2.0.0; Location=; parse-error=IPP response is shorter than the 8-byte header (0 bytes; check the advertised rp= path/port)
hex= ascii=
/printers/EPSON_XP-345 IPP/2.0 -> ERROR: [WinError 10054] En befintlig anslutning tvingades att stänga av fjärrvärddatorn
boingball commentedon Sep 3, 2026
@anakondase
Thanks for this update.
The printer is refusing HTTP connections
On your printer could you do this
Open Epson Web Config and look under the IPP/protocol settings for Allow Non-secure Communication. Epson documents that exact option: enabling it permits ordinary unencrypted IPP.
This should fix MintPRINT to work with it.
For a future version I could add AmiSSL in to it - to support HTTPS printers like this Epson directly.
anakondase commentedon Sep 4, 2026
Oh, I didn't even know about web config.
Now I got this output:
MintPRINT IPP Capability Probe v2.4
Connection
Transport URL: http://xxxx:631/ipp/print
Printer URI: ipp://xxxx/ipp/print
HTTP status: 200 OK
IPP version: 1.1
IPP status: successful-ok (0x0000)
IPP response bytes: 8088
Printer
Name: ipp/print
Make / model: EPSON XP-342 343 345 Series
Info: EPSON XP-342 343 345 Series
Location:
Printer URI(s): ipps://xxxx:631/ipp/print, ipp://xxxx:631/ipp/print
IPP versions: 1.0, 1.1, 2.0
URI security: tls, none
URI authentication: none, none
State: idle (3)
State reasons: none
Accepting jobs: yes
Queued jobs: 0
Ink/toner status (RFC 3805 / PWG5100.13)
Marker names: Black ink, Cyan ink, Magenta ink, Yellow ink
Marker colors: #000000, #00FFFF, #FF00FF, #FFFF00
Marker types: ink-cartridge, ink-cartridge, ink-cartridge, ink-cartridge
Marker levels: 89, 28, 28, 39
Marker low levels: 15, 15, 15, 15
Marker high levels: 100, 100, 100, 100
Document formats
Default: application/octet-stream
Preferred: image/urf
Supported: application/octet-stream, image/pwg-raster, image/urf, image/jpeg
MintPRINT engine compatibility
JPEG (image/jpeg): YES
PostScript: NO
PWG Raster: YES
PDF (application/pdf): NO
Apple Raster (image/urf): YES
JPEG size limit: 0..16384
JPEG width limit: 0..15000
JPEG height limit: 1..15000
PWG raster type(s): sgray_8, srgb_8
PWG resolution(s): 360x360 dpi
PWG sheet-back: rotated
URF: CP1, PQ4-5, OB9, OFU0, RS360, SRGB24, W8, IS1, V1.4, MT1-3-8-10-11-12
PDF versions: none
Page / media geometry
Media default: iso_a4_210x297mm
Media ready: iso_a4_210x297mm
Media supported: iso_a4_210x297mm, na_index-4x6_4x6in, na_5x7_5x7in, na_govt-letter_8x10in, om_hivision_101.6x180.6mm, iso_a5_148x210mm, iso_a6_105x148mm, jis_b5_182x257mm, na_legal_8.5x14in, na_letter_8.5x11in, oe_photo-l_3.5x5in, jpn_hagaki_100x148mm, na_number-10_4.125x9.5in, iso_c6_114x162mm, iso_dl_110x220mm, na_index-5x8_5x8in, custom_min_89x127mm, custom_max_215.9x1117.6mm
Source default:
Sources supported: main
Media type default:
Media types: stationery, photographic, photographic-high-gloss, photographic-semi-gloss, photographic-glossy, photographic-matte, envelope
Resolution default: 360x360 dpi
Resolutions supported: 360x360 dpi, 720x720 dpi, 1440x720 dpi
Left margins: 0, 300
Right margins: 0, 300
Top margins: 0, 300
Bottom margins: 0, 300
Media-col default:
media-bottom-margin: 300
media-left-margin: 300
media-right-margin: 300
media-size:
x-dimension: 21000
y-dimension: 29700
media-source: main
media-top-margin: 300
media-type: stationery
Job options
Colour supported: yes
Colour mode default: auto
Colour modes: color, monochrome, auto-monochrome, process-monochrome, auto
Quality default: normal (4)
Quality supported: normal (4), high (5)
Scaling default: auto
Scaling supported: auto, auto-fit, fill, fit, none
Orientation default: portrait (3)
Orientations: portrait (3)
Sides default: one-sided
Sides supported: one-sided
Multi-doc jobs: no
Multi-doc handling:
Copies supported: 1..99
Output bins: face-up
IPP operations
Print-Job: YES
Validate-Job: YES
Create-Job: YES
Send-Document: YES
Get-Printer-Attributes: YES
Advertised: Print-Job (0x0002), Validate-Job (0x0004), Create-Job (0x0005), Send-Document (0x0006), Cancel-Job (0x0008), Get-Job-Attributes (0x0009), Get-Jobs (0x000a), Get-Printer-Attributes (0x000b), op (0x003b), op (0x003c)
MintPRINT diagnostic summary
Page-geometry data: captured
No obvious IPP capability problem found.
All parsed IPP attributes
[operation-attributes]
attributes-charset = utf-8
attributes-natural-language = en
[printer-attributes]
charset-configured = utf-8
charset-supported = utf-8
color-supported = yes
compression-supported = none, gzip
copies-default = 1
copies-supported = 1..99
document-format-default = application/octet-stream
document-format-preferred = image/urf
document-format-supported = application/octet-stream, image/pwg-raster, image/urf, image/jpeg
document-format-varying-attributes = copies
finishings-default = 3
finishings-supported = 3
generated-natural-language-supported = en
identify-actions-default = flash
identify-actions-supported = flash
ipp-features-supported = wfds-print-1.0, airprint-1.6
ipp-versions-supported = 1.0, 1.1, 2.0
job-creation-attributes-supported = copies, finishings, ipp-attribute-fidelity, job-name, media, media-col, orientation-requested, output-bin, print-quality, printer-resolution, sides, print-color-mode, print-content-optimize, print-scaling, job-mandatory-attributes
jpeg-features-supported = none
jpeg-k-octets-supported = 0..16384
jpeg-x-dimension-supported = 0..15000
jpeg-y-dimension-supported = 1..15000
landscape-orientation-requested-preferred = 5
marker-colors = #000000, #00FFFF, #FF00FF, #FFFF00
marker-high-levels = 100, 100, 100, 100
marker-levels = 89, 28, 28, 39
marker-low-levels = 15, 15, 15, 15
marker-names = Black ink, Cyan ink, Magenta ink, Yellow ink
marker-types = ink-cartridge, ink-cartridge, ink-cartridge, ink-cartridge
media-bottom-margin-supported = 0, 300
media-col-default:
media-bottom-margin: 300
media-left-margin: 300
media-right-margin: 300
media-size:
x-dimension: 21000
y-dimension: 29700
media-source: main
media-top-margin: 300
media-type: stationery
media-col-ready:
media-bottom-margin: 300
media-left-margin: 300
media-right-margin: 300
media-size:
x-dimension: 21000
y-dimension: 29700
media-source: main
media-top-margin: 300
media-type: stationery
media-col-supported = media-size, media-top-margin, media-left-margin, media-right-margin, media-bottom-margin, media-type, media-source
media-default = iso_a4_210x297mm
media-left-margin-supported = 0, 300
media-ready = iso_a4_210x297mm
media-right-margin-supported = 0, 300
media-size-supported:
x-dimension: 21000
y-dimension: 29700
x-dimension: 10160
y-dimension: 15240
x-dimension: 12700
y-dimension: 17780
x-dimension: 20320
y-dimension: 25400
x-dimension: 10160
y-dimension: 18060
x-dimension: 14800
y-dimension: 21000
x-dimension: 10500
y-dimension: 14800
x-dimension: 18200
y-dimension: 25700
x-dimension: 21590
y-dimension: 35560
x-dimension: 21590
y-dimension: 27940
x-dimension: 8890
y-dimension: 12700
x-dimension: 10000
y-dimension: 14800
x-dimension: 10477
y-dimension: 24130
x-dimension: 11400
y-dimension: 16200
x-dimension: 11000
y-dimension: 22000
x-dimension: 12700
y-dimension: 20320
x-dimension:
lower: 8900
upper: 21590
y-dimension:
lower: 12700
upper: 111760
media-source-supported = main
media-supported = iso_a4_210x297mm, na_index-4x6_4x6in, na_5x7_5x7in, na_govt-letter_8x10in, om_hivision_101.6x180.6mm, iso_a5_148x210mm, iso_a6_105x148mm, jis_b5_182x257mm, na_legal_8.5x14in, na_letter_8.5x11in, oe_photo-l_3.5x5in, jpn_hagaki_100x148mm, na_number-10_4.125x9.5in, iso_c6_114x162mm, iso_dl_110x220mm, na_index-5x8_5x8in, custom_min_89x127mm, custom_max_215.9x1117.6mm
media-top-margin-supported = 0, 300
media-type-supported = stationery, photographic, photographic-high-gloss, photographic-semi-gloss, photographic-glossy, photographic-matte, envelope
mopria-certified = mopria-certified 1.3
multiple-document-jobs-supported = no
multiple-operation-time-out = 120
multiple-operation-time-out-action = abort-job
natural-language-configured = en
operations-supported = 2, 4, 5, 6, 8, 9, 10, 11, 59, 60
orientation-requested-default = 3
orientation-requested-supported = 3
output-bin-default = face-up
output-bin-supported = face-up
pages-per-minute = 4
pages-per-minute-color = 9
pdf-versions-supported = none
pdl-override-supported = attempted
print-color-mode-default = auto
print-color-mode-supported = color, monochrome, auto-monochrome, process-monochrome, auto
print-content-optimize-default = auto
print-content-optimize-supported = auto
print-quality-default = 4
print-quality-supported = 4, 5
print-scaling-default = auto
print-scaling-supported = auto, auto-fit, fill, fit, none
printer-alert = code=other
printer-alert-description = idle
printer-config-change-date-time = 2026-09-04T08:04:49.0+00:00
printer-config-change-time = 121105
printer-current-time = 2026-09-04T08:06:14.0+00:00
printer-device-id = MFG:EPSON;CMD:ESCPL2,BDC,D4,D4PX,ESCPR1,END4,GENEP,URF;MDL:XP-342 343 345 Series;CLS:PRINTER;DES:EPSON XP-342 343 345 Series;CID:EpsonRGB;FID:FXN,DPN,WFA,ETN,AFN,DAN,WRA;RID:40;DDS:022500;ELG:0E11;SN:583243543134343565;URF:CP1,PQ4-5,OB9,OFU0,RS360,SRGB24,W8,IS1,V1.4,MT1-3-8-10-11-12;
printer-dns-sd-name = EPSON XP-342 343 345 Series
printer-firmware-name = Firmware
printer-firmware-string-version = 20.24.JU05IA
printer-firmware-version = 000020240000IA050000000000000000
printer-geo-location =
printer-get-attributes-supported = document-format
printer-icons = https://xxxx:443/PRESENTATION/AIRPRINT/PRINTER_128.PNG, https://xxxx:443/PRESENTATION/AIRPRINT/PRINTER_512.PNG
printer-info = EPSON XP-342 343 345 Series
printer-input-tray = type=sheetFeedAutoNonRemovableTray;dimunit=micrometers;mediafeed=297000;mediaxfeed=210000;maxcapacity=-2;level=-2;status=0;name=Rear Auto Sheet Feeder;
printer-is-accepting-jobs = yes
printer-kind = document, envelope, photo
printer-location =
printer-make-and-model = EPSON XP-342 343 345 Series
printer-more-info = http://xxxx:80/PRESENTATION/BONJOUR
printer-name = ipp/print
printer-organization =
printer-organizational-unit =
printer-output-tray = type=unRemovableBin;maxcapacity=-2;remaining=-2;status=0;name=Output Front;stackingorder=lastToFirst;pagedelivery=faceUp;
printer-resolution-default = 360x360 dpi
printer-resolution-supported = 360x360 dpi, 720x720 dpi, 1440x720 dpi
printer-state = 3
printer-state-change-date-time = 2026-09-03T21:45:44.0+00:00
printer-state-change-time = 84585
printer-state-reasons = none
printer-strings-languages-supported = en, fr, de, it, es, pt, nl, ru, no, sv, fi, pl, cs, hu, da, tr, el, sk, ro, uk, ar, zh-tw, zh-cn, ko
printer-strings-uri = http://xxxx:80/LANGUAGES/IPP?LANG=en
printer-supply-info-uri = http://xxxx:80/PRESENTATION/HTML/TOP/PRTINFO.HTML
printer-up-time = 121189
printer-uri-supported = ipps://xxxx:631/ipp/print, ipp://xxxx:631/ipp/print
printer-uuid = urn:uuid:cfe92100-67c4-11d4-a45f-9caed37022ca
pwg-raster-document-resolution-supported = 360x360 dpi
pwg-raster-document-sheet-back = rotated
pwg-raster-document-type-supported = sgray_8, srgb_8
queued-job-count = 0
sides-default = one-sided
sides-supported = one-sided
urf-supported = CP1, PQ4-5, OB9, OFU0, RS360, SRGB24, W8, IS1, V1.4, MT1-3-8-10-11-12
uri-authentication-supported = none, none
uri-security-supported = tls, none
which-jobs-supported = completed, not-completed
Endpoint/version diagnostics (read-only Get-Printer-Attributes requests)
/ipp/print IPP/1.1 -> HTTP 200 OK; bytes=4996; Content-Type=application/ipp; Content-Length=4996; Server=Epson_IPP-Server/2.0.0; Location=; IPP=successful-ok (0x0000)
hex=01 01 00 00 00 00 03 8f 01 47 00 12 61 74 74 72 69 62 75 74 65 73 2d 63 68 61 72 73 65 74 00 05 75 74 66 2d 38 48 00 1b 61 74 74 72 69 62 75 74 65 73 2d 6e 61 74 75 72 61 6c 2d 6c 61 6e 67 75 ascii=.........G..attributes-charset..utf-8H..attributes-natural-langu
/ipp/print IPP/1.0 -> HTTP 200 OK; bytes=4996; Content-Type=application/ipp; Content-Length=4996; Server=Epson_IPP-Server/2.0.0; Location=; IPP=successful-ok (0x0000)
hex=01 00 00 00 00 00 03 8e 01 47 00 12 61 74 74 72 69 62 75 74 65 73 2d 63 68 61 72 73 65 74 00 05 75 74 66 2d 38 48 00 1b 61 74 74 72 69 62 75 74 65 73 2d 6e 61 74 75 72 61 6c 2d 6c 61 6e 67 75 ascii=.........G..attributes-charset..utf-8H..attributes-natural-langu
/ipp/print IPP/2.0 -> HTTP 200 OK; bytes=4996; Content-Type=application/ipp; Content-Length=4996; Server=Epson_IPP-Server/2.0.0; Location=; IPP=successful-ok (0x0000)
hex=02 00 00 00 00 00 03 98 01 47 00 12 61 74 74 72 69 62 75 74 65 73 2d 63 68 61 72 73 65 74 00 05 75 74 66 2d 38 48 00 1b 61 74 74 72 69 62 75 74 65 73 2d 6e 61 74 75 72 61 6c 2d 6c 61 6e 67 75 ascii=.........G..attributes-charset..utf-8H..attributes-natural-langu
/ipp IPP/1.1 -> HTTP 404 Not Found; bytes=0; Content-Type=application/ipp; Content-Length=0; Server=Epson_IPP-Server/2.0.0; Location=; parse-error=IPP response is shorter than the 8-byte header (0 bytes; check the advertised rp= path/port)
hex= ascii=
/ipp IPP/1.0 -> ERROR: [WinError 10054] En befintlig anslutning tvingades att stänga av fjärrvärddatorn
/ipp IPP/2.0 -> HTTP 404 Not Found; bytes=0; Content-Type=application/ipp; Content-Length=0; Server=Epson_IPP-Server/2.0.0; Location=; parse-error=IPP response is shorter than the 8-byte header (0 bytes; check the advertised rp= path/port)
hex= ascii=
/printers/print IPP/1.1 -> HTTP 404 Not Found; bytes=0; Content-Type=application/ipp; Content-Length=0; Server=Epson_IPP-Server/2.0.0; Location=; parse-error=IPP response is shorter than the 8-byte header (0 bytes; check the advertised rp= path/port)
hex= ascii=
/printers/print IPP/1.0 -> ERROR: [WinError 10054] En befintlig anslutning tvingades att stänga av fjärrvärddatorn
/printers/print IPP/2.0 -> ERROR: [WinError 10054] En befintlig anslutning tvingades att stänga av fjärrvärddatorn
/printers/EPSON_XP-345 IPP/1.1 -> ERROR: [WinError 10054] En befintlig anslutning tvingades att stänga av fjärrvärddatorn
/printers/EPSON_XP-345 IPP/1.0 -> ERROR: [WinError 10054] En befintlig anslutning tvingades att stänga av fjärrvärddatorn
/printers/EPSON_XP-345 IPP/2.0 -> HTTP 404 Not Found; bytes=0; Content-Type=application/ipp; Content-Length=0; Server=Epson_IPP-Server/2.0.0; Location=; parse-error=IPP response is shorter than the 8-byte header (0 bytes; check the advertised rp= path/port)
hex= ascii=
And Mintprint found the printer now,
One thing though, making a test print sends the page to my Brother which is set as 0 while under the Epson which is set as 1.
boingball commentedon Sep 4, 2026
So yeah this is a usability bug - the test print only goes off the active unit - so pressing activate on unit 1, would then make the test print come out.
should be fixed in #98 - Will test tonight
anakondase commentedon Sep 4, 2026
Right, forgot about that.
Though, doing that now I only get a message: "could not copy unit1 to unit0" so testprint comes to the other printer anyway.
boingball commentedon Sep 4, 2026
Could you test my latest build v1.3.3 - https://github.com/boingball/MintPRINT/releases/download/1.3.3/MintPRINT.lha
Hopefully this fixes the issues you have logged
anakondase commentedon Sep 5, 2026
Yes, works now. Thanks. I got two pages out of the Epson though. Not sure what is on the second since the ink is very weak.
When I have time I'm gonna take the printer apart to see if I can clean the printhead properly since the internal cleaning doesn't quite work.
boingball commentedon Sep 5, 2026
Thanks so much for confirming. I'll close this issue off and release 1.3.3 to Aminet