[cups.general] cups and lp (cups lp)

Tim Waugh twaugh at redhat.com
Tue Aug 22 06:40:28 PDT 2006


On Tue, 2006-08-22 at 09:23 -0400, arnaud wrote:
> Hello,
> 
> I use a2ps with my application, but I need to use the lp cups.
> The basic print is correct with lp cups, but when I want to use -o option, it doesn't work as I want.
> 
> In fact:
> 
> I want to modify cpi parameter and I try:
> 
> lp -o cpi=10 or 17 or 20 [file]
> but it doesn't modify the size of the font.

The 'cpi' option affects how CUPS handles plain text files.  However, if
you are using a2ps then you are already converting the plain text files
into PostScript -- and once you've done that CUPS can't change the font
size any longer.

So instead of this:

  a2ps -o file.ps < file.txt
  lp -o cpi=10 file.ps

Try this:

  lp -o cpi=10 file.txt

Tim.
*/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://lists.cups.org/pipermail/cups/attachments/20060822/046b4f7e/attachment.bin>


More information about the cups mailing list