[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to create a PDF-Printer from the command line



On Wed, Jan 17, 2018 at 09:47:01PM +0000, Chris Ramsden wrote:
> On 17/01/18 21:42, Ben Caradoc-Davies wrote:
> > On 18/01/18 10:37, Joel Wirāmu Pauling wrote:
> >> Works fine for txt, although as it rasterizes things it's not going to be
> >> optimized for size.
> >
> > Yes, typically, but for large fonts and low resolution outputs with few pages, rasterised pages may be smaller.
> >
> > Kind regards,
> >
> If I feed it a text file, it gives me an error:
> 
> convert: improper image header `self_spam.txt' @ error/txt.c/ReadTXTImage/439.
> 
> What's the trick to making it work with a text file as input?

Use pandoc instead.


-dsr-


Reply to: