[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: printer does not print characters at the beginning of the line fully



On Wed, Dec 04, 2002 at 04:49:46PM +0530, Sandip P Deshmukh wrote:
| hello all
| 
| i have come back with printing problem.
| 
| when i write a text file with vi and do cat filename | lpr, i realize
| that characters in the beginning of the line disappear from the
| printout.

I've seen this happen (consistently) with a certain two printers.  One
was an older HP Deskjet, the other is an Epson LQ-500 (even older line
printer).

| what could be the cause and what could be remedy?

Until now my hackish workaround was to use sed in the pipeline :
    cat filename | sed 's/^/ /' | lpr

(insert a space in front of each line so that the space is the
character that isn't printed)

The other workaround is to print postscript or pdf.  They didn't
exhibit this problem.  Now I know why -- see below.

| i do not know what more information you will need. but i am using
| debian woody 3.0 and the printer is hp deskjet 710c. i do not
| understand much of cups. but i have cups running

I use CUPS too.

I just did some experimenting -- Olivier is correct.  The problem is
caused by an incorrect paper boundary specification in the PPD file.
For my printer (named 'lq500') I edited /etc/cups/ppd/lq500.ppd as
follows :

    --- lq500.ppd.orig	2002-12-05 23:23:55.000000000 -0500
    +++ lq500.ppd	2002-12-05 23:24:09.000000000 -0500
    @@ -87,7 +87,7 @@
     *% to spice this up are welcome! 

     *DefaultImageableArea: Letter 
    -*ImageableArea Letter:	"8.60 39.60 603.40 766.49"
    +*ImageableArea Letter:	"13.00 39.60 603.40 766.49"
     *ImageableArea Legal:	"8.60 39.60 603.40 982.49"
     *ImageableArea A4:	"8.60 39.60 586.40 816.49"

I'm submitting a bug against the cupsomatic-ppd package so that
hopefully it will be corrected in a future release.  Do the same for
your printer once you have determined a suitable left margin.

-D

-- 
Pleasant words are a honeycomb,
sweet to the soul and healing to the bones.
        Proverbs 16:24
 
http://dman.ddts.net/~dman/

Attachment: pgpQa7rtELM6U.pgp
Description: PGP signature


Reply to: