tag 410011 + patch thank you >> AFAICT, html2ps always generates pages of size letter, as this is >> what is hard-coded in /etc/html2psrc. > > Looking at the html2ps source code, line 29 does call paperconf. > Therefore, html2ps already behaves correctly, and the default > /etc/html2psrc is breaking it. > > The "paper { type: letter; }" setting should be removed from > /etc/html2psrc.
That doesn't work either, because of a quoting bug in the html2ps source. The attached patch fixes it. -- Trent Buck, Student Errant
--- /tmp/html2ps-1.0b5/html2ps 2007-02-08 13:25:25.000000000 +1100 +++ /usr/bin/html2ps 2007-02-08 15:36:53.000000000 +1100 @@ -28,8 +28,8 @@ $ug='/usr/share/doc/html2ps/html2ps.html'; $default_paper=`paperconf` || 'a4'; -$conf=<<'EOR'; [EMAIL PROTECTED] { +$conf=<<"EOR"; [EMAIL PROTECTED] { package { PerlMagick: 0; ImageMagick: 0; @@ -344,7 +344,7 @@ A:link, HR { color: black } [EMAIL PROTECTED] { [EMAIL PROTECTED] { margin-left: 2.5cm; margin-right: 2.5cm; margin-top: 3cm;
signature.asc
Description: Digital signature