home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / share / doc / pnm2ppa / examples / pdq / dummy next >
Encoding:
Text File  |  2000-09-13  |  1.2 KB  |  49 lines

  1. #  Copyright 2000  Duncan Haldane <duncan_haldane@users.sourceforge.net>
  2. #
  3. #  PDQ interface: dummy
  4. #
  5. # This program is free software; you can redistribute it and/or modify it
  6. # under the terms of the GNU General Public License version 2.
  7. #
  8. # This program is distributed in the hope that it will be useful, but
  9. # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
  10. # or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  11. # for more details.
  12. #
  13. # You should have received a copy of the GNU General Public License along
  14. # with this program; if not, write to the Free Software Foundation, Inc., 59
  15. # Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  16. ############################################################
  17.  
  18.  
  19.  
  20. interface dummy {
  21.  
  22.    help = "Use this dummy interface if your printer is connected 
  23.            to a local parallel port of your computer, which is
  24.            configured by a driver (e.g., gs-pnm2ppa) that bypasses
  25.            the PDQ interface"
  26.  
  27.  
  28.    argument {
  29.       var = "PORT"
  30.       desc = "Dummy device" 
  31.       help = "Do not change this setting"
  32.       def_value = "/dev/null"
  33.    }
  34.  
  35.  
  36.    send_exec { 
  37.     echo "PDQ interface was bypassed"
  38.     }
  39.  
  40.  
  41. }
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.