From: Michael <confabulate@kintzios.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: Scanning double sided documents and printing them the same.
Date: Thu, 10 Dec 2020 17:36:26 +0000 [thread overview]
Message-ID: <4074691.ejJDZkT8p0@lenovo.localdomain> (raw)
In-Reply-To: <rqted1$ln9$1@ciao.gmane.io>
[-- Attachment #1: Type: text/plain, Size: 1518 bytes --]
On Thursday, 10 December 2020 15:21:05 GMT Grant Edwards wrote:
> On 2020-12-10, Michael <confabulate@kintzios.com> wrote:
> > On Thursday, 10 December 2020 08:27:33 GMT Neil Bothwick wrote:
> [...]
>
> >> I use gscan2pdf, although it sans to many more file formats. Scan to 2
> >> page PDF and your printer can print in duplex.
> >>
> >> Gscan2pdf has lots of nice features, I used to use it with an ADF and it
> >> would scan all the sheets, then I'd turn the stack over and feed it back
> >> in and it would scan the other sides and then put all the pages in the
> >> correct order.
> >>
> >> I have a duplex scanner now, but that was a real time saver.
> >
> > Alternatively, on the CLI you could use imagemagick to convert your png,
> > tiff, jpg, etc., to pdf:
> >
> > convert scan1.png scan1.pdf
> > convert scan2.png scan2.pdf
> >
> > Then join the two pdf documents into one with two pages, using poppler's
> > pdfunite:
> >
> > pdfunite scan1.pdf scan2.pdf scanned.pdf
>
> There's no need for the two-step process:
>
> $ convert scan1.png scan2.png scanned.pdf
>
> --
> Grant
There was some vulnerability in ghostscript[1] which disabled the above
conversion - but I can't find the BGO number. I thought it had been patched
since then, but my system appears to not have been fixed:
$ convert scan1.jpg scan2.jpg scan.pdf
convert: attempt to perform an operation not allowed by the security policy
`PDF' @ error/constitute.c/IsCoderAuthorized/422.
[1] https://www.kb.cert.org/vuls/id/332928/
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2020-12-10 17:37 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-10 0:09 [gentoo-user] Scanning double sided documents and printing them the same Dale
2020-12-10 0:46 ` thelma
2020-12-10 1:29 ` thelma
2020-12-10 2:16 ` Dale
2020-12-10 8:27 ` Neil Bothwick
2020-12-10 9:20 ` Michael
2020-12-10 9:26 ` Neil Bothwick
2020-12-10 15:21 ` [gentoo-user] " Grant Edwards
2020-12-10 17:36 ` Michael [this message]
2020-12-10 22:25 ` Grant Edwards
2020-12-11 0:00 ` Dale
2020-12-11 0:04 ` Dale
2020-12-10 9:28 ` [gentoo-user] " J. Roeleveld
2020-12-10 10:49 ` Dr Rainer Woitok
2020-12-10 13:09 ` J. Roeleveld
2020-12-10 15:37 ` Rich Freeman
2020-12-10 17:58 ` J. Roeleveld
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4074691.ejJDZkT8p0@lenovo.localdomain \
--to=confabulate@kintzios.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox