> From [EMAIL PROTECTED] Thu May  6 09:42:57 2004
> Subject: LPRng: LPRng 3.8.27 w/ ifhp-3.5.17 - missing port on
appsocket/SNMP printer
> To: [EMAIL PROTECTED]
> From: [EMAIL PROTECTED]
> Date: Thu, 6 May 2004 11:53:29 -0400
>
>
>
> I'm trying to get a Xerox Phaser 7300DX to print using the latest
LPRng
> software. I've tried all the Phaser entries, but they all fail with a
> 'missing port number' after successfully getting status with SNMP.
Here is
> the status file with ifhp debug=1
>
> (of) main: using model 'phaser7700' at 15:32:30.570
> (of) main: appsocket device now 'wfd-color3%9100' at 15:32:30.571
> (of) Open_device: device 'wfd-color3%9100' at 15:32:30.571
> (of) Open_device: closed fd 1 at 15:32:30.571
> (of) Link_open: destination '143.122.1.10' port 9100, attempt 1 at
15:32:30.575
> (of) Fd_readable: nonblocking read returned -1, errno 35 (Operation
would block) at 15:32:30.576
> (of) Open_device: success at 15:32:30.576
> (of) main: start snmp_dev <NULL>, Device wfd-color3%9100,
:lp=wfd-color3%9100 at 15:32:30.576
> (of) snmp device 'wfd-color3' at 15:32:30.576
> (of) main: snmp_monitor device now 'wfd-color3' at 15:32:30.576
> (of) using snmp_program
'/usr/local/libexec/filters/snmp_printer_status -h "wfd-color3" -m
"default" -f
> "/usr/local/libexec/filters/snmp_printer_status.conf"' at 15:32:30.576
> (of) main: poll for status 0, Dev_sleep 1000 msec at 15:32:30.577
> (of) Check_pagecount: pagecount using 'snmp info pagecount' at
15:32:30.582
> (of) Process_job: setting up printer at 15:32:30.583
> (of) Make_tempfile: tempfile 'ifhpXXXXXX' at 15:32:30.583
> (of) Make_tempfile: new tempfile 'ifhpcaclG3', fd 6 at 15:32:30.586
> (of) Process_job: starting OF mode passthrough at 15:32:30.587
> (of) Start_of_job: do_pagecount 1, ps 0, pjl 0, prog '<NULL>' at
15:32:30.587
> (of) Do_sync: getting sync using 'snmp' and snmp at 15:32:30.587
> (of) Check_device_status: warning = 'level: other, group:
generalprinter(1), message: power saver' at 15:32:31.665
> (of) Check_device_status: devicestatus = 'unknown' at 15:32:31.965
> (of) Check_device_status: devicedescr = 'xerox phaser 7300 dx
v(2.12/15.78.10.14.2002/0.1.33/4.68) printer 512mb lpl205689' at
15:32:32.331
> (of) Check_device_status: printerstatus = 'other' at 15:32:32.461
> (of) Check_device_status: prtmarkerlifecount = '41' at 15:32:32.662
> (of) Check_device_status: status = 'power saver mode active - press ok
button' at 15:32:32.796
> (of) Do_sync: sync done at 15:32:32.796
> (of) Do_pagecount: pagecount at start -1 at 15:32:32.796
> (of) Do_pagecount: getting pagecount, timeout 0, pagecount_same 0,
pagecount_poll 0 at 15:32:32.796
> (of) Current_pagecounter: starting, use_pjl 0, use_ps 0, timeout 0 at
15:32:32.796
> (of) Current_pagecounter: Read_status_timeout result 0 at 15:32:34.366
> (of) Current_pagecounter: Read_status_timeout result 0 at 15:32:34.603
> (of) Current_pagecounter: Read_status_timeout result 0 at 15:32:34.666
> (of) Current_pagecounter: Read_status_timeout result 0 at 15:32:34.733
> (of) Check_device_status: pagecount = '41' at 15:32:34.796
> (of) Current_pagecounter: Read_status_timeout result 0 at 15:32:34.796
> (of) Current_pagecounter: page 1, pagecounter 41 at 15:32:34.796
> (of) Do_pagecount: pagecounter 41 after 1 attempts at 15:32:34.796
> (of) Start_of_job: Appsocket device close at 15:32:34.796
> (of) Open_device: device 'wfd-color3' at 15:32:34.796
> (of) Open_device: closed fd 1 at 15:32:34.796
> (of) Link_open: missing port number 'wfd-color3' at 15:32:34.796
>
>
> Here is the printcap entry:
>
> ...SNIP...
>
> color3|co3|Xerox Phaser 7300DX|Copy Center
>       :lp=wfd-color3%9100
>       :ifhp=model=phaser7700,appsocket
>       :filter=/usr/local/libexec/filters/ifhp -Tdebug=1
>       :vf=/usr/local/libexec/filters/ifhp -c
>       :of=/usr/local/libexec/filters/ofhp -Tdebug=1
>       :fx=flpv
>       :pl=60
>       :pw=83
>       :sh
>       :rw
>       :tc=.common,.ifacct
>
> ...SNIP...
>
> .common|Common definitions for all printers
>       :af=/var/adm/%P-acct
>       :lf=/var/adm/%P-log
>       :sd=/var/spool/lpd/%P
>       :pr=/usr/local/libexec/filters/pr-arg-fix $l $w $T
>       :mx=0
>       :mc#500
>
> .ifacct|Common accounting setup for all printers using IFHP as print
filter
>       :as=|/usr/local/libexec/filters/accounting.pl start
>       :ae=|/usr/local/libexec/filters/accounting.pl end
>
> Any ideas what's going on and how to fix it?
>
> Thank - Justus

I will try to reproduce this...

Patrick



-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRng MAILING LIST
The address you post from or your Reply-To address MUST be your
subscription address

If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.
To subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  call Patrick Powell or one of the friendly
staff at Astart Technologies for help.  Astart also does support for LPRng.
Also, check the Web Page at: http://www.lprng.com for any announcements.
Astart Technologies  (LPRng - Print Spooler http://www.lprng.com)
6741 Convoy Court
San Diego, CA 92111
858-874-6543 FAX 858-751-2435
-----------------------------------------------------------------------------

Reply via email to