ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Olga <laedel@pochtamt.ru>
To: community@altlinux.ru
Subject: Re: [Comm] HP DJ920c (lpd) перестал печатать
Date: Thu, 20 Feb 2003 22:57:52 +0700
Message-ID: <20030220225752.6b493905.laedel@pochtamt.ru> (raw)
In-Reply-To: <Pine.LNX.4.43L.0302201424110.2488-100000@localhost.localdomain>

Yura Kalinichenko <yuk@iceb.vinnitsa.com> пишет:

> Посмотрите /etc/printcap (заодно покажите). Уберите из описания принтера
> фильтр (параметр if). Поставьте параметр (не помню как называется - у меня
> lpd сейчас не установлен) указывающий лог-файл. Попробуйте напечатать
> простой английский текст. Если печатает - копать в сторону фильтра. Если
> нет - продолжать в сторону спулера, в чем может помочь лог-файл.

Ура! Уже яснее -- действительно, похоже на проблему с фильтром. Вот /etc/printcap:

# Entry edited Thu Feb 20 15:39:11 2003 by foomatic-configure.
# Additional configuration atop /etc/foomatic/lpd/lp.lom
lp||HP DeskJet 920C|:\
    :sd=/var/spool/lpd/lp:\
    :ppdfile=/etc/foomatic/lp.ppd:\
    :lf=/var/log/lp-errs:\
    :if=/usr/sbin/lpdomatic:\
    :af=/etc/foomatic/lpd/lp.lom:\
    :lp=/dev/lp0:\
    :sh:\
    :mx#0:

После убирания фильтра lpd действительно печатал.
С фильтром же после попытки печати в /var/log/lp-errs появляется:

Lpdomatic backend version $Revision: 2.4 $ running...
/usr/sbin/lpdomatic: called with arguments: '-w132','-l66','-i0','-n','olga','-h','localhost.localdomain','-j','File.txt','/etc/foomatic/lpd/lp.lom'
/usr/sbin/lpdomatic: af=/etc/foomatic/lpd/lp.lom
Seaerching job for option settings ...
/usr/sbin/lpdomatic: options: ''
/usr/sbin/lpdomatic: running: gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs -sDeviceManufacturer="HEWLETT-PACKARD" -sDeviceModel="DESKJET 920" -dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=842 -sIjsParams="Quality:Quality=0,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=2" -r300 -dDuplex=false -dIjsUseOutputFD -sOutputFile=- -
/usr/sbin/lpdomatic: ascii job
/usr/sbin/lpdomatic: prepended:
setting STDOUT to be *main::KID3 and spawning mpage -o -1 -b A4 -CKOI8-R -P- -
gs  PID pid2=6057
foomatic-gswrapper: gs '-dBATCH' '-dSAFER' '-dQUIET' '-dNOPAUSE' '-sDEVICE=ijs' '-sIjsServer=hpijs' '-sDeviceManufacturer=HEWLETT-PACKARD' '-sDeviceModel=DESKJET 920' '-dDEVICEWIDTHPOINTS=595' '-dDEVICEHEIGHTPOINTS=842' '-sIjsParams=Quality:Quality=0,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=2' '-r300' '-dDuplex=false' '-dIjsUseOutputFD' '-sOutputFile=/dev/fd/3' '/dev/fd/0' 3>&1 1>&2
GNU Ghostscript 6.53: Could not open the scratch file /root/tmp/gs_TJRLzZ.
**** Unable to open the initial device, quitting.
Couldn't exec foomatic-gswrapper -q -dBATCH -dSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs -sDeviceManufacturer="HEWLETT-PACKARD" -sDeviceModel="DESKJET 920" -dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=842 -sIjsParams="Quality:Quality=0,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=2" -r300 -dDuplex=false -dIjsUseOutputFD -sOutputFile=- - at /usr/sbin/lpdomatic line 802.
tail process done writing data to *main::STDOUT
KID4 finished
KID1 finished
root process done writing job data in
Main process finished


Странно: 
 GNU Ghostscript 6.53: Could not open the scratch file /root/tmp/gs_TJRLzZ.
с какой стати gs туда ломится? 
Аргументы же, с которыми он запускается, похожи на взятые из конфигов в
/etc/foomatic/ 

Куда рыть дальше?

С уважением,
OL


  reply	other threads:[~2003-02-20 15:57 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-19 17:55 Olga
2003-02-19 20:35 ` [Comm] " Sasha Martsinuk
2003-02-20  3:04   ` Olga
2003-02-20  5:52     ` Yura Kalinichenko
2003-02-20  6:52       ` Olga
2003-02-20  5:09         ` Alexander Kirey
2003-02-20  7:39           ` Korshunov Ilya
2003-02-20  7:33         ` Grigory Batalov
2003-02-20  7:37           ` Korshunov Ilya
2003-02-20  7:43             ` Grigory Batalov
2003-02-20  7:49               ` Korshunov Ilya
2003-02-20  8:56           ` Olga
2003-02-20  9:14             ` Dmytro O. Redchuk
2003-02-20 11:42               ` Olga
2003-02-20 12:32                 ` Yura Kalinichenko
2003-02-20 12:29         ` Yura Kalinichenko
2003-02-20 15:57           ` Olga [this message]
2003-02-20 16:17             ` Sergey Bolshakov
2003-02-20 17:09             ` Yura Kalinichenko
2003-02-20 18:47               ` Olga
2003-02-21  7:13               ` Olga
2003-02-21  7:26                 ` Grigory Batalov
2003-02-21  8:08                   ` Olga
2003-02-21 19:02                     ` Olga
2003-02-22  8:54                       ` [Comm] txt->ps через mpage (было: HP DJ920c (lpd) перестал печатать) Olga
2003-02-22  9:27                         ` Yura Kalinichenko
2003-02-22 11:22                           ` Olga
2003-02-20  7:42     ` [Comm] Re[2]: [Comm] HP DJ920c (lpd) перестал печатать Sasha Martsinuk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030220225752.6b493905.laedel@pochtamt.ru \
    --to=laedel@pochtamt.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git