LPRng: request for technical description of HP 4200 page counting problem

2004-08-23 Thread Phillip Stark
Hi all,
As many of you know, the HP Laserjet 4200 (and most of HP's current 
printers) has a problem with IFHP page counting via PJL/Postscript 
because it reports that it is done before it really is.  I am 
currently working with our HP rep and an engineer to try to get them 
to fix this problem and it looks like I may be getting somewhere. 
Can anyone on this list provide a more detailed technical description 
of the problem than my simple summary above?  I'd like to pass 
detailed technical information on to the engineers but I don't think 
I'm qualified to give them enough info.  Please post to the list so 
others can contribute.  I'll summarize and send to the HP folks.

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 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: Question on getting real host name. please help.

2003-12-15 Thread Phillip Stark
At 9:13 AM -0500 12/12/03, Rick Cochran wrote:


Unfortunately, winPopup is a DOS magnet.  I don't think that a 
firewall can help because winPopup uses the same protocol as file 
and print sharing so you would be blocking other functions too.  But 
perhaps I'm wrong about this.

There are other messaging services (eg. Jabber).  Has anyone used one of them?

I wrote up a couple of perl scripts (a client and a server) to deal 
with sending printing error dialogs to users.  Please email me 
directly if you're interested; I'd be happy to share.

Features:

- Daemon can run (and therefore display messages on) Windows and Mac 
OS X.  Support for Solaris (and probably any Unix with GTK libraries 
installed) is planned real soon now, when I get some time.

- You can specify a number of params for the message, including the 
dialog title, # of times to beep, icon for the dialog.

- You can specify a timeout for sending messages (very useful when 
you are calling this from an lprng filter script and don't want 
network oddities to delay the print queue).

- The daemon will only accept messages from machines on an allowed hosts list.

Limitations:

- You can only send messages from a Unix machine.

- You need to have perl and the daemon installed on all workstations 
you want to message.

Basic Installation

- Populate the allowed host list in the daemon code.

- On each workstation, install the Win32::OLE perl module (Windows only)

- On each workstation, install and configure the daemon to run when a 
user logs in.

- Send messages.

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.
-


LPRng: restricting direct access to specific queue

2003-02-05 Thread Phillip Stark

Hi all,

I'm wondering if anyone can help with the following situation.  I 
have 2 print queues, say, q1 and q2.  I would like users to send jobs 
to q1 which will do some processing on the job and then pass it to q2 
which will send it off to the printer.  That part's no problem.  The 
part I'm getting stuck on is that I'd like to prevent users from 
printing directly to q2.  lpd.perms seems to have some options that 
would help but I don't want access restrictions to apply to all 
queues just specific ones.  Is there a printcap option I'm missing 
that would help here?  What about a filter; is there info in the 
control file that would allow a filter to distinguish between a job 
that was passed to q2 from q1 and a job that was sent directly to q2?

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.
-


Re: LPRng: lost print jobs ?

2002-12-11 Thread Phillip Stark

We just spent some time reinstalling different versions and testing 
to work around this problem and it looks like version 3.8.9 works 
just fine.

Phillip

At 1:44 PM +0100 12/11/02, [EMAIL PROTECTED] wrote:
It has been discussed here and Patrick Powell indicated
he knew the solution but unfortunately he seems to be too busy.
(It nearly looks as if LPRng is dying slowly)

When I send some print jobs to LPRng one short after another, some
jobs get lost - at least with LPRng-3.8.15 .

Does anybody know if an older version doesn't show this
problem?

Thanks for a hint,

Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
Aachen University
D 52056 Aachen, Germany



-
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.
-


--

*
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.
-



LPRng: passing real ip/hostname of sending machine to a filter?

2002-09-09 Thread Phillip Stark


Hi all,

Is there a way to pass the ip or hostname of the computer that sent a 
job to a filter?  The -h or -H filter flags would appear to work, but 
these are the hostname as reported by the control file, not 
necessarily the hostname of the computer that actually sent the job. 
This is for an authentication-type function so I need to be sure that 
the info is not spoofed (and, in any case, the hostname reported by 
some non-unix platforms is not a DNS hostname).  Basically, I want 
the ip that the bits from the job actually came from not the ip that 
the bits in the job *say* they came from.

Is there and option I'm missing to do this?  Could you reliably parse 
this out of the -e or -k options? (-e and -k, the names of the data 
and control files respectively, seem to have the hostname embedded).

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.
-



LPRng: pagecounting with HP 5 and 4050?

2002-08-16 Thread Phillip Stark

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.
-