[Comm] Рецепт: рестарт подвисшего HP1020

Денис Черносов =?iso-8859-1?q?denis0=2Eru_=CE=C1_gmail=2Ecom?=
Вт Фев 10 09:32:14 MSK 2009


9 февраля 2009 г. 18:08 пользователь Евгений <evgent на tula.net> написал:
> Денис Черносов пишет:
>>
>> В удаленном офисе стоит HP1020 под ALD4.1. Периодически крепко
>> повисает. Не спасают (как ни странно) ни перезапуск компа, ни
>> перезапуск принтера. В результате поисков и экспериментов такой
>> однострочный скрипт. Возможно кому пригодится:
>>
>> # cancel -a; service cups stop; sleep 3; rmmod usblp; sleep 3;
>> modprobe usblp; sleep 3; service cups start
>>
>> Первая команда опционально (очищает очередь печати).
>>
>
> Какой драйвер используете?


# head -n 30 /etc/cups/ppd/HP1020.ppd
*PPD-Adobe: "4.3"
*%
*% For information on using this, and to obtain the required backend
*% script, consult http://www.linuxprinting.org/
*%
*% This file is published under the GNU General Public License
*%
*% PPD-O-MATIC (3.0.0 or newer) generated this PPD file. It is for use with
*% all programs and environments which use PPD files for dealing with
*% printer capability information. The printer must be configured with the
*% "foomatic-rip" backend filter script of Foomatic 3.0.0 or newer. This
*% file and "foomatic-rip" work together to support PPD-controlled printer
*% driver option access with arbitrary free software printer drivers and
*% printing spoolers.
*%
*% To save this file on your disk, wait until the download has completed
*% (the animation of the browser logo must stop) and then use the
*% "Save as..." command in the "File" menu of your browser or in the
*% pop-up manu when you click on this document with the right mouse button.
*% DO NOT cut and paste this file into an editor with your mouse. This can
*% introduce additional line breaks which lead to unexpected results.
*%
*% You may save this file as 'HP-LaserJet_1020-foo2zjs.ppd'
*%
*%
*FormatVersion: "4.3"
*FileVersion:   "1.1"
*LanguageVersion: English
*LanguageEncoding: ISOLatin1
*PCFileName:    "FOO2ZJS.PPD"

# rpm -qa | grep foo2zjs
foo2zjs-20080923-alt1



-- 
С уважением,
Черносов Денис


Подробная информация о списке рассылки community