# HG changeset patch # User Oleksandr Gavenko # Date 1323711078 -7200 # Node ID 6faf5678506a538e7f3945bddbae692701d8d0ce # Parent 24f389eeb1579351ca442ac46546b22d9db5565f Convert file to RST syntax. diff -r 24f389eeb157 -r 6faf5678506a printer.rst --- a/printer.rst Sun Dec 11 12:03:15 2011 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,120 +0,0 @@ --*- mode: outline; coding: utf-8 -*- - -* CUPS - -** What is CUPS? - -See - - http://www.cups.org/ - http://en.wikipedia.org/wiki/Common_Unix_Printing_System - -** How access to web interface of CUPS? - -Go to - - http://localhost:631 - -** Installing on GNU/Debian. - - $ sudo apt-get cupsys - $ sudo apt-get cupsys-client - -** List of printers. - - $ lpstat -v -device for HL2070N: lpd://192.168.1.102/binary_p1 - -** What printer default? - - $ lpstat -d -system default destination: HL2070N - -or more verbose - - $ lpstat -s -system default destination: HL2070N -device for HL2070N: lpd://192.168.1.102/binary_p1 - -* HP printers. - -** Where find driver for HP printers? - -Go to - - http://hplipopensource.com - -and follow instructions. - -** How about LJ 1020? - -This printer is supported by the foo2zjs free software printer driver. - -The printer is faster than the LaserJet 1000 and has a USB connection. It has only 2 MB of -RAM and 32 kB of ROM. - -The firmware of the printer must be uploaded after turning it on. You can use a -hotplug/udev script which comes with foo2zjs, or do it manually: - - cat /usr/share/foo2zjs/firmware/sihp1020.dl > /dev/usb/lp0 - -* brother printers. - -** Работают ли принтеры brother под Linux x86_32/x86_64. - -Да. - -** Как настроить принтер. - -Следует: - - * установить поддержку печати в Unix CUPS - * установить, если потребуеться, драйвер принтера - * добавить принтер - -Мануал производителя находиться по адресу: - - http://solutions.brother.com/linux/en_us/instruction_prn1a.html - -*** GNU/Debian x86_32. - -Инсталируем 2 пакета, полученых с сайта производителя: - - $ sudo dpkg -i brhl2070nlpr-2.0.1-1.i386.deb - $ sudo dpkg -i cupswrapperHL2070N-2.0.1-2.i386.deb - - -*** GNU/Debian x86_64. - -Инсталируем 2 пакета, полученых с сайта производителя (да, игнорируем что они -предназначены для i386): - - $ sudo dpkg -i --force-all --force-architecture brhl2070nlpr-2.0.1-1.i386.deb - $ sudo dpkg -i --force-all --force-architecture cupswrapperHL2070N-2.0.1-2.i386.deb - -** Добавляем принтер (на примере HL 2070NR) в CUPS. - -Пакет cupswrapper добавляет принтер, нам осталось его сконфигурировать (при -изменении настроек может затребуеться аутентификация, в качестве user/password -используем root/): - - * на странице http://127.0.0.1:631/ выбираем принтер - * меню "Modify Printer" - * меню "LPD/LPR Host or Printer for Device" - * адрес lpd://192.168.1.102/binary_p1 - * выбрать производителя из списка (Brother) - * выбрать модель (HL 2070NR не было, выбрал HL 2060N) - * установить этот принтер по умолчанию - "Set As Default" - * добавить пользователей, которые имеют право на печать - "Set Allowed User" - -Пробуем напечатать пробную страницу. - -* Virtual printer. - -** PDFCreator. - -Free/GPL virtual printer for Windows. - - http://www.pdfforge.org/ - home page - http://ru.wikipedia.org/wiki/PDFCreator