Update 2024-02-14 07:51 OpenBSD/amd64-x13

This commit is contained in:
c0dev0id
2024-02-14 07:54:31 +01:00
parent b55e6a3616
commit 9624895938
373 changed files with 19074 additions and 3045 deletions

17
.bin/OLD/print_pdf Executable file
View File

@@ -0,0 +1,17 @@
#!/bin/sh -x
_file="${1%%.*}"
_ext="${1##*.}"
_out="/tmp/print-$(pwgen -1).ps"
convert_pdf() {
pdf2ps "$_file.$_ext" "$_out"
}
case $_ext in
[pP][dD][fF])
convert_pdf; lpr $_out;
;;
esac
rm -vf "$_out"