Hi Guys, Just got back from babysitting the grandchildren, to find all your helpful ideas. On 20/04/12 20:27, Yamaban wrote:
On Fri, 20 Apr 2012 21:00, Carlos E. R.
wrote: On 2012-04-20 18:29, Anton Aylward wrote:
But then I found it wouldn't print!
Drilling down I found that for some obscure reason the printer server started with
crw------- 1 root lp 6, 0 2012-04-20 07:09 /dev/lp0
So I got that fixed to
crw-rw---- 1 root lp 6, 0 2012-04-20 07:09 /dev/lp0
Still no joy.
No, because that would be for printing directly, without cups. That's not the print server.
Take a look at how you are submitting jobs. Is it to the xinetd server? In which case check /etc/xinetd.d/cups-lpd
No, that is not related to his problem, he can print fine from other tools. His is related to how kate/kwrite converts a perl script to printable data. It is probably applying some nice printing rules and failing.
I think that's closer to the problem. (The printer is a USB HP Photosmart 8150 attached to my router, which has a dedicated printer port at lpd:/192.168.1.1:p1) 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.
Hmmm, if you have no need for the 'pretty-printing', you could disable syntax-highlightning, at least for printing.
See above.
Another test would be a normal text file, e.g. multi-paragraph plain english/spanish/etc and trying to print that.
That works.
If you want syntax 'pretty-printing', try a2ps from the command-line and pipe the result to the printer-cue / lpr
That way you could narrow down the cause some.
Also a try could be 'printing' to a (postscript-)file and viewing that with a ps viewer (okular, e.g.)
I hope this gives you a few hint to get a step further to the cause of the problem.
- Yamaban.
I'll try these ideas tomorrow. The grandkids have worn me out ;) 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: 18:00pm up 1:37, 3 users, load average: 0.09, 0.11, 0.12 -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde+owner@opensuse.org