--- Received from FPU.WHITES1 799 3703                       07-12-01 15:03       
--------

  -> [EMAIL PROTECTED]
  -> [EMAIL PROTECTED]

You are correct, this process has nothing to do with the browser.  When the print 
function
is called by the PHP script, the output will be printed on the local printer to the 
server
the PHP script is running on.  The person using their browser to activate the script 
will
only see anything if they are physically working on or near the server itself.

You cannot use this to implement a generic 'print' button for clients accessing the 
site
remotely in the normal fashion.

-Steve

------------------------------------------------------------------------------------------

From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
Date: Fri, 7 Dec 2001 09:03:45 -0600
Subject: RE: [PHP-WIN] printing directly from php

Just for clarification....

Will this method allow the user to click on a link and *poof* out comes somthing out of
his/her printer?

I thought browsers couldn't do that? And if it can, what HTML (or HTTP header or 
whatever)
is actually being sent to the client.

TIM
-Stenderup's Law: The sooner you fall behind, the more time you
will have to catch up.


> -----Original Message-----
> From: Ross Fleming [mailto:[EMAIL PROTECTED]]

> php_printer.dll

> Chances are it is installed, but not enabled.  Check C:\php\extensions (or
> wherever you installed to) to see if it is there.  If it is then fire up
> php.ini and uncomment the line that says:
> extension=php_printer.dll

> You'll probably need to specify your extensions directory by putting this
> line:
> extension_dir = C:\PHP\extensions
> somewhere before the extension= lines.

> Ross

> -----Original Message-----
> From: daniel cozzolino [mailto:[EMAIL PROTECTED]]

> I would like to print directly from php to the client default printer.  i
> tried using the code example from php.net:

> $handle = printer_open();
> printer_write($handle, "Text to print");
> printer_close($handle);
> but get Fatal error: Call to undefined function: printer_open()
> which leads me to believe i am missing a library file. ??
> I am running IIS v5 on Win2000 with PHP v4.06
> Thanks
> Dan


--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

This e-mail may contain confidential information and/or copyright
material. This e-mail is intended for the use of the addressee
only. Any unauthorised use may be unlawful.

If you receive this e-mail by mistake please advise the sender
immediately by using the reply facility in your e-mail software.

Friends Provident Marketing Group consists of the following
companies:

Friends Provident Life and Pensions Limited.
Registered number 4096141.
Friends' Provident Unit Trust Managers Limited.
Registered number 970641
FP Life Assurance Limited.
Registered number 782698
Friends Provident Pensions Limited.
Registered number 475201
Friends Ivory & Sime Managed Pensions Funds Limited.
Registered number 1020044
Registered and Head Office of each of the above companies is at Pixham End,
Dorking, Surrey RH4 1QA.
Registered in England. Incorporated companies limited by shares.
Ivory & Sime Trustlink Limited. Registered number 151198
Registered and Head Office: One Charlotte Square, Edinburgh EH2
4DZ.  Registered in Scotland. Incorporated company limited by
shares.

Companies within this Group transact life assurance, pension,
permanent health, unit trust and investment trust business

All are regulated by the Personal Investment Authority.

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to