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: [EMAIL PROTECTED]
_______________________________________________
This is the Linux 5250 Development Project (LINUX5250) mailing list
To post a message email: [EMAIL PROTECTED]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/linux5250
or email: [EMAIL PROTECTED]
Before posting, please take a moment to review the archives
at http://archive.midrange.com/linux5250.