cups and lp (cups lp)

arnaud ext.teamlog.valeix at sncf.fr
Wed Aug 23 07:11:18 PDT 2006


Hello,


I try with lot kind of simple files, and also made by : vi.
The a2ps command run good and also lp but, I don't understand why the -o (options cpi/lpi) doesn't work at all

What in the setup can be wrong ?

I'm on Sparc Sun Solaris 10 with the cups release 1.1.21

> arnaud <ext.teamlog.valeix at sncf.fr> wrote (Wednesday 23 August 2006 07:34):
>
> > Hello
> >
> > I try these, but it doesn't work more better.
> > In fact, the lp without the "-o raw" parameter doesn't work
> > and I need to indicate this parameter for print.
>
> That means
>
>  - either you've not been sending plain text file to print
>  - or your setup is somehow rather badly messed up...
>
> > Thank's anyway.
>
> Cheers,
> Kurt
>
>
> >> arnaud <ext.teamlog.valeix at sncf.fr> wrote (Tuesday 22 August 2006 16:16):
> >>
> >>
> >> What distro/version do you use?
> >>
> >> > text/plain              application/vnd.cups-raw        0       -
> >>
> >> This line means to CUPS: "If you receive a file that you autotype as
> >> mime type 'text/plain' -- don't touch it and don't filter it. Send it
> >> directly to the printer instead, just as it is."
> >>
> >> Change that line to read:
> >>
> >>   text/plain       application/postscript     33      texttops
> >>
> >> This will mean to CUPS: "If you receive a file that you autotype as
> >> mime type 'text/plain' -- use the texttops filter to convert it into
> >> mime type 'application/postscript', and then hand it over to the
> >> next filter in the chain (likely to be 'pstops')..."
> >>
> >> In this case your "cpi" and/or "lpi" parameters will be processed
> >> and honored by the texttops filter.
> >>
> >> Cheers,
> >> Kurt
>





More information about the cups mailing list