Programatic printing is not working via command


we have code deployed windows 2003 server sorts , prints pdfs (using reader 10.0) have been created throughout day. 

 

the program runs , prints when double-clicking exe , printed documents spool correct printer.

 

the program appears run when executing via command, documents not spool printer.  command launches exe following:

"e:\applications\myapp.exe".   program runs, print doesn't arrive @ printer , have correct default printer assigned user executing command.

 

the code looks this:

 

  dim proc new process

  dim psi new processstartinfo

  psi.arguments = "/t " & pdfpath

  psi.createnowindow = true

  psi.useshellexecute = false

  psi.windowstyle = system.diagnostics.processwindowstyle.hidden

  psi.filename = "c:\program files\adobe\reader 10.0\reader\acrord32.exe"

  proc.startinfo = psi

  proc.start()

 

any ideas why pdfs not spooling printer when executing command vs running exe double-click?  

reader interactive tool, not suitable use. don't think adobe offer suitable tool this.



More discussions in Acrobat SDK


adobe

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support