Hopefully this will be useful for someone else with a Lexmark printer. I thought I had established a network connection with my printer, but in fact I was still using the USB connection. The working configuration for me in my case was to use jetdirect:
That's it, I was trying to use:
But after inspecting with wireshark, I saw that the embedded web server didn't understand that request.
Code:
<Printer LEXMARK_C3426_NETWORK>
PrinterId 3
UUID urn:uuid:<UUID GOES HERE>
Info Lexmark C3426
Location basement
DeviceURI socket://<PRINTER-IP>
State Idle
StateTime 1645674159
ConfigTime 1598867536
Type 8388612
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>
That's it, I was trying to use:
Code:
ipp://<PRINTER-IP>/ipp/print
But after inspecting with wireshark, I saw that the embedded web server didn't understand that request.