man-pages/fr/man8/lpadmin.8.html
2021-03-31 01:06:50 +01:00

244 lines
12 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of lpadmin</TITLE>
</HEAD><BODY>
<H1>lpadmin</H1>
Section: Apple Inc. (8)<BR>Updated: CUPS<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NOM</H2>
lpadmin - Configurer les imprimantes et classes d'imprimantes CUPS.
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>lpadmin</B> [ <B>-E</B> ] [<B>-U</B> <I>identifiant</I> ] [ <B>-h</B> <I>serveur</I>[<B>:</B><I>port</I>]
] <B>-d</B> <I>destination</I>
<BR>
<B>lpadmin</B> [ <B>-E</B> ] [<B>-U</B> <I>identifiant</I> ] [ <B>-h</B> <I>serveur</I>[<B>:</B><I>port</I>]
] <B>-p</B> <I>destination</I> [ <B>-R</B> <I>nom_par_défaut</I>] <I>option(s)</I>
<BR>
<B>lpadmin</B> [ <B>-E</B> ] [<B>-U</B> <I>identifiant</I> ] [ <B>-h</B> <I>serveur</I>[<B>:</B><I>port</I>]
] <B>-x</B> <I>destination</I>
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
<B>lpadmin</B> configure les imprimantes et les files dattente de classes
d'imprimantes fournies par CUPS. Il est également utilisé pour définir
l'imprimante ou classe d'imprimante par défaut.
<P>
Lorsque l'option <B>-E</B> est indiquée avant les options <B>-d</B>, <B>-p</B> ou <B>-x</B>,
la communication avec le serveur est chiffrée.
<P>
La première méthode d'utilisation de la commande (avec <B>-d</B>) définit
l'imprimante ou la classe par défaut à <I>destination</I>. Les impressions
futures demandées par les commandes <B><A HREF="/cgi-bin/man/man2html?1+lp">lp</A></B>(1) ou <B><A HREF="/cgi-bin/man/man2html?1+lpr">lpr</A></B>(1) utiliseront cette
destination sauf avis contraire de l'utilisateur par l'utilisation de la
commande <B><A HREF="/cgi-bin/man/man2html?1+lpoptions">lpoptions</A></B>(1).
<P>
La seconde forme de la commande (avec <B>-p</B>) configure l'imprimante ou la
classe indiquée. Les options supplémentaires sont décrites ci-dessous.
<P>
La troisième forme de la commande (avec <B>-x</B>) supprime l'imprimante ou
classe <I>destination</I>. Tous les travaux d'impression en attente sur cette
destination sont supprimés, et les travaux en cours d'impression sont
arrêtés.
<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS</H2>
Les options suivantes sont reconnues pour la configuration d'une file
d'impression&nbsp;:
<DL COMPACT>
<DT id="1"><B>-c</B> <I>classe</I><DD>
Ajouter l'imprimante <I>imprimante</I> à la classe <I>classe</I>. Si la <I>classe</I>
n'existe pas encore, elle est créée automatiquement.
<DT id="2"><B>-m </B><I>modèle</I><DD>
Sets a standard PPD file for the printer from the <I>model</I> directory or
using one of the driver interfaces. Use the <I>-m</I> option with the
<B><A HREF="/cgi-bin/man/man2html?8+lpinfo">lpinfo</A></B>(8) command to get a list of supported models. The model &quot;raw&quot;
clears any existing PPD file and the model &quot;everywhere&quot; queries the printer
referred to by the specified IPP <I>device-uri</I>. Note: Models other than
&quot;everywhere&quot; are deprecated and will not be supported in a future version of
CUPS.
<DT id="3"><B>-o cupsIPPSupplies=true</B><DD>
<DT id="4"><B>-o cupsIPPSupplies=false</B><DD>
Indiquer si les valeurs de niveau déquipement IPP doivent être rapportées.
<DT id="5"><B>-o cupsSNMPSupplies=true</B><DD>
<DT id="6"><B>-o cupsSNMPSupplies=false</B><DD>
Indiquer si les valeurs SNMP de niveau déquipement (RFC&nbsp;3805) doivent être
rapportées.
<DT id="7"><B>-o job-k-limit=</B><I>valeur</I><DD>
Définir les quotas par utilisateur en kilo-octets. La valeur est un nombre
entier de kilo-octets (valant 1&nbsp;024 octets).
<DT id="8"><B>-o job-page-limit=</B><I>valeur</I><DD>
Définir le nombre maximal de pages disponibles par utilisateur. La valeur
est un nombre entier de pages pouvant être imprimées. Les pages recto verso
comptent pour deux pages.
<DT id="9"><B>-o job-quota-period=</B><I>valeur</I><DD>
Définir le temps maximal disponible par utilisateur. La valeur est un nombre
entier de secondes. Une journée contient 86&nbsp;400 secondes.
<DT id="10"><B>-o job-sheets-default=</B><I>bannière</I><DD>
<DT id="11"><B>-o job-sheets-default=</B><I>bannière</I><B>,</B><I>bannière</I><DD>
Fixer la (les) page(s) de bannière par défaut pour les travaux d'impression.
<DT id="12"><B>-o </B><I>nom</I><B>=</B><I>valeur</I><DD>
Définir une option PPD pour l'imprimante. La liste des options PPD peut être
obtenue en utilisant l'option <B>-l</B> de la commande <B><A HREF="/cgi-bin/man/man2html?1+lpoptions">lpoptions</A></B>(1).
<DT id="13"><B>-o </B><I>nom</I><B>-default=</B><I>valeur</I><DD>
Définir au niveau du serveur une option par défaut pour la
destination. Toute option pouvant être définie au moment de l'impression
peut avoir une valeur par défaut, par exemple «&nbsp;-o number-up-default=2&nbsp;»
pour définir l'option «&nbsp;number-up&nbsp;» par défaut à la valeur&nbsp;<B>2</B>.
<DT id="14"><B>-o port-monitor=</B><I>nom</I><DD>
Fixer le programme à utiliser pour les communications binaires lors de
l'impression&nbsp;: «&nbsp;none&nbsp;», «&nbsp;bcp&nbsp;» ou «&nbsp;tbcp&nbsp;». Le programme par défaut est
«&nbsp;none&nbsp;». Le port écouté indiqué doit être listé dans le fichier PPD de
l'imprimante.
<DT id="15"><B>-o printer-error-policy=</B><I>nom</I><DD>
Sets the policy for errors such as printers that cannot be found or
accessed, don't support the format being printed, fail during submission of
the print data, or cause one or more filters to crash. The name must be one
of &quot;abort-job&quot; (abort the job on error), &quot;retry-job&quot; (retry the job at a
future time), &quot;retry-current-job&quot; (retry the current job immediately), or
&quot;stop-printer&quot; (stop the printer on error). The default error policy is
&quot;stop-printer&quot; for printers and &quot;retry-current-job&quot; for classes.
<DT id="16"><B>-o printer-is-shared=true</B><DD>
<DT id="17"><B>-o printer-is-shared=false</B><DD>
Placer la destination dans l'état partagée/publique ou non partagée/non
publique. Les destinations partagées/publiques sont annoncées officiellement
par le serveur sur le réseau local, en fonction de la configuration pour les
recherches de <B>cupsd.conf</B>, tandis que les imprimantes non partagées/non
publiques ne sont pas annoncées. La valeur par défaut est «&nbsp;true&nbsp;».
<DT id="18"><B>-o printer-op-policy=</B><I>nom</I><DD>
Fixer la politique des opérations IPP associée à l'imprimante. Le nom doit
être défini dans <B>cupsd.conf</B>, dans une section «&nbsp;Policy&nbsp;». Par défaut, la
politique des opérations est «&nbsp;default&nbsp;».
<DT id="19"><B>-R </B><I>nom</I><B>-default</B><DD>
Supprimer les options données pour l'<I>imprimante</I>.
<DT id="20"><B>-r </B><I>classe</I><DD>
Supprimer l'<I>imprimante</I> de la <I>classe</I>. Si la classe d'imprimante devient
vide, celle-ci est supprimée.
<DT id="21"><B>-u allow:</B>{<I>utilisateur</I>|<B>@</B><I>groupe</I>}{<B>,</B><I>utilisateur</I>|<B>,@</B><I>groupe</I>}*<DD>
<DT id="22"><B>-u deny:</B>{<I>utilisateur</I>|<B>@</B><I>groupe</I>}{<B>,</B><I>utilisateur</I>|<B>,@</B><I>groupe</I>}*<DD>
<DT id="23"><B>-u</B> <B>allow:</B><I>all</I><DD>
<DT id="24"><B>-u</B> <B>deny:</B><I>none</I><DD>
Définir les accès au niveau utilisateur sur une imprimante. Les noms
commençant par un «&nbsp;@&nbsp;» sont interprétés comme des groupes UNIX. Les deux
dernières expressions désactivent les contrôles d'accès au niveau
utilisateur. REMARQUE&nbsp;: le superutilisateur ne possède par daccès
spécial. Lutilisation de «&nbsp;-u allow:toto,tartempion&nbsp;» autorise les
utilisateurs «&nbsp;toto&nbsp;» et «&nbsp;tartempion&nbsp;» à accéder à limprimante, mais PAS
le «&nbsp;superutilisateur&nbsp;».
<DT id="25"><B>-v &quot;</B><I>uri_périphérique</I><B>&quot;</B><DD>
Définir l'attribut <I>uri_périphérique</I> de la file d'impression. Utiliser
l'option <B>-v</B> avec la commande <B><A HREF="/cgi-bin/man/man2html?8+lpinfo">lpinfo</A></B>(8) pour obtenir une liste des URI
de périphérique géré ainsi que leur schéma.
<DT id="26"><B>-D &quot;</B><I>info</I><B>&quot;</B><DD>
Définir une description textuelle de la destination.
<DT id="27"><B>-E</B><DD>
When specified before the <B>-d</B>, <B>-p</B>, or <B>-x</B> options, forces the use of
TLS encryption on the connection to the scheduler. Otherwise, enables the
destination and accepts jobs; this is the same as running the
<B><A HREF="/cgi-bin/man/man2html?8+cupsaccept">cupsaccept</A></B>(8) and <B><A HREF="/cgi-bin/man/man2html?8+cupsenable">cupsenable</A></B>(8) programs on the destination.
<DT id="28"><B>-L &quot;</B><I>emplacement</I><B>&quot;</B><DD>
Définir un emplacement textuel de l'imprimante.
</DL>
<A NAME="lbAF">&nbsp;</A>
<H2>DEPRECATED OPTIONS</H2>
The following <B>lpadmin</B> options are deprecated:
<DL COMPACT>
<DT id="29"><B>-i </B><I>filename</I><DD>
This option historically has been used to provide either a System V
interface script or (as an implementation side-effect) a PPD file. Note:
Interface scripts are not supported by CUPS. PPD files and printer drivers
are deprecated and will not be supported in a future version of CUPS.
<DT id="30"><B>-P </B><I>fichier_ppd</I><DD>
Specifies a PostScript Printer Description (PPD) file to use with the
printer. Note: PPD files and printer drivers are deprecated and will not be
supported in a future version of CUPS.
</DL>
<A NAME="lbAG">&nbsp;</A>
<H2>CONFORMITÉ</H2>
Contrairement au système d'impression System&nbsp;V, les noms dimprimante CUPS
peuvent contenir n'importe quel caractère imprimable sauf ESPACE,
TABULATION, «&nbsp;/&nbsp;» ou «&nbsp;#&nbsp;». De même, les noms d'imprimante et de classe ne
sont <B>pas</B> sensibles à la casse.
<P>
Finally, the CUPS version of <B>lpadmin</B> may ask the user for an access
password depending on the printing system configuration. This differs from
the System V version which requires the root user to execute this command.
<A NAME="lbAH">&nbsp;</A>
<H2>NOTES</H2>
CUPS printer drivers and backends are deprecated and will no longer be
supported in a future feature release of CUPS. Printers that do not support
IPP can be supported using applications such as <B><A HREF="/cgi-bin/man/man2html?1+ippeveprinter">ippeveprinter</A></B>(1).
<P>
La version CUPS de <B>lpadmin</B> ne reconnaît pas toutes les options de
configuration disponibles dans les versions System&nbsp;V ou Solaris.
<P>
Interface scripts are not supported for security reasons.
<P>
The double meaning of the <B>-E</B> option is an unfortunate historical oddity.
<P>
The <B>lpadmin</B> command communicates with the scheduler (<B>cupsd</B>) to make
changes to the printing system configuration. This configuration
information is stored in several files including <I>printers.conf</I> and
<I>classes.conf</I>. These files should not be edited directly and are an
implementation detail of CUPS that is subject to change at any time.
<A NAME="lbAI">&nbsp;</A>
<H2>EXEMPLE</H2>
Créer une file dimpression IPP Everywhere&nbsp;:
<PRE>
lpadmin -p mon_imprimante -E -v <A HREF="ipp://mon_imprimante.local/ipp/print">ipp://mon_imprimante.local/ipp/print</A> -m everywhere
</PRE>
<A NAME="lbAJ">&nbsp;</A>
<H2>VOIR AUSSI</H2>
<B><A HREF="/cgi-bin/man/man2html?8+cupsaccept">cupsaccept</A></B>(8), <B><A HREF="/cgi-bin/man/man2html?8+cupsenable">cupsenable</A></B>(8), <B><A HREF="/cgi-bin/man/man2html?8+lpinfo">lpinfo</A></B>(8), <B><A HREF="/cgi-bin/man/man2html?1+lpoptions">lpoptions</A></B>(1), aide en
ligne de CUPS &lt;URL:<I><A HREF="http://localhost:631/help">http://localhost:631/help</A></I>&gt;
<A NAME="lbAK">&nbsp;</A>
<H2>COPYRIGHT</H2>
Copyright 2007-2019 par Apple Inc.
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="31"><A HREF="#lbAB">NOM</A><DD>
<DT id="32"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="33"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="34"><A HREF="#lbAE">OPTIONS</A><DD>
<DT id="35"><A HREF="#lbAF">DEPRECATED OPTIONS</A><DD>
<DT id="36"><A HREF="#lbAG">CONFORMITÉ</A><DD>
<DT id="37"><A HREF="#lbAH">NOTES</A><DD>
<DT id="38"><A HREF="#lbAI">EXEMPLE</A><DD>
<DT id="39"><A HREF="#lbAJ">VOIR AUSSI</A><DD>
<DT id="40"><A HREF="#lbAK">COPYRIGHT</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:03 GMT, March 31, 2021
</BODY>
</HTML>