nmap
nmap copied to clipboard
Inform probe of HP's other PJL port
Some HP printers (at the least, LaserJet Pro CP1525nw and LaserJet CP2025dn) listen for PJL on a secondary port, 9999. This PR adds that port to the PJL probe list, so it gets caught earlier in the process and doesn't cause the device to churn out as many pages. Quick adhoc testing showed the page output drop from about 100 down to 10 or so.
FWIW, this appears to be a pretty rare issue, and I couldn't find anywhere in the printer manuals describing this; most of the research actually pointed me to this thread from the 2009 mailing list.