On Thu, 17 Dec 2015, Jan Stary <[email protected]> wrote: > On Dec 17 03:28:38, [email protected] wrote: >> You can write a script wich execute mupdf and send the the route of the >> directory containing the >> pdf to a file in /tmp with the $pid of mupdf in the name. Then you can use >> your wm's key bindings >> (or use xbindkeys) to excecute a program (or a shell script, or a Tcl/Tk >> script, or a zenity script with >> gtk crap or whatever) to ask for printing options. You can get the pid and >> the file name from the title >> of the focused windows with the help of xdotool, and the directory route >> from the temp file. > > ... and then archive it in a ZIP file, make that an attachment > to the A1 cell in a spread sheet, and mail that to yourself.
https://xkcd.com/1172/

