lpadmin-p印表機-sServerName[!ServerPrinterName]-vDevice[-DComment] [-AAlertType] [-WMinutes] [-cClass] [-ePrinter1] [-FFaultRecovery] [-f allow:FormList|-f denyFormList] [-h] [-IContent-Type-List] [-iInterface] [-l] [-M-fForm-Name[-oFilebreak] [-M -SPrint-Wheel] [-mMo...
$ /usr/sbin/lpadmin -p DeskJet -E -v parallel:/dev/lp1 -m drv:///sample.drv/ deskjet.ppd –m 为打印机设置 PPD 文件 deskjet.ppd CUPS 附带的 HP DeskJet 驱动程序的 PPD 文件 示例2-3 添加已连接到串行端口的打印机 本示例说明如何添加已连接到串口端口的点阵打印机。本示例假定 PPD 文件位...
lpadmin-pPrinter-sServerName[!ServerPrinterName]-vDevice[-DComment] [-AAlertType] [-WMinutes] [-cClass] [-ePrinter1] [-FFaultRecovery] [-f allow:FormList|-f denyFormList] [-h] [-IContent-Type-List] [-iInterface] [-l] [-M-fForm-Name[-oFilebreak] ] [-M -SPrint-Wheel] [-...
lpadmin -p printer options lpadmin -x dest lpadmin -d [dest] lpadmin -n [ppdfilename] lpadmin -S print-wheel -A alert-type [-W minutes] [-Q requests] lpadmin -M -f form-name [-a[-ofilebreak][-t tray-number]] DESCRIPTION lpadmin configures the LP print service by defining prin...
可以使用命令"[root@linuxcool~]#lpadmin -p printer -E -v /dev/bus/usb/001/095 -P ./HP-LaserJet_1020.ppd"来配置它,同时启用接受打印任务并设置PPD(打印机描述文件)。总的来说,lpadmin命令提供了一套强大而灵活的工具,让你能够高效地管理和控制CUPS打印机,确保打印任务的顺利进行。
#lpadmin -pDemo-printer-E -vsocket://192.0.2.200/-mdrv:///sample.drv/generpcl.ppd Copy 这些命令使用以下选项: -p<printer_name>:设置 CUPS 中打印机的名称。 -E:启用打印机,CUPS 接受它的作业。请注意,您必须在-p之后指定...
class members of class myclass: HPLaserJetP3015 HPDESKJET882 Remove the HPDESKJET882 printer from myclass as shown below: # lpadmin -p HPDESKJET882 -r myclass Once you remove it, you’ll see only the HP Laser Jet Printer: # lpstat -c myclass members of class myclass: HPLaserJetP...
# lpadmin-p HPLaserJetP3015-v socket://10.86.1.1-P/usr/share/cups/model/HP/LaserJet_P3005-Postscript.ppd # lpstat-v deviceforHPLaserJetP3015:socket://10.86.1.1 要验证打印机当前是否已配置,您可以使用如下示例所示的命令: # lpstat-p HPLaserJetP3015-l ...
Password: P@ssw0rd@123!!123 Please type "?" for HELP > ? To Change/Configure Parameters Enter: Parameter-name: value <Carriage Return> Parameter-name Type of value ip: IP-address in dotted notation subnet-mask: address in dotted notation (enter 0 for default) ...
#lpadmin -pDemo-printer-E -vsocket://192.0.2.200/-mdrv:///sample.drv/generpcl.ppd Copy 这些命令使用以下选项: -p<printer_name>:在 CUPS 中设置打印机的名称。 -E:启用打印机,CUPS 接受它的作业。请注意,您必须在-...