LPRng: [tom.henderson@wesley.com: Bug#291934: lprng: Remote jobs never print and lpc lpq stops workin]

2005-01-28 Thread Craig Small
Hello Patrick,
  I have received this bug report for lprng 3.8.28.  The fact that
kernel changes make it work is strange.  I have asked for a debug on the
network -D network output and see if he can do a strace too.

The bug report is also at http://bugs.debian.org/291934

  - Forwarded message from Tom Henderson [EMAIL PROTECTED] -
Any remote print jobs coming in seem to make the lpd spooler just hang.
Typing 'lpc lpq printername' will hang until I kill it
This hanging on lpc commands starts just a few minutes after print jobs
start coming in.  If enough come in before the lpc command hangs, lpc
will show the jobs as 'incoming'.  The complete job will be received --
verified with ethereal -- and can be seen in a file named 'temp' in
the printer spool directory, but never gets turned into a data file
with the dfA* naming convention, and the remote system evidently never
gets a success code returned, because it sends the same job again.

To top it all off, this happens on kernel-image-2.6.8-1-686-smp or
kernel-image-2.6.3-1-686-smp, but everything works just fine on
kernel-image-2.4.25-1-686-smp.

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.25-1-686-smp
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages lprng depends on:
ii  debconf 1.4.30.11Debian configuration management sy
ii  libc6   2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  libcomerr2  1.35-6   The Common Error Description libra
ii  libkrb531.3.6-1  MIT Kerberos runtime libraries
ii  libssl0.9.7 0.9.7e-2 SSL shared libraries

-- debconf information:
* lprng/setuid_tools: true
* lprng/start_lpd: true
  lprng/twolpd_perms:
  lprng/twolpd_conf:



- End forwarded message -

-- 
Craig Small  GnuPG:1C1B D893 1418 2AF4 45EE  95CB C76C E5AC 12CA DFA5
Eye-Net Consulting http://www.enc.com.au/   MIEE Debian developer
csmall at : enc.com.au  ieee.org   debian.org

-
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: Cups LPRng

2005-01-28 Thread Longina Przybyszewska
Hi,
Does anyone has experience with CUPS client and LPRng server?
We have a couple of print servers (Solaris9) serving a few HP 
printers, with LPRng software.
Our clients  are newly installed  Linux-Mandrakes.

I would like to combine power of CUPS printing system running on Linux 
(there is more and more applications cups-aware exp. Maple-9.50 ) with 
power of LPRng servers(better status info, diagnostic etc..).

Cups clients should  produce a job and  do all filtering and 
option setting, than  send a job as 'raw' to the printer server who does 
all accounting and printing after recognizing type of job  .

Is it good idea? Any comments, known issues, problems?
thanks in advance
Longina
--
Longina Przybyszewska, system programmer
Dept. of Math.  Comp. Sci. - IMADA
University of Southern Denmark, Odense
Campusvej 55,DK-5230 Odense M, Denmark
tel: +45 6550 2359 - http://www.imada.sdu.dk email: [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: Questions about accounting

2005-01-28 Thread Toby Blake
Hi there,

This goes back to a discussion of Jan 16 2004 with a subject of I'm
lost with accounting, in particular I'm replying to a post made by
Jamie Jennings...

 Also, you need to adjust the following lines in ifhp.conf to have
 appropriate settings for your environment. These lines affect how
 pagecounting will be done. 'pagecount_poll_start' specifies how many
 times to check the page counter when a job starts. In my case, I
 have it check once (ie. just get the number). Then it continues
 polling the pagecounter at 15 second intervals
 ('pagecount_interval') until it gets 2 ('pagecount_poll_end')
 consecutive values that match. Again, adjust these values based on
 testing with your printers (ie. the speed of your printers and the
 amount of delay you want/need between jobs).

 ##pagecount_poll=5
 pagecount_poll_end=2
 pagecount_poll_start=1
 pagecount_interval=15
 pagecount_timeout=0

I've been experimenting with various values for these variables with
an HP2300.  I'm using ifhp as an output filter *only*, purely in an
attempt to get it to write start/end pagecounts to the acct file.

However, on experimenting with the above variables, I find the results
to be unsatisfactory purely on the grounds that to get accurate start
and end pagecounts, I have to slow down the printing process to an
unnacceptable degree.  For instance, I've found that I have to have a
pagecount_poll_start value of 2, as otherwise it will sometimes come
back with a value of 0.  Also, I seem to need a pagecount_interval of
at least 10 and a pagecount_poll_end value of at least 3 for the end
pagecount to be logged correctly.  All this means that every print job
has a delay of at least 10 seconds at the start and at least 20
seconds at the end.  This is unacceptable for a busy printer.

I was wondering if other people have come up across this kind of
problem and what they do to overcome it?

Cheers
Toby Blake
University of Edinburgh


-
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: Minolta C350 troubles

2005-01-28 Thread Rabellino Sergio
Dear list,
 someone has configured successfully this Multi-function under ifhp/lprng ?
Thanks in advance.
--
Dott. Sergio Rabellino
 Technical Staff
 Department of Computer Science
 University of Torino (Italy)
http://www.di.unito.it/~rabser
Tel. +39-0116706701
Fax. +39-011751603
-
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: accounting and authentication

2005-01-28 Thread Rick Cochran
Florian,
You want user_is_authuser in lpd.conf.
-Rick
Florian Diesch wrote:
Hi!
Using LPRng 3.8.28 I'm trying to setup a printer accounting system.
I don't understand how to use LPRng's authentication methods with it as it
seems I only can use the UserID for accounting, but not AuthID, and I found
no way to check if UserID matches AuthID.
What I want is either to have AuthID in the accounting script's environment,
something like ACCEPT REMOTEUSER=AUTHUSER in lpd.perms or to understand
how to do it otherwise.

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


Re: LPRng: accounting and authentication

2005-01-28 Thread James.Q.L
 What I want is either to have AuthID in the accounting script's environment,
 something like ACCEPT REMOTEUSER=AUTHUSER in lpd.perms or to understand
 how to do it otherwise.
 

our users are all on windows and they log on through a samba PDC server. there 
is printer entry
for all users and the print job gets sent to a remote printer server(LPRng 
installed).

the base accounting script comes with LPRng can extract the user name and other 
useful information
before the job get printed. You will have to add extra code to it in order to 
do the user quota
checking against quota database. Base on their quota, you can reject or accept 
the job. 

only one pitfall with this setup is that this is post-quota checking. i.e user 
is able to print as
long as they have quota available. say if user has 1 page left and s/he can 
still print 100 pages.
I am sure you can set up strict policy about this or use SNMP to solve it.

the LPRng should setup to accept job only from the samba PDC server so that 
jobs from everywhere
else gets rejected. the printer should be setup to accept job only from LPRng 
server.

There maybe other ways to do it, but that's briefly how I did it. I actually 
wrote up a doc along
with the accounting script/config files after I finished our printer project 
last winter. here:
http://econ.yorku.ca/~qiang/lprng/print.server.howto.html

HTH,

James.



__ 
Do you Yahoo!? 
Yahoo! Mail - Find what you need with new enhanced search.
http://info.mail.yahoo.com/mail_250

-
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: RTF - PS filter

2005-01-28 Thread walter harms
Hi Russel,
if i remember correcly there is a rtf2latex, basicly you can use
rtf | latex | dvips.
hope that help,
walter

Adams, Russell L. wrote:
I'm looking for a print filter that can convert RTF to Postscript as a
filter.
I've made little headway Googling for software that does the
conversion in a batch mode.
I have no qualms about using commercial software, and yet haven't had
any luck locating that either.
Any input is appreciated.
Russell


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