Cups Filter...How do I get out of $TMPDIR andback to $6

Paul pconklin at gentlemanslife.com
Wed Oct 20 12:56:28 PDT 2010


>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
>
> On 10/20/2010 2:17 PM, Paul wrote:
> Helge,
> > Thanks for the reply. My most pressing reason is what I am adding will
> have control charecters (Like ASCII chars 2,3,10,12,13,15,23,24,27) I'm
> not fully sure how I can write those out to stdout with a script, but if
> you have any suggestions, I'm open to ideas. Thanks again.
> >
> In a shell script, try printf with those numbers converted to octal.
>
> So (in order of your list) it would be:
>
> printf "\002,\003,\012,\014,\015,\017,\027,\030,\033"
>
Kyle,
NOW WE'RE COOKING WITH GAS!!!  That worked like a charm, Thanks!  I have one last hurdle to clear, but slightly differnt topic, so for the sake of others trying to learn, I'll post that in a differnt thread.

Thanks again.




More information about the cups mailing list