Printing problems- Can't print plain ascii

Printing problems- Can't print plain ascii

Post by Oscar Abrahamss » Fri, 09 Jun 1995 04:00:00

I have a slight problem with my laser printer.
My printer is a HPlaserjet III compatible.
I wonder if I'm supposed to be able to print regular text files
by 'cat file > /dev/lp1', because when I do nothing happens.

Is the only way to print first to convert it by gs and then print using lpr?




1. remote printer won't print non plain text print jobs.


I've got samba setup and working with my printer on the server machine.

I'm using cups on the client and lprng on the server. I don't use cups on
the server because cupsd daemon crashes immediately - always (i've tried
reinstalling). Using client side printer drivers to process the printer job.

Sending text (ie, a plain text file) to the printer works fine. If I try
sending any sort of graphics - anything than is not plain text (including
printing from KWord etc, as well as bmp, png gifs etc etc), the printer
prints a load of crap - it printers the graphics as though as its text -
much like if you try viewing the contents of a binary file on the console.

The printer is fine if I print non text files on the server machine, but
not if I try printing remotely.

I can't see what the problem is: the client PC (windows and linux) uses its
printer drivers to process the print job, and then all that needs to to
happen is the data is sent to the server ready for printing - without any
need for server side print drivers. (ie, raw printing)

The printer command in smb.conf is:

print command = lpr -P %p -l %s

above: -l = -o raw
for raw printing

I've tried
print command = lpr -P %p -o raw %s -r
but the -o raw stops the printer from printing - the job doesn't even show
on the print queue.

Thanks for any help

2. FreeVeracity integrity-assessment network security tool.

3. PROBLEM PRINTING ASCII (can print postscript though)

4. Help: X doesn't recognize passwords anymore?!?!

5. 2 lpd running?

6. HP 500C -- ascii test prints OK, PostScript prints special characters

7. Newbie Q: Xwindows startup problems

8. ASCII printing using 'lpr'

9. HP Printing Problem & Printing.HOWTO can't help!!!

10. Plain ASCII for ``Linux Installation and Getting Started'' v2.0

11. Print queue flooded with 'finished printing' zombies...