Răsfoiți Sursa

Add B5-R size

cinaeco 4 luni în urmă
părinte
comite
db5a4181a7
1 a modificat fișierele cu 6 adăugiri și 1 ștergeri
  1. 6 1
      scan-dialog

+ 6 - 1
scan-dialog

@@ -66,6 +66,11 @@ function run_scan {
     x=176
     y=250
     ;;
+  B5-R)
+    x=176
+    y=250
+    landscape=true
+    ;;
   esac
 
   filename=$1/$2-$(date +"%Y-%m-%d-%H%M%S").$4
@@ -118,7 +123,7 @@ yad --form --orient=hor --maximized --width=750 --height=250 --columns=3 --focus
   --field="Filename Prefix:SFL" scan \
   --field="Timestamp:CB" Yes\!No \
   --field="File format:CB" jpg\!png\!pdf \
-  --field="Paper Size:CB" A4\!A4-R\!A5\!A5-R\!LTR\!LTR-R\!B5\! \
+  --field="Paper Size:CB" A4\!A4-R\!A5\!A5-R\!LTR\!LTR-R\!B5\!B5-R\! \
   --field="Resolution (DPI):CB" 75\!150\!^300\!600\!1200 \
   --field="Scan Buttons:BTN" "" \
   --field="Colour:FBTN" 'bash -c "run_scan %1 %2 %3 %4 %5 %6 Color"' \