|
I tested the code from current cvs and the results are better then ever before. Nevertheless, the calculation of page width doesn't take into account, that AHPP can skip backwards. Here is a micro patch, that simply resets the column counter. --- scs2pdf.c.orig Tue Mar 19 08:46:39 2002 +++ scs2pdf.c Tue Mar 19 10:55:13 2002 @@ -438,6 +438,10 @@ * This is gives a bold effect on real SCS printers. This ought to * be handled a better way to get bold. */ + + /* make columncount count columns only once */ + columncount=0; + *boldchars = *curpos - position; bytes += pdf_process_char ('\0', 1); fprintf (outfile, "0 0 Td\n"); I found another interesting behaviour: When I print a report with 12 CPI, pagesize of 96x72 characters, I get different output from lp5250d vs. lpr/lpd. The lp5250d output has much more SCS commands, telling page size, CPI and so on. The lpr/lpd output has only AVPP and AHPP. The remote OUTQ is defined with TRANSFORM(*NO). It seems, OS400 is throwing away important info, when printing to lpd. OS400 is version V4R3. The font substituted for 12 CPI is a little bit to wide, the 3 or 4 rightmost characters are falling off the right paper margin. -- Esda Feinstrumpffabrik GmbH Frank Richter, Leiter EDV Hauptstr. 76, D-09392 Auerbach E-Mail: frichter@esda.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.