5

I'm writing an application that sends print jobs over IPP to an LPR print server. I need a way to monitor the traffic going between that server and my development box. Right now I'm just sending jobs from the command line with the lpr command.

I've tried setting up Wireshark, but I can't find anything at all going to the IP address of the print server. Besides that, the Wireshark output is a little overwhelming, as I'm not sure what protocols I need to be paying attention to for IPP traffic.

What protocols do I need to be watching? Are there caveats of which I should be aware?

Steve Nay
  • 265

2 Answers2

2

IPP is HTTP over port 631.

1

IPP as a standard uses port 631.

If your print server is CUPS, watch out for TCP as well as UDP. Also, in your cupsd.conf you could have an admin switched to a different port for IPP.

Windows also can pose as an IPP print server. But Microsoft supports IPP/1.0 only (which never became a Standard on the IETF, 1.0 always remained a Draft -- the first official standard was IPP/1.1). And Microsoft uses port 80, not 631.

Kurt Pfeifle
  • 13,079