主权项 |
1. A method comprising:
receiving, by a target printing device, a print job, wherein the print job is associated with one or more printing preferences; determining, by the target printing device, to redirect the print job; querying, by the target printing device, one or more network entities for printing capabilities of one or more candidate printing devices, wherein querying the one or more network entities for the printing capabilities of the one or more candidate printing devices comprises (i) querying a network topology management device for a list of devices, (ii) identifying a set of candidate printing devices from the listed devices, and (iii) querying each of the set of candidate printing devices for their respective printing capabilities, wherein the network topology management device is a network switch device, wherein querying the network topology management device for the list of devices comprises performing a Simple Network Management Protocol (SNMP) walk on a bridge Management Information Base (MIB) of the network switch device to discover addresses of each of the set of candidate printing devices, and wherein querying each of the set of candidate printing devices for their respective printing capabilities comprises performing an SNMP walk of printer MIBs of each of the set of candidate printing devices; based on a comparison between the printing preferences and the printing capabilities of the one or more candidate printing devices, selecting one of the one or more candidate printing devices for redirection of the print job, wherein the printing capabilities of the selected printing device meet the printing preferences; and transmitting, by the target printing device, the print job to the selected printing device. |