Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 609 of 808  Not logged in ELOG logo
    icon2.gif   Re: Long lines in printout, posted by Bertram Metz on Mon Sep 12 10:44:51 2005 elog_lon_lines_screen.jpgelog_lon_lines_print.jpg
> > long lines in an entry are not printed correctly (the lines are cut off), if the text is encoded as plain
> > text. This works correctly, if the text is encoded as ELCode. I tried this with Firefox and Internet Explorer.
> > Does anybody know a solution for this? 
    icon2.gif   Re: Long lines in printout, posted by Stefan Ritt on Tue Sep 13 13:33:59 2005 
Your problem is related with the fact that I changed the formatting from fixed font to proportional font ("ELCode"). This gives you three options:

[LIST]
icon4.gif   Install error on MacOS X, posted by Exaos Lee on Mon Oct 10 19:22:51 2005 makefile_modified.tgz
Executing "make" on MacOS X is OK, but "make install" failed due to the following error:
[code]
/usr/bin/install -m 0755 -d /usr/local/bin /usr/local/sbin /usr/local/man/man1/ /usr/local/man/man8/
    icon2.gif   Re: Long lines in printout, posted by Bertram Metz on Thu Oct 13 10:56:29 2005 
Hi Stefan,
I tried your suggestions with 'page shrinking' and 'message width', but they didn't help. What I do not understand is why this problem occurs only if the
message text is formatted as plain text. The lines are printed correctly, if the text is formatted as EL code or as HTML. 
    icon2.gif   Re: Long lines in printout, posted by Stefan Ritt on Thu Oct 13 11:19:09 2005 
Ok, I found the problem. In the default.css file, you will find a section

[code].messagepre {
    icon2.gif   Re: Long lines in printout, posted by Bertram Metz on Thu Oct 13 13:27:02 2005 
The lines are still cut, if printed on paper.
I played again with the 'message width' parameter, which actually the key parameter in my problem. I saw in the source, that the default value is now 112,
but it was 76 in the elog version we'd used previously (V2.5.2). If I set 'message width' to 76 again, it works fine for new entries! 
    icon2.gif   Re: Long lines in printout, posted by Stefan Ritt on Thu Oct 13 13:51:55 2005 printout.jpg
[quote="Bertram Metz"]The lines are still cut, if printed on paper.[/quote]

Are you sure? After you change the CSS file, you have to reload the page. I just tried with the very long entry from this thread and got in the Firefox
    icon2.gif   Re: Long lines in printout, posted by Bertram Metz on Thu Oct 13 17:45:58 2005 
You're right. I don't know what I've tested this afternoon ;)
Without the fixed font the text might get very small, if the line is too long.
I think we'll set 'message width' = 76.
ELOG V3.1.5-3fb85fa6