Skip to Content.
Sympa Menu

baslinux - [BL] HTML to PDF/PS (was: BL3 as 'user') 14

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: Lee Forrest <lforrestster AT gmail.com>
  • To: baslinux AT lists.ibiblio.org
  • Subject: [BL] HTML to PDF/PS (was: BL3 as 'user') 14
  • Date: Sun, 21 Jan 2007 16:07:31 +0000

On Sun, Jan 21, 2007 at 04:43:51PM +0000, sindi keesan wrote:
> html2pdf PHP and perl scripts:
>
[delete]
> I tried for another 10 minutes and found only html2ps.pl for Debian.
> Everyone said to use gs pstopdf or Adobe Acrobat after that. There are a
> few commercial html to ps or pdf convertors and htmldoc is available in
> binary form for money, or as open source 3.2MB tar.bz2 download. It can
> be used as GUI or CLI or in batch mode or from a webpage.
>
> Maybe just the CLI part can be compiled, against libc5 or libc6 or static
> with uclibc, while avoiding the X library incompatibility (it might refuse
> to run in BL3 if compiled in BL2 and vice versa, if it needs X libraries).
> I will look at the instructions.

Keeping in mind that this a debian package, it looks like the xlibs are
needed:

$ ldd `which htmldoc`
libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x4001e000)
libfltk.so.1 => /usr/lib/libfltk.so.1 (0x4002e000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4007c000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4008b000)
libpng.so.2 => /usr/lib/libpng.so.2 (0x40152000)
libz.so.1 => /usr/lib/libz.so.1 (0x4017d000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x4018f000)
libnsl.so.1 => /lib/libnsl.so.1 (0x401ae000)
libm.so.6 => /lib/libm.so.6 (0x401c3000)
libc.so.6 => /lib/libc.so.6 (0x401e6000)
libpthread.so.0 => /lib/libpthread.so.0 (0x40319000)
libGLU.so.1 => /usr/X11R6/lib/libGLU.so.1 (0x4036a000)
libGL.so.1 => /usr/X11R6/lib/libGL.so.1 (0x403e5000)
libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3
(0x40454000)
libdl.so.2 => /lib/libdl.so.2 (0x4049f000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x404a3000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x4055d000

----------
Package: htmldoc
Priority: optional
Section: web
Installed-Size: 3112
Maintainer: Jeff Licquia <licquia AT debian.org> #of debian package
Architecture: i386
Version: 1.8.23-1.3
Depends: libc6 (>= 2.3.2.ds1-4), libfltk1.1c102 (>= 1.1.6), libjpeg62,
libpng12
-0 (>= 1.2.8rel), libstdc++5 (>= 1:3.3.4-1), libx11-6 | xlibs (>> 4.1.0),
libxe
xt6 | xlibs (>> 4.1.0), libxft2 (>> 2.1.1), zlib1g (>= 1:1.2.1)
Filename: pool/main/h/htmldoc/htmldoc_1.8.23-1.3_i386.deb
Size: 1715222
MD5sum: 49a712dc3d7e89272ad4cd3da9155f72
Description: HTML processor that generates indexed HTML, PS, and PDF
HTMLDOC is a program for writing documentation in HTML and producing
indexed HTML, PostScript, or PDF output (with tables of contents).
It supports most HTML 3.2 and some HTML 4.0 syntax, as well as GIF,
JPEG, and PNG images.
----------------

I'm wondering whether it is necessary to convert to PDF. Don't all printers
accept PS? (they do down at Kinko's). PS is plain text.

Lee

--
BasicLinux: Small is Beautiful
http://www.basiclinux.com.ru





Archive powered by MHonArc 2.6.24.

Top of Page