UPDATE: Cups class physical destination
Not that long ago I was searching for a way to find the printer a job sent to a CUPS class printed to. After poking around on the cups.org forums, Michael Sweet responded with information about the “job-actual-printer-uri” IPP attribute. The code is something like: self.cups = cups.Connection() def getActualPrinter(self, jobid): job_attributes = self.cups.getJobAttributes(jobid) return … [Read more…]