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

Posted by Jerry Stuckle on 04/22/07 02:37

Tim Roberts wrote:
> Jerry Stuckle <jstucklex@attglobal.net> wrote:
>
>> Aerik wrote:
>>> 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.
>>>
>> Doesn't work. You don't know the characteristics of the printer (i.e.
>> margins, etc.).
>>
>> A 1/2 inch top or bottom margin makes a big difference on a 2"x3"
>> mailing label.
>> ...
>> HTML is a recommendation only. It is not suited for exact positioning
>> like the op requires.
>
> Yes, and that's really too bad. HTML is probably 90% of the way to being
> the ideal reporting solution. With the flexibility and precision available
> in CSS, it wouldn't take very much to allow it to compete with PDF for most
> scenarios.
>
> As it is, however, there's just no chance.

And I'm glad there isn't. HTML is made to be a language for flexible
layouts. PDF is mean to be a fixed layout.

If you want your pages to automatically adjust to different window
sizes, HTML is the way to go. But if you want to ensure everyone sees
exactly the same thing, you should use PDF's.

As a webmaster, I prefer my pages adapt themselves to the user's display.

--
==================
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

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