Re: printcap format, was: Re: LPRng: filter question

2001-03-30 Thread phillip . griffith

LPRng supports both types of line endings.  The ":\" line ending is needed 
by Berkeley lpd, but I think Patrick advises against it.

Phillip Griffith  (803) 952-8776
Information Technology Department
Westinghouse Savannah River Company




Terry Mackintosh [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]


03/21/2001 07:22 AM
Please respond to lprng

 
To: [EMAIL PROTECTED]
cc: 
Subject:printcap format, was: Re: LPRng: filter question


Hi all

below the format is ":...:\", yet some of the doc examples have only
":...", which is correct? will either work?

Torsten Curdt wrote:
 
 minolta|lp|Minolta Page Pro SL:\
 :lp=/tmp/printer_out:\
 :sd=/var/spool/lpd/minolta:\
 :allow_user_setting=samba:\
 :lf=/var/spool/lpd/minolta/log:\
 :af=/var/spool/lpd/minolta/acct:\
 :if=/var/lib/lpdfilter/raw:\
 :bkf:

Thanks

Terry

-
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: Comparing Processing time of printjobs between LPRng andSysV

2001-03-30 Thread William R. Knox

Using the ifhp option (i.e. printing to port 9100) gives you a lot of
information versus just pumping it directly to the LPD daemon on the
printer, but it is quite a bit slower. With status, sync, and pagecount
turned on on our printers, we take an average of 45 seconds per job when
multiple small jobs are sent to the printer, versus about 10 seconds when
sending it directly to port 515.

Bill Knox
Senior Operating Systems Programmer/Analyst
The MITRE Corporation

On Thu, 29 Mar 2001, Joel M Gaede wrote:

 Date: Thu, 29 Mar 2001 13:50:04 -0600
 From: Joel M Gaede [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: LPRng: Comparing Processing time of printjobs between LPRng and
 SysV

 I have been asked by our administration to make a comparison of print
 job processing time between our LPRng and our parallel SysV (HPUX)
 servers.

 Our users are printing HPGL and Post Script to 8000 series HPs.They are
 claiming that the LPRng print jobs "feel like they are coming out
 slower". and unfortunately I'm at a loss as to how to supply them with
 quantifiable data.

 Any ideas??

 Joel Gaede


 -
 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: lpd : unresolved symbol : stat

2001-03-30 Thread John Weber

I got this after upgrading the krb5-libs-1.2.2-3
John

On Fri, 30 Mar 2001, Jrme Tytgat wrote:

 Hello,

 I have a strange problem since I've compiled a linux kernel 2.4.2...

 LPD does not want to execute anymore saying :
 lpd: error while loading shared libraries: lpd: undefined symbol: stat

 and when I try to :
 /etc/init.d/lpd start

 it give u pwith the error :
 Starting lpd: /usr/sbin/checkpc: error while loading shared libraries:
 /usr/sbin/checkpc: undefined symbol: stat
 /usr/sbin/lpd: error while loading shared libraries: /usr/sbin/lpd:
 undefined symbol: stat [FAILED]

 Anyone have an idea ???

 Even if I get back to an older release of the kernel (2.2.18 or 2.2.17) I
 can't get lpd to work again...

 I even tried to reinstall the package (I'm under redhat 7.0).

 Thanks.



 ___
 ISION FRANCE
 Jrme Tytgat
 Ingnieur Scurit / Administrateur Systmes et Rseaux
 mailto:[EMAIL PROTECTED]http://www.ision.fr
 tel : (33) 03 88 78 77 77   2, rue paul Rohmer

 fax : (33) 03 88 78 80 00   F-67087 Strasbourg Cedex 2

 ___
 Notre quipe vous souhaite une bonne journe -  bientt !






-
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: Desperatly needing help!!!!

2001-03-30 Thread RODRIGUEZ CESPEDES, FERNAN
Title: Desperatly needing help






Hi,


 I have installed LPRng-3.7.4 on RedHat 7. I created the printcap entry with RedHat's printtool.
Then I runed the checkpc -f command.


 I have also installed the ifhp filters but I do not hae the time to read its long documentation
because this project is needed ASAP.



The problem is that as you can see in the logs section, I am getting a:


 Status: consig1: Open_gdbm: cannot lock 'db.consig1' - Interrupted system call at 14:29:06.915


Usually the first print job will print, but then it will take a very, very long time to print the next one, and so on.
I have checked the speed at which poscscript is processed in this machine, but that is no problem
(it only takes a few seconds).



I tweaked my /etc/ printcap with no luck. Here is a copy of it:


consig1:\
 :sd=/var/spool/lpd/consig1:\
 :mx#0:\
 :sh:\
 :rm=10.1.8.162 :\
 :rp=PASS:\
 :mail_operator_on_error=true:\
 :network_connect_grace=10:\
 :longnumber=yes:\
 :max_servers_active=10:\
 :send_try=0:\
 :lpd_bounce=true:\
 :if=/var/spool/lpd/consig1/filter:



I have also noticed that:


[root@pruebaflota /root]# checkpc -f
Warning - 'if' filter '/var/spool/lpd/consig1/filter' does not have execute perm


I give it execution permissions and then get:


[root@pruebaflota /root]# checkpc
Warning - permissions of 'filter' are 0700, not 0600




# ps ax


2043 ? S 0:00 lpd Waiting
2047 ? R 1:23 lpd (Server) 'consig1'
2191 ? Z 0:00 [lpd defunct]



---LOGS--


lpq.0


Printer: consig1@pruebaflota (dest [EMAIL PROTECTED])
Queue: 256 printable jobs
Server: pid 2047 active
Unspooler: pid 2099 active
Status: consig1: Open_gdbm: cannot lock 'db.consig1' - Interrupted system call at 14:29:06.915
Status: processing 'dfA000740pruebaflota.bue.la.repsol-ypf.com', size 132554, format 'f', IF filter 'filter' at 14:29:08.479

Status: IF filter 'filter' filter finished at 14:29:10.246
Status: printing finished at 14:29:10.247
Status: sending job 'devel21@pruebaflota+740' to [EMAIL PROTECTED] at 14:29:10.247
Status: connecting to '10.1.8.162', attempt 1 at 14:29:10.247
Status: connected to '10.1.8.162' at 14:29:25.186
Status: requesting printer [EMAIL PROTECTED] at 14:29:25.186
Status: sending control file 'cfA000740pruebaflota.bue.la.repsol-ypf.com' to [EMAIL PROTECTED] at 14:29:27.891
Status: completed sending 'cfA000740pruebaflota.bue.la.repsol-ypf.com' to [EMAIL PROTECTED] at 14:29:27.910
Status: sending data file 'dfA000740pruebaflota.bue.la.repsol-ypf.com' to [EMAIL PROTECTED] at 14:29:27.910
Status: completed sending 'dfA000740pruebaflota.bue.la.repsol-ypf.com' to [EMAIL PROTECTED] at 14:29:28.240
Status: done job 'devel21@pruebaflota+740' transfer to [EMAIL PROTECTED] at 14:29:28.240
Rank Owner/ID Class Job Files Size Time
active devel21@pruebaflota+740 A 740 3532_05.ps 132554 12:59:50
2 devel21@pruebaflota+743 A 743 3532_10.ps 131143 12:59:51
3 devel21@pruebaflota+746 A 746 3532_20.ps 503533 12:59:52
4 devel21@pruebaflota+749 A 749 3536_05.ps 132558 12:59:53
5 devel21@pruebaflota+752 A 752 3536_10.ps 131924 12:59:54
6 devel21@pruebaflota+755 A 755 3536_20.ps 505675 12:59:55
7 devel21@pruebaflota+758 A 758 3537_05.ps 132546 12:59:56
8 devel21@pruebaflota+761 A 761 3537_10.ps 131717 12:59:57




status.consig1
processing 'dfA000749pruebaflota.bue.la.repsol-ypf.com', size 132558, format 'f', IF filter 'filter' at 2001-03-30-14:42:28.576 ## A=devel21@pruebaflota+749 number=749 process=2245

waiting for subserver to exit at 2001-03-30-14:42:30.309 ## A=NULL number=0 process=2047
IF filter 'filter' filter finished at 2001-03-30-14:42:30.758 ## A=devel21@pruebaflota+749 number=749 process=2245
printing finished at 2001-03-30-14:42:30.758 ## A=devel21@pruebaflota+749 number=749 process=2245
sending job 'devel21@pruebaflota+749' to [EMAIL PROTECTED] at 2001-03-30-14:42:30.758 ## A=devel21@pruebaflota+749 number=749 process=2245

connecting to '10.1.8.162', attempt 1 at 2001-03-30-14:42:30.759 ## A=devel21@pruebaflota+749 number=749 process=2245
connected to '10.1.8.162' at 2001-03-30-14:42:40.761 ## A=devel21@pruebaflota+749 number=749 process=2245
requesting printer [EMAIL PROTECTED] at 2001-03-30-14:42:40.761 ## A=devel21@pruebaflota+749 number=749 process=2245
sending control file 'cfA000749pruebaflota.bue.la.repsol-ypf.com' to [EMAIL PROTECTED] at 2001-03-30-14:42:40.890 ## A=devel21@pruebaflota+749 number=749 process=2245

completed sending 'cfA000749pruebaflota.bue.la.repsol-ypf.com' to [EMAIL PROTECTED] at 2001-03-30-14:42:40.909 ## A=devel21@pruebaflota+749 number=749 process=2245

sending data file 'dfA000749pruebaflota.bue.la.repsol-ypf.com' to [EMAIL PROTECTED] at 2001-03-30-14:42:40.909 ## A=devel21@pruebaflota+749 number=749 process=2245

completed sending 'dfA000749pruebaflota.bue.la.repsol-ypf.com' to [EMAIL PROTECTED] at 2001-03-30-14:42:41.224 ## A=devel21@pruebaflota+749 number=749 process=2245

done job 'devel21@pruebaflota+749' 

RE: LPRng: FW: Desperatly needing help!!!!

2001-03-30 Thread RODRIGUEZ CESPEDES, FERNAN
Title: FW: Desperatly needing help



I am 
sorry to have sent this double. I sent it once and because I did not see it 
posted (in 
a long time) I thought
I had 
sent it to the wrong address so I tried another one!

I have 
been reading the release notes on LPRng 3.7.4 where it says:

 ARGH ARGH ARGH... I fixed a problem with 
signals (SIGINT) killing off the process waiting for a lock on a 
file descriptor, but I did  it wrong.  (Pointed out most 
gleefully, complete with TRUSS output by: Doug Morris 
[EMAIL PROTECTED] AND John Perkins 
[EMAIL PROTECTED])
I 
guess this might be it. I did not point out that I am using ghostscript to do 
the postscript to
PCL 
conversion, but I guess you guys have figured that out.



Thanxs!



  -Original Message-From: RODRIGUEZ CESPEDES, FERNAN 
  [mailto:[EMAIL PROTECTED]]Sent: Viernes, 30 de Marzo de 
  2001 04:02 p.m.To: '[EMAIL PROTECTED]'Subject: 
  LPRng: FW: Desperatly needing help
  Hi, 
   I have 
  installed LPRng-3.7.4 on RedHat 7. I created the printcap entry with RedHat's 
  printtool. Then I runed the checkpc -f 
  command.