Re: LPRng: Xerox 4500 with Simplex Duplex

2005-02-23 Thread Ryan Novosielski
What does that mean? From what circumstance?
 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - User Support Spec. III
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630
On Fri, 28 Jan 2005, Robert Fausey wrote:
Has anyone been able to get simplex  duplex option to work with a Xerox
Phaser 4500?
--
Robert Fausey [EMAIL PROTECTED]
-
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
-
-
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
-


Re: LPRng: Xerox Phaser 4500DT

2005-02-23 Thread Ryan Novosielski
I'll tell you what it was -- it's actually rather interesting. Maybe you 
can be of help here since you obviously have experience with coding for 
these printers (I haven't tried your stuff yet -- has some odd 
dependancies that I don't plan to satisfy :)).

'snmp_printer_status', the LPRng/ifhp tool to get printer status (surprise 
;)) retrieves the status and prints it out in a PJL like format. 
Everything's great with that under most circumstances. HOWEVER, 
occaisionally the Xerox printer will return a status message with high 
ASCII in it. Here is an example:

OK:
STATUS= Ready to Print.
BAD:
STATUS= 
0x526561647920546f205072696e742e20547261792032205061706572204973204c6f7720507265737320b6
developer
 ARGH! ARGH! Vivian just showed me this email, and it is fixed in the next 
release
 of ifhp snmp_printer_status.  The fix is pretty simple:
 s/(..)/chr hex(\1)/eg if( s/^0x// );
   - put this in at the appropriate locations.
   Patrick (Hats off to Ryan for finding this) Powell
/developer
..the second message says, if my memory serves me correctly, something 
like:

Ready to Print.
Tray 2 Paper Low.
For Help Press (i)
..where in this case, the (i) is ASCII 182. Net::SNMP sees that char and 
returns the whole thing in hex. Lovely, if you aren't trying to read it as 
a textual string. I don't know enough Perl to really know how to fix that. 
ANYWAY, that was the problem. Any kind of condition that would cause the 
printer to write back and include that (i) (or, while printing, a 
right-justify character to make it say Tray 2 all the way at the right).

Anyways, this probably warrants some attention, as the 4500 is the 
replacement for the now-out-of-production 4400 (which seems to be a rather 
big hit on this list).

Believe me -- long and winding road to this point, heh.
 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - User Support Spec. III
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630
On Mon, 14 Feb 2005, Rick Cochran wrote:
Hmm.  No idea.  But I don't use ifhp.  I use all my own SNMP and filter code.
I would like to use ifhp, but unfortunately what I am using works.
There may be a printer setting for don't accept jobs if you're out of paper 
or toner.

Other than that, you will have to add code to log the SNMP status codes so 
that you can see exactly what's going on.

Here are a couple of notes from my code which might be helpful:
   # Lexmark and Xerox printers require looking at the console status
   # too because printer_status doesn't show 'printing' until the paper
   # starts moving.
   # When a Xerox printer is sleeping, prtstatus may be 1 (other).
   # Therefore we must interpret it as idle.
   # Under some circumstances (Xerox printer changing paper trays) $octet
   # magically gets its high order bit (out of 32) set.
-Rick
Ryan Novosielski wrote:
Anyone got one of these, or perhaps familiarity with the 4400DT enough 
(Henrik, Rick, etc.) to tell me why the printer might not sync with ifhp 
when it is in a low tower or low paper state? I'm using SNMP for all 
types of status. I have been thus far unable to figure out what error 
condition it is that is triggering these stoppages of print in order to 
lower their intrepreted severity.

Any clues?
--
|Rick Cochran   phone: 607-255-7618|
|Cornell CIT - Systems  Operations - Net-Print   FAX: 607-255-8521|
|730 Rhodes Hall, Ithaca, N.Y. 14853email: [EMAIL PROTECTED]|
-
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
-


LPRng: Xerox Phaser 4500DT

2005-02-11 Thread Ryan Novosielski
Anyone got one of these, or perhaps familiarity with the 4400DT enough 
(Henrik, Rick, etc.) to tell me why the printer might not sync with ifhp 
when it is in a low tower or low paper state? I'm using SNMP for all 
types of status. I have been thus far unable to figure out what error 
condition it is that is triggering these stoppages of print in order to 
lower their intrepreted severity.

Any clues?
 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - User Support Spec. III
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630
-
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
-


LPRng: Xerox Phaser 4500DT

2004-12-17 Thread Ryan Novosielski
Just got one of these for testing purposes... but so far I'm having 
trouble getting a proper pagecount. Here is my printcap:

Printer: [EMAIL PROTECTED]
ljndemo
 :ae=|/opt/LPRng/libexec/filters/accounting-umdnj.pl end
 :af=/var/spool/lpd/%P/acct
 :as=|/opt/LPRng/libexec/filters/accounting-umdnj.pl start
 :cm=Newark Lab - C632 - Xerox Phaser 4500DT
 :filter=/opt/LPRng/libexec/filters/ifhp
 :ifhp=model=phaser,dev=XXX.XXX.XXX.XXX%9100
 :lp=/dev/null
 :sd=/var/spool/lpd/%P
..but large jobs always seem to receive a pagecount of 4 (?!). Anyone 
have one of these and some idea of how to set it up? I guess SNMP might be 
the way to go? Right now it's using PS script.

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - User Support Spec. III
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630
-
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
-


Re: LPRng: Revisiting a Ricoh Aficio 350e issue

2004-10-12 Thread Ryan Novosielski
The driver is adding that stuff to the beginning, interestingly enough 
ONLY when the driver is installed remotely (Samba), not on the local PC. 
At any rate, I've got the driver set up how I'd like, and file tosses the 
file (even though had it gone right to the printer, it woulda printed).

Just looking for the best course of action here. I could make it a 
passthrough, but people print to it from UNIX sometimes, so I'd rather not 
do it that way.

Thanks.
 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - User Support Spec. III
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630
On Tue, 5 Oct 2004, Patrick Powell wrote:
From [EMAIL PROTECTED] Thu Sep 30 16:19:20 2004
Date: Tue, 28 Sep 2004 14:02:51 -0400 (EDT)
From: Ryan Novosielski [EMAIL PROTECTED]
Subject: LPRng: Revisiting a Ricoh Aficio 350e issue
To: LPRng Mailing List [EMAIL PROTECTED]
My printer driver seems to be generating this, or something like it, at
the beginning of my spool files:
^NM-s^_M-QM--
..this is throwing off file, and making it think that it is not a PJL
file (the ^[%PJL etc. comes right after it). Any ideas about how to deal
with this? I really just wanted it to look farther into the first line
(but not have to say HOW far) to find the PJL, but... I don't see that
that's necessarily possible with file (it would have to be relative to
some other string I determined to be in the file, apparently).
Someone recently pestered me about this again, and I figure I shouldn't
let it win this time.
Thanks!
 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - User Support Spec. III
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630
This is not a totally new one to me, but I cannot remember the
details of the particular device.  I think that whoever is generating
the files for this needs to look at the driver they are using.  For
some reason,  I keep thinking 'Brother Ink Jets' but I cannot recall
the details.
Patrick (not epson. no... not HP. Cannon? Some dot matrix printer?) Powell
Patrick Powell Astart Technologies
[EMAIL PROTECTED]6741 Convoy Court
Network and System San Diego, CA 92111
 Consulting   858-874-6543 FAX 858-751-2435
LPRng - Print Spooler (http://www.lprng.com)
-
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
-
-
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
-


LPRng: Revisiting a Ricoh Aficio 350e issue

2004-09-30 Thread Ryan Novosielski
My printer driver seems to be generating this, or something like it, at 
the beginning of my spool files:

^NM-s^_M-QM--
..this is throwing off file, and making it think that it is not a PJL 
file (the ^[%PJL etc. comes right after it). Any ideas about how to deal 
with this? I really just wanted it to look farther into the first line 
(but not have to say HOW far) to find the PJL, but... I don't see that 
that's necessarily possible with file (it would have to be relative to 
some other string I determined to be in the file, apparently).

Someone recently pestered me about this again, and I figure I shouldn't 
let it win this time.

Thanks!
 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - User Support Spec. III
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630
-
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
-


Re: LPRng: ifhp-3.5.16 / HP-UX 11i compile error

2004-07-27 Thread Ryan Novosielski
I have gotten a little farther with this one.
To get it to compile, I changed (in monitor.c):
setlinebuf(stdout);
to:
setvbuf(stdout, (char *)NULL, _IOLBF, 0);
..only problem is, it doesn't work when built. Sits at the starting 
transfer stage and doesn't move any farther along. I really need to 
update my ifhp and I'd appreciate any help anyone could provide. The
issue 
here is that HP-UX does not have setlinebuf, and has setvbuf instead.

Thanks!
 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922
(2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg -
C630
On Mon, 7 Jun 2004, Ryan Novosielski wrote:
Tried 3.5.17 -- same problem. Here is the output that I get.
cc  -o ifhp ifhp.o accounting.o checkcode.o debug.o errormsg.o
globmatch.o 
open_device.o perlobj.o plp_snprintf.o safemalloc.o safestrutil.o
stty.o 
vars.o -lnsl_s cc  -o textps textps.o plp_snprintf.o -lnsl_s sed -e 
's,.PERL@,/opt/perl5/bin/perl,g' -e 
's,.FILTER_DIR@,/opt/LPRng/libexec/filters,g' \
./snmp_printer_status.template \
snmp_printer_status
chmod 755 snmp_printer_status
cc  -o monitor monitor.o plp_snprintf.o safemalloc.o safestrutil.o
errormsg.o 
-lnsl_s /usr/ccs/bin/ld: Unsatisfied symbols:
  setlinebuf (code)
gmake[1]: *** [monitor] Error 1
gmake[1]: Leaving directory `/opt/src/ifhp-3.5.17/src'
gmake: *** [src] Error 2
I am using HP's AnsiC compiler with GNU/Make 3.80. I would consider
this to 
be a bug, I would think.
Help! :)
 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems
Admin |$| 
|__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg -
C630
On Wed, 25 Feb 2004, Ryan Novosielski wrote:
FYI, it seems to do this back to v3.5.12 at least... that's as far
back as
I've gone, but I did compile .10 awhile back.
 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems
Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922
(2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg -
C630
On Fri, 20 Feb 2004, Ryan Novosielski wrote:
Can someone assist me with this?
cc -D_HPUX_SOURCE=1 +DAportable -D_HPUX_SOURCE=1 -DHAVE_CONFIG_H -I.
-I..
-I.  -DIFHP_CONF=\/opt/LPRng/etc/ifhp.conf\
-DLOCALEDIR=\/opt/LPRng/share/locale\ -DDEVFD0=\-\   -c -o
monitor.o
monitor.c
cc  -o monitor monitor.o plp_snprintf.o safemalloc.o safestrutil.o
errormsg.o -lnsl_s
/usr/ccs/bin/ld: Unsatisfied symbols:
   setlinebuf (code)
gmake[1]: *** [monitor] Error 1
gmake[1]: Leaving directory `/opt/src/ifhp-3.5.16/src'
gmake: *** [src] Error 2
...I am using a 64-bit machine, compiling the code with the
+DAportable
flag set, to allow me to use the code on my older 32-bit testing
platform.
I don't know whether this is the source of the problem, but it is
something I need to do nonetheless. I suspect it is unrelated
anyhow. I am
using the HP-UX ANSI-C compilers (newest, AFAIK) and gmake 3.80.
Thanks for any hlep that you can provide.
 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems
Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922
(2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg -
C630



-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.


-




-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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

Re: LPRng: ifhp-3.5.16 / HP-UX 11i compile error

2004-06-07 Thread Ryan Novosielski
Tried 3.5.17 -- same problem. Here is the output that I get.
cc  -o ifhp ifhp.o accounting.o checkcode.o debug.o errormsg.o globmatch.o open_device.o perlobj.o plp_snprintf.o safemalloc.o safestrutil.o stty.o vars.o -lnsl_s 
cc  -o textps textps.o plp_snprintf.o -lnsl_s 
sed -e 's,.PERL@,/opt/perl5/bin/perl,g' -e 's,.FILTER_DIR@,/opt/LPRng/libexec/filters,g' \
./snmp_printer_status.template \
snmp_printer_status
chmod 755 snmp_printer_status
cc  -o monitor monitor.o plp_snprintf.o safemalloc.o safestrutil.o errormsg.o -lnsl_s 
/usr/ccs/bin/ld: Unsatisfied symbols:
   setlinebuf (code)
gmake[1]: *** [monitor] Error 1
gmake[1]: Leaving directory `/opt/src/ifhp-3.5.17/src'
gmake: *** [src] Error 2

I am using HP's AnsiC compiler with GNU/Make 3.80. I would consider this 
to be a bug, I would think.

Help! :)
 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin 
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630

On Wed, 25 Feb 2004, Ryan Novosielski wrote:
FYI, it seems to do this back to v3.5.12 at least... that's as far back as
I've gone, but I did compile .10 awhile back.
 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630
On Fri, 20 Feb 2004, Ryan Novosielski wrote:
Can someone assist me with this?
cc -D_HPUX_SOURCE=1 +DAportable -D_HPUX_SOURCE=1 -DHAVE_CONFIG_H -I. -I..
-I.  -DIFHP_CONF=\/opt/LPRng/etc/ifhp.conf\
-DLOCALEDIR=\/opt/LPRng/share/locale\ -DDEVFD0=\-\   -c -o monitor.o
monitor.c
cc  -o monitor monitor.o plp_snprintf.o safemalloc.o safestrutil.o
errormsg.o -lnsl_s
/usr/ccs/bin/ld: Unsatisfied symbols:
   setlinebuf (code)
gmake[1]: *** [monitor] Error 1
gmake[1]: Leaving directory `/opt/src/ifhp-3.5.16/src'
gmake: *** [src] Error 2
...I am using a 64-bit machine, compiling the code with the +DAportable
flag set, to allow me to use the code on my older 32-bit testing platform.
I don't know whether this is the source of the problem, but it is
something I need to do nonetheless. I suspect it is unrelated anyhow. I am
using the HP-UX ANSI-C compilers (newest, AFAIK) and gmake 3.80.
Thanks for any hlep that you can provide.
 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630
-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-
-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-
-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-


Re: LPRng: Six bugs to fix

2004-03-01 Thread Ryan Novosielski
On Fri, 27 Feb 2004, Anthony Ewell wrote:

 Dudes!  The error was from LPRng Tool!  From Chapter 11 of the above:

Well, if you read your original post, LPRngTool wasn't mentioned until
several items in, leading me to beleive that you had edited by hand to set
up the queues -- otherwise, not being familiar with LPRngTool, I probably
would not have chimed in. ;)

  The following is an example of a simple printcap entry that can
 be used to send a job to
  a remote printer using the RFC1179 protocol:
 # *LPRng* syntax

 # :lp value is 'where to print the job'
   lp:
   :[EMAIL PROTECTED]

 # OR Vintage BSD Print Spooler Syntax
 # (*LPRng* supports this as well)
 # :rp = remote printer, :rm = remote machine or host
 lp:
   :rp=raw:rm=10.0.0.1

 I also want the TCP/IP (jet direct, etc.) section of LPRng Tool
 to allow
 me to add the queues name (rp) to it.

Umm... nuh-uh. See, this is where it seems like there's some confusion.
When printing via TCP/IP on the JetDirect interface, there are NO queues
and you print on port 9100. If you want to print to an rp on a remote
printer, you are speaking of RFC1179 LPR printing -- distinctly different.
One cannot (again, to my knowledge) combine the two. Perhaps in LPRngTool
you have somehow selected LPR and TCP/IP simultaneously and this is why
it's doing this...?

 My ideal LPRng Tool is one where I have NO HAND WORK after I use it.  :-)

Agreed! :)

 --Tony

 p.s. pilot error ?!?!?!  I do believe the technical term for this is
 short between
 the head sets!  ;-)   And, yes, I am guilty of a lot of that!

We all make mistakes... I think you're referring to those who do so more
than others. :)

Cheers,

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630

-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-


Re: LPRng: ifhp-3.5.16 / HP-UX 11i compile error

2004-02-25 Thread Ryan Novosielski
FYI, it seems to do this back to v3.5.12 at least... that's as far back as
I've gone, but I did compile .10 awhile back.

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630

On Fri, 20 Feb 2004, Ryan Novosielski wrote:

 Can someone assist me with this?

 cc -D_HPUX_SOURCE=1 +DAportable -D_HPUX_SOURCE=1 -DHAVE_CONFIG_H -I. -I..
 -I.  -DIFHP_CONF=\/opt/LPRng/etc/ifhp.conf\
 -DLOCALEDIR=\/opt/LPRng/share/locale\ -DDEVFD0=\-\   -c -o monitor.o
 monitor.c
 cc  -o monitor monitor.o plp_snprintf.o safemalloc.o safestrutil.o
 errormsg.o -lnsl_s
 /usr/ccs/bin/ld: Unsatisfied symbols:
setlinebuf (code)
 gmake[1]: *** [monitor] Error 1
 gmake[1]: Leaving directory `/opt/src/ifhp-3.5.16/src'
 gmake: *** [src] Error 2

 ...I am using a 64-bit machine, compiling the code with the +DAportable
 flag set, to allow me to use the code on my older 32-bit testing platform.
 I don't know whether this is the source of the problem, but it is
 something I need to do nonetheless. I suspect it is unrelated anyhow. I am
 using the HP-UX ANSI-C compilers (newest, AFAIK) and gmake 3.80.

 Thanks for any hlep that you can provide.

  _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
 |$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630

 -
 YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
 The address you post from 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.  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.
 -


-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-


Re: LPRng: Six bugs to fix

2004-02-25 Thread Ryan Novosielski
On Fri, 23 Jan 2004, Anthony Ewell wrote:

 Hi All,

 In the process of installing LPRng, I do believe I have uncovered
 several
 bugs.  This  is my configuration:

snip

 First some background.  When I am addressing a Jet Direct print server or
 similar, I have traditionally addressed it in /etc/printcap as such:

   :rm=192.168.255.7
   :rp=raw1

 I seems that LPRng has changed this to

   :[EMAIL PROTECTED]

 It sticks rm, rp, and the port number all into lp.  This I can live
 with, EXCEPT:

Well, the real problem here to my eyes is that you are ending up with a
[EMAIL PROTECTED] You use the first or the last (like before
and after on Wheel of Fortune ;)), but I don't think altogether that that
is proper syntax. If you are doing it, it's bad syntax (though you seem to
be indicating the software is doing it -- but read below...)

snip

 BUG 3:  the new super lp method does not work.  /etc/printcap must be hand
 edited to the following:
  # :rm=192.168.255.7
  # :[EMAIL PROTECTED]
 :lp=192.168.255.7%9100
 :rp=raw1

 Note that you must
A)  use an lp, rp pair, and
B)  remove the queue name and @ symbol (raw1@) from lp.


 BUG 4:  if you edit the queue with LPRngTool,  LPRngTool will change the
 lp,
 rp pair back to the super lp method.  Meaning you have to remember
 to hand
 edit the lp, rp pair back into /etc/printcap.


 BUG 5:  Speaking of  LPRngTool, I need to be able to specify the print queue
 name (rp) when setting up a printer for LPR/LPD.  LPRngTool removes this
 option when setting up this kind of printer.  This creates a real mess
 when setting
 up a Jet Direct 500x with three queues names (raw1, raw2, and raw3) for
 each of its three parallel ports.

OK, if I'm right about the above portion (I'm pretty certain I am as I've
been doing this awhile ;)), you've got this all hosed. Like I said above,
you pick the proper port (ie 9100, 9101, etc.) OR you pick a queue and the
port used is 515 (LPR). AFAIK, both is bad syntax. My personal
recommendation is:

:[EMAIL PROTECTED]

...this should do what you want. If you are using 9100, you should omit
the queue name as each port will be defined as a particular queue. Again,
this is only as I understand it, but I believe I answered this question
already on the list in the past and others concurred with my
understanding.

Now, a caveat here that I've noticed is if you are using ifhp as your
filter (you have not indicated either way), you will most likely want:

:lp=/dev/null
:[EMAIL PROTECTED]

...something about the addr already being open while ifhp tries to access
it -- but this does not seem like your problem.

Bottom line: if rm/rp does not work and inserts 9100 at the end without
you suggesting it (I don't believe it did last time I tried it), that is a
bug. If you are manually using a queue name and port name, I think it's
pilot error.

HTH!

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630

-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-


LPRng: ifhp-3.5.16 / HP-UX 11i compile error

2004-02-20 Thread Ryan Novosielski
Can someone assist me with this?

cc -D_HPUX_SOURCE=1 +DAportable -D_HPUX_SOURCE=1 -DHAVE_CONFIG_H -I. -I..
-I.  -DIFHP_CONF=\/opt/LPRng/etc/ifhp.conf\
-DLOCALEDIR=\/opt/LPRng/share/locale\ -DDEVFD0=\-\   -c -o monitor.o
monitor.c
cc  -o monitor monitor.o plp_snprintf.o safemalloc.o safestrutil.o
errormsg.o -lnsl_s
/usr/ccs/bin/ld: Unsatisfied symbols:
   setlinebuf (code)
gmake[1]: *** [monitor] Error 1
gmake[1]: Leaving directory `/opt/src/ifhp-3.5.16/src'
gmake: *** [src] Error 2

...I am using a 64-bit machine, compiling the code with the +DAportable
flag set, to allow me to use the code on my older 32-bit testing platform.
I don't know whether this is the source of the problem, but it is
something I need to do nonetheless. I suspect it is unrelated anyhow. I am
using the HP-UX ANSI-C compilers (newest, AFAIK) and gmake 3.80.

Thanks for any hlep that you can provide.

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630

-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-


Re: LPRng: One printer with 2 queues

2003-11-06 Thread Ryan Novosielski
The way this is done is to implement bounce queues. Neither of the two
queues actually talks to the printer. Instead the third one does. The
first two printers merely pass the jobs on to this third one.

If you provided why you need this functionality, it might be easier to
assist you more specifically.

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630

On Thu, 6 Nov 2003, Dan Bar wrote:


 Hello,

 The setup is:

 - 1 HP LJ printer with JetDirect
 - 2 lprng queues both printing to port 9100 of JD

 My question is: does lprng SW some kind of destination device locking?
 (so sending job to both queues at the *same* moment will not result at
 two lpd daemons to try to send job to a port 9100 at once?

 |--|  |--|
 | Queue 1  |  | Queue 2  |
 |--|  |--|
|_|
 |
\|/
 ||
 | HP printer on JD port 9100 |
 ||


 Thanks for any answer,

 Dan



 -
 YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
 The address you post from 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.  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.
 -


-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-


LPRng: Xerox Phaser 7300N

2003-11-05 Thread Ryan Novosielski
Does anyone have a good ifhp def for this beast (better than phaser?)

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630

-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-


Re: LPRng: printer moniter question.

2003-10-23 Thread Ryan Novosielski
May I recommend JUSTPOP.EXE for your Windows messaging. It hides entirely
-- no tray icon, and I don't think you can quit it without ALT-CTRL-DEL
and End-Task'ing it, and when a message comes up, it is just the message
with an OK button -- none of that extra crap that comes with WinPopup.

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630

On Wed, 22 Oct 2003, James.Q.L wrote:

 Hi,

 I have LPRng working with samba and network printers just now. greate software/group 
 and thank
 you!

 i will implement more features into this printing system. so i just ask ahead. 
 suggestion and
 advice appreciated.

 -- show real time print jobs. i have never worked with snmp. but i think i could do 
 it with
 Net::SNMP or SNMP::NPAdmin


 -- prompt user error i.e print quota insufficient.
 email user doesn't seem to be a good choice. do user really check their email box 
 whild having
 problem print?
 samba windows popup message looks good. tho i may have to opon win popup service 
 becuase most of
 our lab computers running win98

 i know a lot of you monitor much bigger network than me. what do you do to these two 
 questions?

 oh, i guess i still need to code a tools to let user get their quota. hasn't this 
 been done before
 ?

 many thanks!


 Qiang




 __
 Do you Yahoo!?
 The New Yahoo! Shopping - with improved product search
 http://shopping.yahoo.com

 -
 YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
 The address you post from 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.  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.
 -


-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-


Re: LPRng: pagecounting on the hp4100

2003-09-10 Thread Ryan Novosielski
Patrick,

Have you fixed the bug relating to commas in the jobname? I'd really like
to be using a standard version of the software as opposed to a patched
one. I believe the patch I'm using is Fernando Blanco's... maybe. :)

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630

