[cups.general] problem with postscript %%title
ulrich.lauther at t-online.de
ulrich.lauther at t-online.de
Mon Sep 27 14:39:07 PDT 2010
On Mon, Sep 27, 2010 at 01:28:17PM -0700, Michael Sweet wrote:
> There isn't a way to do this today, but feel free to submit a feature request for this:
>
> http://www.cups.org/str.php
>
> On Sep 27, 2010, at 7:17 AM, Daniel Stoeck wrote:
>
> > I know this is not a pure CUPS problem. But I thought I might find my answer here. I want to use following command:
> >
> > lp -d THEPRINTERNAME -t THETITLEIWANT /tmp/theepsfilename.ps
> >
you should be able to do it this way:
change_title -t THETITLEIWANT /tmp/theepsfilename.ps | lp -d THEPRINTERNAME
where change_title would be a tiny script using e.g. perl, awk, or sed that
changes the %%Title: -line.
> > Regards,
-ulrich
More information about the cups
mailing list