Package: gscan2pdf Version: 2.12.4-1 Severity: wishlist gscan2pdf covers the majority of my scan→file workflow, but I still generally need to postprocess the generated PDF files, be it the addition of watermarks, my preference for using the shell to put the file into the target directory, the need to assign tags to the file, or just attaching the scanned document to an email.
Right now, I save the file to a temporary path, which means I need to face the save-as dialog, ensure I am in a temporary directory, and hit save, and then invoke the postprocessing tool, or find the file on disk. Which is quite a lot of extra work that I don't really want to do. gscan2pdf already allows me to invoke my email programme from the File menu. In the Preferences dialog, I can also specify user-defined tools to be invoked, either on the PNG files (accessible by menu), or on the PDF with the save-hook. Would it be possible to generalise the "Email a PDF" functionality, such that I could provide a different command to be run, or ideally provide an additional menu item for each additional command I need to be able to access? -- System Information: Debian Release: bookworm/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.15.0-3-amd64 (SMP w/8 CPU threads) Kernel taint flags: TAINT_WARN, TAINT_FIRMWARE_WORKAROUND Locale: LANG=en_NZ, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8), LANGUAGE=en_NZ:en Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages gscan2pdf depends on: ii imagemagick 8:6.9.11.60+dfsg-1.3 ii imagemagick-6.q16 [imagemagick] 8:6.9.11.60+dfsg-1.3 ii libconfig-general-perl 2.63-1 ii libdate-calc-perl 6.4-1.1 ii libfilesys-df-perl 0.92-6+b7 ii libgoocanvas2-perl 0.06-2 ii libgtk3-imageview-perl 10-1 ii libgtk3-perl 0.038-1 ii libgtk3-simplelist-perl 0.21-1 ii libhtml-parser-perl 3.76-1+b1 ii libimage-magick-perl 8:6.9.11.60+dfsg-1.3 ii libimage-sane-perl 5-1+b2 ii liblist-moreutils-perl 0.430-2 ii liblocale-codes-perl 3.69-1 ii liblocale-gettext-perl 1.07-4+b2 ii liblog-log4perl-perl 1.54-1 ii libossp-uuid-perl [libdata-uuid-perl] 1.6.2-1.5+b10 ii libpdf-builder-perl 3.023-1 ii libproc-processtable-perl 0.634-1+b1 ii libreadonly-perl 2.050-3 ii librsvg2-common 2.52.5+dfsg-3+b1 ii libset-intspan-perl 1.19-2 ii libtiff-tools 4.3.0-3 ii libtry-tiny-perl 0.31-1 ii sane-utils 1.0.32-4 Versions of packages gscan2pdf recommends: ii djvulibre-bin 3.5.28-2 ii pdftk 2.02-5+b1 ii pdftk-java [pdftk] 3.2.2-1 ii tesseract-ocr 4.1.1-2.1 ii unpaper 6.1-2+b2 ii xdg-utils 1.1.3-4.1 gscan2pdf suggests no packages. -- no debconf information -- .''`. martin f. krafft <madduck@d.o> @martinkrafft : :' : proud Debian developer `. `'` http://people.debian.org/~madduck `- Debian - when you have better things to do than fixing systems