Control: tags 103128 patch

Not sure if anybody is still using apsfilter, but he is a patch to fix this
bug that I submitted 25 years ago.

diff --git a/SETUP.in b/SETUP.in
index d8e212a..207c7a8 100755
--- a/SETUP.in
+++ b/SETUP.in
@@ -336,6 +336,7 @@ do_choose_driver()
     14) Lexmark inkjet printer
     15) miscellaneous other drivers
     16) non-printer devices (caution! -- read the handbook)
+    17) enter ghostscript device name manually
 
     0)  return to main menu
 
@@ -360,6 +361,18 @@ do_choose_driver()
        14)     PRINTER_LIST=setup/printer-lexmark ;;
        15)     PRINTER_LIST=setup/printer-misc ;;
        16)     PRINTER_LIST=setup/non-printer ;;
+       17)     # manual entry of device name
+               echo
+               echo "Enter the ghostscript device name exactly as shown by 'gs 
-h'."
+               echo "Use (D) from the main menu to see available devices."
+               echo
+               echo $n "Device name: $c"; read PRINTER
+               if [ -z "$PRINTER" ]; then
+                   do_choose_driver
+                   return
+               fi
+               check_for_gs_support "$PRINTER" || do_choose_driver
+               return ;;
        *)      return ;;
     esac

Reply via email to