[cups] Windows 10 LPD service rejects CUPS lpd backend jobs

Matthias Apitz guru at unixarea.de
Thu Jun 6 06:08:51 PDT 2019


Hello,

I know this isn't strictly a CUPS error, but maybe someone has already
faced the same situation and knows the solution.

We print (among to other devices) to printers attached via USB to Win10
PCs. A TCPDUMP shows that the first 8 byte job information gets send to
the PC to port 515, but LPD service answers with hex 01, i.e. NAK:

...
13:23:09.556229 IP 172.16.224.250.1023 > 172.16.99.22.515: Flags [P.], seq 1:9, ack 1, win 229, length 8
        0x0000:  4500 0030 4109 4000 4006 5d8d ac10 e0fa  E..0A. at .@.].....
        0x0010:  ac10 6316 03ff 0203 4e61 0c2b 897e 024c  ..c.....Na.+.~.L
        0x0020:  5018 00e5 9c54 0000 024d 4643 4c50 520a  P....T...MFCLPR.
13:23:09.608840 IP 172.16.99.22.515 > 172.16.224.250.1023: Flags [.], ack 9, win 2053, length 0
        0x0000:  4500 0028 6320 4000 8006 fb7d ac10 6316  E..(c. at ....}..c.
        0x0010:  ac10 e0fa 0203 03ff 897e 024c 4e61 0c33  .........~.LNa.3
        0x0020:  5010 0805 1f3d 0000 0000 0000 0000       P....=........
13:23:10.588580 IP 172.16.99.22.515 > 172.16.224.250.1023: Flags [P.], seq 1:2, ack 9, win 2053, length 1
        0x0000:  4500 0029 6321 4000 8006 fb7b ac10 6316  E..)c!@....{..c.
        0x0010:  ac10 e0fa 0203 03ff 897e 024c 4e61 0c33  .........~.LNa.3
        0x0020:  5018 0805 1e34 0000 0100 0000 0000       P....4........
                                     ^^
13:23:10.588594 IP 172.16.99.22.515 > 172.16.224.250.1023: Flags [F.], seq 2, ack 9, win 2053, length 0
...

The queue name 'MFCLPR' is fine and the M$ LPD service is running.

Any ideas?

	matthias
-- 
Matthias Apitz, ✉ guru at unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
May, 9: Спаси́бо освободители! Thank you very much, Russian liberators!


More information about the cups mailing list