On 21/04/12 00:11, Carlos E. R. wrote:
On 2012-04-21 00:38, Bob Williams wrote:
The offending file won't print with syntax highlighting turned off. I've found another perl script which won't print, but equally, there's one in the same folder which will print from kate. Surely, they are just text files, so the fact they contain some perl is irrelevant.
Should be... but is not, apparently. Something is trying to do something clever. For example, how should a line longer than the page width be treated, if the file is in perl? Not pretty printing, but something is doing something, so... The fact that some perl files fail point to some filtering.
Line length does seem to be the problem. When I insert carriage returns to split long lines into two, the resulting file prints OK. Obviously, 'Dynamic Word Wrap' applies only to the screen display. Syntax highlighting on/off makes no difference, either.
Try to print to file, it avoids cups.
When I printed to file, pdf, Okular displayed the file on screen very nicely, but also could not print it out. Print preview just showed the right hand ends of a few lines. My reason for wanting to print out this script is to aid my learning of perl. Sometimes I prefer to look at a printout that I can draw lines on, doodle my thoughts etc. Bob -- Bob Williams System: Linux 3.1.9-1.4-desktop Distro: openSUSE 12.1 (x86_64) with KDE Development Platform: 4.8.2 (4.8.2) "release 491" Uptime: 06:00am up 1 day 13:37, 3 users, load average: 0.67, 0.63, 0.60 -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde+owner@opensuse.org