Re: Printing with php

From: Date: Wed, 03 May 2006 15:34:39 +0000
Subject: Re: Printing with php
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-235383@lists.php.net to get a copy of this message
On 5/3/06, Mace Eliason <meliason@shaw.ca> wrote:
Hi I am working on a project that creates invoices. It will allow the client to print out these invoices after they have been created. Something that I have always noticed is that when you print form the internet you always get the site address and other info on the print out. Is there a way to eliminate this? I just want the invoice to print. Thanks
Has nothing to do with PHP (or any code for that matter), it's all in the browser settings. You can't do a thing about it. If you're really concerned, convert it to a PDF that the user downloads and prints. HTH, John W p.s. Ok technically I think that if you're in an PC IE-only environment you can use ActiveX or something else to control this, but even so I'm categorically against controlling a user's local settings/prefs/etc.

« previous php.general (#235383) next »