Printwiz triggered from PHP

Bob Rasmussen ras at anzio.com
Thu Feb 15 21:59:25 PST 2018


See bottom post...

On Fri, 16 Feb 2018, Scott Smith via Filepro-list wrote:

> Can anyone tell me :-
>
> If Printwiz can be run on IUSR privileges?
>
> I have a process that runs a dreport on records triggered by php system call
> and I was hoping to have the pfpostprint do the pdf generation after the
> report.
>
> Trying to figure out why it just hangs.  Will Printwiz run as a head-less as
> a IUSR by PHP.

I can't say for sure, not having tried printwiz.exe under PHP, but I can 
say in general:

1) You should include the "/q" switch on the command line, for "quiet".

2) Try "/debug /L" to write to a debug log. Run pwui.exe to view the log.

3) Avoid use of network shares, for input or output folders.

With those steps, it should either work or reveal why not.

Regards,
....Bob Rasmussen,   President,   Rasmussen Software, Inc.

personal e-mail: ras at anzio.com
  company e-mail: rsi at anzio.com
           voice: (US) 503-624-0360 (9:00-6:00 Pacific Time)
             fax: (US) 503-624-0760
             web: http://www.anzio.com
  street address: Rasmussen Software, Inc.
                  10240 SW Nimbus, Suite L9
                  Portland, OR  97223  USA


More information about the Filepro-list mailing list