Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Print PDF from server side, not client side 1

Status
Not open for further replies.

GremlinHunter

Programmer
Sep 13, 2006
22
US
I am trying to find out if there is a good way to print PDF documents from the web server itself to a network printer. The only way I have found so far is to use the command line options in acrobat 4... I would prefer to avoid running commands from my asp if I can help it though. Does anyone know of a good method to do this now?
 
Honestly I wouldnt want to risk the hanging up the web site because of the crappy adobe distiller or print queue hanging.

I would have the ASP app dump the file into some folder on the server and then write a quick-n-dirty application that polls the directory for new files... and then when it finds a file print it out and move it to some other "done" directory. Then it would delete anything over X days old in the "done" directory. It wouldnt even need to be an applicaiton.. it could be a little VBS script thingy that is run every X minutes by the windows scheduler.

 
Hmm, that would take care of getting the command prompt call off the asp page. I did not notice a task could repeat as often as every minute after it hit its start condition...

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top