|
From: Leif M. <lei...@ta...> - 2015-05-07 02:36:50
|
Etienne, Forgot to mention. Any error messages associated with trying to access your printers is going to be in application code and not directly related to the Wrapper. If there is no error message being logged then this a problem with the application that should be corrected. If it is a 3rd party tool, try and see if there is a way to enable debug log output. Cheers, Leif On Thu, May 7, 2015 at 11:34 AM, Leif Mortenson < lei...@ta...> wrote: > Etienne > How are you running the Wrapper? As a service? > If so then it will be running as the SYSTEM user by default. > The SYSTEM user has its own environment and path, as well as restrictions > on network access. > > I am not clear, is your pdf printer a registered printer? Or an > executable you are trying to run? > > You can debug the active environment with the following property: > wrapper.environment.dump=TRUE > http://wrapper.tanukisoftware.com/doc/english/prop-environment-dump.html > > You may need to setup your printer in a specific user and then configure > the Wrapper to run as that user. > Please read over the following: > http://wrapper.tanukisoftware.com/doc/english/prop-ntservice-account.html > > It is also possible to configure the Wrapper so it can access remote > Printers and Network Shares without having to first set them up in that > account. Not sure if this is useful to you: > http://wrapper.tanukisoftware.com/doc/english/prop-share-general.html > > Cheers, > Leif > > > > On Thu, May 7, 2015 at 12:00 AM, Tu T. Nguyen <ttn...@ra...> > wrote: > >> Please see the following link for information regarding windows >> services. >> >> >> >> >> http://windows.microsoft.com/en-us/windows-vista/manage-services-in-windows-vista-from-windows-vista-inside-out >> >> >> >> Under startup options you can see the tab for “Log On” Make sure you >> choose “This Account:” and specify a username and password that has at >> least local administrator privileges. >> >> >> >> *From:* Etienne de Dieuleveult [mailto:e.d...@ad...] >> *Sent:* Tuesday, May 05, 2015 6:04 AM >> *To:* wra...@li... >> >> *Subject:* Re: [Wrapper-user] Wrapper binarie doesn't work with pdf >> Printer >> >> >> >> I' don't know if it's a matter of administrator account, we reproduce >> this problem on other PC and we are connected as Administrator. >> >> If you know how to assign an administrator account to the Windows Service >> ? >> >> When we send documents to pdf Printer, the System launch binaries such >> PDFCreator.exe, maybe we need to manage permission in the >> >> wrapper to execute binaries ? >> >> >> >> >> >> >> >> >> >> ----- Original Message ----- >> >> *From:* Tu T. Nguyen <ttn...@ra...> >> >> *To:* wra...@li... >> >> *Sent:* Monday, May 04, 2015 6:35 PM >> >> *Subject:* Re: [Wrapper-user] Wrapper binarie doesn't work with pdf >> Printer >> >> >> >> Maybe this is a permissions issue. Have you tried assigning the Windows >> service an administrator account instead of using the service account? >> >> >> >> *From:* Etienne de Dieuleveult [mailto:e.d...@ad... >> <e.d...@ad...>] >> *Sent:* Monday, May 04, 2015 6:46 AM >> *To:* wra...@li... >> *Subject:* [Wrapper-user] Wrapper binarie doesn't work with pdf Printer >> >> >> >> I, >> >> We use your wrapper (wrapper-windows-x86-32-3.5.26) to launch a java >> application as a Windows Service (Vista OS). >> >> Our java application generates documents, whose sent to physical Printer >> (Canon, HP ...) for the printing, and that's works fine. >> >> If we send document to pdf Printer (PDFCreator or doPDF) it doesn't work >> ! And we have no Error and no trace in log file. >> >> Perhap's, there is a parameter to be matched in the wrapperapp.conf, we >> would not have seen ? >> >> Thank's for your help. >> >> E. de Dieuleveult. >> >> > |