1830508 Members
2526 Online
110006 Solutions
New Discussion

printer option

 
j773303
Super Advisor

printer option

How to adjust left margin?
For the make a book, I'd like to left 20 space while print
the document
Hero
2 REPLIES 2
Michael Tully
Honored Contributor

Re: printer option

Hi,

There are two standard ways of doing this. The first is using 'lp' and the second one is using 'pr' output to 'lp'

e.g.

$ lp -dmyprinter -olm6 /etc/hosts

$ pr -o16 -l60 /etc/hosts | lp -dmyprinter

HTH
Michael



Anyone for a Mutiny ?
Rajeev  Shukla
Honored Contributor

Re: printer option

Hi,
The other way is to change the model script file for that printer. You'll find the model script file in /etc/lp/interface/model.orig for that respective file and in that you can modify
the following.

lpagelen="def"
textlen="def"
lmargin="def"
rmargin="def"
tmargin="def"

They are set to default but you can choose what ever you want and give a try.

Rajeev