ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> php-install
php-install
[PHP-INST] printing error on Wndows 2000, PHP 4.2.2.
by Salvador Gil other posts by this author
Aug 15 2002 12:33AM messages near this date
[PHP-INST] Two version of php in the same system | [PHP-INST] This VS that?
Hi,
 Anybody can helpme ?

I trying to print with PHP 4.2.2 on Windows 2000, but I can't because an
errors:

Warning: couldn't allocate new print job in d:\ventas\imprime_Fact.php
on line 108
Warning: couldn't start a new page in d:\ventas\imprime_Fact.php on line
109
Warning: couldn't end the page in  d:\ventas\imprime_Fact.php on line
310
Atributos Impresora:2
Fatal error: couldn't terminate print job in d:\ventas\imprime_Fact.php
on line 311
HTTP/1.1 502 Gateway Error Server: Microsoft-IIS/5.0 Date: Thu, 15 Aug
2002 00:17:31 GMT Content-Length: 186 Content-Type: text/html 
CGI Timeout
The specified CGI application exceeded the allowed time for processing.
The server has deleted the process.


where lines:

108 $handle = printer_open("\\\\SRV_MEX_04\La_rh");
109 printer_start_doc($handle, "Factura");

309 printer_end_page($handle);
310 printer_end_doc($handle);
311 printer_close($handle);

Aditionaly an aplication error log is:

Event Type:	Error
Event Source:	Perflib
Event Category:	None
Event ID:	1000
Date:		14/08/2002
Time:		05:36:13 p.m.
User:		N/A
Computer:	SGIL
Description:
Access to performance data was denied to IUSR_SGIL as attempted from
C:\WINNT\System32\drwtsn32.exe 

I think PHP can't print directly on W2000, and need to configure
aditional things, but I don't have idea.....  :(

Thanks in advance....

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved