How set cpi & lpi for a ascii-job?
Kurt Pfeifle
k1pfeifle at gmx.net
Tue Aug 7 11:26:13 PDT 2007
Martin Schmiedel wrote:
> A samba client sends a ascii-print job to opensuse10.2/cups.
> The HPlaserjet 1120 prints the job on a A3-sheet, but the job won´t
> fit on the page. The client can not manipulate the data to be printed,
> so cups has to define cpi, lpi & other parameters. How can i do this?
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 Pfeifle
System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS
Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58
A RICOH Company ........................... D-70327 Stuttgart/Germany
More information about the cups
mailing list