I am developing web application for printing label using Bartender. I create a page, using codes from Print Server SDK samples, that lists installed printers on both server and client, then get only those client installed printers matched with server installed. It works fine on developing but does not work on server. It list only one printer "Microsoft XPS Document Writer" instead of the whole list.
I installed the "Print Server SDK samples" to the same server, it lists all server, client and available for Internet Printing. The strange thing happens is my application can display all printers only after I run any page on "Print Server SDK samples" site. And if there isn't any activity on "Print Server SDK samples" for a while, my application is going back to the same issue, not display all printers.
I've checked my codes and could not figure out what "Print Server SDK samples" executes that makes my app works. Would you please give me a hint what could be the problem?