Re: Printable address labels
| From: | CPT John W. Holmes | Date: | Thu, 24 Apr 2003 12:59:54 +0000 |
| Subject: | Re: Printable address labels | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-145146@lists.php.net to get a copy of this message | ||
> I've been asked to investigate the possibility of using PHP to create
> and print address labels from an existing MySQL database. We would want
> to use a standard Avery label (1 x 2-5/8 in.). Is it possible to do
> something like this using only PHP?
Just use CSS. Extract the data with PHP and use CSS to position it in the
right spots and control wrapping and page breaks. With a good CSS aware
browser, you can do all of that and you don't have to fuss with PDF.
---John Holmes...