Display Printers Using Client Javascript For Internet Printing Folgen

0
Avatar
Legacy Poster

Hi,

 

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?

 

Thanks

2 Kommentare

0
Avatar
Ian Cummings
Moderator
Aktionen für Kommentare Permalink

The client dll needs to be installed in the web browser, and you also need the relevant JavaScript on your page to execute in order to pass the printer information back to the server.  This is detailed in the SDK.  I guess you could check the web page in the same for purposes of replication.

0
Avatar
Legacy Poster
Aktionen für Kommentare Permalink

Thanks for your response Ian.

 

I solved the issue by changing Application Pool - Load User Profile to "True" in Advanced Settings. And Identity is used Network account instead of local account.

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.