-
-
Notifications
You must be signed in to change notification settings - Fork 62
Raw socket gets data, but does not send data to printer #331
Copy link
Copy link
Closed
Description
Describe the bug
Printing via raw socket does not work, because file is not sent to the device. This current behavior was seen when using lprint, but probably all PAPPL based printer applications are affected.
To Reproduce
Steps to reproduce the behavior:
- start
lprint serverwith-o server-options=raw-socket - install a printer via
http://localhost:8000- Zebra GK420t in my case (driver ZPL, 4inch, 203dpi) - check services on mDNS, f.e. via
avahi-browse -avrton Linux:
= lo IPv4 zebra _pdl-datastream._tcp local
hostname = [fedora-home.local]
address = [127.0.0.1]
port = [9101]
txt = ["Scan=F" "PaperMax=<legal-A4" "Fax=F" "product=(Zebra ZPL 4-inch/203dpi/Direct-Thermal)" "priority=100" "qtotal=1" "txtvers=1" "Duplex=F" "Color=F" "UUID=cbf40622-39e6-3048-6ec7-0e9171137724" "pdl=image/pwg-raster,image/urf,application/vnd.zebra-zpl,application/vnd.lprint-test,image/jpeg,image/png" "note=" "adminurl=http://fedora-home.local:8000/zebra/" "ty=Zebra ZPL 4-inch/203dpi/Direct-Thermal"]
- send file via netcat
$ netcat 127.0.0.1 9101 < <zpl file>
- Nothing is printed
Expected behavior
Printer-ready file will be printed
System Information:
- OS: Fedora Linux 39
- Browser Firefox
- lprint 1.2.0
- pappl 1.4.4
Additional context
Attaching debug log from lprint and packet capture between my machine and printer - first it is attempt to send the file via lprint raw socket, then, after approx. 10s, I sent the same file directly to the printer via netcat. I can see in the log that the file is sent to the destination in both cases, but no activity after that in lprint case.
Reactions are currently unavailable