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 Jerry Stuckle on 04/17/07 17:30

Sean wrote:
>>> Wrong? ... How?
>
>> Try it yourself and you'll find out.
>
> An HTML table to represent a sheet of Avery Labels (with PHP) could be done
> in your sleep ... assuming that you have a "basic" knowledge of HTML and
> PHP.
>
>>>> Use PDF
>
> Even with a PDF format you've still got to create some sort of table or
> something in columns to match the layout.
>
>>> PDF is an alternative to HTML, I would agree ... and would even concede
>>> that
>>> it's a better alternative, IF the guy can find (or be given) the
>>> appropriate
>>> code examples to complete the task, but HTML wouldn't be "wrong",
>>> particularly if he's new to the coding that it would take to complete the
>>> job.
>
>> HTML is not an alternative - it's a crap suggestion by somebody who
>> doesn't know what they're talking about.
>
> There's nothing like being constructive ... and that's nothing like
> constructive.
>
>
>

Sean,

The problem with HTML is it is a fluid layout, and he needs an
absolutely fixed one.

For instance, the user may not be using the default font size - on my
laptop with a high res screen, I use a larger than normal font. On my
desktop with it's 21" screen, I use a smaller than normal font. And my
default printer font is not the same.

Also, the printer size probably isn't exactly 8.5"x11" (assuming U.S.).
Most printers have an unprintable margin - and this margin varies in
size. The browser may attempt to shrink the page to fit in the margins,
or it may let the page overflow to the next one.

Lots of things like this can happen when you're using html. You can try
to force some of them - but html is only a *recommendation* on how to
display the page, not a *requirement*. You can't be sure you've got it
right.

A PDF, OTOH, is an exact layout and you can control the look of
everything to a very fine level. It's a much superior way to go when
you need exact placement like this.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

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

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