Glossy passport variant

This commit is contained in:
2026-03-07 16:57:15 +01:00
parent ea4760a81e
commit f89d5248f3
6 changed files with 377 additions and 4 deletions

41
stapled_glossy_dipl/secure Executable file
View File

@@ -0,0 +1,41 @@
#!/bin/bash
FILE=/tmp/$RANDOM
TOP=0
LEFT=3
VISAPAGES=6
# GPG Space
NEXTPAGE=28
NEXTPAGESMALL=60
NEXTFIELDBOTTOM=13
NEXTFIELDRIGHT=18
NEXTFIELDRIGHTSMALL=30
if [ $# -eq 0 ]; then
echo "Syntax: $0 <SecurityNumber>"
exit 1
fi
sn=$1
source ../include/nixdorf
init
makeNewline $TOP $FILE
makeLeft $LEFT $FILE
italicLetters $FILE
printf "$sn" >> $FILE
makeLeft $NEXTPAGE $FILE
printf "$sn" >> $FILE
resetLetters $FILE
echo "Only use the pages saying \"VISAs\" on top"
for (( i=1; i<=$VISAPAGES; i++)); do
read -s -p "Insert page $i of $VISAPAGES and press enter."
echo ""
printFile $FILE
done
rm $FILE