home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / share / doc / foomatic-db-engine / README.Debian < prev    next >
Encoding:
Text File  |  2004-12-04  |  3.1 KB  |  85 lines

  1. foomatic-db-engine for Debian
  2. -----------------------------
  3.  
  4. Note that the structure of the LinuxPrinting.org (foomatic) printer
  5. configuration system in Debian (and upstream) has changed from the 2.0
  6. series.  There are now 3 core packages:
  7.  
  8. * foomatic-db: Contains the foomatic printer database.
  9.  
  10. * foomatic-db-engine (this package): Contains the foomatic-configure script.
  11.  
  12. * foomatic-filters: Contains the filter scripts for various backend
  13.   printing systems.
  14.  
  15. In addition, the new foomatic-db-hpijs package includes the database
  16. entries for printers supported by the HPIJS print filter developed by
  17. Hewlett-Packard for its consumer inkjet line of printers.
  18.  
  19. The foomatic-bin package is provided for upgrade purposes from
  20. Foomatic 2.0, and can be purged after its dependencies have been
  21. installed.
  22.  
  23. If you want a GUI to configure your printer, you may want to try
  24. "foomatic-gui," a GNOME-based printer configuration tool that works
  25. with Foomatic and all of the spoolers it supports.
  26.  
  27. ** How to configure a queue manually *
  28.  
  29. The command "foomatic-configure" handles this.  Set up the queue as follows:
  30.  
  31. foomatic-configure -n <queue-name> -N <description> -L <location> 
  32.   -c <connection> -p <printer> -d <driver> -s <spooler>
  33.  
  34. where:
  35.  
  36. queue-name: What you want the queue to be called.
  37.  
  38. description: A human-readable description of the queue.
  39.  
  40. location: The physical location of the printer.
  41.  
  42. connection: How the printer is connected.  e.g.:
  43.   Parallel port: file:/dev/lp0
  44.   USB port:      file:/dev/usb/lp0
  45.   IPP/CUPS:      ipp://printserver.example.org/printers/lj4500
  46.   Samba/Windows: smb://WORKGROUP/PC/Canon
  47.   JetDirect:     socket://jetdirect.example.org:9100/
  48.  
  49. printer: The printer database name.  Generally:
  50.   Manufacturer_Model-Name
  51.  
  52. driver: The driver backend to use.  For most modern printers, one of:
  53.   hpijs      (if you have foomatic-db-hpijs installed)
  54.   gimp-print (if you have foomatic-db-gimp-print installed)
  55.   gimp-print-ijs (a hybrid that ijsgimpprint and hpijs to be installed)
  56.   Postscript
  57.   pcl5
  58.  
  59. Your best bet on these two items is looking them up in the database at
  60. LinuxPrinting.org or looking through the XML files in
  61. /usr/share/foomatic/db/source/printer/
  62.  
  63. spooler: one of: cups, lpd, lprng, ppd, direct, ppr, pdq, gnulpr
  64.   (You can omit the -s option and it will try to guess.)
  65.  
  66. ** Notes for CUPS users **
  67.  
  68. IMPORTANT: If your printer filter is not working (dumping raw
  69. PostScript to the printer) immediately after setting up a queue with
  70. foomatic-configure, you may need to reload the CUPS daemon.  e.g. use:
  71. # invoke-rc.d cupsys reload
  72.  
  73. There used to be a package called "cupsomatic-ppd" that provided PPD
  74. files for all printers supported by CUPS.  A similar package called
  75. "foomatic-filters-ppds" is now available in Debian.
  76.  
  77. This package saves the step of using foomatic-configure to generate
  78. and install a PPD file for your printer and driver.  Perhaps more
  79. importantly, it provides an easy way to select printers from within
  80. CUPS's web-based administration tool.  However, it is also 15 MB when
  81. compressed, so is not recommended unless you need to use the CUPS web
  82. interface to initially set up printers.
  83.  
  84.  -- Chris Lawrence <lawrencc@debian.org>, Tue Jul  1 19:15:43 2003
  85.