General information
Category:
Coding, syntax & commands
>>Hello Sergey
>>
>>in Frequently Asked Questions (FAQ ID: 8114) i found your "How can I get the number of jobs in print queue".
>>
>>I got 2 questions for it:
>>
>>1st) shouldn't you be closing the printer handel at the end? looks like this happens only if an error occurs at the end.
>
>Yes, there should be and there is as of now. :)
>
>>2nd) if a printer can not be found, maybe because the host computer is off, or the printer path is incorrect, etc., with a list of 47 network printers (about 10 not found) it takes about 5 minutes to process all (on a 1.6GHz machine). any idea on how to speed this up?
>
>Not at the moment.
thanks
i have added this in my app, but because of the speed issue, i have made this as an option rather then an automated feature. i am thinking that windows in the printer list is actually also slow. but since they (windows) have the luxury of multy tasking, they can check all the printers at the same time which makes it seem faster.
oh well, thanks anyway.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only