ubuntu-10.04 + принтер BTP-2002NP (ubuntu-10.04 + принтер BTP-2002NP)

Всё о принтерах, сканерах и многофункциональных устройствах. Подключение, настройка, проблемы.

Модератор: Модераторы разделов

Ответить
shonsu
Сообщения: 2
ОС: ubuntu

ubuntu-10.04 + принтер BTP-2002NP

Сообщение shonsu »

1) Чековый принтер Orient BTP-2002NP
2) uname -a -- Linux 2.6.32-24-generic
3) Версию дистрибутива -- ubuntu-10.04-desktop-i386
4) lsusb

Код: Выделить всё

Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 003: ID 154f:1001 - Это он
Bus 002 Device 002: ID 046d:c018 Logitech, Inc. Optical Wheel Mouse
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

5) dmesg | tail -n 50

Код: Выделить всё

[ 2676.088142] usb 1-2: USB disconnect, address 3
[ 2682.032074] usb 1-2: new full speed USB device using uhci_hcd and address 4
[ 2682.177199] usb 1-2: configuration #1 chosen from 1 choice
[ 2683.528151] usb 1-2: USB disconnect, address 4
[ 2759.656140] usb 1-2: new full speed USB device using uhci_hcd and address 5
[ 2759.804189] usb 1-2: configuration #1 chosen from 1 choice
[ 4066.872155] usb 1-2: USB disconnect, address 5
[ 4068.848090] usb 1-2: new full speed USB device using uhci_hcd and address 6
[ 4068.988363] usb 1-2: configuration #1 chosen from 1 choice


Установка происходила согласно данной инструкции:
************************
New BeiYang Co., Ltd.
Copyright 2008
************************
CUPS Driver Only Installation and Configuration instructions
------------------------------------------------------------
This document contains instructions on how to install and configure the BeiYang CUPS (Common Unix Printing System) drivers into an existing CUPS installation.
** Version: 3.10
Please reference this version number for all related issues.
** Requirements:
1. CUPS system 1.1.10 or higher
** Installation Procedure:
a. copy file rastertoby2002npu to /usr/lib/cups/filter
b. copy file by2002npu.ppd to /usr/share/cups/model
c. copy file byusb to /usr/lib/cups/backend
d. after these,you must reboot the pc
Note:
This procedure assumes that CUPS was installed as per its default script. If CUPS was installed otherwise, the directory paths may vary slightly.
** Configuration Procedure:
a. Navigate to http://localhost:631 via Netscape Navigator
b. Click on the link that reads "Manage Printers"
c. Click on the link that reads "Add Printer"
d. When prompted for the User ID and Password, enter a User ID for the Linux system that has administrative rights (or root if no other user).
e. Fill in the Name, Location, and Description fields as desired.
The text entered into the name field is used to reference the printer being configured from various applications (such as the lpr command).
Click on the link that reads "Continue"
f. Choose the port that the printer is connected to from the
choice box (typically byusb Port #1)
Click on the link that reads "Continue"
Note: Instructions for USB usage
To use the BeiYang printer with the optional USB interface and CUPS
perform the following steps on your system.
1. Modify the file /etc/modules.conf (or /etc/conf.modules) to include the following lines
alias usb-controller usb-uhci
post-install usb-uhci modprobe printer
2. Reboot the computer with the BeiYang printer connected via a USB port
3. Repeat the above procedure from step a. and choose the USB port (ByUSB Printer #1)
The procedure for supporting USB printers can vary from one Linux distribution to the next. Refer to your distributions support material if the above procedure does not work.
g. Select "beiyang" from the Make box.
Click on the link that reads "Continue"
h. Choose the model of printer being installed (by2002np(usb))
Click on the link that reads "Continue"
i. Click on the link that reads "Printers"
j. All installed printers will now be listed. Find the printer
just installed and click on the link that reads "Configure Printer".
k. Click on the link that reads "Continue".
This saves all aspects of configuration, applying them to all subsequent print requests.
n. Use driver to achieve print out.

Прошу помочь как заставить рабоать данный принтер под ubuntu.
Спасибо сказали:
Аватара пользователя
broom
Бывший модератор
Сообщения: 1629
Статус: мизантроп.ка
ОС: Gentoo

Re: ubuntu-10.04 + принтер BTP-2002NP

Сообщение broom »

Так вы попробовали следовать инструкции? К чему это привело? На каком этапе возникли проблемы?
Выполнили эти действия?
a. copy file rastertoby2002npu to /usr/lib/cups/filter
b. copy file by2002npu.ppd to /usr/share/cups/model
c. copy file byusb to /usr/lib/cups/backend
but in the darkness, behind your smile, you scream... © Dio
Спасибо сказали:
shonsu
Сообщения: 2
ОС: ubuntu

Re: ubuntu-10.04 + принтер BTP-2002NP

Сообщение shonsu »

Установка происходила согласно данной инструкции!
Принетр не печатает.
Да данные файлы были скопированы и выданны права chown -R root /usr/lib/cups/filter && chmod а+x /usr/lib/cups/filter/rastertoby2002npu
cat /var/log/cups/error_log
E [25/Aug/2010:10:40:59 +0300] [cups-deviced] PID 1767 (serial) stopped with status 8!
E [25/Aug/2010:10:41:02 +0300] [cups-driverd] Bad driver information file "/usr/share/cups/drv/sample.drv"!
E [25/Aug/2010:10:41:02 +0300] [cups-driverd] Bad driver information file "/usr/share/ppd/rastertoby2002npu"!
E [25/Aug/2010:10:41:24 +0300] Filter "/usr/lib/cups/filter/rastertoby2002npu" for printer "SNBC-BTP-2002NP" has insecure permissions (0100777)
E [25/Aug/2010:10:41:24 +0300] Filter "/usr/lib/cups/filter/rastertoby2002npu" for printer "SNBC-BTP-2002NP" has insecure permissions (0100777)
E [25/Aug/2010:10:41:24 +0300] Filter "/usr/lib/cups/filter/rastertoby2002npu" for printer "SNBC-BTP-2002NP" has insecure permissions (0100777)
E [25/Aug/2010:10:41:27 +0300] Unable to execute /usr/lib/cups/filter/rastertoby2002npu: insecure file permissions (0100777)
E [25/Aug/2010:10:41:27 +0300] [Job 25] Unable to start filter "rastertoby2002npu" - Operation not permitted.
E [25/Aug/2010:10:41:27 +0300] [Job 25] Stopping job because the scheduler could not execute a filter.
E [25/Aug/2010:11:04:58 +0300] Unable to execute /usr/lib/cups/filter/rastertoby2002npu: insecure file permissions (0100777)
E [25/Aug/2010:11:04:58 +0300] [Job 26] Unable to start filter "rastertoby2002npu" - Operation not permitted.
E [25/Aug/2010:11:04:58 +0300] [Job 26] Stopping job because the scheduler could not execute a filter.

+ данный принтер не появляется в /dev , у меня есть похожий пнринтер PRP-085 он появляется в /dev/usb/lp0 и нормально работает - http://www.kaa.org.ua/programmi/drayver-dl...rp-085iiit.html
Спасибо сказали:
Ответить