cups and lp (cups lp)

arnaud ext.teamlog.valeix at sncf.fr
Tue Aug 22 06:51:48 PDT 2006


Thank's for your help, but it doesn't make any change

it is lp -o cpi=10 file or file.txt or cpi=17 or cpi=20

Arnaud


>
> --=-JZ0ddS5rxMA/RKxSGm9/
> Content-Type: text/plain
> Content-Transfer-Encoding: quoted-printable
>
> On Tue, 2006-08-22 at 09:23 -0400, arnaud wrote:
> > Hello,
> >=20
> > 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.
> >=20
> > In fact:
> >=20
> > I want to modify cpi parameter and I try:
> >=20
> > lp -o cpi=3D10 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=3D10 file.ps
>
> Try this:
>
>   lp -o cpi=3D10 file.txt
>
> Tim.
> */
>
>
> --=-JZ0ddS5rxMA/RKxSGm9/
> Content-Type: application/pgp-signature; name=signature.asc
> Content-Description: This is a digitally signed message part
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (GNU/Linux)
>
> iD8DBQBE6wlGLF+LYaF94FERAmUkAKCTZuf4LjfOiwBJSM1U8B6LXeTCVgCeMbKu
> /Hibk822KIcy7k4y99PzHnY=
> =6AQv
> -----END PGP SIGNATURE-----
>
> --=-JZ0ddS5rxMA/RKxSGm9/--
>





More information about the cups mailing list