Reply to Re: Lining up for printing on preprinted paper form

Your name:

Reply:


Posted by Andy Dingley on 03/29/06 12:02

FC wrote:

> I am trying to find out if there is a way to line things up before
> printing using html.

This is easy with CSS and you certainly don't need to mess with PDF

Just use all those absolute positioning tricks and absolute dimension
units that are seen as so bad to use for on-screen work. Font sizes in
points too. You can hide all this behind @media print { } so it
doesn't even look bad on-screen either.

The only real problem left are your margins and footers. You need to
set these to some known value before printing, because they affect
positioning on the paper but they're not settable from CSS. Either do
it by hand (given it's a dedicated machine and printer) or use MeadCo's
ScriptX ActiveX control to set them on the HTML page (with some
browser portability issues).

[Back to original 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

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