HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] html questions

A J Stiles wrote:
On Thursday 18 Oct 2007, Bezaleel Support wrote:
I am not sure that HTML's width attribute supports the use of inches (ex
- width="7.712in"). However, it does appear that CSS does support layout
in inches. You may want to try to set a div such as <div width="7.712in"
height="10.212in"> ....content..... </div>

You certainly can use centimetres as units in CSS, and "US Letter" paper measures 21.6 by 27.9cm. That's the good news. The bad news is that html2ps doesn't support CSS properly.

You might do better to generate PostScript directly from your application, rather than generating HTML and then using html2ps. But without knowing more of the application and how it is used, it would be hard to say.

The PHP version of html2ps is many, many times better than the perl version.


____________________ HylaFAX(tm) Users Mailing List _______________________ To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*

Project hosted by iFAX Solutions