Forum Discussion
Oferv
14 years agoSuper Contributor
Hi Helen,
After talking to the developer who's responssible for this application he told be that the best way to check if a document has finish printing is to go over the print queue and see if the document is still there.if it's gone from the list it means it finish printing.I've tried to search for a script who do that and i found this http://www.pcreview.co.uk/forums/detect-print-job-completion-vbscript-t1573152.html but, i have no idea how to convert this code to something i need.If you can help me do that i'll be happy.I need to sample the print queue every 500 milliseconds and check if a file(using the file name)is still on the list,if so hang the script execution if not sample the file size.
Thanks for the help
After talking to the developer who's responssible for this application he told be that the best way to check if a document has finish printing is to go over the print queue and see if the document is still there.if it's gone from the list it means it finish printing.I've tried to search for a script who do that and i found this http://www.pcreview.co.uk/forums/detect-print-job-completion-vbscript-t1573152.html but, i have no idea how to convert this code to something i need.If you can help me do that i'll be happy.I need to sample the print queue every 500 milliseconds and check if a file(using the file name)is still on the list,if so hang the script execution if not sample the file size.
Thanks for the help