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

Re: How to set printer margins?



Rodolfo Medina <rodolfo.medina@gmail.com> writes:

> With my Samsung ML-1915 I've been printing a .ps file simply with: `lp
> file.ps' but part of the text at the beginning of each line is cut off, and
> so is the top of the first line.  The same file used to be correctly printed
> with my old inkjet Epson.


Camaleón <noelamac@gmail.com> writes:

> Have you tried "man lp" for getting the "-o" options for setting the 
> margins when printing text?


Yes, it doesn't do anything.




Rodolfo:

> I wish to set to zero the default printer margins but don't manage to.
> Pointing the web browser to: `http://localhost:631' doesn't help because I
> don't see any reference to margins there.
>
> I tried to properly edit the file `/etc/cups/ppd/samsung.ppd' with no
> success.  The file presents the following entry:
>
> *PageSize A4/A4: "<</Policies <</PageSize 7>> /.HWMargins [12.5 12.5 12.5 12.5] /PageSize [595 842] /ImagingBBox null>> setpagedevice"
>
> I changed all occurrences of 12.5 to 0 but the problem remains.


Camaleón <noelamac@gmail.com> writes:

> Maybe a zero value is not allowed by your printer (i.e., hp laserjets 
> have a minimal value for margins I cannot avoid, it's just ignored).


It's just that minimum value that I wish to modify: isn't it impossible?

Thanks
Rodolfo

P.S.: Camaleón, as you see I followed your suggestion to buy a laser...  Now
      I see how bad inkjet print is.   ;)


Reply to: