modinfofltr man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



MODINFOFLTR(1M)			Printing Tools		       MODINFOFLTR(1M)

NAME
     modinfofltr - format and filter the /var/spool/lp/modelinfo.dat file

SYNOPSIS
     modinfofltr -h
     modinfofltr -l io_type
     modinfofltr -l io_type -v <vendor_number>
     modinfofltr -l io_type -v <vendor_number> -x <printer_model>

DESCRIPTION
     modinfofltr is used to parse the data found in the file
     /var/spool/lp/modelinfo.dat.  (See the modelinfo(1m) man page for
     information about the modelinfo.dat file.)	 modinfofltr reads input from
     standard in and writes to standard out.

     modinfofltr is used by various script files to present a menu of printer
     choices for the user to select.

USAGE
     -h	       Display a help message.

     -l io_type
	       Specify the printer IO type to be parsed.  Valid choices are:
	       CENTRONICS, SERIAL, NETPRINTER, or SCSI.	 If invoked with just
	       the -l option modinfofltr will generate a numbered list of the
	       printer vendor names that have installed printer drivers that
	       support the requested IO type.  See the examples below.

     -v vendor_number
	       Specify the vendor to use.  vendor_number is the vendor number
	       from the numbered list generated when -l was used. -l is
	       required when -v is used.  The output will be a numbered list
	       of printer model.

     -c printer_model
	       Specify the printer model to use.  printer_model is the printer
	       model from the numbered list generated when -l -v was used.
	       The options -l and -v are required when -c is used.  The output
	       will be a one line entry from the modelinfo.dat file that
	       describes the printer in detail.

EXAMPLE:
     List all vendors that support a centronics interface:

     /usr/lib/print/modinfofltr -l CENTRONICS  < ~lp/modelinfo.dat

									Page 1

MODINFOFLTR(1M)			Printing Tools		       MODINFOFLTR(1M)

     Produces:

      1. GENERIC
      2. AUTOLOGIC
      3. EPSON
      4. GENERIC
      5. GENICOM
      6. HP
      7. LEXMARK
      8. QMS

     List the Lexmark printer models for which there is an available driver.
     The -v argument (7) comes from the previous menu.

     /usr/lib/print/modinfofltr -l CENTRONICS -v 7  < ~lp/modelinfo.dat

     Produces:

      1. LEXMARK 4079+ POSTSCRIPT
      2. LEXMARK OPTRA C POSTSCRIPT
      3. LEXMARK OPTRA L/LX/LXI
      4. LEXMARK OPTRA N POSTSCRIPT
      5. LEXMARK OPTRA PLUS POSTSCRIPT
      6. LEXMARK OPTRA R/RX

     Get the modelinfo.dat entry for the Lexmark Optra N printer:

     /usr/lib/print/modinfofltr -l CENTRONICS -v 8 -c 4 < ~lp/modelinfo.dat

     Produces:

      lexmarkoptran_model%CENTRONICS%Lexmark Optra N PostScript%FACEUP=0

     which is then used by various shell script to install the printer driver.

     modinfofltr is not intended for general use.  To install a printer use
     the Printer Manager tool or the mkcentpr(1M), mknetpr(1M), mkserialpr(1M)
     or mkscsipr(1M) shell scripts.

FILES
     /usr/lib/print/modinfofltr
     /var/spool/lp/modelinfo.dat

SEE ALSO
     modelinfo(1M), mknetpr(1M), mkcentpr(1M), mkserialpr(1M), mkscsipr(1M),
     mkjtpr(1M)

									Page 2

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net