i'm afraid pdf format will be very slow. so, it's not an option
for me. i'm looking for a method (css or javascript) to set the
size or print area of the page, like 8. 5 x 5.5 inches to print
forms, or 3.5 x 2 inches to print labels, or 7.5 x 3.5 inches to
print inventory tags, or any other size.
css can use several different types of units. Some are actual
physical space. Some are based on pixels. Just use the ones based
on actual space.
This may have some helpful hints:
http://www.alistapart.com/articles/goingtoprint/
or google css printing. It will come up with a lot of useful info.
So, my question is can we set table size or div tag or any other
tag to be exact 8.5" x 5.5" or 3.5" x 2" or any other size?
I realize this top becomes non-php related, but I hope someone can
help me out.
Thank you so much,
JC
On Wed, 22 Feb 2006, Rick Gigger wrote:
Is there css that is designed specifically for printing? If so do
you have a link to some documentation on this?
I have the same problem but use pdf for everything. It is a pain
though. Since there is no fop implementation in php (unless you
want to also run java) I have started writing my own xml -> pdf
engine (not to any standard just one that does what I need). It
speeds things up a lot most of time. Updating the engine takes
time though.
Rick
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]