How set cpi & lpi for a ascii-job?

Martin Schmiedel martin at schmiedelback.de
Tue Aug 7 12:42:34 PDT 2007


> See the smb.conf man page (you need a rather recent Samba, though!).
> You can use
>
>   cups options = "lpi=6.33 cpi=11.4 otheroption=foobar"
>
> or some such (since release 3.0.2a). Use blanks as option separators
> in smb.conf -- the man page is wrong about the comma-separated example!
>
> You can also try to work with the "Option" keyword in the printers.conf
> that sets the default options for a given printer:
>
>   Option cpi 11.4
>   Option lpi 6.33
>   Option otheroption foobar
>
> Stop CUPS, edit the printers.conf and restart CUPS again.
>
Kurt, thank you so far, cups options "lpi=6.33 cpi 11.4" did it (well, almost). I was on the right track all the time, but i used lpi=6 and cpi=12, which was completely ignored.

Remaining problem now is the height of the characters ,the HP-escape for this is <escape>(s6V. This sets the height of the characters to 6 (dont know the unit here). If i dont set the height, the job will continue on a 2nd page, which is not what i want.

The biggest problem however is that the printer prints german umlauts instead of vertical or horizontal dashes.
How do i solve these problems?
Martin






More information about the cups mailing list