|
Whew! I got stuff working a lot better. scs2pdf doesn't run off the bottom of the page anymore, and properly supports multi-page output. It still prints off the right edge of the page if the output is wider than 8.5 in. Scott, can you try this new version and tell me if you still have spacing problems? I also updated the Makefile.am so everything works with autoconf. Just ./configure, make, make install and you are all set. Here is what remains to be done: 1. Handle page size. We could either just use a small font all the time (obviously not a very good idea) or we need to figure out how to change fonts. Even if we make the PDF use landscape, which I don't know how to do yet, we will still have to handle really wide output, like 198 columns. 2. Handle different fonts. We don't need to use 10-point Courier for everything if we don't want to. This isn't so important as #1. 3. Handle margin size. It is now hard-coded to 1/2 inch top and left margin. This ought to be changeable. 4. Handle page breaks. Right now it just breaks after so many lines have been printed. I don't know the SCS print stream too well so I don't know what to check for regarding page breaks. Maybe the SCS_FF macro is the page break? From Mike's code it appears so. If someone can confirm this I can make it so. The diffs are available at: http://www.eaerich.com/Makefile.am.diff http://www.eaerich.com/scs2pdf.c.diff The full source files are at: http://www.eaerich.com/Makefile.am http://www.eaerich.com/scs2pdf.c James Rich james@eaerich.com
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.