Configuring printer at the command line

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am trying to configure a network printer using lpadmin so I can put the command in a kickstart file. yes gnome print installs is correctly but I would like to have configured at install time. I need to use the hpcups driver not hpijs.

$lpinfo --make-and-model "HP Officejet 6700" -m
drv:///hp/hpijs.drv/hp-officejet_6700-hpijs.ppd HP Officejet 6700 hpijs, 3.18.6
drv:///hp/hpcups.drv/hp-officejet_6700.ppd HP Officejet 6700, hpcups 3.18.6
lsb/usr/HP/hp-officejet_6700.ppd.gz HP Officejet 6700, hpcups 3.18.6

This is wrong, how do I specify the hpcups driver?
$lpadmin -p Officejet-6700 -E -v hp:/net/Officejet_6700?ip=172.16.0.2 -P /usr/share/ppd/HP/hp_officejet_6700.ppd.gz

I get errors in journald:
cupsd[1868]: [cups-driverd] Unable to open "/usr/share/cups/model/hp/hpcups.drv/hp_officejet_6700.ppd" - No such file or directory
cupsd[1868]: copy_model: empty PPD file
cupsd[1868]: [Client 63] Returning IPP server-error-internal-error for CUPS-Add-Modify-Printer (ipp://localhost:631/printers/Officejet-6700) from localhost

How do I specify the driver?
-Thanks
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux