Emanuel Berg writes:
> This zsh works most of the time: then print the PDF.
> I say "most of the time" as sometimes the image gets
> cut in the edges - I don't know why ...
This hack still hasn't failed me. First, I do a PDF
that is A5 (i.e., smaller than A4). Then I print it on
a regular A4.
#
This zsh works most of the time: then print the PDF.
I say "most of the time" as sometimes the image gets
cut in the edges - I don't know why.
jpeg2pdf () {
local pic=$1
local pdf=${pic:r}.pdf
gs -sDEVICE=pdfwrite \
-sPAPERSIZE=a4 \
-o $pdf viewjpe
I wrote this zsh wrapper to `convert' to do it.
With the 72 PPI resolution, the image get smaller!
With the 200 PPI resolution, the image gets bigger,
and it looks good when viewed with feh, but when
I print (with lpr) the increased-size image gets split
up in two parts on the paper with a black
3 matches
Mail list logo