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).
Navigation:
[Reply to this message]
|