printer.rst
changeset 1131 6faf5678506a
parent 1130 24f389eeb157
child 1132 5beef92e89f5
equal deleted inserted replaced
1130:24f389eeb157 1131:6faf5678506a
     1 -*- mode: outline; coding: utf-8 -*-
       
     2 
       
     3 * CUPS
       
     4 
       
     5 ** What is CUPS?
       
     6 
       
     7 See
       
     8 
       
     9   http://www.cups.org/
       
    10   http://en.wikipedia.org/wiki/Common_Unix_Printing_System
       
    11 
       
    12 ** How access to web interface of CUPS?
       
    13 
       
    14 Go to
       
    15 
       
    16   http://localhost:631
       
    17 
       
    18 ** Installing on GNU/Debian.
       
    19 
       
    20   $ sudo apt-get cupsys
       
    21   $ sudo apt-get cupsys-client
       
    22 
       
    23 ** List of printers.
       
    24 
       
    25   $ lpstat -v
       
    26 device for HL2070N: lpd://192.168.1.102/binary_p1
       
    27 
       
    28 ** What printer default?
       
    29 
       
    30   $ lpstat -d
       
    31 system default destination: HL2070N
       
    32 
       
    33 or more verbose
       
    34 
       
    35   $ lpstat -s
       
    36 system default destination: HL2070N
       
    37 device for HL2070N: lpd://192.168.1.102/binary_p1
       
    38 
       
    39 * HP printers.
       
    40 
       
    41 ** Where find driver for HP printers?
       
    42 
       
    43 Go to
       
    44 
       
    45   http://hplipopensource.com
       
    46 
       
    47 and follow instructions.
       
    48 
       
    49 ** How about LJ 1020?
       
    50 
       
    51 This printer is supported by the foo2zjs free software printer driver.
       
    52 
       
    53 The printer is faster than the LaserJet 1000 and has a USB connection. It has only 2 MB of
       
    54 RAM and 32 kB of ROM.
       
    55 
       
    56 The firmware of the printer must be uploaded after turning it on. You can use a
       
    57 hotplug/udev script which comes with foo2zjs, or do it manually:
       
    58 
       
    59   cat /usr/share/foo2zjs/firmware/sihp1020.dl > /dev/usb/lp0
       
    60 
       
    61 * brother printers.
       
    62 
       
    63 ** Работают ли принтеры brother под Linux x86_32/x86_64.
       
    64 
       
    65 Да.
       
    66 
       
    67 ** Как настроить принтер.
       
    68 
       
    69 Следует:
       
    70 
       
    71  * установить поддержку печати в Unix CUPS
       
    72  * установить, если потребуеться, драйвер принтера
       
    73  * добавить принтер
       
    74 
       
    75 Мануал производителя находиться по адресу:
       
    76 
       
    77   http://solutions.brother.com/linux/en_us/instruction_prn1a.html
       
    78 
       
    79 *** GNU/Debian x86_32.
       
    80 
       
    81 Инсталируем 2 пакета, полученых с сайта производителя:
       
    82 
       
    83   $ sudo dpkg -i brhl2070nlpr-2.0.1-1.i386.deb
       
    84   $ sudo dpkg -i cupswrapperHL2070N-2.0.1-2.i386.deb
       
    85 
       
    86 
       
    87 *** GNU/Debian x86_64.
       
    88 
       
    89 Инсталируем 2 пакета, полученых с сайта производителя (да, игнорируем что они
       
    90 предназначены для i386):
       
    91 
       
    92   $ sudo dpkg -i --force-all --force-architecture brhl2070nlpr-2.0.1-1.i386.deb
       
    93   $ sudo dpkg -i --force-all --force-architecture cupswrapperHL2070N-2.0.1-2.i386.deb
       
    94 
       
    95 ** Добавляем принтер (на примере HL 2070NR) в CUPS.
       
    96 
       
    97 Пакет cupswrapper добавляет принтер, нам осталось его сконфигурировать (при
       
    98 изменении настроек может затребуеться аутентификация, в качестве user/password
       
    99 используем root/<root-pass>):
       
   100 
       
   101  * на странице http://127.0.0.1:631/ выбираем принтер
       
   102  * меню "Modify Printer"
       
   103  * меню "LPD/LPR Host or Printer for Device"
       
   104  * адрес lpd://192.168.1.102/binary_p1
       
   105  * выбрать производителя из списка (Brother)
       
   106  * выбрать модель (HL 2070NR не было, выбрал HL 2060N)
       
   107  * установить этот принтер по умолчанию - "Set As Default"
       
   108  * добавить пользователей, которые имеют право на печать - "Set Allowed User"
       
   109 
       
   110 Пробуем напечатать пробную страницу.
       
   111 
       
   112 * Virtual printer.
       
   113 
       
   114 ** PDFCreator.
       
   115 
       
   116 Free/GPL virtual printer for Windows.
       
   117 
       
   118   http://www.pdfforge.org/
       
   119                 home page
       
   120   http://ru.wikipedia.org/wiki/PDFCreator