[PHP-WIN] printing on IIS7

2009-05-05 Thread Paul Giesberts
Hi,   I have migrated a php site from Linux to windows. The only remaining problem seems to be printing, naturally I have had to change the code and that's where the problems have started. I have the following very simple code:  When I run this from the command prompt using php -f . It wor

[PHP-WIN] RE: {** SPAM **} Re: [PHP-WIN] printing on IIS7

2009-05-05 Thread Paul Giesberts
Hi Jacob, Thanks for your quick reply. I have 19 networked barcode printers, which I like to print to using the code that I have. Changing it would be a bit of a job. Considering that this works on a box using IIS 6, I don't want to give up on this yet. Thanks, Paul Giesberts IT & QA Manager Serv

Re: [PHP-WIN] printing on IIS7

2009-05-05 Thread James Crow
Paul, I had a smiliar problem once where I had changed the amount of memory from 16M to 256 (note the missing M). Check your memory setting in php.ini. 262144 seems like 256K. I think that may be the default minimum amount of memory for a script. On my Linux systems there is a different ph

Re: [PHP-WIN] printing on IIS7

2009-05-05 Thread Richard Quadling
2009/5/5 Paul Giesberts : > Hi, > > I have migrated a php site from Linux to windows. The only remaining problem > seems to be printing, naturally I have had to change the code and that's > where the problems have started. I have the following very simple code: > > > $txt = "Hello World"; > $han

RE: [PHP-WIN] printing on IIS7

2009-05-05 Thread Paul Giesberts
Hi Richard, Many, many thanks, that has done the trick. BUT I had to turn it off. I have had to set fastcgi.impersonate=0 to fix it, which makes sense in a way because the user under which IIS runs has been given access to print, but the user browsing the site has not. I don't use any f

RE: [PHP-WIN] printing on IIS7

2009-05-05 Thread Paul Giesberts
Hi James, That did not work for me. Thanks for your quick reply though. The solution for me was fastcgi.impersonate = 0. Thanks to Richard. Regards, Paul Giesberts IT & QA Manager Servicecare -Original Message- From: James Crow [mailto:ja...@ultratans.com] Sent: 05 May 2009 13:20 To: Pa