Half way down the page it says this: Requires:
PHP: Version 4.0.4 or greater. html2ps: Does the initial conversion of html to a postscript file, and thus is the most crucial part of the conversion. More information about it here You will especially want to read the User's Guide if you if this script is not making the pdf look like you want. ps2pdf: This comes with the Ghostscript package, and can be found here. This package is normally installed as an RPM on RedHat systems, so if you're using that OS you shouldn't have to worry. I did make some progress. I qweaked the postscript. There was a translate command which moved the image too far to the left for a letter. I fixed that and it is now properly centered. The problem now is that I don't think letter size is really what I need to show kodachrome type slides. So, I may just go with html for now. I will try to mess with page layouts, though, when I get time. Joel On Sun, Jan 05, 2003 at 08:38:06AM -0800, Net Llama! wrote: > Why not just use HTML_to_PDF and cut out the middleman: > http://www.rustyparts.com/pdf.php > > On 01/05/03 07:21, Joel Hammer wrote: > > I am converting some html to ps to pdf (html2ps and ps2pdf). The html > > contains images. > > > > After html2ps, the postscript file looks right when viewed with gv. However, > > when ps2pdf is run, which uses gs, the left margin is chopped off. > > Looking at the postscript output, the bounding box has a negative value for > > the left margin: > > %%BoundingBox: -285 202 329 707 > > > > gv displays this file properly only when is used the bounding box, not letter size. > > I can't see how to make gs use the bounding box. > > > > So, is there an option which will force gs to use the BB, just like gv? > > Or, can html2ps be forced to not use negative margins? > > > > Changing the bounding box to 0 485 329 707 doesn't do any. > > -- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > L. Friedman [EMAIL PROTECTED] > Linux Step-by-step & TyGeMo: http://netllama.ipfox.com > > 8:35am up 21 days, 15:44, 4 users, load average: 0.06, 0.10, 0.08 > > _______________________________________________ > Linux-users mailing list > [EMAIL PROTECTED] > Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users _______________________________________________ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users
