[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 17 Jan 2018 at 17:06:26 -0500, Dan Ritter wrote:

> 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.

I'd like to nominate this response as the most useless of 2018.

"it" obviously refers to the imagemagick convert utility.

-- 
Brian.


Reply to: