Posts Tagged ‘printing’

Printers control from the console

Saturday, January 19th, 2013

A short list of helpful commands for printers’ control.

lpq – shows the default system printer (if set) and its printing queue;
lpstat -a – shows all printers, available in the system, their ‘working since’ time and type of connection (USB/local network, etc);

lpstat -p – shows all printers, available in the system, their ‘working since’ time and type of connection (USB/local network, etc);
lpstat -v – shows all printers, available in the system, their ‘working since’ time and type of connection (USB/local network, etc);

lpadmin -d printer_name – set the printer_name as default system printer;
lpadmin -x printer_name – deletes printer_name printer from the system;
cupsenable printer_name – turns the printer_name printer on on the OS level;
cupsdisable printer_name – turns the printer_name printer off;

cupsctl --share-printers – shares all printers in the system, making them available across the network; and run the next command =>
cupsctl 'BrowseLocalProtocols="all"' – use all protocols of network printing. If you use Linux machines only (both printing server and client), it’s better to type “ipp” instead of “all”. IPP means Internet Printing Protocol.

Что доустанавливает HPLIP в Ubuntu ?

Wednesday, July 4th, 2012

Проверяет и , если не установлено, ставит:

sudo apt-get install python-dev libcups2-dev cups cups-bsd cups-client cups libusb-dev libtool libcupsimage2-dev libjpeg62-dev openssl libsnmp-dev python-qt4-dbus python-qt4 python-reportlab libdbus-1-dev libsane-dev xsane

А также проверяет, есть ли cups