You are here: Re: Printing Avery Labels from a web site « All PHP « IT news, forums, messages
Re: Printing Avery Labels from a web site

Posted by Aerik on 04/19/07 21:35

> for. I want them to be able to print-out a list of address labels, using
> standard Avery labels, on their home PC's using the data from my MySQL
> tables. I am not yet sufficiently au fait with php to manage to code it
>

After all the flames have died down:

Perhaps absolutely positioned divs? If you get the sizes and
proportions right, then it's just a matter of setting the margins
properly in the browser.

Simpler still (maybe even simpler than your Word / mail merge
solution): Find or create a template in Excel for your labels. In
all the cells, put in formulas pointing to the second sheet. On the
second sheet create an external data source that pulls from an html
table. The html table is dynamicly generated by php and holds your
data. It doesn't matter what the formatting of the table is, all the
formatting is done in excel. To get a new list of labels, in Excel
right click in the external data source and click "refresh". Easy.

Aerik

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация