>From [EMAIL PROTECTED] Wed Sep 13 17:54:34 2000
From: [EMAIL PROTECTED]
Date: Wed, 13 Sep 2000 17:58:54 -0700 (PDT)
To: [EMAIL PROTECTED]
Subject: NONMEMBER from [Jin Zhou <[EMAIL PROTECTED]>]
>From owner-lprng Wed Sep 13 17:58:50 2000
Received: from genie.gene.com (genie-open.gene.com [192.12.78.1])
by astart2.astart.com (8.9.3/8.9.3) with ESMTP id RAA03459
for <[EMAIL PROTECTED]>; Wed, 13 Sep 2000 17:58:48 -0700 (PDT)
Received: from leavenworth.gene.com (leavenworth.gene.com [128.137.49.15])
by genie.gene.com (8.9.3/8.9.1) with ESMTP id RAA22904
for <[EMAIL PROTECTED]>; Wed, 13 Sep 2000 17:53:17 -0700 (PDT)
Received: from gene.com (dhcp194-180.gene.com [128.137.194.180])
by leavenworth.gene.com (8.9.3/8.9.3) with ESMTP id RAA874003;
Wed, 13 Sep 2000 17:53:16 -0700 (PDT)
Message-ID: <[EMAIL PROTECTED]>
Date: Wed, 13 Sep 2000 17:52:56 -0700
From: Jin Zhou <[EMAIL PROTECTED]>
Organization: Genentech, Inc.
X-Sender: "Jin Zhou" <[EMAIL PROTECTED]>
X-Mailer: Mozilla 4.5 [en]C-CCK-MCD (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: [EMAIL PROTECTED]
CC: Jin Zhou <[EMAIL PROTECTED]>
Subject: Problem with LPrng on HPUX 11
Content-Type: multipart/mixed;
boundary="------------189CF232877A9422CEE1E2FB"
This is a multi-part message in MIME format.
--------------189CF232877A9422CEE1E2FB
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Hi:
Is there anybody running LPrng on HPUX 11 ? --- I got very strange
problem with my system.
Basically I have tested both "lpd" and "ifhp" separately. They all
work well, but just do not work togather. Here are what I did:
1. To test ifhp
--------------------------------------------------------------------------------------
% cp /dev/null /tmp/t
% /usr/local/lib/filters/ifhp -Tdev=/tmp/t,trace,debug=1
<./testdata 2>/tmp/trace
--------------------------------------------------------------------------------------
The resulting /tmp/t and /tmp/trace file looks fine.
2. To print /tmp/t to "myprinter"
--------------------------------------------------------------------------------------
% lpr -Praw@myprinter /tmp/t
--------------------------------------------------------------------------------------
It prints the /tmp/t correctly.
3. But when I print
--------------------------------------------------------------------------------------
% lpr -Pmyprinter ./testdata
--------------------------------------------------------------------------------------
The control file and data files are generated in
/var/spool/lpd/myprinter, but no printout. The job "stalled" in the
queue and with these status info:
--------------------------------------------------------------------------------------
% lpq -l -Pmyprinter
......
Status: OF filter msg - 'ifhp 17:09:35.272 [5287] Process_OF_mode:
starting select, 1 fds' at 17:09:35.272
Status: OF filter msg - 'ifhp 17:09:35.281 [5287] read wait fd 0' at
17:09:35.281
Filter_status: (of) ifhp 17:09:35.272 [5287] Process_OF_mode: starting
select, 1 fds
Filter_status: (of) ifhp 17:09:35.281 [5287] read wait fd 0
Rank Owner/ID Class Job
Files Size Time
stalled(381sec) jinz@norton+282 A 282 ./test 969
17:08:33
--------------------------------------------------------------------------------------
In addition, later I switched on the "dev=/tmp/d" option in
ifhp.conf file, and
1. Print ./testdata file
--------------------------------------------------------------------------------------
% lpr -Pmyprinter ./testdata
--------------------------------------------------------------------------------------
2. Print /tmp/d directly to myprinter
--------------------------------------------------------------------------------------
% lpr -Praw@myprinter /tmp/d
--------------------------------------------------------------------------------------
I got both the banner page and ./testdata file printout from myprinter
correctly.
By the way, the exactly same LPrng configureation works well on HPUX
10.20, and the printcap is as below:
......
myprinter
:bq=ps@myprinter:tc=.test:
.......
.test:sd=/var/spool/lpd/%P:
:sf:sb:mx#0:tv=psc:
:generate_banner:
:fx=fvlp:
:bl=User\: $-'n Job\: $-'J Date\: $-'t:
:if=/usr/local/lib/filters/ifhp -Tstatus=off:
:of=/usr/local/lib/filters/ifhp -Fo:
:vf=/usr/local/lib/filters/ifhp -c -Tstatus=off:
:bp=/usr/local/lib/filters/psbanner:
Anybody had similar experiecne ? Thanks in advance for any
suggestion and advice.
Regards
Jin
--------------189CF232877A9422CEE1E2FB
Content-Type: text/x-vcard; charset=us-ascii;
name="Zhou.Jin.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Jin Zhou
Content-Disposition: attachment;
filename="Zhou.Jin.vcf"
begin:vcard
n:Zhou;Jin
tel;fax:(650)-225-1356
tel;work:(650)-225-8731
x-mozilla-html:FALSE
org:Genentech, Inc.;Computer Technologies Group
version:2.1
email;internet:[EMAIL PROTECTED]
title:Prog. Analyst
adr;quoted-printable:;;1 DNA Way, Mail Stop 56A=0D=0A;South San Francisco;CA;94080;USA
fn:Jin Zhou
end:vcard
--------------189CF232877A9422CEE1E2FB--
-----------------------------------------------------------------------------
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body. For the impatient,
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, send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------