Basically, I'm trying to make an event based system with pywin32 that handles spooled files that are to be printed. Users often print under the impression that their document has yet to emerge from the printer when it is in fact in queue. I'm creating a script that polls print jobs, saves them in a Mongo DB as needed, and prompts the user to reconsider another print job for a duplicate document.
However, I'm running into some problems distinguishing documents as unique because the print job could have the same document name but the files could be in different directories. Additionally, I have no idea how to temporarily halt spooling until the user has confirmed their decision. Does anyone have any idea how to distinguish documents as unique and how to temporarily halt spooling as described? -- https://mail.python.org/mailman/listinfo/python-list