Pol Hallen <[email protected]> wrote:
> #!/bin/sh
> convert "$1" "${1/.jpg/.pdf}"

> Now, I'd like convert any files to pdf (like png, txt, etc.) but I
> don't how do.

CUPS has a PDF printer, so I can (for example) "lpr -P pdf
/tmp/stuff.txt". I'm not particularly suggesting you use CUPS for this
conversion, but you might like to take a look and see how it's handled
there.

Chris


-- 
To UNSUBSCRIBE, email to [email protected] 
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to