If you are running  php on a win32 server you can use the above function 
to access and use a printer spool. Note that this allows the web server
to print , not the web client. Depending on your need that may be OK for 

Simonk wrote:
> Is there any printing function in the PHP?
> Im currently making a project and required me to print out a page at
> somepoint
> but I probably cant use the Browser's print function but only a button in
> the page said
> "Print".....-_-
> In pascal, I can use something like "notepad.exe -p /test.dat" to print out
> a page
> how can i do in the PHP?
> Thank you very much!

Vincent Stoessel
Linux Systems Developer

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to