linux piping ( convert -> pdf2ps -> lp)

Posted by Bor on Stack Overflow See other posts from Stack Overflow or by Bor
Published on 2010-03-24T12:33:54Z Indexed on 2010/03/24 12:43 UTC
Read the original article Hit count: 262

Filed under:
|
|

Ok, so I can print a pdf doing:

pdf2ps file.pdf - | lp -s

But now I want to use convert to merge several pdf files, I can do this with:

convert file1.pdf file2.pdf merged.pdf

which merges file1.pdf and file2.pdf into merged.pdf, target can be replaced with '-'.

Question

How could I pipe convert into pdf2ps and then into lp though?

© Stack Overflow or respective owner

Related posts about linux

Related posts about cli