*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> modinfofltr (1)              
Title
Content
Arch
Section
 

pr(1M)

Contents


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


NAME    [Toc]    [Back]

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

SYNOPSIS    [Toc]    [Back]

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

DESCRIPTION    [Toc]    [Back]

     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    [Toc]    [Back]

     -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),	mkserial
 shell scripts.


FILES    [Toc]    [Back]

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

SEE ALSO    [Toc]    [Back]

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


									PPPPaaaaggggeeee 2222
[ Back ]
 Similar pages
Name OS Title
PPP.FILTER HP-UX PPP packet filter specification file format
ppp.Filter HP-UX PPP packet filter specification file format
ppp.filter HP-UX PPP packet filter specification file format
popcv Tru64 Migrate passwords from the /var/spool/pop/POP file to the mailauth database
rapi_fmt_filtspec Tru64 Format an RSVP API (RAPI) filter spec
DxfToIv IRIX converts an Autodesk Data Exchange File format (.DXF) file to Open Inventor 2.0 format
ipfstat FreeBSD reports on packet filter statistics and filter list
more HP-UX file perusal filter for crt viewing
page HP-UX file perusal filter for crt viewing
pg IRIX file perusal filter for CRTs
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service