recentpopularlog in

kme : postscript   11

Printing plain text files []
paps --landscape --font="Monospace 10" --columns=3 --encoding="UTF-8" foo >
postscript  textprocessing  utility  software  alternativeto  a2ps 
july 2016 by kme
linux - Converting a PDF to black & white with ghostscript - Super User -
gs -o <output-file.pdf> -sDEVICE=pdfwrite \
-c "/osetcolor {/setcolor} bind def /setcolor {pop [0 0 0] osetcolor} def" \
-f <>
postscript  ghostscript  maybesolution  resample  conversion  commandline 
november 2015 by kme
#20867 (a2ps fails build on 10.6 (looks like stpcpy issue)) – MacPorts []
xstrrpl.c:25:22: error: macro "stpcpy" requires 2 arguments, but only 1 given
xstrrpl.c:25: error: 'stpcpy' redeclared as different kind of symbol
mac  osx  builderror  postscript  compiler  errormessage  maybesolution 
april 2015 by kme / blog / Convert man pages to PDF in Snow Leopard
$ man -w rsync
$ gzcat /usr/share/man/man1/rsync.1.gz | groff -man >
$ open
manpage  postscript  reference  unix  man  shell  printing  mac  osx  solution 
april 2015 by kme
a2ps - How to get 80 rows by 130 columns - /
I did not look exhaustively into this, but I got marginally-OK results from:

<code class="language-bash">a2ps -1 --landscape --lines-per-page=80 --chars-per-line=200</code>

although the cpl could have been slightly smaller for this run.
a2ps  postscript  printing  linux  solution 
april 2014 by kme
ps2pdf: PostScript-to-PDF converter
Presets the "distiller parameters" to one of four predefined settings:

/screen selects low-resolution output similar to the Acrobat Distiller "Screen Optimized" setting.
/ebook selects medium-resolution output similar to the Acrobat Distiller "eBook" setting.
/printer selects output similar to the Acrobat Distiller "Print Optimized" setting.
/prepress selects output similar to Acrobat Distiller "Prepress Optimized" setting.
/default selects output intended to be useful across a wide variety of uses, possibly at the expense of a larger output file.

postscript  pdf  conversion  ghostscript  commandline  reference  essential 
february 2014 by kme
Bug 34836 - PDF export does not export EPS images
This bug is too huge, tangled and un-readable for any developer to get to the end of. To save time and avoid repeated waste I've split it into:

bug#67464 - request for built-in EPS rendering (a long term enhancement)
bug#67465 - try harder to find pstoedit on Macs

One of these is tractable.

Julien asked:
> Michael: must have missed something but why several bugtrackers?

Because one very long, overly complicated multi-comment bug with multiple issues in it is a disaster: it wastes programmers time to read, and then they realise that there will never be a clean fix even of the easy bit because somehow someone put a man-year task next to a 10 man minute task in the same bug - so ...

> We could either transform this one into enhancement with this title for
> example: "Rendering EPS broken on MacOs".

Long, unclear, confused, unreadable bugs waste very significant time trying to unwind them. I've split it into two clear, precise bugs that can be read quickly and (I hope) gives a developer a reasonable incentive to fix one of them: the trivial bit - and the satisfaction of at least closing a bounded problem :-)


Still broken in (2014-02-09)
libreoffice  openoffice  bug  watchthisspace  postscript  eps  annoyance 
september 2012 by kme

Copy this bookmark:

to read