HPdeskjet3420 설정 도와주세요. 조금만 더하면 될 듯 한데...

익명 사용자의 이미지

저와 같은 과정을 겪으신 분이 있다고 믿고 도움을 청합니다.
wowlinux 7.0까치를 사용하고 있습니다.
hp deskjet 3420프린터(usb를 사용합니다)를 쓸려고 하는데요. 요전까지는 이 모델에 대해서는 hp에서 지원을 안 하다가 최근에 지원한다는 소식을 들었죠 ^^v
현제 제가 컴 쓰고 있는 내용을 말씀드리면요..
커널은 2.4.20 얼마전에 업그레이드 했습니다.
물론 커널 컴파일할 때 usb 지원하는 걸로 했구요.
부팅할 때 usblp0, printer.c .. 이런 말이 나오는 걸로 봐서 커널은 프린터를 인식하는 듯 합니다.

본론으로 들어가서.. 제가 삽질한 과정을 알려드리죠.ㅜ.ㅜ

우선 sourceforge.net에서 hpijs-1.3을 받아 install했습니다.
그리고는 gs -h했을 때 ijs가 있어야 한다는데 없더군요 이때 gs의 버전이 5.50이었습니다. 그래서 gs8.00을 받아 설치했습니다.gs -h하니까 ijs를 지원한다고나오더군요 -0-

hpijs-1.3안에 hpijs_readme.html이 시키는데로 /usr/lib/rhs/rhs-printfilters/printerdb에 내용을 조금 추가했습니다.
<추가한 내용>
StartEntry IJS
GSDriver ijs
Description {IJS Client}
About {
This is a generalized IJS client interface for ghostscript printer
drivers. Different drivers and options are specified in the
"Extra GS options" box. The following ghostscript commands are used by the
HP Inkjet Driver (HPIJS) -sIjsServer=hpijs,
-sDeviceManufacturer="HEWLETT-PACKARD",
-dIjsUseOutputFD, -sDeviceModel=model, -dDuplex, -dTumble, -sIjsParams=options.
Where DeviceModel equals one of the following "DESKJET 990", "DESKJET 970", etc...
-dDuplex equals book, -dDuplex -dTumble equals tablet.
IjsParams can be any of the following Quality=n, MediaType=n, ColorMode=n, PenSet=n.
Where Quality equals one of the following 0=normal (default), 1=draft, 2=best.
MediaType equals one of the following 0=plain (default), 1=premium, 2=photo.
ColorMode equals one of the following 0=grey_k, 1=grey_cmy, 2=color (default).
PenSet equals one of the following 0=black_pen, 1=color_pen, 2=both_pens,
3=mdl_pen, 4=mdl_both.
Not all combinations of Quality, MediaType and ColorMode are valid print modes.
Resolution setting 600x600 is available for some print modes only.
In printtool special characters must be preceded by a double backslash see the
following example for HP 990C -sIjsServer=hpijs -sDeviceManufacturer="HEWLETT-PACKARD"
-dIjsUseOutputFD -sDeviceModel="DESKJET 990C".
}
Resolution {300} {300} {}
Resolution {600} {600} {}
EndEntry

printtool하니 lp0이란 이름으로 프린터가 잡혀있더군요.
이까지는 비교적 순조롭게 왔는데 문제는 lpr로 프린트가 되지 않는다는 겁니다.

#cat test.txt | lpr
#lpq
Printer lp@localhost
Queue no printable jobs in queue
Status job 'root@localhost+930' removed at 115220.536
#lpc active
Printer lp@localhost
lp@localhost not implemented yet (<--어떻게 implement하라는 건지...)
#lpc lpd
lpd server pid 491 on localhost.localdomain
#lpc enable
Printer lp@localhost
lp@localhost.localdomain enabled (<--된다는 건지 안된다는 건지..)

#lpc status
Printer Printing Spooling Jobs Server Subserver Re...
lp@localhost enabled enabled 0 none none

현재 상태가 이렇습니다. 자세히 쓸려고 노력했는데 부족한정보가 있으면 말씀해 주세요. 아직 프린터가 작동하지는 않지만 삽질하면서 많은 것을 배운 것 같습니다. 만약 프린터가 작동한다면... 울어버릴꺼야~ ㅜ.ㅜ

고수님들의 도움을 기다립니다. 꾸벅

좀 더 추가합니다.

혹시나 usb printer를 체크하지 않았을까 해서 module로 지정하고 커널 컴파일 한번 더 했습니다.ㅡㅡ;

#lpr -Plp test.txt
#lpq
Printer lp@localhost
Queue 1 printable job (wow~!)
Server pid 802 active
Unspooler pid 803 active
Status cannot open '/dev/usb/lp0' - 'No such device', attempt 1, sleeping 10 at 134724112 (ㅜ.ㅜ)
Rank Owner/ID Class Job Files Size Time
active root@localhost+801 A 801 test.txt 5 134724

부팅할 때 뜨는 메세지입니다.
Starting lpd warning - lp cannot open lp device '/dev/usb/lp0' -No such device
Warning - lp0 cannot open lp device '/dev/sub/lp0' - No such device

#lsmod
Module Size Used by
au8820 115600 0

usb printer모듈로 지정하고 컴파일 했는데 모듈에도 없네요.. 왜이렇죠?

불쌍한 초보를 굽어살피소서~~ㅜ.ㅜ

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.