A port monitor allows a computer, digital camera, or other device to send
a print job to a target printer, where the only known information about
the printer is its network address. Communication is attempted to the
network address, sequentially using each of a plurality of port numbers.
If none of the plurality of port numbers is successful in initiating
communication to the network address, communication to the network
address is attempted using an LPR port number, sequentially using each of
a plurality of LPR queue names.