On Wed, 10 Sep 2003, Patrick Powell wrote:

 Could I get you folks to try the current version of IFHP and see if
 it gets pagecounts correctly?  If not,  could you put your patches in
 and see if it works?  I will then add the patch.

 Patrick Powell


  From [EMAIL PROTECTED] Wed Aug 21 16:36:22 2002
  From: Duncan McEwan [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Subject: Re: LPRng: pagecounting on the hp4100
  Date: Thu, 22 Aug 2002 10:46:12 +1200
 
  --Multipart_Thu_Aug_22_10:46:12_2002-1
  Content-Type: text/plain; charset=US-ASCII
 
   Has anybody found a reasonable way to get pagecount data out of
   the HP Laserjet 4100?
 
  Coincidently I've been looking at this as well, since I found the same
  problem with zero page counts for 1 page print jobs.
 
  I searched back through some previous mailing list messages I'd saved and found
  one from Fernando Blanco Marcilla [EMAIL PROTECTED] sent on Jan 22nd
  2002 with a subject HP-4100 Pagecount problem. A possible solution.  I don't
  think Fernando has said anything in to this thread so far so I hope he doesn't
  mind if I do it for him!
 
  I've attached his message below so you can see what he said back then.
 
  I've also tried his patch with ifhp 3.5.10 (the code is essentially the same in
  the affected areas but the line numbers are off so I've also attached an
  updated version of the patch.
 
  It actually does seem to work for me, in that if I run ifhp in debugging mode,
  it exits with the correct page count almost exactly as soon as the last page of
  a job finishes printing.
 
  I've also tried this patch on an hp4000, a 4050 and an 8000 and it seems to
  work on all of those.  However, it doesn't work on an older hp5m we still have.
  So right now I'm attempting to understand more of what is going on here to see
  if I can figure out *why* his patch works for the newer printers but not for
  the 5m.  And I'd rather not put it into production use until I do understand
  it, so if anyone can explain it I'd like to hear...
 
  Duncan
 
 
  --Multipart_Thu_Aug_22_10:46:12_2002-1
  Content-Type: application/octet-stream; type=patch
  Content-Disposition: attachment; filename=ifhp.patch
  Content-Transfer-Encoding: 7bit
 
  *** ifhp.c.ORIG Tue Jul 23 04:19:05 2002
  --- ifhp.c  Mon Aug 19 15:38:42 2002
  ***
  *** 3232,3238 
void Do_waitend( int waitend_timeout, int waitend_interval,
  int waitend_ctrl_t_interval, int banner )
{
  !   char *sync_str, *s, *t, *u, buffer[SMALLBUFFER], endname[SMALLBUFFER];
  int len, elapsed, timeout, waitend,
  use, use_pjl, use_ps, use_job, c,
  echo_received = 0;
  --- 3232,3238 
void Do_waitend( int waitend_timeout, int waitend_interval,
  int waitend_ctrl_t_interval, int banner )
{
  !   char *sync_str, *s, *t, *u, buffer[SMALLBUFFER], endname[SMALLBUFFER], 
  statusname[SMALLBUFFER];
  int len, elapsed, timeout, waitend,
  use, use_pjl, use_ps, use_job, c,
  echo_received = 0;
  ***
  *** 3415,3421 
  t = GET_HASH_STR_OBJ( Devstatus, name, MEMINFO);
  u = GET_HASH_STR_OBJ( Devstatus, result, MEMINFO);
  DEBUG2(Do_waitend: job '%s', name '%s', result '%s', endname 
  '%s', s, t, u, endname );
  !   if( s  safestrstr(s,END)  t  safestrstr(t,endname) ){
  waitend = 1;
  }
  /* we have the job cancelled, so we retry */
  --- 3415,3427 
  t = GET_HASH_STR_OBJ( Devstatus, name, MEMINFO);
  u = GET_HASH_STR_OBJ( Devstatus, result, MEMINFO);
  DEBUG2(Do_waitend: job '%s', name '%s', result '%s', endname 
  '%s', s, t, u, endname );
  !   /* if( s  safestrstr(s,END)  t  safestrstr(t,endname) 
  ){
  !   waitend = 1;
  !   } */
  !   if (t) { strcpy(statusname,t+1);
  !   statusname[strlen(statusname)-1]='\0';
  !   }
  !   if( s  strstr(s,END)  t  strstr(Jobname,statusname) ){
  waitend = 1;
  }
  /* we have the job cancelled, so we retry */
 
  --Multipart_Thu_Aug_22_10:46:12_2002-1
  Content-Type: text/plain; charset=US-ASCII
 
 
  --Multipart_Thu_Aug_22_10:46:12_2002-1
  Content-Type: message/rfc822
 
  Return-Path: [EMAIL PROTECTED

Re: LPRng: Continuing problems getting page counts

2003-08-31 Thread Ryan Novosielski
After the patch, mine worked fine. There's a bug in the current patch WRT
commas in the job name, but I understand that's being worked out. I have
an old patch that I'm currently using, but I don't know where the diff got
to. :)

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630

On Thu, 28 Aug 2003, Andrew Ritchie wrote:

 At 10:37 AM 27/08/2003 -0700, you wrote:
 Hi,
 
 I am still unable to get pagecounts from my hplj4100tn printers and also
 an hp color 5500.  I get proper page counts from all the other varieties
 of hp printers managed by the server.
 My understanding of these printers was that they don't update their page
 count until some time after printing, well after returning successful
 print. I gave up and just take the page count from inside the postscript.


 Thank you
 Andrew Ritchie



 -
 YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
 The address you post from 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.  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.
 -


-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-


Re: LPRng: options passed to filter

2003-08-20 Thread Ryan Novosielski
Well, you'd want -n... -A provides probably more information than you are
interested in.

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630

On Wed, 20 Aug 2003, David Bear wrote:

 I captured the parameters lpd passes to a filter.  There's lots and
 lots of them...  Which one is the MOST correct place to look for the
 userid of the person who printed the job?  Below is what an MVS system
 sent to lprng running.  I noticed the user id appeared twice.. which
 is the more correct userid to use?


 cmd args 
 /usr/local/libexec/filters/txt2pdf
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 -CA
 -D2003-08-20-09:28:13.417
 -Ff
 -Hprlinux
 -JTCPIP_NPF_TEST_DARS_PORTRAIT
 -NTCPIP_NPF_TEST_DARS_PORTRAIT
 -Pholdqueue
 -Qholdqueue
 -aacct
 -b2895
 -d/var/spool/lpd/holdqueue
 -edfA898prlinux
 -fTCPIP_NPF_TEST_DARS_PORTRAIT
 -hprlinux
 -j898
 -kcfA898prlinux
 -l66
 -nKHAAM
 -sstatus
 -t2003-08-20-09:28:13.000
 -w80
 -x0
 -y0
 acct

 --
 David Bear
 phone:480-965-8257
 fax:  480-965-9189
 College of Public Programs/ASU
 Wilson Hall 232
 Tempe, AZ 85287-0803
  Beware the IP portfolio, everyone will be suspect of trespassing

 -
 YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
 The address you post from 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.  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.
 -


-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-


Re: LPRng: program to validate postscript?

2003-08-15 Thread Ryan Novosielski
SOME HP printers use licensed PS. Generally expensive ones. According to
the front of my HP DJ 800ps, it uses Adobe PS3. Haven't seen a similar
sticker on anything else of theirs in quite awhile though.

I'm aching for some Xerox printers over here.

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630

On Fri, 15 Aug 2003, Rick Cochran wrote:

 Toby Blake wrote:
  Hmmm, yes, fair enough.  I suppose what I'm trying to work out is
  whether the postscript interpreter in certain printers is at fault or
  if the actual postscript that I'm printing is.  I realise it's a
  difficult thing to tell.

 Logic and my experience indicate that the answer to your question is yes.

 Adobe controls the PostScript spec and many of the applications which
 generate PostScript.  HP and Lexmark do not use the official Adobe
 PostScript interpreter in their printers - they have written their own
 interpreters.  This is called PostScript emulation.  PostScript is not
 completely defined by its spec - it is also defined by how applications
 use it.  No matter how carefully someone emulates PostScript, an
 application can use perfectly legal code in such a way as to make an
 interpreter fail.

 My experience is that when we started using Xerox printers, which use a
 licensed Adobe PostScript interpreter, many of our printing problems
 disappeared.

 -Rick

 --
 |Rick Cochran   phone: 607-255-7618|
 |Cornell CIT - Systems  Operations - Net-Print   FAX: 607-255-8521|
 |730 Rhodes Hall, Ithaca, N.Y. 14853email: [EMAIL PROTECTED]|


 -
 YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
 The address you post from 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.  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.
 -


-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-


Re: Re: LPRng: program to validate postscript?

2003-08-14 Thread Ryan Novosielski
Well, the user mentioned acroread, so I think the assumption was that they
were refering to the UNIX version as that is the name of the executable.

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630

On Thu, 14 Aug 2003, Thies Meincke wrote:

 I have not used xpdf as replacement for acroread so far.
 Most of our users have Windows OS. As far as I know, xpdf
 is for X-window systems only and thus would be an
 alternative for UNIX or Linux users.

 Thies Meincke

 On Thu, 14 Aug 2003 [EMAIL PROTECTED] wrote:

 
 
  can you compare that with xpdf ps output ? i had it that
  acroread output resulted in 1 page where xpdf output was printed flawless.
 
 
  walter
 
 
 
 
  Hi,
 
  I think this is a general problem for PS files created from pdf by
  acroread, as I have the same problem
  with our Lexmark printers. In some cases ps2ps helped, mostly however gs
  crashed with an error message like
  ERROR: typecheck
  OFFENDING COMMAND: where
 
  A workaround is to use the option print as image (or so, as I have a
  German version only, there the option is called als Bild drucken which
  means print as image) in acroread.
  With this option set I have not seen any problems so far.
 
  Regards,
 
  Thies Meincke
 
  On Thu, 14 Aug 2003, Toby Blake wrote:
 
   Is there such a thing?
  
   We're having problems with some (HP) printers complaining about the
   postscript in certain files (generally generated by acroread), but
   other (also HP) printers print the same file OK.
  
   So, what I want to do, for any particular file, is be able to run it
   through something that will at least be able to tell me whether it's a
   valid PS file, so I can get some idea whether it's the printers
   postscript emulation or the file that's the problem.
  
   Thanks
   Toby Blake
   University of Edinburgh
 
  ++---+
  | Thies Meincke  | Tel.  : 040/42838-6355 (BN: 0.42838-6355) |
  | Universitaet Hamburg   | Fax   : 040/42838-6270 (BN: 0.42838-6270) |
  | Regionales Rechenzentrum   | E-mail: [EMAIL PROTECTED]  |
  | Schlueterstr. 70   | URL   : http://www.rrz.uni-hamburg.de/|
  | 20146 Hamburg  | RRZ/Personal/TMeincke.html|
  ++---+
 
 
  -
  YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
  The address you post from 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.  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.
  -
 
  -
  YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
  The address you post from 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.  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.
  -
 

 ++---+
 | Thies Meincke  | Tel.  : 040/42838-6355 (BN: 0.42838-6355) |
 | Universitaet Hamburg   | Fax   : 040/42838-6270 (BN: 0.42838-6270) |
 | Regionales Rechenzentrum   | E-mail: [EMAIL PROTECTED]  |
 | Schlueterstr. 70   | URL   : http://www.rrz.uni-hamburg.de/|
 | 20146 Hamburg  | RRZ/Personal/TMeincke.html|
 ++---+


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

 If you need help, send email to [EMAIL PROTECTED] (or lprng-requests

Re: LPRng: FYI: ifhp.conf entry for HP DesignJet 800ps

2003-08-14 Thread Ryan Novosielski
More on the subject of the original thread, I have tried the ifhp.conf
entry for this printer. Unfortunately, the files that come out of the
printer have PJL at the beginning and tell the printer to go into PS mode
(the Windows driver does this). The printer then discards the print job.
Any quick recommendations?

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630

On Tue, 5 Aug 2003, Patrick Powell wrote:

  From [EMAIL PROTECTED] Mon Feb 10 14:09:49 2003
  Date: Mon, 10 Feb 2003 15:31:55 -0500 (EST)
  From: Lars Kellogg-Stedman [EMAIL PROTECTED]
  To: [EMAIL PROTECTED] [EMAIL PROTECTED]
  Subject: LPRng: FYI: ifhp.conf entry for HP DesignJet 800ps
 
This message is in MIME format.  The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to [EMAIL PROTECTED] for more info.
 
  ---141788878-1375417706-1044909115=:13262
  Content-Type: TEXT/PLAIN; charset=US-ASCII
 
  Hello all,
 
  Attached is an ifhp.conf entry for an HP DesignJet 800ps -- this is a 42
  wide large-format inkjet printer.  Arrg, somebody write a PPD parser!
  The entry supports almost all the options in the PPD, with the exception
  of the 'PageRegion' options, which appear to be identical to the PageSize
  options of the same name.
 
  And a question:
 
  We've had to turn off 'status' support to make this work.  With status on,
  the job is submitted successfully, but IFHP appears to be unable to
  determine the success of the job and promptly resubmits it, leading to a
  neverending series of printouts.
 
  Is anyone else using LPRNG with an 800ps?  Have you encountered and/or
  resolved this problem?
 
  Thanks,
 
  -- Lars
 
  --
  Lars Kellogg-Stedman [EMAIL PROTECTED]

 I have written a PPD parser,  and can hook it into the ifhp
 system.  The problem is the distribution of PPD files.
 I think I even distributed it once.

 You can use it to rip out the various definitions from the PPD files
 that you want.

 Look carefully at the copyrights on many of them.  Apparently you
 cannot redistribute them.  HP, when informed of this,  modified some,
 but not all copyrights.  As far as I know,  the others are still the same.

 In light of the current 'You stole my copyrighted code' fuss with SCO
 and IBM,  I am VERY VERY glad I did not include the PPD files and the PPD
 parser as part of LPRng and IFHP.

 Here is a small sample:
 *% Adobe Systems PostScript(R) Printer Description File
 *% Copyright 1987-1995 Adobe Systems Incorporated.
 *% All Rights Reserved.
 *% Permission is granted for redistribution of this file as
 *% long as this copyright notice is intact and the contents
 *% of the file is not altered in any way from its original form.
 *% End of Copyright statement

 Ummm... which means that you cannot even reformat OR (are you ready for this?)
 CORRECT AN ERROR.  (CGRGGGH).  Or add stuff to it.

 Which means that you have to have some 'meta' PPD file, which will reference
 the 'master' ppd file and the 'corrections' and 'extensions' ppd files,
 and then have a set of 'definitions' for standard things.

 Oh.  You didn't know that each vendor has slightly different names
 for things?   Oh.  And that depending on the DATE the names change?

 This is why the CUPs folks and the Foomatic folks threw in the towel
 and propagate the printer setting stuff back to the originator of the
 print job.  It also means that setting up queues which can handle
 different printers is a pain.

 Sigh...

 Patrick Powell

 -
 YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
 The address you post from 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.  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.
 -


-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED

Re: LPRng: FYI: ifhp.conf entry for HP DesignJet 800ps

2003-08-14 Thread Ryan Novosielski
I just bought an 800ps that is not yet in service and will be available
for me to do some testing that would be ordinarily disruptive to a printer
in revenue service (which is what the printer is slated to be - an aged
755cm replacement).

Hopefully I can be of some help, Patrick?

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630

On Tue, 5 Aug 2003, Patrick Powell wrote:

  From [EMAIL PROTECTED] Mon Feb 10 14:09:49 2003
  Date: Mon, 10 Feb 2003 15:31:55 -0500 (EST)
  From: Lars Kellogg-Stedman [EMAIL PROTECTED]
  To: [EMAIL PROTECTED] [EMAIL PROTECTED]
  Subject: LPRng: FYI: ifhp.conf entry for HP DesignJet 800ps
 
This message is in MIME format.  The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to [EMAIL PROTECTED] for more info.
 
  ---141788878-1375417706-1044909115=:13262
  Content-Type: TEXT/PLAIN; charset=US-ASCII
 
  Hello all,
 
  Attached is an ifhp.conf entry for an HP DesignJet 800ps -- this is a 42
  wide large-format inkjet printer.  Arrg, somebody write a PPD parser!
  The entry supports almost all the options in the PPD, with the exception
  of the 'PageRegion' options, which appear to be identical to the PageSize
  options of the same name.
 
  And a question:
 
  We've had to turn off 'status' support to make this work.  With status on,
  the job is submitted successfully, but IFHP appears to be unable to
  determine the success of the job and promptly resubmits it, leading to a
  neverending series of printouts.
 
  Is anyone else using LPRNG with an 800ps?  Have you encountered and/or
  resolved this problem?
 
  Thanks,
 
  -- Lars
 
  --
  Lars Kellogg-Stedman [EMAIL PROTECTED]

 I have written a PPD parser,  and can hook it into the ifhp
 system.  The problem is the distribution of PPD files.
 I think I even distributed it once.

 You can use it to rip out the various definitions from the PPD files
 that you want.

 Look carefully at the copyrights on many of them.  Apparently you
 cannot redistribute them.  HP, when informed of this,  modified some,
 but not all copyrights.  As far as I know,  the others are still the same.

 In light of the current 'You stole my copyrighted code' fuss with SCO
 and IBM,  I am VERY VERY glad I did not include the PPD files and the PPD
 parser as part of LPRng and IFHP.

 Here is a small sample:
 *% Adobe Systems PostScript(R) Printer Description File
 *% Copyright 1987-1995 Adobe Systems Incorporated.
 *% All Rights Reserved.
 *% Permission is granted for redistribution of this file as
 *% long as this copyright notice is intact and the contents
 *% of the file is not altered in any way from its original form.
 *% End of Copyright statement

 Ummm... which means that you cannot even reformat OR (are you ready for this?)
 CORRECT AN ERROR.  (CGRGGGH).  Or add stuff to it.

 Which means that you have to have some 'meta' PPD file, which will reference
 the 'master' ppd file and the 'corrections' and 'extensions' ppd files,
 and then have a set of 'definitions' for standard things.

 Oh.  You didn't know that each vendor has slightly different names
 for things?   Oh.  And that depending on the DATE the names change?

 This is why the CUPs folks and the Foomatic folks threw in the towel
 and propagate the printer setting stuff back to the originator of the
 print job.  It also means that setting up queues which can handle
 different printers is a pain.

 Sigh...

 Patrick Powell

 -
 YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
 The address you post from 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.  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.
 -


-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:   | example:
subscribe LIST mailaddr

Re: LPRng: FYI: ifhp.conf entry for HP DesignJet 800ps

2003-08-14 Thread Ryan Novosielski
Nah, I wasn't clear enough. What was (is? it wouldn't happen when I tried
to get it to happen... maybe it's gone away) weird was that it would get
an initial job type of PJL, then decode it, get a type of msg and say
no converter, generate the no converter message and discard the job.

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630

On Wed, 13 Aug 2003, Alfredo Ramos wrote:

 I don't think this is odd. The files generated here for the same plotter
 also have PJL at the beginning of the file. The plotter reads those lines,
 then sets itself to process the ps file and prints it.

 And I use ifhp also.

 Al.

 -
| Alfredo Ramos
 This space available for rent. | Educational Technology
 Get your product moving. Advertise here!   | Rice University.
| Email: [EMAIL PROTECTED]
 -

 On Tue, 12 Aug 2003, Patrick Powell wrote:

   From [EMAIL PROTECTED] Mon Aug 11 14:40:26 2003
   Date: Mon, 11 Aug 2003 16:45:48 -0400 (EDT)
   From: Ryan Novosielski [EMAIL PROTECTED]
   Subject: Re: LPRng: FYI: ifhp.conf entry for HP DesignJet 800ps
   To: [EMAIL PROTECTED]
  
   More on the subject of the original thread, I have tried the ifhp.conf
   entry for this printer. Unfortunately, the files that come out of the
   printer have PJL at the beginning and tell the printer to go into PS mode
   (the Windows driver does this). The printer then discards the print job.
   Any quick recommendations?
  
 
  This is odd.  Can you post/send a copy of a file BEFORE it is sent
  through the ifhp filter?
 
  Patrick
 
  -
  YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
  The address you post from 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.  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.
  -
 


 -
 YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
 The address you post from 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.  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.
 -


-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-


LPRng: HP Color LaserJet 2500n

2003-07-21 Thread Ryan Novosielski
My organization recently purchased one of these printers. With no
particular defined printer type, the printer works just fine through LPRng
and ifhp via PCL6 or PS -- good news!

However, I'd somewhat prefer to have a tailored definition for this
printer. Does anyone know what to use (or have a homegrown def) for this
priter?

Thanks!

(incidentally, it is replacing an HP 2500cm inkjet. This printer is MUCH
better and prints immediately after receiving data)

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630

-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-


Re: LPRng: The dreadful 79.00FE HP 8150 error

2003-07-18 Thread Ryan Novosielski
Doesn't the HP web page in the printer allow you to see the control panel?

Keep in mind, also, that the HP 8150 has a couple of upgrades. There is
the JetDirect firmware, the printer firmware, and then the EWS upgrade. I
did everything that I could do and I haven't had any trouble since (by
trouble I mean constant 79's).

HP basically told me that this error can be caused by ANYTHING (printer,
Jetdirect, etc), so it's really hard to nail down to an isolated piece of
software in the printer.

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630

On Thu, 17 Jul 2003, Matt Forrest wrote:

 I'm fairly sure that there is a more recent version of the PS driver for
 NT yup - claims to be dated 2002-1-23

 here's a link:
 http://h2.www2.hp.com/bizsupport/TechSupport/DriverDownload.jsp?pnameOID=21691locale=en_UStaskId=135prodTypeId=18972prodSeriesId=27718submit.y=4submit.x=4cc=us#Microsoft%20Windows%20NT%204.0

 You can try it, but it hasn't solved the problem for us.

 If your file consistently crashes the printer, I'd love to have a copy!!!
 In all the testing I've done, I have yet to be able to consistently
 reproduce the error.

 HP has basically told me that unless I can consistently reproduce the
 crash, there's nothing they can do to help us.

 When one of my co-workers has some free time this summer, I'm going to try
 and get him to make a gadget that will let me power cycle the printer
 remotely and get a webcam so I can see the control panel!

 Does anyone know if the same problem exists with XP as a client?  We'll
 have mostly XP clients this fall, so I guess I'll find out then for sure!



 On Thu, 17 Jul 2003, Akop Pogosian wrote:

  Date: Thu, 17 Jul 2003 16:57:54 -0700
  From: Akop Pogosian [EMAIL PROTECTED]
  Reply-To: [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Subject: LPRng: The dreadful 79.00FE HP 8150 error
 
  This is not exactly LPRng related. I have run into a Windows NT 4
  system that reliably brings up the 79.00FE error on HP8150 printer
  which requires to power-cycle the printer every time it happens. The
  print jobs are sent from the NT4 system to a Samba server which then
  forwards them to LPRng. The NT4 system has the latest HP8150DN
  postscript driver installed (dating from 1999). I have managed to
  configure Samba so that it just saves the file instead of forwarding
  it to LPRng. If I try to print this file directly, bypassing the LPRng
  print server using the lightweight mode of LPRng's lpr command, it
  still bluescreens the printer. This happens with everything that the
  NT4 system attempts to print. The output file seems to contain PJL
  commands. I could post the file if anyone is interested.  The printer
  has the latest HP firmware version, 20021010 MB7.109, that I could
  find on HP's web site.  Does anyone know a solution to this problem?
 
 
  -akop
 
  -
  YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
  The address you post from 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.  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.
  -
 


 mATT

 *

A neurotic worries about going crazy, but never will
A psychotic IS crazy, but doesn't worry about it!

   ... Don't worry, be happy!!!  :}

 *



 -
 YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
 The address you post from 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.  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

Re: LPRng: The dreadful 79.00FE HP 8150 error

2003-07-18 Thread Ryan Novosielski
It's on the web. The EWS included with the printer is pretty lame,
considering how nice the one included with HP 4100 printers is. I really
can't remember what the difference is between them, but look at:

http://h2.www2.hp.com/bizsupport/TechSupport/DriverDownload.jsp?pnameOID=21694locale=en_UStaskId=135prodTypeId=18972prodSeriesId=27718cc=us

...in the Firmware section. There are the lj8150fw drivers, but then on
top of that there are lj8150wa firmwares, for Web Access. Just pick he
appropriate one (UNIX/Win, Multiple/Single) and you're on your way.

EWS, for that other gentleman who asked, is Embedded Web Server.

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630

On Fri, 18 Jul 2003, Hans Peter Verne wrote:

 Ryan Novosielski wrote:
 
  Doesn't the HP web page in the printer allow you to see the control panel?
 
  Keep in mind, also, that the HP 8150 has a couple of upgrades. There is
  the JetDirect firmware, the printer firmware, and then the EWS upgrade. I
  did everything that I could do and I haven't had any trouble since (by
  trouble I mean constant 79's).

 I wasn't aware that the Embedded Web Server could be upgraded.  Can this
 be done over the net?  Chip replacement?


 regards,
 --
 Hans Peter   (Usit/Unix-drift,Utskrift)Ni!

 Utskrift FAQ: http://www.usit.uio.no/it/utskrift/faq.html
 Utskrift Feilsøking:  http://www.usit.uio.no/it/utskrift/feilsok.html

 -
 YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
 The address you post from 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.  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.
 -


-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-


Re: LPRng: %Q and Accounting

2003-07-14 Thread Ryan Novosielski
I guess 'lpc redirect' would for some reason be inadequate here?

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630

On Mon, 14 Jul 2003, Chris O'Regan wrote:

 Occasionally we have the need to move one or more queues to another
 printer (for example, when a printer needs maintenance).  If we do this
 using aliases, then it will break our accounting because the value
 passed to the accounting script via -P is the primary name, not the
 selected queue.  That is, since we associate a quota database with a
 queue name, the wrong database is selected when an alias is used.

 At the moment, we get around this by creating separate queues, but this
 is a bit of a nuissance.  What would be neat is if we could get the
 selected queue (i.e. %Q) passed to the accounting script.  Is this
 possible?


 Thanks,

 Chris



 -
 YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
 The address you post from 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.  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.
 -


-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-


Re: LPRng: HP LaserJet 5100

2003-07-11 Thread Ryan Novosielski
Thanks!

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630

On Thu, 10 Jul 2003, Hans Peter Verne wrote:

 Ryan Novosielski wrote:
 
  How does this printer behave? Does it require the waitend_byjobname patch?

 We only have one 5100 at the University of Oslo, but it seems to count
 pages fine without the patch.  In June, it did 14 jobs, in May only 8
 (not much used, it seems?), but all jobs counted pages, ie no job returned
 a pagecount of 0.

 It's accessed with ifhp port 9100, model=hp5000


 regards,
 --
 Hans Peter   (Usit/Unix-drift,Utskrift)Ni!

 Utskrift FAQ: http://www.usit.uio.no/it/utskrift/faq.html
 Utskrift Feilsøking:  http://www.usit.uio.no/it/utskrift/feilsok.html

 -
 YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
 The address you post from 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.  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.
 -


-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-


LPRng: HP LaserJet 5100

2003-07-10 Thread Ryan Novosielski
How does this printer behave? Does it require the waitend_byjobname patch?

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630

-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-


Re: LPRng: Problem with 'file'

2003-06-26 Thread Ryan Novosielski
How were you able to determine that? None of the programs I threw at it
seemed to be able to tell.

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630

On Wed, 25 Jun 2003, Matt Forrest wrote:

 The 1st 1200 bytes of the file are all zero (AKA 0x00) immediately after
 that you have the normal ESC code for some PJL stuff

 Try stripping off just those bytes or get
 http://www.scs.ryerson.ca/mforrest/printing/Job927-df-mf.prn


 In the -PCL- you don't have the ESC code to end the job.. shouldn't be a
 problem if the printer is set to auto personality, but I've always seen it
 there.  If you just strip the zeros from the start of the file I'm
 guessing it will work fine.

 I haven't tried printing it 'cause I'm lazy right now and don't want to
 have to walk to the printer :)


 mATT

 *

A neurotic worries about going crazy, but never will
A psychotic IS crazy, but doesn't worry about it!

   ... Don't worry, be happy!!!  :}

 *




 -
 YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
 The address you post from 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.  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.
 -


-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-


Re: LPRng: Problem with 'file'

2003-06-26 Thread Ryan Novosielski
Have you still got the filter?

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630

On Thu, 26 Jun 2003, Jonathan Knight wrote:

  On Wed, 2003-06-25 at 21:58, Matt Forrest wrote:
  I too confirmed this, there is something seriously wrong with one of
  your drivers.


 Can I put in a me too.  I found 600 null bytes on an HP driver for the
 1200C.  I wrote a filter to rip off NULL's and then pass the result onto the
 normal ifhp filter.

 I found it was faster to write the filter than to telephone HP customer
 support.

 I don't seem to need it now so that driver at least has been fixed.



 --
   __[EMAIL PROTECTED]Jonathan Knight,
 /  Department of Computer Science
/ _   __ Telephone: +44 1782 583437 University of Keele, Keele,
 (_/ (_) / / Fax  : +44 1782 713082 Staffordshire.  ST5 5BG.  U.K.

 -
 YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
 The address you post from 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.  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.
 -


-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-


Re: LPRng: Problem with 'file'

2003-06-26 Thread Ryan Novosielski
HP-UX vi screws it up too. I never thought of less -- less made it very
obvious what was going on. I am used to not having less (instead having
only more) and it is less obvious with more.

Pff, emacs.

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630

On Thu, 26 Jun 2003, Matt Forrest wrote:

 Any hex editor would work but since you've mentioned vi, I feel
 obligated to tell you I looked at it using emacs.

 emacs is your friend - let the holy wars begin!!! :)

 hm I just loaded it up in vi and it also shows the nulls...
 I'm on a RH 7.3 box right now so it's actually vim.

 yeah... on solaris vi screws it up.  less works fine though.


 mATT

 *

A neurotic worries about going crazy, but never will
A psychotic IS crazy, but doesn't worry about it!

   ... Don't worry, be happy!!!  :}

 *




 -
 YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
 The address you post from 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.  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.
 -


-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-


Re: LPRng: Problem with 'file'

2003-06-26 Thread Ryan Novosielski
I don't like to do this mainly because ifhp does a good job of
communicating with the printers and I like to use it for that purpose --
unless I can just set it as an of and that's it...

Regardless, I like to have that layer of protection against badly formed
jobs (seems to be working a little TOO well ;)).

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630

On Thu, 26 Jun 2003, Villy Kruse wrote:

 On Wed, 25 Jun 2003, Ryan Novosielski wrote:

  Date: Wed, 25 Jun 2003 10:23:54 -0400 (EDT)
  From: Ryan Novosielski [EMAIL PROTECTED]
  Reply-To: [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Subject: Re: LPRng: Problem with 'file'
 
  Treating it as data is fine with me -- however, when file can't figure out
  what it is, there is a problem, as I do check for file type with ifhp and
  it will refuse unrecognized file types.
 

 In my setup I would route anything comming from a MS-Win system to a printer
 queue which have no filter what so ever, and leave the filtering entries to
 be used by unix users.



  As you can see from the files below, vi appears to have halved the
  contents of the file -- I'm assuming that the file after vi is done is no
  longer usable. Perhaps this question is now becoming one that is more for
  the file mailing list, but I had said that I would post the files in
  question regardless. The curious thing is that file, AFAIK, looks at the
  beginning of a file. vi would not likely be changing the beginning of the
  first line of the file that signals PCL data, so it doesn't make sense
  that it would have an effect on that (not to me, anyway). Also interesting
  is that this printer doesn't seem to use PJL prior to its PCL stream,
  which is odd from my experience. Here is the URL:
 
  http://www.umdnj.edu/~novosirj/PCL-data-problem
 



 Hexadecimal dump of the two files.  The dump is incomplete, just enough
 to get the point.

 The file /var/tmp/xxx/Job927-df-data.prn had 1200 bytes of leading binary
 zeroes.  Also note the data at 00500: in the data.prn file and compare with
 the data at position 0050: in the PCL.prn file.


 ::
 /var/tmp/xxx/Job927-df-PCL.prn.hex
 ::
 :  1b 25 2d 31  32 33 34 35   58 40 50 4a  4c 20 4a 4f  [EMAIL PROTECTED] JO
 0010:  42 20 4e 41  4d 45 3d 22   33 65 66 38  36 39 33 30  B NAME=3ef86930
 0020:  31 34 38 31  6e 6f 76 6f   73 69 72 6a  22 0a 40 50  1481novosirj[EMAIL 
 PROTECTED]
 0030:  4a 4c 20 45  4e 54 45 52   20 4c 41 4e  47 55 41 47  JL ENTER LANGUAG
 0040:  45 3d 50 43  4c 33 47 55   49 0a 1b 2a  6f 35 57 04  E=PCL3GUI..*o5W.
 0050:  09 1b 2a 6f  35 57 04 0d   0d 84 1b 2a  6f 35 57 0a  ..*o5W.*o5W.
 0060:  05 1b 26 6c  37 48 1b 26   6c 30 4d 1b  2a 6f 37 57  ..l7H.l0M.*o7W
 0070:  08 09 07 01  01 1b 26 6c   32 41 1b 26  6c 2d 32 48  ..l2A.l-2H
 0080:  1b 2a 6f 35  57 0a 01 1b   2a 6f 35 57  07 08 02 1b  .*o5W...*o5W
 0090:  2a 6f 30 4d  1b 26 75 33   30 30 44 1b  2a 70 30 58  *o0M.u300D.*p0X
 00a0:  1b 2a 70 33  35 59 1b 2a   67 32 36 57  02 04 01 2c  .*p35Y.*g26W...,

 ::
 /var/tmp/xxx/Job927-df-data.prn.hex
 ::
   Same
 04b0:  1b 25 2d 31  32 33 34 35   58 40 50 4a  4c 20 4a 4f  [EMAIL PROTECTED] JO
 04c0:  42 20 4e 41  4d 45 3d 22   33 65 66 38  36 39 33 30  B NAME=3ef86930
 04d0:  31 34 38 31  6e 6f 76 6f   73 69 72 6a  22 0a 40 50  1481novosirj[EMAIL 
 PROTECTED]
 04e0:  4a 4c 20 45  4e 54 45 52   20 4c 41 4e  47 55 41 47  JL ENTER LANGUAG
 04f0:  45 3d 50 43  4c 33 47 55   49 0a 1b 2a  6f 35 57 04  E=PCL3GUI..*o5W.
 0500:  09 00 00 00  1b 2a 6f 35   57 04 0d 00  0d 84 1b 2a  .*o5W..*
 0510:  6f 35 57 0a  05 00 00 00   1b 26 6c 37  48 1b 26 6c  o5W..l7H.l
 0520:  30 4d 1b 2a  6f 37 57 08   09 00 00 07  01 01 1b 26  0M.*o7W
 0530:  6c 32 41 1b  26 6c 2d 32   48 1b 2a 6f  35 57 0a 01  l2A.l-2H.*o5W..
 0540:  00 00 00 1b  2a 6f 35 57   07 08 00 00  02 1b 2a 6f  *o5W..*o
 0550:  30 4d 1b 26  75 33 30 30   44 1b 2a 70  30 58 1b 2a  0M.u300D.*p0X.*
 0560:  70 33 35 59  1b 2a 67 32   36 57 02 04  01 2c 01 2c  p35Y.*g26W...,.,



 --
 Villy


 -
 YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
 The address you post from 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.  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

Re: LPRng: Problem with 'file'

2003-06-26 Thread Ryan Novosielski
Argh! I had never seen this with the software I was using and since vi
didn't show the NULL's, I just assumed that the beginning was fine...

I got the same thing printed to file or looking at the df from the spool
directory. Looks like the driver is hosed. I am using the Win2k v3.1 PCL3
driver (it calls the LANGUAGE PCL3GUI for some reason). The PS driver
doesn't do that, but then again, PS sucks on this printer which is the
whole reason I am doing this anyway!

If you wouldn't mind, sure. I don't know whether it's the driver for this
OS in particular, but the PS drivers even for 2k don't do it. Another item
of note is that I have these drivers installed on a Samba server in the
PRINT$ share, but I can't see what that has to do with anything either.

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630

On Thu, 26 Jun 2003, Sam Lown wrote:

 On Wed, 2003-06-25 at 21:58, Matt Forrest wrote:
  The 1st 1200 bytes of the file are all zero (AKA 0x00) immediately after
  that you have the normal ESC code for some PJL stuff
 

 I too confirmed this, there is something seriously wrong with one of
 your drivers.

 How did you generate this file? is it directly from windows i.e. Print
 to file, or is it taken from a stopped queue on the server?

 I am not surprised that 'file' is having problems! We too use the same
 printer here, if you like I can try and find out the version of our
 windows drivers (I'm a unix person ;-) as I know for a fact that we
 don't get that 'crappy' stuff at the beginning of printouts.

 cheers,

 sam


  Try stripping off just those bytes or get
  http://www.scs.ryerson.ca/mforrest/printing/Job927-df-mf.prn
 
 
  In the -PCL- you don't have the ESC code to end the job.. shouldn't be a
  problem if the printer is set to auto personality, but I've always seen it
  there.  If you just strip the zeros from the start of the file I'm
  guessing it will work fine.
 
  I haven't tried printing it 'cause I'm lazy right now and don't want to
  have to walk to the printer :)
 
 
  mATT
 
  *
 
 A neurotic worries about going crazy, but never will
 A psychotic IS crazy, but doesn't worry about it!
 
... Don't worry, be happy!!!  :}
 
  *
 
 
 
 
  -
  YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
  The address you post from 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.  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.
  -
 --
 CERN, Geneva
 IT - Product Support - Unix Infrastructure
 E-mail: [EMAIL PROTECTED]


 -
 YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
 The address you post from 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.  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.
 -


-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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

Re: LPRng: Problem with 'file'

2003-06-25 Thread Ryan Novosielski
Yes, I have since fixed the permissions -- sorry about that.

I am running file 3.4.1, just because I am leery of switching to a
completely different rev without knowing the affect it will have on LPRng.
AFAIK, 3.4.1 is the most recent 3.x release.

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630

On Wed, 25 Jun 2003, Dave Lovelace wrote:

 Ryan Novosielski wrote:
 
  Treating it as data is fine with me -- however, when file can't figure out
  what it is, there is a problem, as I do check for file type with ifhp and
  it will refuse unrecognized file types.
 
  As you can see from the files below, vi appears to have halved the
  contents of the file -- I'm assuming that the file after vi is done is no
  longer usable. Perhaps this question is now becoming one that is more for
  the file mailing list, but I had said that I would post the files in
  question regardless. The curious thing is that file, AFAIK, looks at the
  beginning of a file. vi would not likely be changing the beginning of the
  first line of the file that signals PCL data, so it doesn't make sense
  that it would have an effect on that (not to me, anyway). Also interesting
  is that this printer doesn't seem to use PJL prior to its PCL stream,
  which is odd from my experience. Here is the URL:
 
  http://www.umdnj.edu/~novosirj/PCL-data-problem
 

 I get access-denied on Job927-df-data.prn, Ryan.
 (Not that I really expect to get anywhere with this, mind you.)

 (Hmm.  Have you updated to a recent rev of file, BTW?)

 --
 - Dave Lovelace
   [EMAIL PROTECTED]
   [EMAIL PROTECTED]

 -
 YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
 The address you post from 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.  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.
 -


-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-


RE: LPRng: pjl_waitend_byjobname - HP LJ 4100

2003-06-24 Thread Ryan Novosielski
Sorry for the stupid question, but can someone provide a workaround in the
meantime? This one caught me by surprise and I don't yet have time to
re-compile with any changes to the waitend routine. I would really like to
strip spaces and commas or anything else that could cause a problem (Samba
used to do this for you -- no longer).

Thanks for your help!

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630

On Fri, 20 Jun 2003, Fernando Blanco Marcilla wrote:

 Yes, the problem is in the jobname.
 When the jobname includes the comma character (,), the printer returns the
 jobname split in two lines: the first line returned contains the jobname to
 the comma, and then, the rest of the jobname is in another line.

 This is why the returned jobname never matches the original jobname, and
 therefore, you can never obtain the end-of-job condition expected with the
 pjl_waitend_byjobname option. And the job remains in the queue forever.

 I think that this is the only small problem with the pjl_waitend_byjobname
 patch.

 I think that, in another patch I sent to LPRng list, I avoided this
 comma-problem by changing somewhere a strcmp statement by a strstr one in
 the Do_waitend routine. This made the end-of-job detection test less strict.

 Regards,

 Fernando Blanco.


 -Mensaje original-
 De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] nombre de
 Ryan Novosielski
 Enviado el: jueves, 19 de junio de 2003 19:44
 Para: LPRng Mailing List
 Asunto: LPRng: pjl_waitend_byjobname - HP LJ 4100


 Can anyone think of why this file, specfically, would not ever get
 pjl job/eoj? I killed it a couple of times and resent it, but still...
 trouble. Is the jobname a problem somehow on this file? I assume it's not
 the actual data of the file, because that DOES print properly AFAIK.

 Thanks!

 cfA007...:

 Aschaefre@//DXQMD01+7
 CA
 D2003-06-19-12:45:46.445
 H130.219.192.177
 JOvid: Love: Am J Health Syst Pharm, Volume 59(22) Supplement 8.November 15,
 2002.S10-S15
 Pschaefre
 Qljptn246
 NOvid: Love: Am J Health Syst Pharm, Volume 59(22) Supplement 8.November 15,
 2002.S10-S15
 ldfA007ADDR130.219.192.177
 UdfA007ADDR130.219.192.177


  _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
 |$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630

 
 -
 YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
 The address you post from 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.  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.
 
 -


 -
 YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
 The address you post from 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.  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.
 -


-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-


Re: LPRng: Problem with 'file'

2003-06-24 Thread Ryan Novosielski
So what is the appropriate way to repair such a file before it gets to the
printer, then?

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630

On Fri, 20 Jun 2003, Henrik Edlund wrote:

 On Fri, 20 Jun 2003, Ryan Novosielski wrote:

 RN I am printing via the HP 2500cm driver for Win2k, which sends some PJL and
 RN says @PJL ENTER LANGUAGE=PCL3GUI. That's just fine. The problem is that
 RN 'file' claims that the file is of type 'data'. I vi'd the file, did
 RN nothing to it, saved it, and ran file again -- now it recognizes it as a
 RN HP Printer Job Language. The file appears to have the proper PJL header,
 RN with the ^[%-12345X -- forgive me if I'm getting that wrong off the top of
 RN my head. Unfortunately, though, as printed, file calls it data and runs
 RN off a page that says No conversion available for type 'data'.
 RN
 RN Any clues here?

 Could it be the file contain CR (carriage return)? Windows machines puts
 both NL and CR and end of lines. How it becomes data I don't know, but
 as it was okay after you saved it (on UNIX I presume) it sounds familiar.

 -
 YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
 The address you post from 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.  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.
 -


-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-


Re: LPRng: Problem with 'file'

2003-06-24 Thread Ryan Novosielski
Nope -- the file behaves exactly the same after the tr (I redirected it to
another file), and still will work only after being vi'd (or probably
otherwise massaged, but this is what I know works).

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630

On Tue, 24 Jun 2003, David Bear wrote:

 On Tue, Jun 24, 2003 at 10:58:39AM -0400, Ryan Novosielski wrote:
  So what is the appropriate way to repair such a file before it gets to the
  printer, then?

 if indeed it is the extra cr chars, you could

 cat file | tr -d \r | ifhp

 or something like that.  tr is fast...
 
   _  _ _  _ ___  _  _  _
  |Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
  |$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
  \__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630
 
  On Fri, 20 Jun 2003, Henrik Edlund wrote:
 
   On Fri, 20 Jun 2003, Ryan Novosielski wrote:
  
   RN I am printing via the HP 2500cm driver for Win2k, which sends some PJL and
   RN says @PJL ENTER LANGUAGE=PCL3GUI. That's just fine. The problem is that
   RN 'file' claims that the file is of type 'data'. I vi'd the file, did
   RN nothing to it, saved it, and ran file again -- now it recognizes it as a
   RN HP Printer Job Language. The file appears to have the proper PJL header,
   RN with the ^[%-12345X -- forgive me if I'm getting that wrong off the top of
   RN my head. Unfortunately, though, as printed, file calls it data and runs
   RN off a page that says No conversion available for type 'data'.
   RN
   RN Any clues here?
  
   Could it be the file contain CR (carriage return)? Windows machines puts
   both NL and CR and end of lines. How it becomes data I don't know, but
   as it was okay after you saved it (on UNIX I presume) it sounds familiar.
  
   -
   YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
   The address you post from 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.  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.
   -
  
 
  -
  YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
  The address you post from 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.  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.
  -

 --
 David Bear
 phone:480-965-8257
 fax:  480-965-9189
 College of Public Programs/ASU
 Wilson Hall 232
 Tempe, AZ 85287-0803
  Beware the IP portfolio, everyone will be suspect of trespassing

 -
 YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
 The address you post from 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.  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.
 -


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

If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests

Re: LPRng: Problem with 'file'

2003-06-24 Thread Ryan Novosielski
There is a LOT different. The most noticeable seems to be the outputs of
cmp -l in the first column are about 2-3 times larger than the second one.
I'm guessing maybe vi chopped some long lines, if that's what those
numbers are? Why would ifhp care?

In any case, I'm going to produce a set of small df's to post and see what
the consensus is... this is driving me /nuts/.

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630

On Tue, 24 Jun 2003, Dave Lovelace wrote:

 Ryan Novosielski wrote:
 
  Nope -- the file behaves exactly the same after the tr (I redirected it to
  another file), and still will work only after being vi'd (or probably
  otherwise massaged, but this is what I know works).
 
 I was somewhat doubtful about CRs being the problem; in my experience,
 vi leaves them alone.  (The vim that's on the RedHat Linux I use most now
 invisibly assumes that you really mean to edit a DOS/Win file, strips them
 off when you start editing, and adds them back when you save.  vi on
 the Unix versions I'm familiar with treats them as characters, displayed
 as ^M.)

 A suggestion for determining what *is* changing:
 - make a backup copy of your file
 - load  save with vi as you've been doing
 - Look at the files.  Are they still the same size?  Try cmp -l (that's
   lowercase L to look for differences.  Also, these are supposed to
   be text files, IIRC, aren't they?  Try running the before  after
   versions through cat -vt and running diff on the results.

 Actually, I just had a thought.  Probably not the cause of your problem,
 but one thing I *know* vi is apt to do to a file.  If your file ends
 without a linefeed, vi will add one.  (Again, I'm assuming I'm remembering
 correctly that this is supposed to be text for this idea to make any
 sense at all.)  In that case, echo  yourfile would work as well as
 running through vi.

 --
 - Dave Lovelace
   [EMAIL PROTECTED]
   [EMAIL PROTECTED]

 -
 YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
 The address you post from 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.  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.
 -


-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-


Re: LPRng: Problem with 'file'

2003-06-24 Thread Ryan Novosielski
Nope, it's definitely not ^M.

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630

On Tue, 24 Jun 2003, Keith Rinaldo wrote:

 If you're just looking to strip the extra ^M that Windows sticks into the files, 
 then change the tr command to  tr -d '\015' 

 \015 is the escape code for ^M.

 ---
 Keith Rinaldo
 Systems Administrator
 College of Engineering
 University of Nevada, Las Vegas


 - Original Message -
 From: Ryan Novosielski [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Tuesday, June 24, 2003 10:10 AM
 Subject: Re: LPRng: Problem with 'file'


  Nope -- the file behaves exactly the same after the tr (I redirected it to
  another file), and still will work only after being vi'd (or probably
  otherwise massaged, but this is what I know works).
 
   _  _ _  _ ___  _  _  _
  |Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
  |$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
  \__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630
 
  On Tue, 24 Jun 2003, David Bear wrote:
 
   On Tue, Jun 24, 2003 at 10:58:39AM -0400, Ryan Novosielski wrote:
So what is the appropriate way to repair such a file before it gets to the
printer, then?
  
   if indeed it is the extra cr chars, you could
  
   cat file | tr -d \r | ifhp
  
   or something like that.  tr is fast...
   
 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630
   
On Fri, 20 Jun 2003, Henrik Edlund wrote:
   
 On Fri, 20 Jun 2003, Ryan Novosielski wrote:

 RN I am printing via the HP 2500cm driver for Win2k, which sends some PJL 
 and
 RN says @PJL ENTER LANGUAGE=PCL3GUI. That's just fine. The problem is that
 RN 'file' claims that the file is of type 'data'. I vi'd the file, did
 RN nothing to it, saved it, and ran file again -- now it recognizes it as a
 RN HP Printer Job Language. The file appears to have the proper PJL header,
 RN with the ^[%-12345X -- forgive me if I'm getting that wrong off the top 
 of
 RN my head. Unfortunately, though, as printed, file calls it data and runs
 RN off a page that says No conversion available for type 'data'.
 RN
 RN Any clues here?

 Could it be the file contain CR (carriage return)? Windows machines puts
 both NL and CR and end of lines. How it becomes data I don't know, but
 as it was okay after you saved it (on UNIX I presume) it sounds familiar.

 -
 YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
 The address you post from 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.  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.
 -

   
-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-
  
   --
   David Bear
   phone: 480-965-8257
   fax: 480-965-9189
   College of Public Programs/ASU
   Wilson Hall 232
   Tempe, AZ 85287-0803
Beware the IP portfolio, everyone will be suspect of trespassing
  
   -
   YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
   The address you post from

Re: LPRng: HPDJ755CM help

2003-06-20 Thread Ryan Novosielski
Sam,

I bet I am using it, and yes, it does work very well for me... EXCEPT:
I am getting large black fields, usually toward the end of the posters. It
seems to be random, and could even be hardware I /suppose/, but it seems
like an awfully big coincidence that the lab staff started complaining to
me right around when I started to use the hpgl2 code for the printer.

I am reading the PS header out of the dfAXXX... file in /var/spool/lpd.
Does this mean the Mac is sending it? I don't know why it would be, as I'm
using the driver for that printer and that printer does not speak PS3.

Can I ask you what the second part of your ifhp entry does? (the
pjl_ustatus section). This part I do not have, and I'm wondering if the
reason the printer is bombing out toward the end is it gets some bad data
in the form of status polling and starts printing black -- it's wasting a
lot of time, ink, and paper at the moment.

On a good note, the plotter is being replaced with an 800ps in the near
future. Anyone got one of these?

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630

On Thu, 12 Jun 2003, Sam Lown wrote:

 Hi Ryan,

 I sent a patch to the list for sending raw HPGL/2 files to IFHP
 connected plotters, I'd assume your using this patch? - If so, I'm very
 glad to hear its working for you :-)

 As for PS, which file are you reading the first line from? IFHP doesn't
 change any of the PostScript headers, it sends the file as-is with a bit
 of PJL header code, at least for the 755cm plotters! You can check this
 with the following command:

 cat postscriptfile.ps | ifhp -Tmodel=hpdj755cm,trace  output.prn

 and then check out the headers at the top of output.prn.

 BTW, my ifhp.conf file with HPGL/2 patch for this plotter is:

 --- CUT

 [ hpdj230 hpdj250c hpdj330 hpdj350c hpdj430 hpdj450c hpdj455ca hpdj700
 hpdj750c hpdj750cplus hpdj755cm hpdj2000cp ]

 ## These printers should support HPGL2
 hpgl2

 pjl_only=[
 COMMENT ECHO ENTER EOJ
 INFO RESET SET
 USTATUS USTATUSOFF
   ]

 pjl_ustatus=
 @PJL USTATUSOFF
 @PJL USTATUS DEVICE = ON
 @PJL USTATUS TIMED = 10

 --- END CUT

 Hope this helps,
 cheers,

 sam

 On Wed, 2003-06-11 at 17:09, Ryan Novosielski wrote:
  I forget exactly who it is, but someone wrote a patch for ifhp.conf that
  included a printer def for the 755cm. I am currently using it for HPGL and
  am very pleased with the results. HOWEVER, for PS, I am getting files
  (when printing from a Mac, for example) that contain PS3, according to the
  first line of the file. The printer receives them, smiles and nods, and
  silently dumps the file. As the Mac PPD for the printer clearly says PS
  level 2, I believe that ifhp may be handing it level 3 for some reason. Is
  this far-fetched? How can I make sure the printer always gets level 2,
  even if this problem isn't caused by ifhp?
 
   _  _ _  _ ___  _  _  _
  |Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
  |$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
  \__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630
 
  -
  YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
  The address you post from 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.  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.
  -
 --
 CERN, Geneva
 IT - Product Support - Unix Infrastructure
 E-mail: [EMAIL PROTECTED]


 -
 YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
 The address you post from 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.  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

Re: LPRng: Ricoh Afico 350e

2003-06-20 Thread Ryan Novosielski
PS is an option as far as I know. Mine doesn't have it. :) What do you
get, just PS code coming out of the printer?

For some reason mine claims on its website that it has PS support,
but... it's lying, I have a feeling.

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630

On Fri, 20 Jun 2003, David Bear wrote:

 On Thu, Jun 19, 2003 at 02:10:39PM -0400, Ryan Novosielski wrote:
  It claims that everything is sent via [EMAIL PROTECTED] (for LPD) or sent on
  port 10001. I so far haven't gotten postscript out of it via LPRng, but a
  co-worker of mine says he bypasses the queue and does get PS to work.

 just tried sending direct to port 10001.. cool.  It works.

 Still, it does accept ps.  tried

 cat filters.ps | nc -v -v -w 5 aficio1050 10001
 aficio1050.pp.asu.edu [129.219.120.143] 10001 (?) open
  sent 33245, rcvd 0

 filters.ps was a postscript doc which gv correctly rendered.

 came out the printer s postscript.  yuck.

 So, I guess the 1050 does NOT natively understand postscript.
 

 --
 David Bear
 phone:480-965-8257
 fax:  480-965-9189
 College of Public Programs/ASU
 Wilson Hall 232
 Tempe, AZ 85287-0803
  Beware the IP portfolio, everyone will be suspect of trespassing

 -
 YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
 The address you post from 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.  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.
 -


-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-


LPRng: Problem with 'file'

2003-06-20 Thread Ryan Novosielski
I am printing via the HP 2500cm driver for Win2k, which sends some PJL and
says @PJL ENTER LANGUAGE=PCL3GUI. That's just fine. The problem is that
'file' claims that the file is of type 'data'. I vi'd the file, did
nothing to it, saved it, and ran file again -- now it recognizes it as a
HP Printer Job Language. The file appears to have the proper PJL header,
with the ^[%-12345X -- forgive me if I'm getting that wrong off the top of
my head. Unfortunately, though, as printed, file calls it data and runs
off a page that says No conversion available for type 'data'.

Any clues here?

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630

-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-


LPRng: Ricoh Afico 350e

2003-06-19 Thread Ryan Novosielski
Can someone help me find a working config for a Ricoh Afico 350e printer
using ifhp? The thing CLAIMS it accepts PS, but it ends up printing the
postscript code, not the image.

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630

-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-


LPRng: pjl_waitend_byjobname - HP LJ 4100

2003-06-19 Thread Ryan Novosielski
Can anyone think of why this file, specfically, would not ever get
pjl job/eoj? I killed it a couple of times and resent it, but still...
trouble. Is the jobname a problem somehow on this file? I assume it's not
the actual data of the file, because that DOES print properly AFAIK.

Thanks!

cfA007...:

Aschaefre@//DXQMD01+7
CA
D2003-06-19-12:45:46.445
H130.219.192.177
JOvid: Love: Am J Health Syst Pharm, Volume 59(22) Supplement 8.November 15, 
2002.S10-S15
Pschaefre
Qljptn246
NOvid: Love: Am J Health Syst Pharm, Volume 59(22) Supplement 8.November 15, 
2002.S10-S15
ldfA007ADDR130.219.192.177
UdfA007ADDR130.219.192.177


 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630

-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-


Re: LPRng: Ricoh Afico 350e

2003-06-19 Thread Ryan Novosielski
It claims that everything is sent via [EMAIL PROTECTED] (for LPD) or sent on
port 10001. I so far haven't gotten postscript out of it via LPRng, but a
co-worker of mine says he bypasses the queue and does get PS to work.

Incidentally... I discovered the source of my problem. My boss'
workstation with a standalone driver for the printer prints with PJL in
the header, and the job prints properly. The drivers I have hosted on the
Samba server I have are tacking this onto the beginning of the dfA...'s:

^NM-s^_M-QM--

I don't know what the hell that is, so I really don't know what I could do
with the magic file. It calls a file prefaced with this a data file, and
then for some reason it makes the leap to PS and prints out some PS
headers stairstepped across the page. Does anyone recognize this string as
meaning anything in any language?

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630

On Thu, 19 Jun 2003, David Bear wrote:

 On Thu, Jun 19, 2003 at 11:22:01AM -0400, Ryan Novosielski wrote:
  Can someone help me find a working config for a Ricoh Afico 350e printer
  using ifhp? The thing CLAIMS it accepts PS, but it ends up printing the
  postscript code, not the image.

 we have two aficio copy machine/printers, a 340 and a 1055.  Both
 printer manuals claimed the machines could handle postscript.  Yet,
 when I went to see if this was handled via a queue name like raw or
 ps or pcl, I could never determine exactly how -- so I ended up
 just sending pcl to the printers.  the aficio documentation is really
 lousy!!!  And their network attachment is really poor -- I could not
 find any way in either machine to create hosts-allow/deny lists, and
 neither one use appsocket -- only the standard plethora of lousy
 protocols like netbios, ipx, appletalk and lpd...


 --
 David Bear
 phone:480-965-8257
 fax:  480-965-9189
 College of Public Programs/ASU
 Wilson Hall 232
 Tempe, AZ 85287-0803
  Beware the IP portfolio, everyone will be suspect of trespassing

 -
 YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
 The address you post from 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.  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.
 -


-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-


Re: LPRng: Slow printing to HP8100 series

2003-06-17 Thread Ryan Novosielski
Power-cycle the printer and see if it gets any better -- it does on my
printer... for awhile... then you do it again.

Don't buy HP. ;)

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630

On Tue, 17 Jun 2003, Scott Schorling wrote:

 I'm seeing extremely slow printing of postscript to HP8100 series
 printers - approximately 30 seconds per page. Plain text and PCL
 from PC's prints much faster. Any ideas?

 --
 -
 Scott Schorling   [EMAIL PROTECTED]
 Data Center Services  (630)798-7362
 Tellabs Operations Inc.

 
 The information contained in this message may be privileged
 and confidential and protected from disclosure.  If the
 reader of this message is not the intended recipient, or an
 employee or agent responsible for delivering this message to
 the intended recipient, you are hereby notified that any
 reproduction, dissemination or distribution of this
 communication is strictly prohibited. If you have received
 this communication in error, please notify us immediately by
 replying to the message and deleting it from your computer.

 Thank you.
 Tellabs
 

 -
 YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
 The address you post from 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.  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.
 -


-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-


Re: LPRng: Printer Recommendations (again)

2003-06-12 Thread Ryan Novosielski
I would like to also solict any experiences you have had with HP InkJet
printers in a workgroup environment. I have a terrible HP 2500CM that I am
going to replace, but I don't trust the HP inkjets because of it. Are my
fears unfounded?

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630

On Tue, 10 Jun 2003, Ryan Novosielski wrote:

 See, the trouble is, the product lines don't sit still! :)

 At any rate, I'm in the market for all new printers. Xerox is my
 front-runner right now, being that they have true Adobe PS (the fake BS
 has been driving me nuts for months), seem to have good other features,
 have a nice solid ink printer, etc.

 However, I am still open to suggestions on other vendors (in fact, I'd
 like to know from those with experience if Xerox printers work well with
 LPRng or not). Accounting is a must. Printing is /about/ 100,000 pages per
 month. Printing limited by IP address should be possible, but it is not
 ultimately necessary. The Xerox printers I looked at, incidentally, are
 the 4400 and the color 8200.

 Also, anyone have any recommendations in the poster printer dept?

 I looked through the ifhp.conf file, but... a lot of the info in there is
 out of date and supported printers are not listed but do work with older
 defs (especially unclear is cases like Tektronix -- their printers worked
 well, do Xerox's?).

 Thanks!

 (PS: I already looked at linuxprinting.org and some other places)

  _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
 |$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630

 -
 YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
 The address you post from 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.  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.
 -


-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-


LPRng: Printer Recommendations (again)

2003-06-10 Thread Ryan Novosielski
See, the trouble is, the product lines don't sit still! :)

At any rate, I'm in the market for all new printers. Xerox is my
front-runner right now, being that they have true Adobe PS (the fake BS
has been driving me nuts for months), seem to have good other features,
have a nice solid ink printer, etc.

However, I am still open to suggestions on other vendors (in fact, I'd
like to know from those with experience if Xerox printers work well with
LPRng or not). Accounting is a must. Printing is /about/ 100,000 pages per
month. Printing limited by IP address should be possible, but it is not
ultimately necessary. The Xerox printers I looked at, incidentally, are
the 4400 and the color 8200.

Also, anyone have any recommendations in the poster printer dept?

I looked through the ifhp.conf file, but... a lot of the info in there is
out of date and supported printers are not listed but do work with older
defs (especially unclear is cases like Tektronix -- their printers worked
well, do Xerox's?).

Thanks!

(PS: I already looked at linuxprinting.org and some other places)

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630

-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-


Re: LPRng: waitend won't...

2003-05-30 Thread Ryan Novosielski
Please include a printcap -- I have no problem with any of these printers
pagecounting with ifhp-3.5.10.

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630

On Tue, 27 May 2003, Tim Strobell wrote:

 Hi folks -- I'm having a nasty problem with waitend in ifhp. (3.5.10)

 It appears that the printers (HP LJ5m, 8000, 8100, all PS) are returning EOJ
 as soon as the job is finished processing, not after the last page has been
 ejected. This royally fscks up the pagecounts for my accounting project.

 I've tried waitend=ps and =pcl, with no better (sometimes worse) results.
 I haven't yet tried waitend via SNMP for fear of overimplementing an otherwise
 simple project.

 I dislike the idea of pagecount polling -- I'd like to keep jobs queued up on
 the printer and keep it churning as continuously as possible.

 Any ideas?

 Tim

 --
 Tim Strobell, Assistant Systems Administrator [EMAIL PROTECTED]
 Department of Mathematics, University of Maryland   Tel (301)405-8175
 Mail: 1301 Math Bldg, College Park, MD 20742-4015   Fax (301)314-0827

 -
 YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
 The address you post from 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.  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.
 -


-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-


Re: LPRng: waitend won't...

2003-05-30 Thread Ryan Novosielski
You definitely don't want Appsocket. I never use it on any HP printers,
only on Tektronix machines (which have appsocket as part of the model).
Here is my printcap -- maybe it will help? shrug

laser2
 :ae=|/opt/LPRng/libexec/filters/accounting-umdnj.pl end
 :af=/var/spool/lpd/%P/acct
 :as=|/opt/LPRng/libexec/filters/accounting-umdnj.pl start
 :cm=Newark Lab - C632 - HP LaserJet 8150N
 :filter=/opt/LPRng/libexec/filters/ifhp
 :force_localhost
 :ifhp=model=hp8100,dev=130.219.34.10%9100
 :lp=/dev/null
 :sd=/var/spool/lpd/%P
 :server
 :ss=ljnlab

Maybe you need force_localhost? Or is that the default... hmm. As for why
I don't use the DNS name, it was just to avoid the lookup -- we thought it
might be slowing things down... no word either way, but... shrug

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630

On Thu, 29 May 2003, Tim Strobell wrote:

  |:ifhp=dev=lwtest.printers.math.umd.edu%9100,model=hp8100,appsocket
  |Why do you have appsocket enabled here?
 I removed appsocket, but it appears that the printer's not talking back to
 ifhp. (ifhp complains printer not detected and suggests I use [EMAIL PROTECTED])
 I suspect removing appsocket no longer makes the connection be bidirectional?

 Everything was working fine before I started monkeying with accounting, so I'm
 assuming the printcap is otherwise okay.

 Tim

 --
 Tim Strobell, Assistant Systems Administrator [EMAIL PROTECTED]
 Department of Mathematics, University of Maryland   Tel (301)405-8175
 Mail: 1301 Math Bldg, College Park, MD 20742-4015   Fax (301)314-0827

 -
 YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
 The address you post from 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.  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.
 -


-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-


LPRng: Done jobs

2003-03-18 Thread Ryan Novosielski
Time was that done jobs would sometimes expire in the wrong order (the
first five done jobs would remain, the rest drop out, when done_jobs=5).
Has this been fixed? Not in 3.8.15, from my experience? What shall I
upgrade to that will not exhibit this problem? I now have done_jobs set to
a very large number to keep this from happening... but... this is not
ideal.

Thanks for any help,

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630

-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-


Re: LPRng: PDF problems

2003-03-07 Thread Ryan Novosielski
What version are you currently using that does not have this problem?

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630

On Fri, 7 Mar 2003 [EMAIL PROTECTED] wrote:

 Hi Ryan,

 we had similar problems with the 8000er series and it was fixed with a rom
 update that we got from the HP website...

 best regards
   ~christoph


 --
 /*   Christoph Beyer |   Office: Building 2b / 23 *\
  *   DESY|Phone: 040-8998-2317*
  *   - IT -  |  Fax: 040-8998-4060*
 \*   22603 Hamburg   | http://www.desy.de */


 On Thu, 6 Mar 2003, Ryan Novosielski wrote:

  PDF's make our printers do stupid things... 79.00FE errors, print SLOWLY
  (about 1 page every 40 seconds or more), etc. Has anyone conquered or at
  least mitigated this problem at all? My printers are all 4000 and 8000
  series.
 
   _  _ _  _ ___  _  _  _
  |Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
  |$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
  \__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630
 
  -
  YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
  The address you post from 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.  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.
  -
 


 -
 YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
 The address you post from 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.  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.
 -


-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-


Re: LPRng: 'done' status?

2003-03-06 Thread Ryan Novosielski
I found out only Windows 2000 machines display printed. Win 98 machines
display nothing at all. Craig Small, do you happen to know if Debian
edited that file, or if there something that would tell me if they did?

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630

On Wed, 5 Mar 2003, John Perkins wrote:

 On Mon, 3 Mar 2003 03:23:07 -0500 (EST)
 Ryan Novosielski [EMAIL PROTECTED] wrote:

  At work, my LPRng installations cause Samba (v2.2.5, but really everything
  before that acted the same way) to show Paused in the Windows status
  field for done jobs in Win98. I have compiled these batches from source on
  HP-UX machines (Samba and LPRng).
 
  However, at home, I recently switched from BSD to LPRng on Debian Linux
  (3.0). In the printer window at home on Win2k, I see Printed for done
  jobs (makes much more sense and allows a person to distinguish done and
  held jobs). The Samba version here is 2.2.3a-12 for Debian. LPRng version
  is 3.8.10.
 
  Can someone on here explain to me why this might be happening? One
  variable I can eliminate right away is Win98 vs. Win2k -- I believe the
  same Win2k machine shows Paused at work, but I will check that out when
  I am able to. But I suppose my question is, is it possible that Samba or
  LPRng was fixed as a part of Debian to cause this behavior? Is there
  some configuration option I can set to make the copy at work act this way?

 The status reported on your Windows box depends on whether Samba found
 certain strings in the lpq output.  You can find the strings it's looking
 for in printing/lpq_parse.c, defined in strings stat[012]_strings.

 We had a problem for a while where a queue that had the word paper in
 the name would always report status paused.  Turned out samba was looking
 for paper (as in paper jam) and report the queue paused, even when the
 queue was printing.

 I don't know where printed would come from.  I suspect the Debian people
 tweaked the samba code-base to report a reasonable status back when lprng
 leaves X jobs sitting in the queue with status done.  Shouldn't be all
 that hard to do.  Not quite a vanilla install this way, but it probably
 cuts down on the number of people reporting bugs in the behavior of
 their pre-packaged software...

 
John Perkins |   University of Wisconsin-Madison
Associate Researcher |   Department of Computer Science
[EMAIL PROTECTED]|   1210 W. Dayton St.
608-262-0438/608-262-9997 FAX  |   Madison, WI  53706-1685
 



 -
 YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
 The address you post from 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.  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.
 -


-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-


LPRng: PDF problems

2003-03-06 Thread Ryan Novosielski
PDF's make our printers do stupid things... 79.00FE errors, print SLOWLY
(about 1 page every 40 seconds or more), etc. Has anyone conquered or at
least mitigated this problem at all? My printers are all 4000 and 8000
series.

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630

-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-


Re: LPRng: build LPRng with gcc on HP-UX 11i

2003-03-04 Thread Ryan Novosielski
I am currently using LPRng 3.8.15 with ifhp 3.5.10. The only configure
options I used were the prefixes. At one time, I had needed the option
describing the linker (I believe it is in the CHANGES file), but no
longer. This is HP 11.00 I am talking about.

I always download the source from LPRng.com and compile that.

Recently, on HP-UX 11.11 (11i), I compiled LPRng 3.8.20 (no ifhp -- this
is a test machine). I have had no trouble with it, and again, I only set
the prefix, nothing else.

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630

 Ryan,

 Which version of LPRng and IFHP are you using ? what are the configure options
 ? Did you use the original downloaded source code for LPRng and IFHP?  I wonder
 what's going on with HPUX11.x.

 Thanks

 Jin

 Danial Howard wrote:

  Ryan Novosielski wrote:
   I always use the HP-UX ANSI-C compilers for my HP-UX machines, and it
   works like a star. If you have access to the ANSI-C compilers
   (/opt/ansic/bin/cc), give them a whack.
  
 
  Thanks, Ryan. Yes, I do have the HP ANSI C compiler and used it to
  compile LPRng and ifhp without the warnings received from gcc.
 
  So I have LPRng working on it's own. I also have ifhp working fine
  separately. Now when I configure a print queue to use ifhp, the print
  job just hangs. I think there is a problem in LPRng/ifhp on HP-UX
  11.00 and 11.11 that prevents one from passing jobs to the other. In
  fact, I created a simple shell script filter and put that in the
  printcap. Jobs to that queue hang too. So it's not ifhp. It's filters
  in general. I can't quite pin it down.
 
  See another thread in the mailing list titled HP-UX 11i, LPRng, and
  ifhp. I see you've added a message to that thread. I'll try your
  suggestion.
 
  If you have LPRng and ifhp working on HP-UX, what configure options
  did you use and how was it built?
 
  I use this:
 
  ./configure --prefix=/opt/lprng --with-linker=/usr/bin/ld \
   CFLAGS=-Ae FILEUTIL=/opt/file/bin/file CC=cc
 
  and then GNU Make to build.
 
  --
  Danial M. Howard
  IT Systems Programmer, Computing and Communications
  Idaho State University, Pocatello, Idaho, USA
 
  -
  YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
  The address you post from 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.  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.
  -


-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-


LPRng: Debugging S-L-O-W printing...

2003-02-27 Thread Ryan Novosielski
Can someone tell me what else I should be looking at (or what more info
you'd need) to debug this?


 Filter_status: using model 'hp5000' at 12:40:31.376
 Filter_status: pagecount using 'pjl info pagecount' at 12:40:37.731
 Filter_status: setting up printer at 12:40:37.732
 Filter_status: getting sync using 'pjl echo' at 12:40:37.733
 Filter_status: id = 'LASERJET 5000' at 12:40:38.333
 Filter_status: sync done at 12:40:38.408
 Filter_status: pagecounter 15594 after 0 attempts at 12:40:38.408
 Filter_status: pagecounter 15594 at 12:40:38.408
 Filter_status: sending job file at 12:40:38.410
 Filter_status: starting transfer at 12:40:38.410
 Filter_status: initial job type 'PJL' at 12:40:38.436
 Filter_status: decoded job type 'PJL' at 12:40:38.436
 Filter_status: job type 'PJL' at 12:40:38.437
 Filter_status: transferring 1087731 bytes at 12:40:38.437
 Filter_status: 25 percent done at 12:44:08.047
 Filter_status: 50 percent done at 12:51:59.308
 Filter_status: 76 percent done at 13:01:33.478
 Filter_status: sent job file at 13:07:50.065
 Filter_status: getting end using 'pjl job/eoj' at 13:07:50.075
 Owner/ID  Class Job Files Size Time
stalled(1652sec) [EMAIL PROTECTED]  A   693 http://www.amazon. 1087731
12:40:25

...as anyone who has an HP 5000 knows (or ANY printer at all for that
matter) that a 1 MB print job off the web should not take over 5 mins to
print 25%. This has been driving me nuts lately.

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630

-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-


LPRng: Stalling Printers...

2003-02-26 Thread Ryan Novosielski
Anyone having trouble with the PS implementation on the newer HP printers?
I have an 8150 and 4100 that I suspect are falling prey to memory leaks
(they work well went power-cylced, and get slower and slower after
continued use). Is there an empty RAM command I can send if need be? Any
way to make this all go away? It's apparently frequent 70.00FE errors with
PCL or this with PS... great printers... (this, incidentally, refers to
jobs printing unbearably slowly... page prints, long pause, page prints).

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630

-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-


Re: LPRng: build LPRng with gcc on HP-UX 11i

2003-02-26 Thread Ryan Novosielski
I always use the HP-UX ANSI-C compilers for my HP-UX machines, and it
works like a star. If you have access to the ANSI-C compilers
(/opt/ansic/bin/cc), give them a whack.

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630

On Thu, 31 Oct 2002, Danial Howard wrote:

 I'm trying to build LPRng-3.8.15 on HP-UX 11i using gcc version 3.2
 20020708. The compiler is provided by HP. I'm using GNU make 3.79.1.

 I used ./configure --prefix=/opt/lprng
 Then typed make.

 Early in the build, I get an error:

 make[1]: Entering directory `/home/howadani/build/LPRng-3.8.15/src'
 /bin/sh ../libtool --mode=compile gcc -I.. -I. -I./include -I./common
 -D_HPUX_SOURCE=1 -g -W -Wall -Werror -Wno-unused   -D_HPUX_SOURCE=1 -g
 -W -Wall -Werror -Wno-unused  -DHAVE_CONFIG_H -c /common/accounting.c
 rm -f .libs/accounting.lo
 gcc -I.. -I. -I./include -I./common -D_HPUX_SOURCE=1 -g -W -Wall
 -Werror -Wno-unused -D_HPUX_SOURCE=1 -g -W -Wall -Werror -Wno-unused
 -DHAVE_CONFIG_H -c ./common/accounting.c  -fPIC -DPIC -o
 .libs/accounting.lo
 common/accounting.c: In function `Do_accounting':
 common/accounting.c:80: warning: signed and unsigned type in
 conditional expression
 common/accounting.c:124: warning: signed and unsigned type in
 conditional expression
 make[1]: *** [accounting.lo] Error 1
 make[1]: Leaving directory `/home/howadani/build/LPRng-3.8.15/src'
 make: *** [src] Error 2



 Has anyone here successfully build LPRng on HP-UX 11i? If so, what
 versions of LPRng and gcc did you use?
 --
 Danial M. Howard--howadani at isu.edu--(208) 282-3097
 IT Systems Programmer, Computing and Communications
 Idaho State University, Pocatello, Idaho, USA


 -
 YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
 The address you post from 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.  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.
 -


-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-


Re: LPRng: HP-UX 11i, LPRng, and ifhp

2003-02-26 Thread Ryan Novosielski
I have had the same problem in the past. One foolproof way to do it
instead is to do lp=/dev/null, and then ifhp=dev=hp2100tn%9100.

I've never had trouble with this, and this is my primary means to print to
laser printers.

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630

On Thu, 13 Feb 2003, Danial Howard wrote:

 I have built LPRng and ifhp on an HP-UX 11i system. When I configure a
   queue like below, it prints fine if the job is postscript or pcl. If
 the job is a plain text file (/etc/profile), it has no carriage
 returns and runs off the rhs of the paper.

 .common:
 :sd=/var/spool/lpd/%P
 :mx=0:mc=0
 cc_testlan_1:tc=.common:lp=hp2100tn%9100

 When I change the printcap to use ifhp like this, the job just hangs
 in the queue.

 cc_testlan_1:tc=.common:lp=hp2100tn%9100
  :filter=/opt/lprng/libexec/filters/ifhp
  :ifhp=model=hp2100

 The problem remains when I disable the ifhp status option. I've turned
 on debug=3, and used lpstat with verbose output and am not sure what
 to look for.

 The strange part is that ifhp works good on it's own. The source code
 has a README.TESTING file that I followed. I can call ifhp directly
 with an input file and it will send output directly to the printer.
 LPRng works without ifhp. Together, they are broken.

 When building LPRng, I noticed a curious option on the cc comand line:
 cc -DDEVFD0=\DEVFD0\ ...

 Is DEVFD0 representing stdin? Is this my problem?

 Will someone help me? What info do you need?

 --
 Danial M. Howard
 IT Systems Programmer, Computing and Communications
 Idaho State University, Pocatello, Idaho, USA


 -
 YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
 The address you post from 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.  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.
 -


-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-


LPRng: 4SiMX and print accounting (fwd)

2003-02-26 Thread Ryan Novosielski
Wanted to give this one antoher go 'round -- I'm stumped.

I am having trouble getting counts out of my 4SiMX. I have a 4Si that is
giving me no problems, but the MX is giving me 0 page length jobs. The
page counts are accurate, however apparently not until the beginning of
the next job, or sometime somewhat before. I have tried the old
semi-working remedy for the 4100 (before patch came out) of waiting 15
seconds at the end. I also tried the 4100 patch, figuring it might have
the same problem -- to no avail (this waited past the end of jobs to get
a pagecount -- no good). Anyone have one of these working properly and can
give me an idea of what to do?

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630


-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-


RE: LPRng: RE: How do I get the @#$$% job name to show instead ofsmbprn.yad a.yada?

2003-02-26 Thread Ryan Novosielski
I use:

print command = /opt/LPRng/bin/lpr -P%p -U%U -J'%J' -r %s

...I had the same problem you are having until I added:

-J'%J' -- I don't remember whether I used -J%J and that didn't work, but
I would tend to use double quotes so there may be a reason why I didn't
here. Give this one a whack (well, with the correct PATH to lpr,
obviously, minus the options you don't want (though IMHO, you want them
all)) and let me know if it works...

...unless of course, you solved this one already, in which case I
apologize. Too many things keeping me busy to read a mailing list on a
regular basis! :)

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630

On Sat, 18 Jan 2003 [EMAIL PROTECTED] wrote:

 Hey folks,

 sorry I didn't quite follow the discussion :-(

 did you try '-J' ?

 in general this should result in something like:


 [pcx1839] / $ echo test | lpr -Ptestp5
 [pcx1839] / $ lpq
 Printer: [EMAIL PROTECTED] (printing disabled) (dest [EMAIL PROTECTED],spoola)
  Queue: 2 printable jobs
  Server: no server active
  Status: job '[EMAIL PROTECTED]' removed at 13:57:34.865
  Rank   Owner/ID  Class Job Files Size
 Time
 1  [EMAIL PROTECTED] A   273 (stdin)  5
 13:02:13

 [pcx1839] / $ echo test | lpr -J name -Ptestp5
 [pcx1839] / $ lpq
 Printer: [EMAIL PROTECTED] (printing disabled) (dest [EMAIL PROTECTED],spoola)
  Queue: 2 printable jobs
  Server: no server active
  Status: job '[EMAIL PROTECTED]' removed at 13:57:34.865
  Rank   Owner/ID  Class Job Files Size
 Time
 1  [EMAIL PROTECTED] A   273 (stdin)  5
 13:02:13
 2  [EMAIL PROTECTED] A   280 name 5
 13:02:38


 To use this with SAMBA try something like:

  print command = /usr/spool/lp/bin/lpr -r -J%J -m%m -U%U -P%p
 %s

 Don't forget the '' because filenames coming from windows tend to have
 blanks in their names which will kill your 'print command'...


 hope this helps (?)
   ~christoph


 --
 /*   Christoph Beyer |   Office: Building 2b / 23 *\
  *   DESY|Phone: 040-8998-2317*
  *   - IT -  |  Fax: 040-8998-4060*
 \*   22603 Hamburg   | http://www.desy.de */


 On Fri, 17 Jan 2003, Van Sickler, Jim wrote:

  Good point.
 
  I'm not all that happy with the Lanier job
  processing (aside from the 2138's intermittent
  trips into la-la land).  The only time the
  Document Name ever shows up is when I send
  jobs to it via the Samba/LPRng route.
 
  The following drivers/ports are in use,
  but NEVER result in the Document Name
  being displayed in the History:
 
  RPCS (Ricoh's native driver)
  via LanMan or SmartNet ports
  PS2/PS3
  via LanMan or AdobePS ports
  --
  I just created a printer on the Win2k box
  using the PS3 driver, through a
  Standard TCP/IP port; the correct
  Document Name (Test Page) info shows up...
 
  xxx.xxx.xxx.24 port name is lp.
 
  Device Type is Ricoh Generic Network Printer
 
  But...the PS3 driver (always) screws up the
  timestamp in the process.  The History shows
  00/00/00, and the console/web log shows
  --- instead of YY/MM/DD.  This occurs
  no matter which port I use-LanMan, SmartNet,
  TCP/IP.
 
  It looks to me like the Ricoh/Lanier folks have
  cobbled the drivers together well enough to
  ship, but there's still a lot of features
  to be worked out.
 
  I haven't tried the PCL drivers yet...I can
  hardly wait to see what features will
  divulge themselves when I do...
 
   -Original Message-
   From: Paul Tykodi [mailto:[EMAIL PROTECTED]
   Sent: Friday, January 17, 2003 8:31 AM
   To: [EMAIL PROTECTED]
   Subject: RE: LPRng: RE: How do I get the @#$$% job name to
   show instead
   of smbprn.yad a.yada?
  
  
   Hello Joel and Jim,
  
   One question to ask the Lanier folks would be where the print
   controller of
   the copier/printer collects the job name from when it
   processes a job. Your
   discussion to date has assumed that it is getting the data
   from the LPD
   daemon running on the print controller parsing the control
   file generated by
   LPRng when the job is transferred through Samba to the
   printer. It is also
   possible the accounting function of the copier/printer is
   reading header
   information (PostScript or PJL) in each actual received job
   to find the user
   instead of the LPRng control file. If this turned out to be
   true, it would
   explain why the changes you were testing didn't have any effect at the
   copier/printer.
  
   Just a thought...
  
   Best Regards,
  
   /Paul
   --
   Paul Tykodi
   National Product Manager
   Print 4Sight Inc.
  
   p: 603-431-0606 x115
   f: 603-436

Re: LPRng: Problem with pagecounting on Lexmark and HP

2003-02-26 Thread Ryan Novosielski
Sorry for the long delay, but maybe this will still help someone. I have
no problem with the HP5000 series printers that I have. Here is my
printcap:

laser3
 :ae=|/opt/LPRng/libexec/filters/accounting-umdnj.pl end
 :af=/var/spool/lpd/%P/acct
 :as=|/opt/LPRng/libexec/filters/accounting-umdnj.pl start
 :cm=NJMS Alumni Lab - B624 - HP LaserJet 5000N
 :filter=/opt/LPRng/libexec/filters/ifhp
 :ifhp=model=hp5000,dev=laser3%9100
 :lp=/dev/null
 :sd=/var/spool/lpd/%P

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630

On Mon, 21 Oct 2002, Raymond M. Reskusich wrote:

 It's probably safest in trying to track down the problem to increase the
 debugging level in the ifhp options  and look in the status file to
 see how the communications with the printer are working.

 Does the print job stay active in the queue as long as pages are
 coming out of the printer? If not, there may be a waitend' problem,
 like with the hp4100 and hp4550n. Does anyone on the list have
 pagecounting working with this model printer, or is it a widespread
 problem?

 Raymond M. Reskusich

 On Mon, Oct 21, 2002 at 10:08:43AM +, Marcelo Yandun wrote:
  it does not work
  Thanks
 
  Johan Bengtsson wrote:
 
  On Fri, 18 Oct 2002, Marcelo Yandun wrote:
  
  
  
  Hi,
  
  I am trying to set-up pagecounting on Lexmark,HP5000N and HP8000N
  but i can't make it works. i only get -p0.
  Idon't know what is wrong, please help.
  
  This is my printcap:
  for HP5000N:
  hp5hr041|Human Resources HP 5000N Laser Printer on the 4th Floor:\
 :sd=/var/spool/lpd/%P:\
 :mx#0:\
 :sh:\
 :rm=hp5hr041:\
 :rp=passthru:\
 :lpd_bounce=true:\
 :af=/var/log/lpd/%Plog:\
 :lf=/var/log/lpd/%P:
 :as=/usr/local/bin/accounting.pl start
 :ae=/usr/local/bin/accounting.pl end
 :filter=/usr/libexec/filters/ifhp
 :of=/usr/libexec/filters/ifhp
 :ifhp=model=hp5000,ps,pagecount=ps,waitend=ps
  
  
  
  Try something like this:
  
  :ifhp=model=hp5000,status,sync,pagecount,waitend
  
  Johan Bengtsson
  
  
 
  --
  Administrador del Sistema
  ALAI
  Agencia Latinoamericana de Informacion
  Telf: 2505-074
 
 


-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-


LPRng: 4SiMX and print accounting

2003-01-03 Thread Ryan Novosielski
I am having trouble getting counts out of my 4SiMX. I have a 4Si that is
giving me no problems, but the MX is giving me 0 page length jobs. The
page counts are accurate, however apparently not until the beginning of
the next job, or sometime somewhat before. I have tried the old
semi-working remedy for the 4100 (before patch came out) of waiting 15
seconds at the end. I also tried the 4100 patch, figuring it might have
the same problem -- to no avail (this waited past the end of jobs to get
a pagecount -- no good). Anyone have one of these working properly and can
give me an idea of what to do? (maybe SNMP?)

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630

-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-



Re: LPRng: Accounting with HP4100 ?

2002-10-15 Thread Ryan Novosielski

There is a patch to ifhp that can be applied to fix this. Search the list
archives and you will find it. Use at your own risk (works pretty well for
me... shrug).

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630

On Sat, 12 Oct 2002, Santosh Janardhan Sharbhogue wrote:


 Hi,

I've got a HP4100 running on RedHat 7.3 I've tried a lot to get the
 pagecount working for postscript files but it simply returns -p0 -b0 in
 the accounting file no matter what.

 Could somebody please help me out.

 -Santosh Shanbhogue

 Volunteer - System Administration
 Departmental Computational Facilities
 Aerospace Engineering
 Indian Institute of Technology Madras
 Chennai 600036
 India.

  --


 -
 YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
 The address you post from 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.  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.
 -



-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-



LPRng: Problem with TCP Printing

2002-08-28 Thread Ryan Novosielski

# cat /etc/printcap | /opt/LPRng/libexec/filters/lpf | lpr -Pps1nwk%9901 -Y

..works!

# lpr -Plp /etc/printcap

...no work. :(

# lpc printcap lp
Printer: lp@njmsa
lp
 :ab
 :af=/var/spool/lpd/%P/acct
 :bp=/opt/LPRng/libexec/filters/lpbanner
 :cm=Newark Lab - C632 - HP LinePrinter 2563A
 :if=/opt/LPRng/libexec/filters/lpf
 :lp=ps1nwk%9901
 :of=/opt/LPRng/libexec/filters/lpf
 :sd=/var/spool/lpd/%P

# lpq -Plp -L
 Status: subserver pid 29628 starting at 12:56:06.190
 Status: accounting at start at 12:56:06.190
 Status: opening device 'ps1nwk%9901' at 12:56:06.495
 Status: printing job 'root@njmsa+557' at 12:56:06.498
 Status: creating banner at 12:56:06.499
 Status: Filter_file: pgm '/opt/LPRng/libexec/filters/lpbanner' exited
with status 'JSUCC' at 12:56:06.744
 Status: printing 'root@njmsa+557' starting OF 'lpf' at 12:56:06.745
 Status: OF filter suspended at 12:56:06.835
 Status: processing 'dfA557njmsa.umdnj.edu', size 4180, format 'f', IF filter 'lpf' at 
12:56:06.836
 Status: IF filter 'lpf' filter finished at 12:56:07.022
 Status: OF filter finished at 12:56:07.028
 Status: printing finished at 12:56:07.028
 Rank   Owner/ID  Class Job Files Size
Time
active root@njmsa+557   A   557 /etc/printcap 4180
12:56:04

...anyone have any insight?

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630


-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-



Re: LPRng: pagecounting and the hp 4100

2002-08-27 Thread Ryan Novosielski

Argh. That's what I just tried... take a look:

 Filter_status: done at 20:47:09.113
 Filter_status: using model 'hp4100' at 21:15:17.200
 Filter_status: pagecount using 'pjl info pagecount' at 21:15:17.210
 Filter_status: setting up printer at 21:15:17.211
 Filter_status: getting sync using 
'/opt/LPRng/libexec/filters/check_printer_status.pl' at 21:15:17.211
 Filter_status: started 'check_printer_status.pl' at 21:15:17.213
 Filter_status: 'status'  = ' {},' at 21:15:18.225
 Filter_status: 'jobstatus_oid'  = ' '.1.3.6.1.2.1.25.3.5.1.1',' at 21:15:18.225
 Filter_status: 'status_ok'  = ' '3',' at 21:15:18.225
 Filter_status: sync done at 21:15:18.236
 Filter_status: pagecounter 279665 after 1 attempts at 21:15:19.229
 Filter_status: pagecounter 279665 at 21:15:19.243
 Filter_status: sending job file at 21:15:19.245
 Filter_status: starting transfer at 21:15:19.245
 Filter_status: initial job type 'PJL' at 21:15:19.245
 Filter_status: decoded job type 'PJL' at 21:15:19.246
 Filter_status: job type 'PJL' at 21:15:19.246
 Filter_status: transferring 2611 bytes at 21:15:19.246
 Filter_status: 100 percent done at 21:15:19.246
 Filter_status: sent job file at 21:15:19.246
 Filter_status: getting end using 'prog' at 21:15:19.248
 Filter_status: started 'check_printer_waitend.pl' at 21:15:19.249
 Filter_status: end of job detected at 21:15:19.764
 Filter_status: id = 'HP LaserJet 4100 Series' at 21:15:20.047
 Filter_status: pagecounter 279665 after 1 attempts at 21:15:22.636
 Filter_status: pagecounter 279665, pages 0 at 21:15:22.636
 Filter_status: done at 21:15:22.637

This printer is driving me crazy. Back to the patched ifhp I go for now.

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630

On Tue, 27 Aug 2002, Sam Noble wrote:

   I actually had to use it for both sync and waitend.

 On Tue, Aug 27, 2002 at 02:45:24PM -0400, Ryan Novosielski wrote:
  I actually tried this with my 4100 and I still got short counts on print
  jobs... what did work was the Fernando Blanco patch.
 
   _  _ _  _ ___  _  _  _
  |Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
  |$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
  \__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630
 
  On Mon, 26 Aug 2002, John Perkins wrote:
 
   On Sun, 25 Aug 2002 00:35:50 -0400 (EDT)
   Ryan Novosielski [EMAIL PROTECTED] wrote:
  
What about all of that XML code that is in there for the Phaser? Is there
a modified version for the HP, or are those generally the same? (I'm
pretty busy lately and trying not to do anything unnecessary).
  
   What about all that XML code in there for the Phaser?  Just leave it in there.  
You can add other lines for other printers (or that was the intent).
  
   I'm working on updating the scripts a bit, preferably such that they will take 
args from ifhp rather than pulling them from the printcap.  You shouldn't have to use 
that script for anything other than waitend functionality, since the PJL pagecounting 
seems to work just fine with the HP printers yet.  Phasers have a strange idea of 
when the page counter should update, which makes them interesting to deal with (at 
best).
  
   The following XML entries should work for the HP printers:
  
 printerdata
   name=hp4000
   pagecount_oid=.1.3.6.1.2.1.43.10.2.1.4.1.1
   display_oid=.1.3.6.1.2.1.43.16.5.1.2.1.1
   jobstatus_oid=.1.3.6.1.4.1.11.2.3.9.4.2.1.1.6.5.15
   status_cancelled=10
   status_ok=5
  status /status
 /printerdata
 printerdata
   name=hp4050
   pagecount_oid=.1.3.6.1.2.1.43.10.2.1.4.1.1
   display_oid=.1.3.6.1.2.1.43.16.5.1.2.1.1
   jobstatus_oid=.1.3.6.1.4.1.11.2.3.9.4.2.1.1.6.5.15
   status_cancelled=10
   status_ok=5
  status /status
 /printerdata
 printerdata
   name=hp4100
   pagecount_oid=.1.3.6.1.2.1.43.10.2.1.4.1.1
   display_oid=.1.3.6.1.2.1.43.16.5.1.2.1.1
   jobstatus_oid=.1.3.6.1.4.1.11.2.3.9.4.2.1.1.6.5.15
   status_cancelled=10
   status_ok=5
  status /status
 /printerdata
 printerdata
   name=hp4500
   pagecount_oid=.1.3.6.1.2.1.43.10.2.1.4.1.1
   display_oid=.1.3.6.1.2.1.43.16.5.1.2.1.1
   jobstatus_oid=.1.3.6.1.4.1.11.2.3.9.4.2.1.1.6.5.15
   status_cancelled=10
   status_ok=5
  status /status
 /printerdata
 printerdata
   name=hp8100
   pagecount_oid=.1.3.6.1.2.1.43.10.2.1.4.1.1
   display_oid=.1.3.6.1.2.1.43.16.5.1.2.1.1
   jobstatus_oid=.1.3.6.1.4.1.11.2.3.9.4.2.1.1.6.5.15
   status_cancelled=10
   status_ok=5
  status

Re: LPRng: pagecounting and the hp 4100

2002-08-26 Thread Ryan Novosielski

I am currently getting pagecounts of 0. Waitend and the like seem to be
working properly. Can someone tell me where those values below are
supposed to go?

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630

On Sat, 24 Aug 2002, Sam Noble wrote:

   A number of you responded to my previous question regarding the HP
 4100 and its tendancy to report that a job is finished long before the
 last page comes out of the printer.

   I've had considerable success using snmp to determine printer
 status (works for pagecounting, too).

   The IFHP distribution includes UTILS/use_snmp_for_status, which
 includes some perl code for ifhp's status, waitend, sync, and pagecount
 hooks.


 for status (idle, printing, other, and a few others. other, in my
 experience, typically indicates an error condition of some kind which
 can be checked in another variable):

 host.hrDevice.hrPrinterTable.hrPrinterEntry.hrPrinterStatus.1

 for pagecounting:
 printmib.prtMarker.prtMarkerTable.prtMarkerEntry.prtMarkerLifeCount.1.1


 -
 YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
 The address you post from 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.  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.
 -



-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-



Re: LPRng: error message

2002-08-25 Thread Ryan Novosielski

done_jobs=0 in $PREFIX/etc/lpd.conf to make it global, or in the printcap
entry to make the change for the particular spool.

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630

On 25 Aug 2002, Louis Garcia wrote:

 I have printing to work by modifying the /etc/hosts file a bit. LPRng
 seems to save some print jobs, how do I make LPRng remove all jobs after
 printing?

 Printer: hp2250@tiger (dest hp2250@server)
  Queue: no printable jobs in queue
  Server: no server active
  Status: job 'louisg00@tiger+314' removed at 14:16:48.284
  Rank   Owner/ID  Class Job Files Size
 Time
 done   root@tiger+870   A   870 /etc/hosts 226
 13:58:55
 Printer: hp2250@server
  Queue: no printable jobs in queue
  Server: no server active
  Status: job 'smbuser@server+885' saved at 13:12:22.671
  Rank   Owner/ID  Class Job Files Size
 Time
 done   smbuser@server+616   A   616 Intuit   35201
 12:30:52
 done   smbuser@server+885   A   885 httpwww.miami.comml 513711
 13:11:53


 --Lou


 On Sat, 2002-08-24 at 02:00, Ryan Novosielski wrote:
  Check your lpd.perms file in $PREFIX/etc. It seems as if you are not
  giving the user who is attempting to print the appropriate permissions. I
  have seen this message before and I believe that is the only way to cause
  it to appear.
 
  HTH,
 
   _  _ _  _ ___  _  _  _
  |Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
  |$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
  \__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630
 
  On 22 Aug 2002, Louis Garcia wrote:
 
   I'm having trouble with LPRng-3.8.9 on RH6.2. I have an HP Business 2250
   I've set it up as a raw printer. When I print from another box like
   RH7.3 also running LPRng the printer is quiet.
  
   From the server:
   #lpq
   Printer: hp2250@server
Queue: no printable jobs in queue
Status: hp2250: Check_for_missing files: hp2250: no permission to print
   at 16:56:36.408
  
   here is the printcap
  
   hp2250:\
 :sh:\
 :ml#0:\
 :mx#0:\
 :sd=/var/spool/lpd/hp2250:\
 :lp=/dev/lp0:
  
   #ls -l /dev/lp0
   crw-rw   1 lplp  6,0 May 5 1998 /dev/lp0
  
   #ls -l /var/spool/lpd
   drwx--   2 lplp 1024 Aug 22 17:33 hp2250
  
   Needing help, --Lou
  
  
   -
   YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
   The address you post from 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.  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.
   -
  
 
 
  -
  YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
  The address you post from 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.  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.
  -



 -
 YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
 The address you post from 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.  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

Re: LPRng: pagecounting with HP 5 and 4050?

2002-08-16 Thread Ryan Novosielski

I do this one one of these -- here's my printcap:

Printer: ljpinter@rwja
lpcinter
 :lp=/dev/null
 :cm=Piscataway - INTERLAB - HP LaserJet 4050N (Printer 5)
 :af=/var/spool/lpd/%P/acct
 :filter=/opt/LPRng/libexec/filters/ifhp
 :ae=|/opt/LPRng/libexec/filters/accounting-umdnj.pl end
 :as=|/opt/LPRng/libexec/filters/accounting-umdnj.pl start
 :ifhp=model=hp4050,dev=130.219.192.140%9100
 :sd=/var/spool/lpd/%P

...notice my IFHP has a device, and I have no extraneous :of line.

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630

On Fri, 16 Aug 2002, Phillip Stark wrote:

 Hi all,

 I am trying to set up print accounting with LPRng (3.8.14) and ifhp
 (3.5.6) using an HP LaserJet 5M and an HP LaserJet 4050N printer over
 an ethernet connection.  Printing works fine but all the pagecount
 numbers report 0.  Looking through the list archives it appears that
 some people have been successful doing print accounting with these
 printers.


 My printcap looks like:

 officetest:
  :[EMAIL PROTECTED]
  :sd=/var/spool/lpd/%P
  :filter=/local/libexec/filters/ifhp
  :of=/local/libexec/filters/ifhp


 The accounting file gives output such as:

 jobstart '-H..xxx' '-nphillip' '-Pofficetest'
 '-kcfA002..xxx' '-b57439' '-t2002-08-16-12:01:55.000' '-CA'
 '-Jtext test'

 filestart '-q15345' '-p0' '-t2002-08-16-12:01:56.293'
 '-Aphillip@+1' '-nphillip' '-Pofficetest'

 fileend '-b0' '-T1' '-q15345' '-p0' '-t2002-08-16-12:01:56.302'
 '-Aphillip@+1' '-nphillip' '-Pofficetest'

 jobend '-H..xxx' '-nphillip' '-Pofficetest'
 '-kcfA002..xxx' '-b57439' '-t2002-08-16-12:01:57.000' '-CA'
 '-Jtext test'


 (extra returns added for clarity).

 Note the -p0

 I've tried being explicit about setting the pagecount option (ie
 :ifhp=pagecount), I've also tried setting it to both ps and pjl.
 Still nothing.  Anyone have any idea what I'm doing wrong?

 Thanks,
 Phillip
 --

 *
 Phillip Stark
 Instructional Computing Lab Operations Manager
 University of California, Santa Cruz

 Got a question?  Get an answer:  http://ic.ucsc.edu/help
 *

 -
 YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
 The address you post from 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.  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.
 -



-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-



RE: LPRng: LPRng with a Fuji Pictograhpy 3000

2002-08-01 Thread Ryan Novosielski

Thanks very much, Paul. :)

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630

On Thu, 1 Aug 2002, Paul Tykodi wrote:

 Dear Ryan,

 Reading up on this printer via the web, it appears to expect either
 PostScript or image data (ex. tiff). It is supposed to be fully compatible
 with the PostScript created by a standard HP LaserJet PostScript driver
 available for Windows environments as long as the PJL header and trailer
 commands are removed from the resulting file.

 Good Luck.

 HTH

 Best Regards,

 /Paul
 --
 Paul Tykodi
 National Product Manager
 Intermate US, Inc.

 p: 603.431.0606 x115
 f: 603.436.6432
 [EMAIL PROTECTED]
 www.intermate.com

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
 Ryan Novosielski
 Sent: Monday, July 08, 2002 3:49 PM
 To: LPRng Mailing List
 Subject: LPRng: LPRng with a Fuji Pictograhpy 3000
 
 
 The subject basically says it all... anyone know anything about this
 printer? I'm going to have to make one work with LPRng fairly shortly, so
 I wanted to gain some insight into how it is likely to fare beforehand.
 
 Thanks for your help.
 
  _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
 |$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630


 -
 YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
 The address you post from 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.  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.
 -



-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-



RE: LPRng: queuepause/resume oddities, correction to LPRng HOW-TO

2002-08-01 Thread Ryan Novosielski

I've used lpc -Pprinter command and it has worked before. Are you sure
about that one? lpc printer command is wrong, however.

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630

On Thu, 1 Aug 2002, Van Sickler, Jim wrote:

 Yes, expected by lpc;  but if you use the (incorrect)
 syntax in the HOW-TO, lpc ignores the input.

 The printer queue doesn't pause/resume.

 Jim


  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, July 31, 2002 11:23 PM
  To: 'LPRng-l (E-mail)'
  Subject: Re: LPRng: queuepause/resume oddities, correction to LPRng
  HOW-TO
 
 
  Hi Van,
 
  seems likt you discovered the expected behaviour:
 
  [printsrv2] ~ $ lpc --h
  --X option form illegal
  usage: lpc
  [-a][-Ddebuglevel][-Pprinter][-Shost][-Uusername][-V] [command]
   with no command, reads from STDIN
-a   - alias for -Pall
-Ddebuglevel - debug level
-Pprinter- printer
-Pprinter@host - printer on lpd server on host
-Shost   - connect to lpd server on host
-Uuser   - identify command as coming from user
-V   - increase information verbosity
   commands:
   active(printer[@host])- check for active server
   abort (printer[@host] | all)  - stop server
   class printer[@host] (class | off)  - show/set class printing
   disable   (printer[@host] | all)  - disable queueing
   debug (printer[@host] | all) debugparms - set debug
  level for printer
   down  (printer[@host] | all)  - disable printing and queueing
   enable(printer[@host] | all)  - enable queueing
   flush (printer[@host] | all)  - flush cached status
   hold  (printer[@host] | all) (name[@host] | job | all)*
   - hold job
   holdall   (printer[@host] | all)  - hold all jobs on
   kill  (printer[@host] | all)  - stop and restart server
   lpd   (printer[@host])- get LPD PID
   lpq   (printer[@host] | all) (name[@host] | job | all)*
   - invoke
  LPQ
   lprm  (printer[@host] | all) (name[@host]|host|job|
  all)* - invoke
  LPRM
   msg   printer message text  - set status message
   move  printer (user|jobid)* target - move jobs to new queue
   noholdall (printer[@host] | all)  - hold all jobs off
   printcap  (printer[@host] | all)  - report printcap values
   quit  - exit LPC
   redirect  (printer[@host] | all) (printer@host | off )*
   - redirect
  jobs
   redo  (printer[@host] | all) (name[@host] | job | all)*
   - reprint
  jobs
   release   (printer[@host] | all) (name[@host] | job | all)*
   - release
  jobs
   reread- LPD reread database information
   start (printer[@host] | all)  - start printing
   status(printer[@host] | all)  - status of printers
   stop  (printer[@host] | all)  - stop  printing
   topq  (printer[@host] | all) (name[@host] | job | all)*
   - reorder
  jobs
   up(printer[@host] | all) - enable printing and queueing
 diagnostic:
defaultq   - show default queue for LPD server
defaults   - show default configuration values
lang   - show current i18n
  (iNTERNATIONALIZATIONn)
  support
client (printer | all) - client config and printcap information
server (printer | all) - server config and printcap
 
 
  best regards
  ~christoph
 
 
  --
  /*   Christoph Beyer |   Office: Building 2b / 23 *\
   *   DESY|Phone: 040-8998-2317*
   *   - IT -  |  Fax: 040-8998-4060*
  \*   22603 Hamburg   | http://www.desy.de */
 
 
  On Wed, 31 Jul 2002, Van Sickler, Jim wrote:
 
   I discovered today the following commands don't work
   the same when typed in from the command line:
   (%p=hp4plus, in this case)
  
   These work:
   lpc -P%p stop
   lpc stop %p
  
   This doesn't:
   lpc stop -P%p
  
   I also discovered today that the default command
   syntax in the HOW-TO doesn't work from my Win2k
   wkstn:
   queuepause command = /usr/sbin/lpc -P%p stop
   queueresume command = /usr/sbin/lpc -P%p start
  
   this syntax won't work either:
   queuepause command = /usr/sbin/lpc %p stop
   queueresume command = /usr/sbin/lpc %p start
  
   The following syntax WILL pause/resume the printer:
   queuepause command = /usr/local/sbin/lpc stop %p
   queueresume command = /usr/local/sbin/lpc start %p
  
   So lpc stop %p / lpc start %p work in both situations...
  
   Would someone please change the syntax in the HOW-TO so
   that Section 2.12. reads:
  
   queuepause command =  /usr/sbin/lpc stop %p
   queueresume command = /usr/sbin/lpc start %p
  
   This will bring the commands

Re: LPRng: FW: [Samba] my printers are still paused in Win2k andWinNT 4.0

2002-07-31 Thread Ryan Novosielski

I bet it's a Samba bug though. And don't you know, I've been having the
same problem and never realized that that was the common factor!

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630

On Wed, 31 Jul 2002, Van Sickler, Jim wrote:

 Shane's using LPRng...

 sounds like a bug to me...

 Jim

 -Original Message-
 From: Shane Drinkwater [mailto:[EMAIL PROTECTED]]
 Sent: Monday, July 22, 2002 9:34 AM
 To: [EMAIL PROTECTED]
 Subject: RE: [Samba] my printers are still paused in Win2k and WinNT 4.0


 Jim and the samba list,
 Ok I think I have found part of my problem. I have a question for you.. What
 is the difference between these two outputs...
 [root@localhost etc]# lpq -P thisisalongtest
 Printer: thisisalongtest@localhost
  Queue: no printable jobs in queue
 [root@localhost etc]# lpq -P thisisaoff
 Printer: thisisaoff@localhost
  Queue: no printable jobs in queue
 or
 [root@localhost etc]# lpq -P csq_office_a
 Printer: csq_office_a@localhost (dest [EMAIL PROTECTED])
  Queue: no printable jobs in queue
 Active connection from  172.27.1.2
 [root@localhost etc]# lpq -P csqoffficea
 Printer: csqoffficea@localhost
  Queue: no printable jobs in queue
 
 The answer is off is in the name of the printer thats right
 thisisalongtest works ok but and printer with office or even off in the name
 shows paused. Is this a bug?

   Shane

 -Original Message-
 From: Van Sickler, Jim [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, July 17, 2002 7:15 PM
 To: 'Shane Drinkwater'
 Cc: Samba-L (E-mail)
 Subject: RE: [Samba] my printers are still paused in Win2k and WinNT 4.0


 Ain't this fun?!?  :-(



  -Original Message-
  From: Shane Drinkwater [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, July 17, 2002 3:27 PM
  To: [EMAIL PROTECTED]
  Subject: RE: [Samba] my printers are still paused in Win2k
  and WinNT 4.0
 
 
  Jim,
  Again no dice. This is a very strange problem!?! I am now debating to
  compile LPRng with done_jobs=0 to see if that works( at this
  point I doubt
  it).

 I might have missed a clue - is the printer saying it's Paused,
 or the last job printed saying that it's Paused after being printed?

 :done_jobs=0 relates to the printed job, not the printer...

 Do you have guest ok=yes in the printer's subsection
 in smb.conf?

   e.g.
 [HP4Plus]
   guest ok=yes

 or

 [Printers]
   guest ok=yes



   I also have some more interesting data for the problem
  1.)The HP 4m printer all of a sudden started to work it showed
  ready!! I come back about 5 mins later and it showed
  pause again
  This means other print jobs on the printer are affecting the
  samba print queue...

 See if it shows Paused when it's in Power Save mode, and
 Ready when it's in Ready mode.

 If the JetDirects are 10/100, try setting them to 10MHz/Half Duplex
 and see if it changes anything.  100Base-TX Full Duplex doesn't
 do much ack/nack'ing, IIRC.

  2.) I have switched everything over to tcp 9100 and
  back again to
  lpd after testing the done_jobs parm still no fix.

 I've used both-9100 may enable Bi-Directional comms; raw
 doesn't, IIRC.

  3.)  I have never printed a job on this server it is a test. I
  figured that print_jobs=0 means that lprng keept old jobs
  around to so I
  cleared out all of the queues and reset up the printers. again paused
  printer,, With no print jobs 

 That's what made me think about whether the printer status was Paused,
 and not the print job...

  4.) Is CUPS better for communicating status info with
  samba? I would
  hate to switch to CUPS since CUPS looks more complicated.

 Me too...

  5.) is there a way to get samba to kick out more
  detailed info about
  the printer status( or what it thinks is the printer status).

 Kick the log level up to 3 for more, up to 10 for a LOT more...

  6.) I am checking the status by double clicking on the computer.
  then the printers share on that computer. I then click on a
  printer and wait
  for the refresh on my win2k to say ready or fail

 Were these printers installed when using an older version of
 samba?  If so, try adding disable spoolss=yes
 and use client driver=yes to [Global] in smb.conf
 then restart samba and see if they're still flaky.


 Jim
 
  Shane
  Any Ideas are helpful!!!
 
  P.S. The Damm printer show ready again as I write you this
  message. I will
  check it in the morning..
 
 
  -Original Message-
  From: Van Sickler, Jim [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, July 17, 2002 2:17 PM
  To: 'Shane Drinkwater'
  Cc: Samba-L (E-mail)
  Subject: RE: [Samba] my printers are still paused in Win2k
  and WinNT 4.0
 
 
 
 
   -Original Message-
   From: Shane Drinkwater [mailto:[EMAIL

Re: LPRng: Samba and done_jobs

2002-07-30 Thread Ryan Novosielski

Oh, that's certainly an option, yes, but if you'd like to see the done
jobs in, say, lpq normally (or at least have the capability of seeing
them), then you are not able to do this. Instead, you'd want something to
throw onto the end of the lpq line in smb.conf that would tell lpq to not
show them for just that one application.

This is the case for me. If I have done_jobs set to 5, and my DesignJet
runs out of ink or paper, I don't have to call the user back in to
re-queue the job, I can just 'lpc redo' it. However, Windows is unable to
do this in the first place (it can only pause and unpause - done jobs
appear paused, but so what, you can't issue a redo with Windows (unless
you can afford to set the pause/unpause commands differently (I can't))),
so what do I need them displayed in the listing for?

Incidentally, Samba does have special support for working with LPRng, but
I don't believe it's exactly caught up to allow for all of the special
features that LPRng has by now. You can use it perfectly for simple stuff,
but... some things confuse it a little.

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630

On Mon, 29 Jul 2002, Akop Pogosian wrote:

 On Wed, Jul 24, 2002 at 10:30:33AM -0400, Ryan Novosielski wrote:
  You note in the HOWTO that done jobs could be a problem for Samba. How
  about a switch for lpq that hides done jobs? Doable? I know I could grep
  them out using something like lpq... | grep -v done, but I don't know how
  well this would work (the column titles still show up, and this might be
  more confusing to LPRng than just allowing the done jobs to show).
 
  What do you think?
 

 I think you can set:

 done_jobs= 0

 in lpd.conf. It's strange, though, that Samba doesn't like it. I
 thought that Samba has a special support for working with LPRng.
 Granted, I have never used Samba on a pure LPRng system. In most
 cases, the server tha Samba runs on uses SysV printing system that
 forwards everything to an LPRng print server on another host.



 -akop

 -
 YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
 The address you post from 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.  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.
 -



-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-



Re: LPRng: lseek failed - Illegal seek

2002-07-30 Thread Ryan Novosielski

Well, I found out what caused this:

lpd.perms ---
# allow only support services staff to print to the office color and laser printers
ACCEPT SERVICE=R SERVER PRINTER=cpnoff,ljnoff REMOTEGROUP=admin,system
ACCEPT SERVICE=R SERVER PRINTER=cpnoff,ljnoff REMOTEUSER=root,culverjt
REJECT SERVICE=R SERVER PRINTER=cpnoff,ljnoff

...now can anyone tell me why this would break ljnoff?

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630

On Mon, 29 Jul 2002, Duane Penzien wrote:

 Ryan Novosielski wrote:

   Status: finished 'friedlk@njmsa+762', status 'JSUCC' at 13:48:41.250
   Status: subserver pid 2990 exit status 'JSUCC' at 13:48:41.260
   Status: [EMAIL PROTECTED]: job 'friedlk@njmsa+762' printed at 13:48:41.262
   Status: job 'friedlk@njmsa+762' removed at 13:48:41.309
   Status: ljnoff: Set_hold_file: lseek failed - Illegal seek at 15:11:53.115
   Status: ljnoff: Set_hold_file: lseek failed - Illegal seek at 16:31:41.224
   Status: ljnoff: Set_hold_file: lseek failed - Illegal seek at 16:32:03.222
   Status: ljnoff: Set_hold_file: lseek failed - Illegal seek at 16:35:15.746
   Status: ljnoff: Set_hold_file: lseek failed - Illegal seek at 16:35:19.845
   Status: ljnoff: Set_hold_file: lseek failed - Illegal seek at 16:36:50.511
 
  ...what does this even mean?
 
   _  _ _  _ ___  _  _  _
  |Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
  |$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
  \__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630
 
  -
  YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
  The address you post from 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.  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.
  -

 Looks like a seek to a position in the print file that wasn't there.  Maybe a full
 disk?
 Or maybe file corruption?

 --
 Remember, nothing is truly broken. It just lacks duct tape.

 ^^  Duane Penzien, [EMAIL PROTECTED]   ^^




 -
 YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
 The address you post from 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.  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.
 -



-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-



LPRng: lseek failed - Illegal seek

2002-07-29 Thread Ryan Novosielski

 Status: finished 'friedlk@njmsa+762', status 'JSUCC' at 13:48:41.250
 Status: subserver pid 2990 exit status 'JSUCC' at 13:48:41.260
 Status: [EMAIL PROTECTED]: job 'friedlk@njmsa+762' printed at 13:48:41.262
 Status: job 'friedlk@njmsa+762' removed at 13:48:41.309
 Status: ljnoff: Set_hold_file: lseek failed - Illegal seek at 15:11:53.115
 Status: ljnoff: Set_hold_file: lseek failed - Illegal seek at 16:31:41.224
 Status: ljnoff: Set_hold_file: lseek failed - Illegal seek at 16:32:03.222
 Status: ljnoff: Set_hold_file: lseek failed - Illegal seek at 16:35:15.746
 Status: ljnoff: Set_hold_file: lseek failed - Illegal seek at 16:35:19.845
 Status: ljnoff: Set_hold_file: lseek failed - Illegal seek at 16:36:50.511

...what does this even mean?

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630


-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-



LPRng: Samba and done_jobs

2002-07-24 Thread Ryan Novosielski

You note in the HOWTO that done jobs could be a problem for Samba. How
about a switch for lpq that hides done jobs? Doable? I know I could grep
them out using something like lpq... | grep -v done, but I don't know how
well this would work (the column titles still show up, and this might be
more confusing to LPRng than just allowing the done jobs to show).

What do you think?

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630


-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-



LPRng: First try at a Simple 'magic' Filter

2002-07-24 Thread Ryan Novosielski

Here is the text-only filter I'm trying to implement on my line-printer:

-- textonly.sh
#!/bin/sh

type=`file -i -`;

while [ $# != 0 ];
do case $1 in
 -L* ) username=`echo $1 | sed s/..//` ;;
 -P* ) printer=`echo $1 | sed s/..//` ;;
 esac;
 shift;
done

case $type in
   *text* ) break;;
   * ) echo From: LPRng Printing Subsystem [EMAIL PROTECTED]\nSubject: Invalid 
print request to queue '$printer'\nA non-text print job was sent to the text-only 
printer, $printer, and therefore could not be printed. This print job was discarded. 
In he future, please send non-text jobs to your local laser or inkjet printer. If you 
need help, please see ACS Support Desk staff -- they may be reached by telephone at 
973/972.6789.\n\n--\nThis is an automated message -- replies will be discarded. | 
mail $username;
   exit 0;
   ;;
esac
exec /opt/LPRng/libexec/filters/lpf
--

If I cat something to it, it works as expected -- the file either is
printed on the screen, or the e-mail is sent out. But hey, once I start
using it on the actual queue:

Printer: lp@njmsa
lp
 :ab
 :af=acct
 :bp=/opt/LPRng/libexec/filters/lpbanner
 :cm=Newark Lab - C632 - HP LinePrinter 2563A
 :filter=/opt/LPRng/libexec/filters/textonly.sh
 :rm=ps1nwk
 :rp=pr1
 :sd=/var/spool/lpd/%P
lp:server:remote_support=R

...it's toast. Jobs say ABORT because of datafile size of 0
(incidentally, I can't get a banner page to actually print out of here
either). I've used textonly.sh as an :if entry, :filter entry, and even a
|...textonly.sh for both of those.

Someone offer some insight PLEASE? :)

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630


-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-



LPRng: Another Printer-Support Question

2002-07-18 Thread Ryan Novosielski

How about the Kodak Digital Science 8560 PS? I've been having some
problems with it (some offensive postscript commands being sent to it are
locking up the network interface on it):

 Filter_status: job type 'POSTSCRIPT' at 12:44:10.752
 Filter_status: transferring 57209 bytes at 12:44:10.753
 Filter_status: 35 percent done at 12:44:10.753
 Filter_status: 71 percent done at 12:44:10.849
 Filter_status: 100 percent done at 12:44:10.850
 Filter_status: sent job file at 12:44:10.850
 Filter_status: getting end using 'ps' at 12:44:10.850
 Filter_status: error = 'undefined' at 12:44:19.244
 Filter_status: Error: undefined; OffendingCommand: ^D^D^D  at 12:44:19.244
 Filter_status: using model 'postscript' at 12:44:31.847
 Filter_status: pagecount using 'ps script' at 12:44:31.860
 Filter_status: setting up printer at 12:44:31.860
 Filter_status: getting sync using 'ps' at 12:44:31.861
 Filter_status: sync done at 12:44:32.362
 Filter_status: pagecounter 24804 after 1 attempts at 12:44:32.562
 Filter_status: pagecounter 24804 at 12:44:32.562
 Filter_status: sending job file at 12:44:32.563
 Filter_status: starting transfer at 12:44:32.563
 Filter_status: initial job type 'POSTSCRIPT' at 12:44:32.564
 Filter_status: decoded job type 'POSTSCRIPT' at 12:44:32.564
 Filter_status: job type 'POSTSCRIPT' at 12:44:32.564
 Filter_status: transferring 57209 bytes at 12:44:32.565
 Filter_status: 35 percent done at 12:44:32.581
 Filter_status: 71 percent done at 12:44:32.584
 Filter_status: 100 percent done at 12:44:33.484
 Filter_status: sent job file at 12:44:33.484
 Filter_status: getting end using 'ps' at 12:44:33.484
 Filter_status: error = 'undefined' at 12:44:40.636
 Filter_status: Error: undefined; OffendingCommand: ^D^D^D  at 12:44:40.636
 Filter_status: using model 'postscript' at 13:35:00.772
 Filter_status: connect to '130.219.217.178 port 9100' failed - Connection timed out 
at 13:36:17.319
 Filter_status: connect to '130.219.217.178 port 9100' failed - Connection timed out 
at 13:37:34.638
 Filter_status: connect to '130.219.217.178 port 9100' failed - Connection timed out 
at 13:38:51.978
 Filter_status: connect to '130.219.217.178 port 9100' failed - Connection timed out 
at 13:40:09.339
 Filter_status: connect to '130.219.217.178 port 9100' failed - Connection timed out 
at 13:41:26.692
 Filter_status: connect to '130.219.217.178 port 9100' failed - Connection timed out 
at 13:42:44.088
 Filter_status: connect to '130.219.217.178 port 9100' failed - Connection timed out 
at 13:44:01.426
 Filter_status: connect to '130.219.217.178 port 9100' failed - Connection timed out 
at 13:45:18.763
 Filter_status: connect to '130.219.217.178 port 9100' failed - Connection timed out 
at 13:46:36.112
 Filter_status: connect to '130.219.217.178 port 9100' failed - Connection timed out 
at 13:47:53.418
 Filter_status: connect to '130.219.217.178 port 9100' failed - Connection timed out 
at 13:49:10.729
 Filter_status: connect to '130.219.217.178 port 9100' failed - Connection timed out 
at 13:50:28.060
 Filter_status: connect to '130.219.217.178 port 9100' failed - Connection timed out 
at 13:51:45.382

...any ideas?

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630


-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-



LPRng: done_jobs=5

2002-07-11 Thread Ryan Novosielski

I have done_jobs set to 5 on my system. Sometimes, however, my DesignJet
755cm queue seems to dump the jobs anyway:

 Status: finished 'giraldje@njmsa+520', status 'JSUCC' at 15:21:05.958
 Status: subserver pid 22140 exit status 'JSUCC' at 15:21:05.971
 Status: [EMAIL PROTECTED]: job 'giraldje@njmsa+520' printed at
15:21:05.973
 Status: job 'giraldje@njmsa+520' saved at 15:21:06.116
 Status: job 'giraldje@njmsa+520' removed at 15:21:06.371

...saved and then immediately removed. I don't get it?

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630


-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-



LPRng: LPRng with a Fuji Pictograhpy 3000

2002-07-08 Thread Ryan Novosielski

The subject basically says it all... anyone know anything about this
printer? I'm going to have to make one work with LPRng fairly shortly, so
I wanted to gain some insight into how it is likely to fare beforehand.

Thanks for your help.

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630


-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-



LPRng: Epson Stylus Color 3000

2002-07-08 Thread Ryan Novosielski

Another one I don't see in the supported list... anyone had any luck, good
or bad, with it?

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630


-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-



Re: LPRng: Idea for printer database

2002-07-08 Thread Ryan Novosielski

How's this coming anyways?

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630

On Wed, 24 Apr 2002, Patrick Powell wrote:

 Yes.  I am working on integrating the FOOMATIC database into
 the IFHP stuff,  so that we (Open Source Printing Community)
 have One Master Reference ...

 I shudder at some of the implications,  but I also see the benefits
 of doing this.

 Patrick (One Database to rule them, One Database to find them,
   and in the SQL madness Bind them) Powell

  From [EMAIL PROTECTED] Mon Apr 15 07:20:24 2002
  Date: Mon, 15 Apr 2002 15:32:01 +0200 (MEST)
  From: Johan Bengtsson [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  cc: [EMAIL PROTECTED]
  Subject: LPRng: Idea for printer database
 
  Hi,
 
  I have an idea for some added info in the printer database.
  I think it should contain info about whether the printer
  can be used with lprng/ifhp for pagecounting/printerquota. ifhp have
  problems with some printers that won't report end-of-job status in a useful way.
  Would you be interested in adding such a section to every entry in the
  database?
 
  Best regards,
  Johan Bengtsson
 
  --
  http://www.dd.chalmers.se/~elijah/
 
 
 
  -
  YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
  The address you post from 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.  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.
  -
 

 -
 YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
 The address you post from 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.  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.
 -



-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-



Re: LPRng: LPRng and Samba

2002-03-17 Thread Ryan Novosielski

Well... I'm a little confused here. The list of variables that you sent
that are used in accounting don't show up in my accounting file. Here are
the lines from a print job in 'acct':

START A='tatela@njmsa+118' P='laser1' n='tatela' H='njmsa.umdnj.edu'
D='997796748'
filestart '-q20682' '-p9181' '-t2001-08-14-09:46:05.694'
'-Atatela@njmsa+118' '-ntatela' '-Plaser1'
fileend '-b1' '-T28' '-q20682' '-p9182' '-t2001-08-14-09:46:25.636'
'-Atatela@njmsa+118' '-ntatela' '-Plaser1'
END p=1  A='tatela@njmsa+118' P='laser1' n='tatela' H='njmsa.umdnj.edu'
D='997796748'

...that doesn't match H, n, P, k, b, t that you said were the default. I
also already have a $J as far as I know, that contains the full filename
of what was printed. Am I mixing apples and oranges here, or...?

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 732/235.4170 (5-4170)
\__/ Univ. of Med. and Dent. | IST/ACS - Robert Wood Johnson MS - S-B11

On Sat, 2 Feb 2002, Patrick Powell wrote:

  From [EMAIL PROTECTED] Fri Jan 11 07:13:59 2002
  Date: Thu, 10 Jan 2002 19:20:58 -0500 (EST)
  From: Ryan Novosielski [EMAIL PROTECTED]
  To: LPRng Mailing List [EMAIL PROTECTED]
  Subject: LPRng: LPRng and Samba
 
  This is technically more of a Samba problem, but I bet someone will be
  willing to help me a little here.
 
  The problem here is that we have 4 campus servers. Each one hosts a Samba
  domain. Sometimes, users for whatever reason will go to a different campus
  (where they may or may not have an account -- the problem occurs when they
  do not). They log in using the Samba domain of their home site, but
  attempt to use printers on the campus they are visiting. While the PC they
  are using knows what their username is, and I can take this on good faith,
  since they do not have an account on the machine Samba serving the
  printers, their jobs print as the network guest user. This is clearly a
  problem for accounting. Does anyone know of a way for LPRng to find out
  who the client PC is logged in as by the time accounting occurs? We don't
  wish to just give away pages to students who happen to travel. It's a
  shame the setup is the way it is, but I'm just looking for a way to make
  this work in our current environment.
 
  Thanks for any help you may wish to give me!
 
   _  _ _  _ ___  _  _  _
  |Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
  |$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
  \__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630

 The trick, as somebody pointed out a while ago, is to get the user information
 put into the job file.

 You can do this several ways:  use the class field, 'mail to' stuff, or even
 the job name:

print command = lpr -C%u@%m
print command = lpr -J%u@%m
print command = lpr -m%u@%m

 You might want to modify the lpd.conf file a bit:
 # Purpose: accounting at end (see also af, la, ar)
 #   default ae=jobstart $H $n $P $k $b $t  (STRING)
 as=jobend $H $n $P $k $b $t $C $M $J
 ...
 # Purpose: accounting at start (see also af, la, ar)
 #   default as=jobstart $H $n $P $k $b $t  (STRING)
 as=jobstart $H $n $P $k $b $t $C $M $J

 (the $J forces '-Jvalue' to be put into the accoutning file)

 I suppose that I should add these to the list of variables used for accounting

 Patrick Powell Astart Technologies,
 [EMAIL PROTECTED]9475 Chesapeake Drive, Suite D,
 Network and System San Diego, CA 92123
   Consulting   858-874-6543 FAX 858-279-8424
 LPRng - Print Spooler (http://www.lprng.com)

 -
 YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
 The address you post from 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.  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.
 -




-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:   | example:
subscribe

Re: LPRng: M'aidez! Mayday! Can somebody help this fellow

2002-03-12 Thread Ryan Novosielski

Well, I do speak french if that happens to be the problem, but it looks
like we need that result.txt file to do anything.

Can you send it to the list, Arnaud?

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 732/235.4170 (5-4170)
\__/ Univ. of Med. and Dent. | IST/ACS - Robert Wood Johnson MS - S-B11

On Tue, 12 Mar 2002, Patrick Powell wrote:

  From [EMAIL PROTECTED] Tue Mar 12 03:45:53 2002
  From: Margaret Carr [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Subject: Re: LPRng: M'aidez!  Mayday!  Can somebody help this fellow
  Date: Tue, 12 Mar 2002 12:47:36 +0200
 
 
  -Original Message-
  From: Patrick Powell [EMAIL PROTECTED]
  To: [EMAIL PROTECTED] [EMAIL PROTECTED]
  Date: 11 March 2002 05:03
  Subject: LPRng: M'aidez! Mayday! Can somebody help this fellow
 
 
   From [EMAIL PROTECTED] Fri Feb 22 00:17:11 2002
   From: arnaud hivart [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   Subject: help !
   Date: Fri, 22 Feb 2002 09:15:11 GMT+1
  
 
  SNIP
 
   and I have pasted the result in the file attached
   (result.txt).
 
  What happened to result.txt?
 
   Can you please help me to find what doesn't work, and what
   can I do?
   Thanks a lot for you answer
  
   -- Arnaud --
   __
 

 That is one of the reasons I appeal to somebody for help.

 I could not read it,  the enclosure was messed up
 OR it was in French... :-)

 -
 YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
 The address you post from 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.  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.
 -



-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-



LPRng: Problems with HP 8150

2002-03-02 Thread Ryan Novosielski

I'm having a big problem with my HP LaserJet 8150 (excuse me if I asked
about this already, but I'm going senile a touch early and don't see it in
my sent-mail, so here goes...). The thing lately is printing way way
slow... like a large delay, maybe 15 seconds, between print jobs. My 4100
next to it can print about 15 times faster, with no delays. It seems
especially poor with certain websites.

Something of note is that the printer is part of a pool with the 4100,
meaning that in windows, we use a printer driver that is somewhat the
least common denominator (an HP4000 PS driver) of them. I don't think that
has much to do with it, because it started a couple of months ago. The
only thing I can think of that this coincides with is my upgrading to
LPRng 3.8.1 and the corresponding ifhp (3.4.7). Any ideas about how to fix
this? As you can imagine, a pool with the fast printer grinding to a halt
can get pretty frustrating for the users.

Thanks!

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 732/235.4170 (5-4170)
\__/ Univ. of Med. and Dent. | IST/ACS - Robert Wood Johnson MS - S-B11


-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-



Re: LPRng: Good idea

2002-02-26 Thread Ryan Novosielski

Does this affect the status of jobs that are held because of the
accounting script return code? Jobs that were held by my accounting script
originally would drop the job ID field as they waited to be released.

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 732/235.4170 (5-4170)
\__/ Univ. of Med. and Dent. | IST/ACS - Robert Wood Johnson MS - S-B11

On Fri, 22 Feb 2002, Patrick Powell wrote:

 Version LPRng-3.8.7 - Thu Feb 21 12:38:49 PST 2002

   Fixed the 'job done' status message so that it shows the job id.
(Suggested by: Christoph Beyer [EMAIL PROTECTED])

 Chris Beyer noticed that the last status message
 had the control file, rather than job id displayed:

 Printer: lp@h110
  Queue: no printable jobs in queue
  Server: no server active
  Status: job 'cfA081h110.private' removed at 00:57:55.311
  Filter_status: no sync response from printer at 23:17:46.076
  Rank   Owner/ID  Class Job Files Size Time
 error  papowell A   475 ERROR: aborting operations


 Now displays:

 h110: {108} % lpq
 Printer: t1@h110 'Test Printer 1'
  Queue: no printable jobs in queue
  Server: no server active
  Status: job 'papowell@h110+399' saved at 12:34:55.478
  Filter_status: FILTER DONE
  Rank   Owner/ID  Class Job Files Size Time
 done   papowell@h110+399A   399 /tmp/hi  3 12:34:50

 Patrick Powell Astart Technologies,
 [EMAIL PROTECTED]9475 Chesapeake Drive, Suite D,
 Network and System San Diego, CA 92123
   Consulting   858-874-6543 FAX 858-279-8424
 LPRng - Print Spooler (http://www.lprng.com)

 -
 YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
 The address you post from 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.  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.
 -



-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-



Re: LPRng: HP Designjet 10PS printing problem

2002-02-10 Thread Ryan Novosielski

I would personally use :lp=/dev/null:ifhp=dev=ipaddr%9100 or at least
:lp=ipaddr%9100 for a JetDirect card. I am currently doing the former on
all JetDirect cards ('cept one 4something on my color printer for reasons
I don't remember now) and it's working fine.

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 732/235.4170 (5-4170)
\__/ Univ. of Med. and Dent. | IST/ACS - Robert Wood Johnson MS - S-B11

On Sun, 10 Feb 2002, Fabrizio Gabbiani wrote:


 Hi,

 I was wondering if anybody managed to print from a linux box to a HP
 Designjet 10PS (supposedly postscript), which is networked using HP
 Jetdirect 610. Printing through jetdirect works fine from a Mac, but I
 have no clue how to go on from linux. I have tried all kind of
 settings that I could think of without any success. I include the
 latest printcap version:

 lp1|raw
 :lpd_bounce
 :mx=0
 :sd=/var/spool/lpd/%P
 :sh
 :[EMAIL PROTECTED]
 :ifhp=status@,model=ps:
 :if=/usr/libexec/filters/ifhp:
 :of=/usr/libexec/filters/ifhp:

 and the output of lpq - following an lpr -Plp1 tt.ps below.
 I am using LPRng 3.8.6-1 and ifhp 3.5.4-1.
 Many thanks in advance for any suggestions.



 lpq - -Plp1
 
 Printer: lp1@prevert 'raw' (dest [EMAIL PROTECTED])
  Queue: no printable jobs in queue
  Server: no server active
  Status: IF filter 'ifhp' filter finished at 12:25:33.039
  Status: OF filter finished
  Status: printing finished at 12:25:33.039
  Status: sending job 'root@prevert+201' to [EMAIL PROTECTED] at
 12:25:33.040
  Status: connecting to '192.168.1.110', attempt 1 at 12:25:33.040
  Status: connected to '192.168.1.110' at 12:25:33.042
  Status: requesting printer [EMAIL PROTECTED] at 12:25:33.042
  Status: sending control file 'cfA201prevert.ghome' to
 [EMAIL PROTECTED] at 12:25:33.047
  Status: completed sending 'cfA201prevert.ghome' to [EMAIL PROTECTED]
 at 12:25:33.053
  Status: sending data file 'dfA201prevert.ghome' to [EMAIL PROTECTED]
 at 12:25:33.053
  Status: completed sending 'dfA201prevert.ghome' to [EMAIL PROTECTED]
 at 12:25:33.182
  Status: done job 'root@prevert+201' transfer to [EMAIL PROTECTED] at
 12:25:33.182
  Status: subserver pid 9203 exit status 'JSUCC' at 12:25:33.184
  Status: [EMAIL PROTECTED]: job 'cfA201prevert.ghome' printed at
 12:25:33.184
  Status: job 'cfA201prevert.ghome' saved at 12:25:33.185
  Status: job 'cfA108prevert.ghome' removed at 12:25:33.186
  Filter_status: sending job file at 12:25:33.036
  Filter_status: starting transfer at 12:25:33.036
  Filter_status: initial job type 'POSTSCRIPT' at 12:25:33.036
  Filter_status: decoded job type 'POSTSCRIPT' at 12:25:33.036
  Filter_status: job type 'POSTSCRIPT' at 12:25:33.036
  Filter_status: transferring 131523 bytes at 12:25:33.036
  Filter_status: 31 percent done at 12:25:33.037
  Filter_status: 62 percent done at 12:25:33.037
  Filter_status: 93 percent done at 12:25:33.038
  Filter_status: sent job file at 12:25:33.038
  Filter_status: pagecounter 0, pages 0 at 12:25:33.038
  Filter_status: done at 12:25:33.038
  Filter_status: (of) OF process running at 12:25:33.039
  Filter_status: (of) pagecounter 0, pages 0 at 12:25:33.039
  Filter_status: (of) ending OF mode passthrough at 12:25:33.039
  Filter_status: (of) done at 12:25:33.039
  Rank   Owner/ID  Class Job Files Size
 Time
 done   root A   201 /home/gabbiani/tt.p 131523
 12:25:32
 JetDirect lpd: no jobs queued on the port Raw







-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-



Re: LPRng: HP Designjet 10PS printing problem

2002-02-10 Thread Ryan Novosielski

No, it was something more related to it working for awhile and then a job
hanging in the transfer at some point... I'm not 100% certain.

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 732/235.4170 (5-4170)
\__/ Univ. of Med. and Dent. | IST/ACS - Robert Wood Johnson MS - S-B11

On Sun, 10 Feb 2002, Fabrizio Gabbiani wrote:


 I would personally use :lp=/dev/null:ifhp=dev=ipaddr%9100 or at least
 :lp=ipaddr%9100 for a JetDirect card. I am currently doing the former on
 all JetDirect cards ('cept one 4something on my color printer for reasons
 I don't remember now) and it's working fine.


 I tried this, but it does not seem to work either. The job remains
 active for a long time in the
 queue but never  prints. However, the HP 10PS Designjet  is actually a
 color printer, and you are actually mentioning that you don't use this
 in color printer,
 so might this be the reason? Thanks in advance, Fabrizio.



 --
 Fabrizio Gabbiani phone: (713) 798 1849
 Division of Neuroscience  fax:   (713) 798 3946
 Baylor College of Medicineemail: [EMAIL PROTECTED]
 One Baylor Plaza, TX 77030



 -
 YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
 The address you post from 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.  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.
 -



-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-



LPRng: Jobs will not release

2002-02-05 Thread Ryan Novosielski

I have some color printers with :ah set -- these work fine and are not the
problem. HOWEVER, I have some lasers that are in a pool, ljnlab: laser1
and laser2. I have an accounting script that holds jobs when the user does
not have enough quota to print any longer, and holds them there until they
are released by a lab assistant after their quota is augmented. However,
when the lab assistant (or me, as root, so it isn't a permissions thing)
does:

$ lpc release ljnlab 364

...the job says started or whatever it would say, but then is still
held. I do it immediately after, so I know it isn't related to the
accounting script (it takes several seconds to get to that stage). It just
seems as if it lies to me and claims to be releasing when it is not. This
SEEMS to be different between 3.7.4, which I believe is the most recent
version I ran before this, and 3.8.1.

Any requests for more info or any insights anyone can offer?

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 732/235.4170 (5-4170)
\__/ Univ. of Med. and Dent. | IST/ACS - Robert Wood Johnson MS - S-B11


-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-



Re: LPRng: Destination (output device) in printcap entry

2002-02-04 Thread Ryan Novosielski

It probably stands for passthrough on that printer... something like RAW.
The rest of it is probably a printer IP address.

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630

On Mon, 4 Feb 2002, cosminb wrote:

 Hi all,
 I'm new in the lprng list.

 Could some one explain me what means the PASS (from the lp=... line) in
 the following printcap entry:

 my_queue:\
  :force_localhost@:\
:try_localhost@:\
:mx#0:\
:sh:\
:sd=/var/spool/lpd/my_queue:\
:lpr_bounce:\
:[EMAIL PROTECTED]:\
:if=/usr/bin/psfilter:

 Also, what is the diferrence between:
   - [EMAIL PROTECTED]
   and
   - lp=192.122.1.123%5001

 Thanks in advance.

 Best regards,
 Cosmin Bonea

 -
 YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
 The address you post from 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.  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.
 -



-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-



Re: LPRng: Status messages and what one can do with them...

2002-02-02 Thread Ryan Novosielski

I got impatient and went poking around for the answer. :) Lo and behold,
the printer name is already stored in $PRINTER, as well as some other
exciting environment variables (I believe the entire control file was in
another). I did a dump of the environment from my notifier script to fnd
them all. Thanks for the help -- it was very well received in the lab! :)

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630

On Sat, 2 Feb 2002, Patrick Powell wrote:

  From [EMAIL PROTECTED] Tue Jan 15 11:28:16 2002
  Date: Tue, 15 Jan 2002 12:57:34 -0500 (EST)
  From: Ryan Novosielski [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Subject: Re: LPRng: Status messages and what one can do with them...
 
  Alright. I have read this, and it was helpful. The question now is, since
  the status message is only something like paper out or something like
  that, where can I get the spool name, to inform the recipient of the
  message WHAT is out of paper?
 
   _  _ _  _ ___  _  _  _
  |Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
  |$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
  \__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630
 

 Good question.  The best way to do it is look in the environment variables.
 I believe that PRINTCAP_ENTRY is set to the printcap value,
 and the first line in this is the printer name.

 From a shell script:

 PRINTER=`echo $PRINTCAP_ENTRY | head -1 | sed -e 's/|.*//'`


 Patrick Powell Astart Technologies,
 [EMAIL PROTECTED]9475 Chesapeake Drive, Suite D,
 Network and System San Diego, CA 92123
   Consulting   858-874-6543 FAX 858-279-8424
 LPRng - Print Spooler (http://www.lprng.com)

 -
 YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
 The address you post from 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.  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.
 -



-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-



Re: LPRng: Print jobs stalling

2002-01-29 Thread Ryan Novosielski

Do the following, with whatever other options you care to include:

:lp=/dev/null
:ifhp=dev=kwd-y106-lj8150dn%9100

...this, in my experience, is the only thing that ever works.

Enjoy!

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630

On Tue, 29 Jan 2002, Antony Healey wrote:

 Hi,

 I'm having an issue trying to run fairly current versions of LPRng (3.8.4)
 and ifhp (3.5.3).

 The problem creeps in when I add

 :ifhp=model=hp8150
 :filter=/local/apps/lprng/filters/ifhp

 If I don't use filter= at all, then the job will print. ASCII jobs do the
 carriage return stepping problem. PS jobs appear to print fine.

 When the printer is attached to our production queue, running LPRng (3.5.3)
 and ifhp (unknown), it all works fine. I would like to upgrade the software
 the later version though.

 The full printcap entry I'm using at the moment is...

 kwd-y106-lj8150dn|8150
 :cm=HP8150dn (Y106)
 :lp=kwd-y106-lj8150dn%9100
 :sd=/var/spool/lpd/%P
 :as=|/local/apps/lprng/filters/start_accounting.sh
 :ae=|/local/apps/lprng/filters/stop_accounting.sh
 :af=accounting.log
 :ifhp=model=hp8150
 :filter=/local/apps/lprng/filters/ifhp

 I've tried adding status@ to ifhp= but with no benefit. Removing :ae and :as
 makes no difference.

 I'm at a loss as to why it just seems to halt.

 The file status.kwd-y233-lj8150dn contains the following:-

 waiting for subserver to exit at 2002-01-29-14:39:19.747 ## A=NULL
 number=0 process=835
 subserver pid 836 starting at 2002-01-29-14:39:19.770 ##
 A=antony@dinadan+834 number=834 process=836
 accounting at start at 2002-01-29-14:39:19.770 ## A=antony@dinadan+834
 number=834 process=836
 Filter_file: pgm '|/local/apps/lprng/filters/start_accounting.sh' exited
 with status 'JSUCC' at 2002-01-29-14:39:19.928 ## A=antony@dinadan+834
 number=834 process=836
 opening device 'kwd-y106-lj8150dn%9100' at 2002-01-29-14:39:19.929 ##
 A=antony@dinadan+834 number=834 process=836
 printing job 'antony@dinadan+834' at 2002-01-29-14:39:19.938 ##
 A=antony@dinadan+834 number=834 process=836
 processing 'dfA834dinadan.cit.uws.edu.au', size 146, format 'f', IF filter
 'ifhp' at 2002-01-29-14:39:19.939 ## A=antony@dinadan+834 number=834
 process=836


 The file status says this:-

 using model 'hp8150' at 14:39:20.300
 pagecount using 'pjl info pagecount' at 14:39:20.346
 setting up printer at 14:39:20.347
 getting sync using 'pjl echo' at 14:39:20.347
 sync done at 14:39:21.245
 pagecounter 0 after 1 attempts at 14:39:21.282
 pagecounter 0 at 14:39:21.282
 sending job file at 14:39:21.286
 starting transfer at 14:39:21.287


 lpq says this (even after 5 minutes):-

 Printer: kwd-y106-lj8150dn@dinadan 'HP8150dn (Y106)'
  Queue: 1 printable job
  Server: pid 835 active
  Unspooler: pid 836 active
  Status: processing 'dfA834dinadan.cit.uws.edu.au', size 146, format 'f', IF
 filter 'ifhp' at 14:39:19.939
  Filter_status: starting transfer at 14:39:21.287
  Rank   Owner/ID  Class Job Files Size Time
 active antony@dinadan+834   A   834 one.ps 146
 14:39:19

 The 'data' light on the printer flashes for a few seconds, like it's
 receiving something, but then that's it. It doesn't start up etc.

 Does anyone have any suggestions I can try?

 Regards,
 Antony.
 -
 Unix Systems Administrator
 School of Computing  IT
 University of Western Sydney
 Phone: (02) 4736 0771
 Fax: (02) 4736 0770

 Programmer (n): One who makes the lies the salesman told come true.

 She said she had nothing to wear. I smiled.


 -
 YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
 The address you post from 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.  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.
 -



-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED

Re: LPRng: HP 4100N page count

2002-01-21 Thread Ryan Novosielski

Mine is 01.016.0, but it has been upgraded twice by HP in efforts to fix
the problem once and for all -- it didn't work, however. This is the best
I have gotten so far. However, I believe I started at 01.009.0 and my
printer behaved better than that. You might try contacting HP. Do you get
pagecount values besides the 0 pages printed (ie. a number before and
after?)

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630

On Mon, 21 Jan 2002, Frédéric Oger wrote:


 Here's the information I got from the printer's web server

 Firmware Datecode: 20001206 01.009.0
 Jam Recovery: OFF
 Print PS Errors: OFF
 Page Count: 198
 Product Name: HP LaserJet 4100
 Series Printer Name: HP LaserJet 4100
 Series Printer Number: C8050A
 Resolution: 600
 Printer Serial Number: JPFGF32016
 Pages Since Last Maintenance: 198
 Preventive Maintenance Interval: 20

 Is my firmware older than yours ?

 Kind regards,

 Fred. Oger


 At 10:49 18/01/02 -0500, you wrote:
 Please investigate which PRINTER firmware you have, not JETDIRECT. This
 should be accessible through the information on http://printername, among
 other places. Your firmware might be quite a bit older than mine.
 
  _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
 |$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630
 
 On Fri, 18 Jan 2002, =?iso-8859-1?Q?Frédéric?= Oger wrote:
 
  
   I tried setting pagecount_poll to higher values but there's no change. I
   know the printer correctly counts the number of pages (seen on the
   maintenance page).
  
   Here's the printer informations :
  
   HP JetDirect: J4169A
   Firmware Version: L.21.11
   Manufacturing ID: 41254125902007
   Date Manufactured: 06/2001
  
   Any idea would be helpful,
  
   Fred. Oger
  
  
  
   At 15:44 17/01/02 -0500, you wrote:
   Try larger values of pagecount_poll, and also try printing one of those
   maintenance pages or what have you to see if the actual page count on the
   printer is working properly. I have a malfunctioning 4100 that will not
   pagecount ACCURATELY, but with the 15 second delay, it's at least
   tolerable I suppose. I gave up trying to do better because HP didn't seem
   concerned about fixing it particularly (though it's screwing up about 30%
   of my accounting data, which is very unfortunate -- we'll see the coming
   year whether it will matter enough to try again with HP).
   
   What are the versions of your printer firmware, jetdirect firmware, and
   the like?
   
    _  _ _  _ ___  _  _  _
   |Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
   |$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
   \__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630
   
   On Thu, 17 Jan 2002, =?iso-8859-1?Q?Frédéric?= Oger wrote:
   

 Hi,

 I Still have a problem with my HP 4100N. The page count is always 0.
 Here's my printcap definition :

 SC_4100N
 :af=%P-acct
 :cm=LaserJet 4100N Salle didactique
 :filter=/usr/libexec/filters/ifhp

   
  
:ifhp=model=hp4000,status,sync,pagecount,waitend,pagecount_poll=15,pagecount_interval=1
 :lf=%P
 :[EMAIL PROTECTED]
 :lprngtooloptions=FILTERTYPE=IFHP

   
  IFHP_OPTIONS=status,sync,pagecount,waitendpagecount_poll=15,pagecount_interval=1
 PRINTERDB_ENTRY=hp4000
 :mx=0

 Does anyone has an idea ? I use LPRng 3.8.3 and ifhp-3.5.1


 Kind regards,

 Fred.



   
  -
 YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
 The address you post from 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.  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.

   
  -

   
   
   ---
  --
   YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
   The address you post from MUST be your subscription address
   
   If you need help, send email to [EMAIL PROTECTED] (or lprng

Re: LPRng: HP 4100N page count

2002-01-21 Thread Ryan Novosielski

Are you saying that you have NO problems pagecounting with this printer?
This is interesting... it seems as is half of the people do and half
don't. Frederic's printer sounds like it is just broken, but most printers
seem to have the problem of getting pagecounts, just poorly, and then some
don't have any problem at all... it's very strange.

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630

On Mon, 21 Jan 2002, Ron Parachoniak wrote:

 I have two HP4100 DTN printers and I am getting pagecounts OK.
 I am using LPRng-3.7.5 and ifhp-2.2.8 (I kept meaning to upgrade but after seeing 
other
 people having problems I am hesitant to do so).

 Here is a segment of my printcap:

 lp1 | lp | hp | LP | 4100 | hp4100
 :cm=HP4100 - Henn205
 :force_localhost:client
 lp1 | lp | hp | LP | 4100 | hp4100
 :server:lp=xxx.xxx.xxx.xxx%9100
 :tc=.common:tc=.accting:tc=.F-HP4100

 
#

 .common
:ab:bp=/usr/local/libexec/filters/pclbanner
:bl=Seq\: $-'j  Class\: $-'C User\: $-'n Job\: $-'J Date\: $-'t
:fix_bad_job
:fx=flp
:lf=log:lo=lock:mx=0:rt#0:rw
:sd=/var/spool/%P
:st=status
 #---
 .accting
:af=acct
:as=|/usr/local/libexec/filters/acct.pl start
:ae=|/usr/local/libexec/filters/acct.pl end
 #---
 .F-HP4100 | filter info for HP4100 printer
 :ifhp=model=hp4050
 :if=/usr/local/libexec/filters/ifhp
 :of=/usr/local/libexec/filters/ofhp
 
#



 =?iso-8859-1?Q?Frédéric?= Oger wrote:

  Hi,
 
  I Still have a problem with my HP 4100N. The page count is always 0.
  Here's my printcap definition :
 
  SC_4100N
  :af=%P-acct
  :cm=LaserJet 4100N Salle didactique
  :filter=/usr/libexec/filters/ifhp
  
:ifhp=model=hp4000,status,sync,pagecount,waitend,pagecount_poll=15,pagecount_interval=1
  :lf=%P
  :[EMAIL PROTECTED]
  :lprngtooloptions=FILTERTYPE=IFHP
  IFHP_OPTIONS=status,sync,pagecount,waitendpagecount_poll=15,pagecount_interval=1
  PRINTERDB_ENTRY=hp4000
  :mx=0
 
  Does anyone has an idea ? I use LPRng 3.8.3 and ifhp-3.5.1
 
  Kind regards,
 
  Fred.
 
  -
  YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
  The address you post from 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.  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.
  -

 --
 Ron D. ParachoniakUBC Physics  Astronomy DeptPh. (604) 822-6437
 System Manager6224 Agricultural Road  Fax (604) 822-5324
 [EMAIL PROTECTED]Vancouver, BC, Canada V6T 1Z1



 -
 YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
 The address you post from 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.  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.
 -



-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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

Re: LPRng: HP 4100N page count

2002-01-18 Thread Ryan Novosielski

Please investigate which PRINTER firmware you have, not JETDIRECT. This
should be accessible through the information on http://printername, among
other places. Your firmware might be quite a bit older than mine.

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630

On Fri, 18 Jan 2002, =?iso-8859-1?Q?Frédéric?= Oger wrote:


 I tried setting pagecount_poll to higher values but there's no change. I
 know the printer correctly counts the number of pages (seen on the
 maintenance page).

 Here's the printer informations :

 HP JetDirect: J4169A
 Firmware Version: L.21.11
 Manufacturing ID: 41254125902007
 Date Manufactured: 06/2001

 Any idea would be helpful,

 Fred. Oger



 At 15:44 17/01/02 -0500, you wrote:
 Try larger values of pagecount_poll, and also try printing one of those
 maintenance pages or what have you to see if the actual page count on the
 printer is working properly. I have a malfunctioning 4100 that will not
 pagecount ACCURATELY, but with the 15 second delay, it's at least
 tolerable I suppose. I gave up trying to do better because HP didn't seem
 concerned about fixing it particularly (though it's screwing up about 30%
 of my accounting data, which is very unfortunate -- we'll see the coming
 year whether it will matter enough to try again with HP).
 
 What are the versions of your printer firmware, jetdirect firmware, and
 the like?
 
  _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
 |$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630
 
 On Thu, 17 Jan 2002, =?iso-8859-1?Q?Frédéric?= Oger wrote:
 
  
   Hi,
  
   I Still have a problem with my HP 4100N. The page count is always 0.
   Here's my printcap definition :
  
   SC_4100N
   :af=%P-acct
   :cm=LaserJet 4100N Salle didactique
   :filter=/usr/libexec/filters/ifhp
  
  
:ifhp=model=hp4000,status,sync,pagecount,waitend,pagecount_poll=15,pagecount_interval=1
   :lf=%P
   :[EMAIL PROTECTED]
   :lprngtooloptions=FILTERTYPE=IFHP
  
  IFHP_OPTIONS=status,sync,pagecount,waitendpagecount_poll=15,pagecount_interval=1
   PRINTERDB_ENTRY=hp4000
   :mx=0
  
   Does anyone has an idea ? I use LPRng 3.8.3 and ifhp-3.5.1
  
  
   Kind regards,
  
   Fred.
  
  
  
  -
   YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
   The address you post from 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.  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.
  
  -
  
 
 
 -
 YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
 The address you post from 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.  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.
 -



-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-



LPRng: LPRng and Samba

2002-01-10 Thread Ryan Novosielski

This is technically more of a Samba problem, but I bet someone will be
willing to help me a little here.

The problem here is that we have 4 campus servers. Each one hosts a Samba
domain. Sometimes, users for whatever reason will go to a different campus
(where they may or may not have an account -- the problem occurs when they
do not). They log in using the Samba domain of their home site, but
attempt to use printers on the campus they are visiting. While the PC they
are using knows what their username is, and I can take this on good faith,
since they do not have an account on the machine Samba serving the
printers, their jobs print as the network guest user. This is clearly a
problem for accounting. Does anyone know of a way for LPRng to find out
who the client PC is logged in as by the time accounting occurs? We don't
wish to just give away pages to students who happen to travel. It's a
shame the setup is the way it is, but I'm just looking for a way to make
this work in our current environment.

Thanks for any help you may wish to give me!

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630


-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-



Re: LPRng: print acconting in linux

2002-01-08 Thread Ryan Novosielski

What is the symptom you are experiencng?

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630

On Tue, 8 Jan 2002, M.shahidi wrote:

 Dear all
 I have one samba server with some windows client and one Hp 4100 lan printer
 I set some configuration on samba server and  create it print server too
 my print server work properly and each windows computer can send print
 trough samba server
 but i couldn't set page counting i will be glad if some body direct me how
 can i set  print accounting

 my printcap file is :
 lp|ljet4000:\
  :rm=192.168.189.193:\
  :sd=/var/spool/lpd/lp:\
  :mx#0:\
  :sh:\
  :if=/usr/libexec/filters/ifhp:\
   :ifhp=model=ps,pagecount,dev=192.168.189.193%9100:\
   :af=/var/spool/lpd/lp/acct:\
   :filter=/usr/local/libexec/filters/ifhp

 tanks
 shahidi


 -
 YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
 The address you post from 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.  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.
 -



-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-



Re: LPRng: Printing from non UNIX clients possible?

2002-01-07 Thread Ryan Novosielski

Yes. I send jobs via LPR without a problem using the software that
apparently comes with HP Printers. The printer port is referred to as HP
Standard TCP/IP Port. The only time this didn't work was with a Windows
NT server accepting jobs from a lab and then forwarding them to LPRng --
the queue would often hang and the NT machine's queue status said
Restarting.

But, yes, for a lab of about 20 Windows PC's, maybe more, I am
successfully using LPRng to recieve LPR spooled jobs in my university.

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630

On Mon, 7 Jan 2002, David L. R. Houston wrote:

 Ok, let's try this:

 Has anyone gotten LPRng to print *anything* submitted from a *non* UNIX
 client at all (eg. Windows, Macintosh)?

 I am beginning to believe that I missed the boat completely and that this
 simply is not possible using this product. Nothing works except host based
 requests (which do work quite well).

 Any success stories appreciated before I put this whole project to
 sleep...

   David Houston
   CIT Client Services Coordinator
   University of Vermont




 -
 YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
 The address you post from 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.  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.
 -



-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-



Re: LPRng: JABORT/JFAIL with smbclient command in a print filter

2002-01-04 Thread Ryan Novosielski

Take a look at the output of lpq -Ptest -l or -ll (add more until you see
something useful, or do -L -- for a more verbose output) and see what you
discover. There may be a badly placed CR or something in the command when
sent through Samba, or the path may not be what you expect.

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630

On Fri, 4 Jan 2002, Joel Hammer wrote:

 This may be a second post of this problem, but I didn't get a single reply
 to my first post so maybe it didn't get posted for some reason.

 I am trying to print to a samba shared printer with linux, but am having a
 print filter problem. I have set up a queue test2 to write to the
 share test.

 The printer test works fine locally  with lpr -Ptest filetoprint and works fine 
with the
 command below ON THE COMMAND LINE:

 cat FileToPrint | enscript -Z -p -  | smbclient //hammer2/test -N -c print - 

 However, the command in a print filter:

 enscript -Z -p -  | smbclient //hammer2/test -N -c print - 

 fails with a JABORT message in the status file when run by lpd.

 Removing the smbclient command allows the filter to function normally.

 This filter script works when called from the command line:

 cat FileToPrint | /var/spool/lpd/test2/filter.

 Any insight appreciated.
 Joel





 -
 YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
 The address you post from 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.  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.
 -




-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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.
-



  1   2   >