<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=iso-8859-1"> <TITLE>Auto Install for Mandrakelinux</TITLE> <META NAME="GENERATOR" CONTENT="OpenOffice.org 1.1.0 (Linux)"> <META NAME="AUTHOR" CONTENT="David Eastcott"> <META NAME="CREATED" CONTENT="20040221;10385500"> <META NAME="CHANGEDBY" CONTENT="David Eastcott"> <META NAME="CHANGED" CONTENT="20040502;8530300"> <META NAME="CLASSIFICATION" CONTENT="DrakX Auto Install Reference"> <META NAME="KEYWORDS" CONTENT="DrakX Autoinstall"> <STYLE> <!-- @page { size: 8.5in 11in; margin: 1in } P { margin-left: 0.5in; margin-bottom: 0.08in; page-break-before: auto } P.western { font-size: 10pt; font-weight: medium } P.text-body-indent-western { margin-left: 0.2in; font-size: 10pt; font-weight: medium } P.text-body-indent-cjk { margin-left: 0.2in } P.text-body-indent-ctl { margin-left: 0.2in } H1 { margin-bottom: 0.08in; page-break-before: always } H1.western { font-family: "Times" } H1.cjk { font-family: "Mincho"; font-size: 16pt } H1.ctl { font-family: "Lucidasans"; font-size: 16pt } H2 { margin-bottom: 0.08in; page-break-before: auto } H2.western { font-family: "Times"; font-style: normal } H2.cjk { font-family: "Mincho"; font-size: 14pt; font-style: italic } H2.ctl { font-size: 14pt; font-style: italic } H3 { margin-bottom: 0.08in; page-break-before: auto } H3.western { font-family: "Times" } H3.cjk { font-family: "Mincho" } H4 { margin-left: 0.5in; margin-bottom: 0.08in; page-break-before: auto } H4.western { font-family: "Times"; font-style: normal } H4.cjk { font-family: "Mincho"; font-size: 11pt; font-style: italic } H4.ctl { font-size: 11pt; font-style: italic } TD P { margin-left: 0.5in; margin-bottom: 0.08in; page-break-before: auto } TD P.western { font-size: 10pt; font-weight: medium } TH P { margin-left: 0.5in; margin-bottom: 0.08in; page-break-before: auto } TH P.western { font-size: 10pt; font-style: italic } TH P.cjk { font-style: italic } TH P.ctl { font-style: italic } P.headings-special-western { margin-top: 0.3in; margin-bottom: 0.1in; font-size: 10pt; font-weight: bold; page-break-after: avoid } P.headings-special-cjk { margin-top: 0.3in; margin-bottom: 0.1in; page-break-after: avoid } P.headings-special-ctl { margin-top: 0.3in; margin-bottom: 0.1in; page-break-after: avoid } P.closecode-western { margin-left: 1in; margin-bottom: 0in; font-family: "Courier", monospace; font-size: 9pt; font-weight: medium } P.closecode-cjk { margin-left: 1in; margin-bottom: 0in } P.closecode-ctl { margin-left: 1in; margin-bottom: 0in } P.coderef-western { margin-left: 1in; margin-bottom: 0.08in; font-family: "Courier", monospace; font-size: 10pt; font-weight: medium } P.coderef-cjk { margin-left: 1in; margin-bottom: 0.08in } P.coderef-ctl { margin-left: 1in; margin-bottom: 0.08in } --> </STYLE> </HEAD> <BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF"> <TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0"> <TR><TH COLSPAN="3" ALIGN="CENTER"> Auto Install for Mandrakelinux</TH></TR><TR> <TD WIDTH="10%" ALIGN="LEFT" VALIGN="BOTTOM"> <A HREF="section4-25.html">Prev</A></TD><TD WIDTH="80%" ALIGN="CENTER" VALIGN="BOTTOM"></TD> <TD WIDTH="10%" ALIGN="RIGHT" VALIGN="BOTTOM"> <A HREF="section4-27.html">Next</A></TD></TR></TABLE><HR ALIGN="LEFT" WIDTH="100%"> <H2 CLASS="western" STYLE="page-break-before: always"><A NAME="printer"></A> printer</H2> <P CLASS="western">This option provides you with the ability to install and configure none, one, or more printers. DrakX provides installation support for four basic printing systems: CUPS, LPRng, LPD and PDQ. The following is an attempt to distill the auto install stuff down to a simple presentation.</P> <P CLASS="western">If all else fails, use the following form to indicate that there is no printer to be installed and then after the install is done, use the printerdrake program to add your printing system and printers.</P> <P CLASS="western" STYLE="margin-bottom: 0.15in">To have No Printing System installed, simply ensure that the <FONT FACE="Courier, monospace">'printer' </FONT>option is not in the file, or:</P> <TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0> <COL WIDTH=256*> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western">'printer' => undef,</P> </TD> </TR> </TABLE> <P CLASS="western" STYLE="margin-top: 0.15in; margin-bottom: 0.15in">However, for the more adventurous:</P> <TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0> <COL WIDTH=256*> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western">'printer' => {</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western"><BR> </P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.2in">'DEFAULT' => 'HP990C',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.2in">'SPOOLER' => 'cups',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.2in">'BROWSEPOLLADDR' => undef,</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.2in">'BROWSEPOLLPORT' => undef,</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.2in">'MANUALCUPSCONFIG' => undef,</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.2in"><BR> </P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.2in">'configured' => {</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.2in"><BR> </P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.4in">'HP990C' => {</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.4in"><BR> </P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.6in">'queuedata' => {</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.6in"><BR> </P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.8in">'spooler' => 'cups',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.8in">'foomatic' => 1,</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.8in">'printer' => 'HP-DeskJet_990C',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.8in">'ppd' => undef,</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.8in">'queue' => 'HP990C',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.8in">'driver' => 'hpijs',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.8in">'connect' => 'smb://david:cherry@eastcott/cherry/HP-990C'</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.8in">'desc' => 'Color InkJet',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.8in">'loc' => 'Cherry\'s Computer',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.8in">'make' => 'HP',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.8in">'model' => DeskJet 990C',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.8in">'options' => [</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 2in">'-o',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 2in">'PageSize=Letter',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 2in">'-o',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 2in">'InputSlot=Default'</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 2in">'-o',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 2in">'Duplex=DuplexNoTumble',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 2in"><BR> </P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 2in">...</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.8in">],</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.6in">},</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.4in">}</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.2in">}</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western">},</P> </TD> </TR> </TABLE> <TABLE WIDTH=847 BORDER=0 CELLPADDING=0 CELLSPACING=0> <COL WIDTH=60> <COL WIDTH=788> <TR VALIGN=TOP> <TD WIDTH=60> <P CLASS="western" STYLE="margin-left: 0in"><IMG SRC="AutoInstall-10.0.3_html_1412bb95.png" NAME="Graphic35" ALIGN=LEFT WIDTH=30 HEIGHT=30 BORDER=0><BR CLEAR=LEFT><BR> </P> </TD> <TD WIDTH=788> <P CLASS="western"><FONT FACE="Courier, monospace">BROWSEPOLLADDR</FONT>, <FONT FACE="Courier, monospace">BROWSEPOLLPORT</FONT> and <FONT FACE="Courier, monospace">MANUALCUPSCONFIG</FONT> are <B>not</B> currently used. So you could remove them or, just not include them in your <FONT FACE="Courier, monospace">'auto_inst.cfg'</FONT><FONT FACE="Times, serif"> </FONT>file.</P> </TD> </TR> </TABLE> <P CLASS="headings-special-western">Descriptions:</P> <TABLE WIDTH=847 BORDER=0 CELLPADDING=0 CELLSPACING=0> <COL WIDTH=241> <COL WIDTH=606> <TR VALIGN=TOP> <TD WIDTH=241 HEIGHT=48> <P CLASS="western"><FONT FACE="Courier, monospace">'DEFAULT' </FONT> </P> </TD> <TD WIDTH=606> <P CLASS="western" STYLE="margin-left: 0in">this is set to the <FONT FACE="Courier, monospace">'queue'</FONT> name for the printer that you want as the default (generally referenced as <FONT FACE="Courier, monospace">lp</FONT>). eg. <FONT FACE="Courier, monospace">'DEFAULT' => 'HP990C', </FONT> </P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241 HEIGHT=48> <P CLASS="western"><FONT FACE="Courier, monospace">'SPOOLER'</FONT></P> </TD> <TD WIDTH=606> <P CLASS="western" STYLE="margin-left: 0in">this is the printing systems that you want installed. It may be one of <FONT FACE="Courier, monospace">'cups'</FONT>, <FONT FACE="Courier, monospace">'lpd'</FONT>, <FONT FACE="Courier, monospace">'lprng'</FONT> or, <FONT FACE="Courier, monospace">'pdq'</FONT>. eg. <FONT FACE="Courier, monospace">'SPOOLER' => 'cups'</FONT><FONT FACE="Times, serif">.</FONT></P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241 HEIGHT=65> <P CLASS="western"><FONT FACE="Courier, monospace">'BROWSEPOLLADDR' </FONT> </P> </TD> <TD WIDTH=606> <P CLASS="western" STYLE="margin-left: 0in">not currently supported. This is an IP address that CUPS will poll for supported printers (see the file <FONT FACE="Courier, monospace">/etc/cups/cupsd.conf</FONT>). <BR>eg. <FONT FACE="Courier, monospace">'BROWSEPOLLADDR' => '192.168.5.253', </FONT> </P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241 HEIGHT=65> <P CLASS="western"><FONT FACE="Courier, monospace">'BROWSEPOLLPORT'</FONT></P> </TD> <TD WIDTH=606> <P CLASS="western" STYLE="margin-left: 0in">not currently supported. This is the interface Port number to contact when polling for supported printers (see the file <FONT FACE="Courier, monospace">/etc/cups/cupsd.conf</FONT>). <BR>eg. <FONT FACE="Courier, monospace">'BROWSEPOLLPORT' => '631', </FONT> </P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241 HEIGHT=83> <P CLASS="western"><FONT FACE="Courier, monospace">'MANUALCUPSCONFIG'</FONT></P> </TD> <TD WIDTH=606> <P CLASS="western" STYLE="margin-left: 0in">not currently supported. Set to <FONT FACE="Courier, monospace">1</FONT> if you are manually configuring the printing sub-system. Set to <FONT FACE="Courier, monospace">0</FONT>, if CUPS is to automatically set up the configuration files each time the CUPS service is started. eg. <FONT FACE="Courier, monospace">'MANUALCUPSCONFIG' => 1,</FONT>. The file <BR><FONT FACE="Courier, monospace">/etc/sysconfig/printing</FONT> will contain a line:</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=606> <P CLASS="western" STYLE="margin-left: 0.2in"><FONT FACE="Courier, monospace">CUPS_CONFIG=manual</FONT> - when this option is set to <FONT FACE="Courier, monospace">1</FONT> or,</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=606> <P CLASS="western" STYLE="margin-left: 0.2in"><FONT FACE="Courier, monospace">CUPS_CONFIG=automatic</FONT> - when this option is set to <FONT FACE="Courier, monospace">0</FONT></P> </TD> </TR> </TABLE> <P CLASS="western" STYLE="margin-top: 0.15in; margin-bottom: 0.15in">Each <FONT FACE="Courier, monospace">'configured'</FONT> printer definition begins with the name of the printer <FONT FACE="Courier, monospace">'queue'</FONT>, and is followed by all the printer specific parameters (<FONT FACE="Courier, monospace">'queuedata'</FONT>) as follows:</P> <TABLE WIDTH=847 BORDER=0 CELLPADDING=0 CELLSPACING=0> <COL WIDTH=241> <COL WIDTH=607> <TR VALIGN=TOP> <TD WIDTH=241 HEIGHT=30> <P CLASS="western"><FONT FACE="Courier, monospace">'spooler'</FONT></P> </TD> <TD WIDTH=607> <P CLASS="western" STYLE="margin-left: 0in">this is set to the same value used for <FONT FACE="Courier, monospace">'SPOOLER'</FONT>. eg. <FONT FACE="Courier, monospace">'spooler' => 'cups', </FONT> </P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241 HEIGHT=65> <P CLASS="western"><FONT FACE="Courier, monospace">'foomatic'</FONT></P> </TD> <TD WIDTH=607> <P CLASS="western" STYLE="margin-left: 0in">set to <FONT FACE="Courier, monospace">'1'</FONT> if you want to select the printer using the foomatic printer ID. If you want to use a CUPS+PPD file instead, then set it to <FONT FACE="Courier, monospace">'0'</FONT> and enter the <FONT FACE="Courier, monospace">'ppd'</FONT> information. eg. <FONT FACE="Courier, monospace">'foomatic' => '1', </FONT> </P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241 HEIGHT=101> <P CLASS="western"><FONT FACE="Courier, monospace">'printer'</FONT></P> </TD> <TD WIDTH=607> <P CLASS="western" STYLE="margin-left: 0in">required if you set <FONT FACE="Courier, monospace">'foomatic' => 1,</FONT>. This is set to the printer ID contained in the foomatic database You can determine the value to use with the command <FONT FACE="Courier, monospace">'/usr/bin/foomatic-configure -O -q | less'</FONT> to locate your printer, then extract the string which is bounded by the xml tag <FONT FACE="Courier, monospace"><id>...</id></FONT>. eg. <FONT FACE="Courier, monospace">'printer' => 'HP-DeskJet_990C', </FONT> </P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241 HEIGHT=179> <P CLASS="western"><FONT FACE="Courier, monospace">'ppd'</FONT></P> </TD> <TD WIDTH=607> <P CLASS="western" STYLE="margin-left: 0in">required if you set <FONT FACE="Courier, monospace">'foomatic' => '0',</FONT>. This is set to the file name for the CUPS+PPD file associated with the printer. You can determine the filename by using the command <FONT FACE="Courier, monospace">'/usr/bin/poll_ppd_base -a | less'</FONT> to locate the PPD definition for your printer. Each line contains a number of fields separated by a vertical bar (<FONT FACE="Courier, monospace">|</FONT>). The first field contains the filename required for this entry. An alternate approach is to look in the directory <FONT FACE="Courier, monospace">/usr/share/cups/model</FONT>, locate your model and desired ppd file. The value for <FONT FACE="Courier, monospace">'ppd'</FONT> would be the sub-directory and filename you want. Set it to <FONT FACE="Courier, monospace">1</FONT> if the printer is to be installed without an initial PPD script. Set it to <FONT FACE="Courier, monospace">undef</FONT> if you are not using a PPD file. eg. <FONT FACE="Courier, monospace">'ppd' => 'xerox/xr_45171.ppd.gz', </FONT> </P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241 HEIGHT=101> <P CLASS="western"><FONT FACE="Courier, monospace">'queue'</FONT></P> </TD> <TD WIDTH=607> <P CLASS="western" STYLE="margin-left: 0in">this is set to a string which represents the name of the printer that all printing utilities recognize as meaning 'this' printer. It MUST be set to the same value that is used for this printers definition. <B>NOTE</B>: the CUPS tools only allow the use of letter, number and the underscore characters. Strange, because the KUPS administration tool lets you add printer names with a hyphen too. eg. <FONT FACE="Courier, monospace">'queue' => 'HP990C', </FONT> </P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241 HEIGHT=161> <P CLASS="western"><FONT FACE="Courier, monospace">'driver'</FONT></P> </TD> <TD WIDTH=607> <P CLASS="western" STYLE="margin-left: 0in">this is the name of the driver to be used for this printer. You can determine the driver name by using the command :<BR><FONT FACE="Courier, monospace">'/usr/bin/foomatic-configure -O -q | less'</FONT> to locate your printer, then locate the driver selections which are bounded by the xml tag <BR><FONT FACE="Courier, monospace"><drivers> ...</drivers></FONT>, then extract the string bounded by the xml tag <FONT FACE="Courier, monospace"><driver>...</driver></FONT> for the driver you want to use. <BR>eg. <FONT FACE="Courier, monospace">'driver' => 'hpijs',</FONT>. If you want to use a postscript driver, then use: <FONT FACE="Courier, monospace">'driver' => 'PPD',</FONT><FONT FACE="Times, serif"> and specify a PPD file with </FONT><FONT FACE="Courier, monospace">'ppd'</FONT><FONT FACE="Times, serif">. </FONT> </P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241 HEIGHT=30> <P CLASS="western"><FONT FACE="Courier, monospace">'connect'</FONT></P> </TD> <TD WIDTH=607> <P CLASS="western" STYLE="margin-left: 0in">this defines how the printer is to be accessed (pick one of the following):</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241 HEIGHT=30> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=607> <P CLASS="western" STYLE="margin-left: 0.2in">file - the printer is accessed via a local parallel or usb port. General form is:</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241 HEIGHT=30> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=607> <P CLASS="western"><FONT FACE="Courier, monospace">file:<port device file name></FONT></P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241 HEIGHT=30> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=607> <P CLASS="western">eg. <FONT FACE="Courier, monospace"> 'file:/dev/lp0', or 'file:/dev/usb/lp0', </FONT> </P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241 HEIGHT=30> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=607> <P CLASS="western" STYLE="margin-left: 0.2in">ipp - the printer is accessed via the internet printing protocol. General form is:</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241 HEIGHT=30> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=607> <P CLASS="western"><FONT FACE="Courier, monospace">ipp://<IP or FQDN>/printers/<printer name></FONT></P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241 HEIGHT=30> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=607> <P CLASS="western">eg. <FONT FACE="Courier, monospace">'ipp://linux1.eastcott.net/printers/HP_820C',</FONT></P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241 HEIGHT=48> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=607> <P CLASS="western" STYLE="margin-left: 0.51in; text-indent: -0.31in"> lpd - the printer is accessed via a remote lpd. If the spooling system selected is <FONT FACE="Courier, monospace">'lpd'</FONT>, then the package <FONT FACE="Courier, monospace">rlpr</FONT> must be installed. General form is:</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241 HEIGHT=30> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=607> <P CLASS="western"><FONT FACE="Courier, monospace">lpd://<IP or FQDN>/<queue name></FONT></P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241 HEIGHT=30> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=607> <P CLASS="western">eg. <FONT FACE="Courier, monospace">'lpd://xerox.eastcott.net/PORT1',</FONT></P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241 HEIGHT=30> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=607> <P CLASS="western" STYLE="margin-left: 0.2in">serial - the printer is accessed via a local serial port. General form is:</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241 HEIGHT=30> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=607> <P CLASS="western"><FONT FACE="Courier, monospace"><FONT SIZE=2 STYLE="font-size: 9pt">serial:<serial port device file name>[?option[+option...]]</FONT></FONT></P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=607> <P CLASS="western"><FONT FACE="Courier, monospace">baud=rate</FONT> - Sets the baud rate for the device. </P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=607> <P CLASS="western"><FONT FACE="Courier, monospace">bits=7 or 8</FONT> - Sets the number of data bits. </P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=607> <P CLASS="western"><FONT FACE="Courier, monospace">parity=even</FONT> - Sets even parity checking. </P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=607> <P CLASS="western"><FONT FACE="Courier, monospace">parity=odd</FONT> - Sets odd parity checking. </P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=607> <P CLASS="western"><FONT FACE="Courier, monospace">parity=none</FONT> - Turns parity checking off. </P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=607> <P CLASS="western"><FONT FACE="Courier, monospace">flow=dtrdsr</FONT> - Turns DTR/DSR (hardware) flow control on. </P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=607> <P CLASS="western"><FONT FACE="Courier, monospace">flow=hard</FONT> - Turns RTS/CTS (hardware) flow control on. </P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=607> <P CLASS="western"><FONT FACE="Courier, monospace">flow=none </FONT>- Turns flow control off. </P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=607> <P CLASS="western"><FONT FACE="Courier, monospace">flow=rtscts </FONT>- Turns RTS/CTS (hardware) flow control on. </P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241 HEIGHT=30> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=607> <P CLASS="western"><FONT FACE="Courier, monospace">flow=soft</FONT> - Turns XON/XOFF (software) flow control on. </P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241 HEIGHT=30> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=607> <P CLASS="western">eg. <FONT FACE="Courier, monospace">'serial:/dev/ttyS0?baud=9600+bits=8+parity=none',</FONT></P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241 HEIGHT=65> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=607> <P CLASS="western" STYLE="margin-left: 0.51in; text-indent: -0.31in"> smb - the printer is accessed via the Microsoft SMB protocol. If this option is specified, then the package samba-clients must be installed. General form is one of the following:</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=607> <P CLASS="western"><FONT FACE="Courier, monospace">smb://workgroup/server/sharename</FONT></P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=607> <P CLASS="western"><FONT FACE="Courier, monospace">smb://server/sharename</FONT></P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=607> <P CLASS="western"><FONT FACE="Courier, monospace">smb://user:pass@workgroup/server/sharename</FONT></P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241 HEIGHT=30> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=607> <P CLASS="western"><FONT FACE="Courier, monospace">smb://user:pass@server/sharename</FONT></P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241 HEIGHT=30> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=607> <P CLASS="western">eg. <FONT FACE="Courier, monospace">'smb://MY-COMPUTER/HP_990C',</FONT></P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241 HEIGHT=65> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=607> <P CLASS="western" STYLE="margin-left: 0.66in; text-indent: -0.46in"> socket - the printer is accessed via the AppSocket protocol (a.k.a. JetDirect). If the printing system selected is 'lpd' or 'lprng', then the package nc must be installed. General form is:</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241 HEIGHT=30> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=607> <P CLASS="western"><FONT FACE="Courier, monospace">socket://<IP or FQDN>[:<port number>]</FONT></P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241 HEIGHT=30> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=607> <P CLASS="western">eg. <FONT FACE="Courier, monospace">'socket://hp.eastcott.net:9600',</FONT></P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241 HEIGHT=30> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=607> <P CLASS="western">If a port number is not specified, it defaults to 9100</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241 HEIGHT=48> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=607> <P CLASS="western" STYLE="margin-left: 0.52in; text-indent: -0.31in"> ncp - the printer is accessed via a Netware Host. If this option is used, then the package ncpfs must be installed. General form is:</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=607> <P CLASS="western"><FONT FACE="Courier, monospace">ncp:lpd://user:password@<server name>/<queue name></FONT></P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241 HEIGHT=30> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=607> <P CLASS="western"><FONT FACE="Courier, monospace">ncp:lpd://<server name>/<queue name></FONT></P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241 HEIGHT=30> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=607> <P CLASS="western">eg. <FONT FACE="Courier, monospace">'ncp://MY_PRINT_SERVER/PRINTER1', </FONT> </P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241 HEIGHT=48> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=607> <P CLASS="western" STYLE="margin-left: 0.78in; text-indent: -0.57in"> postpipe - the file being printed is 'piped' through a user command, rather then being sent to a printer directly. General form is:</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241 HEIGHT=30> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=607> <P CLASS="western"><FONT FACE="Courier, monospace">postpipe:<command></FONT></P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241 HEIGHT=30> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=607> <P CLASS="western">eg. <FONT FACE="Courier, monospace">'postpipe:cat > $HOME/rawfile', </FONT> </P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241 HEIGHT=65> <P CLASS="western" STYLE="margin-left: 0in"><IMG SRC="AutoInstall-10.0.3_html_1412bb95.png" NAME="Graphic36" ALIGN=LEFT WIDTH=30 HEIGHT=30 BORDER=0><BR CLEAR=LEFT><BR> </P> </TD> <TD WIDTH=607> <P CLASS="western" STYLE="margin-left: 0in"><B>NOTE</B>: If you have a machine running with CUPS, then you can look at the CUPS documentation at <FONT FACE="Courier, monospace">http://localhost:631/sam.html</FONT> which has a ton of information.</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241 HEIGHT=48> <P CLASS="western"><FONT FACE="Courier, monospace">'desc' </FONT> </P> </TD> <TD WIDTH=607> <P CLASS="western" STYLE="margin-left: 0in">this is descriptive text about the associated printer. <BR>eg. <FONT FACE="Courier, monospace">'desc' => 'Color InkJet', </FONT> </P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241 HEIGHT=48> <P CLASS="western"><FONT FACE="Courier, monospace">'loc'</FONT></P> </TD> <TD WIDTH=607> <P CLASS="western" STYLE="margin-left: 0in">this is usually text which describes where the printer is physically located. <BR>eg. <FONT FACE="Courier, monospace">'loc' => 'Cherry\'s Office', </FONT> </P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241 HEIGHT=30> <P CLASS="western"><FONT FACE="Courier, monospace">'make' </FONT> </P> </TD> <TD WIDTH=607> <P CLASS="western" STYLE="margin-left: 0in">this is the manufacture's name for the printer. It is optional.</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241 HEIGHT=30> <P CLASS="western"><FONT FACE="Courier, monospace">'model'</FONT></P> </TD> <TD WIDTH=607> <P CLASS="western" STYLE="margin-left: 0in">this is the manufacture's model designation for the printer. It is optional.</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241 HEIGHT=83> <P CLASS="western"><FONT FACE="Courier, monospace">'options' </FONT> </P> </TD> <TD WIDTH=607> <P CLASS="western" STYLE="margin-left: 0in">this is a series of parameters, which are concatenated together (space separated) and passed to the printer administration tool (foomatic-configure or lpoptions) when the printer queue is created. These options typically preset the default printer options. And are very dependent on the 'driver' selected.</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241 HEIGHT=48> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=607> <P CLASS="western" STYLE="margin-left: 0in">To figure out what to put here, there are two steps (note: foomatic-configure outputs a perl data structure because of the -P option in the steps below):</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241 HEIGHT=30> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=607> <P CLASS="western" STYLE="margin-left: 0in">First use:</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241 HEIGHT=30> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=607> <P CLASS="western" STYLE="margin-left: 0.2in"><FONT FACE="Courier, monospace"><FONT SIZE=1>foomatic-configure -P -q -p 530428 -d gimp-print -s cups | grep "'name" | less</FONT></FONT></P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241 HEIGHT=48> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=607> <P CLASS="western" STYLE="margin-left: 0.2in">to get a list of option names for the printer (530418) and driver (gimp-print) and spooler (cups) combination.</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241 HEIGHT=30> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=607> <P CLASS="western" STYLE="margin-left: 0in">Then use: </P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241 HEIGHT=30> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=607> <P CLASS="western" STYLE="margin-left: 0.2in"><FONT FACE="Courier, monospace"><FONT SIZE=1>foomatic-configure -P -q -p 530428 -d gimp-print -s cups | less</FONT></FONT></P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241 HEIGHT=83> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=607> <P CLASS="western" STYLE="margin-left: 0.2in">and search for <FONT FACE="Courier, monospace">'name' => '<option name you are looking to find values for>'</FONT>, just after it will be a structure beginning with <FONT FACE="Courier, monospace">'vals_byname'</FONT> which contains series of option values by name along with some information specific to each value. All you are interested in is the exact option value name(s).</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241 HEIGHT=30> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=607> <P CLASS="western" STYLE="margin-left: 0in">Finally you create the <FONT FACE="Courier, monospace">'option' </FONT>entries as follows:</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=607> <P CLASS="western" STYLE="margin-left: 0.2in"><FONT FACE="Courier, monospace">'-o',</FONT></P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241 HEIGHT=30> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=607> <P CLASS="western" STYLE="margin-left: 0.2in"><FONT FACE="Courier, monospace">'<option name>=<option value>',</FONT></P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241 HEIGHT=48> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=607> <P CLASS="western" STYLE="margin-left: 0.2in">and repeat for all options.</P> </TD> </TR> </TABLE> <P CLASS="western"><B>NOTES:</B></P> <P CLASS="western" STYLE="margin-bottom: 0.15in">There are a couple issues with the CUPS system that you may want to be aware of:</P> <TABLE WIDTH=847 BORDER=0 CELLPADDING=0 CELLSPACING=0> <COL WIDTH=92> <COL WIDTH=756> <TR VALIGN=TOP> <TD WIDTH=92 HEIGHT=119> <P CLASS="western">1.</P> </TD> <TD WIDTH=756> <P CLASS="western" STYLE="margin-left: 0in">The default auto install leaves the CUPS system acquiring and reporting printer information automatically on your network. You might really want to modify the <FONT FACE="Courier, monospace">/etc/cups/cupsd.conf</FONT> file and set the <FONT FACE="Courier, monospace">BrowseInterval</FONT> to <FONT FACE="Courier, monospace">0</FONT> and set <FONT FACE="Courier, monospace">Browsing</FONT> to <FONT FACE="Courier, monospace">off</FONT> so that your computer does not broadcast its printer definitions to the world. This propensity to tell everyone everything results in the various GUI tools presenting multiple instances of the printer definitions that can lead to confusion. Especially if the printer in question is a network based printer and you want to configure each computer to access the printer directly.</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=92 HEIGHT=83> <P CLASS="western">2.</P> </TD> <TD WIDTH=756> <P CLASS="western" STYLE="margin-left: 0in">There is a lurking problem related to the CUPS ability to modify its configuration file to suit the network environment every time the daemon is restarted. If this is causing you concerns, you were wondering why your changes were being ignored, or you simply do not want this behavior, then make sure that the file <BR><FONT FACE="Courier, monospace">/etc/configuring/printing</FONT> exists, and contains the line <FONT FACE="Courier, monospace">CUPS_CONFIG=manual</FONT>.</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=92> <P CLASS="western">3.</P> </TD> <TD WIDTH=756> <P CLASS="western" STYLE="margin-left: 0in">One final note. You normally do not have to set definitions for printers which are already defined on other computers running CUPS, as CUPS checks all other machines to see what printers they are exporting and will make them available to you. However, if they are exporting a printer which is actually on another computer or network and you print to it, then your print job actually goes to that computer first, then it goes to the printer. The downside is that if that computer is off, then you will not be able to use the printers it has defined. So use your discretion when defining printers</P> </TD> </TR> </TABLE> <P CLASS="headings-special-western">Examples:</P> <P CLASS="western" STYLE="margin-bottom: 0.15in">NO Printers:</P> <TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0> <COL WIDTH=256*> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western">'printer' => undef</P> </TD> </TR> </TABLE> <P CLASS="western" STYLE="margin-top: 0.15in; margin-bottom: 0.08in">If you use this option, then you will probably have to install all the appropriate packages when you do set up your printers. </P> <P CLASS="western" STYLE="margin-bottom: 0.15in">Multiple Printers:</P> <TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0> <COL WIDTH=256*> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western">'printer' => {</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in">'configured' => {</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'CK_HP990C' => {</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.6in">'queuedata' => {</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.8in">'printer' => 'HP-DeskJet_990C',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.8in">'make' => 'HP',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.8in">'foomatic' => 1,</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.8in">'options' => [</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 2in">'-o',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 2in">'PageSize=Letter',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 2in">'-o',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 2in">'PageRegion=Letter',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 2in">'o',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 2in">'PrintoutMode=Normal',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 2in">'-o',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 2in">'InputSlot=Default',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 2in">'-o',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 2in">'Duplex=DuplexNoTumble',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 2in">'-o',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 2in">'Quality=FromPrintoutMode',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.8in">],</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.8in">'ppd' => undef,</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.8in">'spooler' => 'cups',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.8in">'model' => 'DeskJet 990C',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.8in">'desc' => 'Color InkJet',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.8in">'loc' => 'Cherry\'s Office',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.8in">'queue' => 'CK_HP990C',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.8in">'connect' => 'smb://david:cherry@eastcott/cherry/HP-990C',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.8in">'driver' => 'hpijs'</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.6in">}</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">},</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'CK_HP2200D' => {</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.6in">'queuedata' => {</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.8in">'printer' => undef,</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.8in">'make' => 'HP',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.8in">'foomatic' => 0,</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.8in">'options' => [</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 2in">'-o',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 2in">'PageSize=Letter',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 2in">'-o',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 2in">'InputSlot=Middle',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 2in">'-o',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 2in">'Manualfeed=0',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 2in">'-o',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 2in">'Duplex=DuplexNoTumble',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 2in">'-o',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 2in">'Resolution=600x600x2dpi',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 2in">'-o',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 2in">'Smoothing=PrinterDefault',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 2in">'-o',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 2in">'HPEconoMode=PrinterDefault',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 2in">'-o',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 2in">'HPHalftone=PrinterDefault',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 2in">'-o',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 2in">'PageRegion=Letter',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 2in">'-o',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 2in">'HPOption_Duplexer=1',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 2in">'-o',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 2in">'HPOption_PaperPolicy=PromptUser',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 2in">'-o',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 2in">'HPOption_Tray3=0',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 2in">'-o',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 2in">'InstalledMemory=8MB'</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.8in">],</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.8in">'ppd' => 'HP-Postscript/HP_LaserJet_2200.ppd.gz',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.8in">'spooler' => 'cups',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.8in">'model' => 'LaserJet 2200',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.8in">'desc' => 'Laser Jet',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.8in">'loc' => 'Dave\'s Office',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.8in">'queue' => 'CK_HP2200D',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.8in">'connect' => 'lpd://scb65358/L1',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.8in">'driver' => 'PPD'</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.6in">}</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">}</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in">},</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in">'BROWSEPOLLADDR' => undef,</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in">'MANUALCUPSCONFIG' => undef,</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in">'BROWSEPOLLPORT' => undef,</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in">'DEFAULT' => 'CK_HP2200D',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western">'SPOOLER' => 'cups'</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western">},</P> </TD> </TR> </TABLE> <P CLASS="headings-special-western">Related Option Entries:</P> <P CLASS="western"><A HREF="section4-8.html#default_packages">default_packages</A></P> <P CLASS="western"><BR><BR> </P> <P CLASS="western"><BR><BR> </P> <HR ALIGN="LEFT" WIDTH="100%"> <TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0"> <TR><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP"><A HREF="section4-25.html">Prev</A></TD><TD WIDTH="34%" ALIGN="CENTER" VALIGN="TOP"><A HREF="index.html">Home</A></TD> <TD WIDTH="33%" ALIGN="RIGHT" VALIGN="TOP"><A HREF="section4-27.html">Next</A></TD></TR> <TR><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP">postInstall and postInstallNonRooted</TD> <TD WIDTH="34%" ALIGN="CENTER" VALIGN="TOP"> </TD> <TD WIDTH="33%" ALIGN="RIGHT" VALIGN="TOP">security</TD></TR></TABLE> </BODY> </HTML>