Re: LPRng: Problem: waiting for subserver to exit

2002-03-19 Thread Phil Moses

Just a wild guess here but were the legacy print packages removed or moved
prior to the new lprng being installed, I swear I had seen this before whn
the solaris print packages were still in place. 

Thanks,

Phil Moses

On Tue, 19 Mar 2002, Sergij Kovalenko wrote:

 Hi,
 
 The problem appeared 3 month ago.  We were running LPRng-3.3.2?. Then I tried 
versions 3.7.4, 3.8.4
 and 3.8.9 on Solaris 2.6 and 8.
 The result and behavior is the same on all  versions of OS and LPRng.
 
 Text files are sent in a bounce queue in which they are processed using my filter,
 then files are sent in other queue. The first several files are printed without 
problems. At some
 time lately 'lpq'
 reports in original queue - job is 'active'(or later 'staled'), in other printer 
queue - job is
 'incoming'. Restarting of LPRng and
 other operations on queue dom't   help.
 
 If I remove filter processing from printcap, the problem disappears.
 
 Had anybody else such problem and resolved it?
 Could  it be a problem of Solaris?
 How can I debug LPRng in this situation?.
 
 Output of lpq:
 
 swadm03# lpq -Prezdruck1
 Printer: rezdruck1@swadm03 (dest xn2825-m202@localhost)
  Queue: 2 printable jobs
  Server: pid 17974 active
  Unspooler: pid 17975 active
  Status: waiting for subserver to exit at 17:01:20.147
  Filter_status: rezdruck_filter: Job finished. Run time: 0:1
  Rank   Owner/ID  Class Job Files Size Time
 stalled(1949sec) ==rezdruck@stielow+286.2.1 A 287 texc3.r1709462  4640 16:38:41
 2  ==rezdruck@stielow+287.2.1   A   288 texc3.r17094639011 16:38:43
 done   ==rezdruck@stielow+285.2.1   A   286 texc3.r17094617895 16:38:39
 Printer: xn2825-m202@swadm03
  Queue: no printable jobs in queue
  Server: no server active
  Status: job '==rezdruck@stielow+285.2.1' saved at 16:38:40.944
  Filter_status: done at 16:38:40.924
  Rank   Owner/ID  Class Job Files Size Time
 incoming ==rezdruck@stielow+286.2.1 A   287 texc3.r1709462   0 16:38:42
 done   ==rezdruck@stielow+285.2.1   A   286 texc3.r17094611159 16:38:40
 
 ---
 
 My printcap:
 ---
 .common1
 :qq
 :check_for_nonprintable@
 :save_on_error
 :send_failure_action=hold
 :sd=/spool/lpd/%P
 :lf=/spool/lpd/%P/lpd-errs
 :ifhp=banner_only@,banner@,config=/etc/ifhp.conf
 :filter_options=$C $A $F $H $J $K $L $P $Q $R -Zmountform=$-Q \
  -Z,$-O,$-Z $a $c $d $e $f $h $i $j $k $l $n $p $r $s $w $x $y $-a
 .xerox
 :rw:sh:mx#0
 :tc_only
 :sd=/spool/lpd/%P
 :lf=/spool/lpd/%P/lpd-errs
 :lp=/dev/null
 :ifhp=config=/etc/ifhp.conf
 
 rezdruck1:
 :tc=.common1
 :lpd_bounce
 :filter=/opt/LPRng/lib/filters/rezdruck_filter.pl
 :lp=xn2825-m202@localhost
 
 xn2825-m202:client:force_localhost@:rm=lpdstgt1
 xn2825-m202
 :server
 :save_when_done
 :tc=.xerox
 :if=/opt/LPRng/lib/filters/ifhp -Tbanner_only@ -Tbanner@
 -Tmodel=n2825
 -Tpjl_job
 :lp=/dev/null
 ---
 
 File status.pr of rezdruck1 queue:
 
 processing 'dfA287stielow', size 4640, format 'f', IF filter
 'rezdruck_filter.pl' at
 2002-03-11-16:38:41.887 ## A===rezdruck@stielow+286.2.1 number=287
 process=17975
 IF filter 'rezdruck_filter.pl' filter finished at
 2002-03-11-16:38:42.147 ##
 A===rezdruck@stielow+286.2.1 number=287 process=17975
 printing finished at 2002-03-11-16:38:42.148 ##
 A===rezdruck@stielow+286.2.1
 number=287 process=17975
 sending job '==rezdruck@stielow+286.2.1' to xn2825-m202@localhost at
 2002-03-11-16:38:42.154 ## A===rezdruck@stielow+286.2.1 number=287
 process=17975
 connecting to 'localhost', attempt 1 at 2002-03-11-16:38:42.154 ##
 A===rezdruck@stielow+286.2.1 number=287 process=17975
 connected to 'localhost' at 2002-03-11-16:38:42.163 ##
 A===rezdruck@stielow+286.2.1
 number=287 process=17975
 requesting printer xn2825-m202@localhost at 2002-03-11-16:38:42.163 ##
 A===rezdruck@stielow+286.2.1 number=287 process=17975
 sending control file 'cfA287stielow' to xn2825-m202@localhost at
 2002-03-11-16:38:42.168 ## A===rezdruck@stielow+286.2.1 number=287
 process=17975
 completed sending 'cfA287stielow' to xn2825-m202@localhost at
 2002-03-11-16:38:42.176 ## A===rezdruck@stielow+286.2.1 number=287
 process=17975
 sending data file 'dfA287stielow' to xn2825-m202@localhost at
 2002-03-11-16:38:42.176 ## A===rezdruck@stielow+286.2.1 number=287
 process=17975
 waiting for subserver to exit at 2002-03-11-16:38:43.722 ## A=NULL
 number=0
 process=17974
 waiting for subserver to exit at 2002-03-11-16:41:19.543 ## A=NULL
 number=0
 process=17974
 waiting for subserver to exit at 2002-03-11-16:51:15.178 ## A=NULL
 number=0
 process=17974
 
 
 Thanks in advance,
 
 Sergiy Kovalenko
 Firmengruppe Dr. Gueldener

Re: LPRng: AppleLaserWriter and IFHP pagecount / lpd.perms removejob

2002-03-19 Thread Phil Moses

Wow, too many things brining bad memories back today. 
In a past life  I had the same negative experience trying to get a
pagecount back from and Apple Laser writer printer. After many hours of
tooling with it and reading documentation front to back, I ended up
calling Apple about this little gem of theirs, no luck. As far as I can
remember it was something to do with non-standard bi-directional
communication. Possibly someone on this board got this to work somewhere
along the way but after many-o-hours on this problem, the printer went
into the *not to be used with lprng* group and a solution was never found. 

Please do advise if you get it working properly. 

Thanks,

Phil Moses

On Tue, 19 Mar 2002, Rabellino Sergio wrote:

 Dear list,
  we have an old LaserWriter 12/640 (Postscript - Lan) printer and we're using ihfp 
to communicate with the raw port of the printer.
 The printing is ok, but we coulnd't get the pagecount (always null); as we are 
accounting every job to charge to the owner the pages
 printed, this is an important feature.
 
 Anyone has resolved this problem ?
 
  printcap is following ...
 
 --snip--
 ric3
 :server
 :cm=Apple LaserWriter 12/640
 :filter=/opt/LPRng/libexec/filters/ifhp
 :ifhp=model=apple,status=ps,sync=ps,pagecount=ps,waitend=ps
 :lp=raw@laserdip
 :mx=0
 :prefix_z=600,a4,portrait,simplex
 :ps=status
 :sd=/var/spool/lpd/%P
 :sh
 --snip--
 
 Another question on lpd.perms:
 
 We want that the owner of a job can delete the job from every machine, is this the 
way?
 
 --snip--
 omissis
 # allow same user on every host to remove a job
 ACCEPT SERVICE=M SAMEUSER
 # allow root on server to remove a job
 ACCEPT SERVICE=M SERVER REMOTEUSER=root
 REJECT SERVICE=M
 
 DEFAULT ACCEPT
 --snip--
 
 Now if I try to delete a job from an host (not as root) I receive a no permission 
 :-(
 Thanks.
 -- 
 Dott. Sergio Rabellino 
 
  Technical Staff
  Department of Computer Science
  University of Torino (Italy)
  Member of the Internet Society
 
 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 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: XeroxN2125 and pagecount (2)

2002-03-11 Thread Phil Moses

I have seen a similar pattern with a Xerox N* printer. We ended up not
having to do accounting on that particular printer, but I figured I would
let you know I have seen the same problem. 

Thanks,

Phil Moses

On Mon, 11 Mar 2002, Alessandra La Spina wrote:

 
 I'm trying to get accounting on the network printer Xerox N2125.
 My linux box now is a RedHat 7.1 and I installed LPRng-3.7.4-22 and ifhp-3.4.4-2
 I have problems to get the right pagecount at the end of the job (it 
 results to be the same as at the start of the job): this is a piece of the acct file:
 
 START 'A=root@cesaro+442' 'P=cdc4n' 'n=root' 'H=cesaro.dm.unipi.it' 'D=1015856729'
 filestart '-q31446' '-p175397' '-t2002-03-11-15:25:29.867' '-Aroot@cesaro+442' 
'-nroot' '-Pcdc4n'
 fileend '-b0' '-T2' '-q31446' '-p175397' '-t2002-03-11-15:25:31.870' 
'-Aroot@cesaro+442' '-nroot' '-Pcdc4n'
 END 't=3' 'p=0' 's=175397' 'q=175397' 'D=1015856732' 'A=root@cesaro+442' 'P=cdc4n' 
'n=root' 'H=cesaro.dm.unipi.it' 'S=1015856729'
 
 My printcap.local file is:
 
 cdc4n:\
   :sh:\
   :ml=0:\
   :mx=0:\
   :sd=/var/spool/lpd/cdc4n:\
 :af=acct:\
 :as=|/usr/libexec/filters/accounting.pl start:\
 :ae=|/usr/libexec/filters/accounting.pl end:\
   :lp=cdc4%9100:\
   :lpd_bounce=true:\
 :ifhp=if_option=pagecount,of_options=pagecount,debug=3:\
   :if=/usr/lib/lpfilters/ifhp:
 
 
 P.Powell suggested me to add the debug=3 option and I obtained the stuff 
 you find in attachment  (this doesn't seems to help me). Does anyone know   
 why I obtain the same pagecount at the start  and at the end of the job ? 
 
 (Anyway,the job has been printed correctly and if I print another job 
 I see the pagecount has been  increased by the number of pages of 
 the previous job)
 
 
 
 
 Alessandra La Spina
 
 
 
 
 
 -- 
 
 =
 Alessandra La Spina
 Dipartimento di Matematica
 Universita' di Pisa
 
 tel. +39-050-844263
 e-mail: [EMAIL PROTECTED] 
 www: http://www.dm.unipi.it/cdc/index.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.
-



LPRng: pagecount issues...jams/papers outages etc.

2002-02-27 Thread Phil Moses

Hello all,
I am back to counting beans here and I have a question that deals with
lprng and the pagecounts following a printer error. If per se there is a
jam in the middle of the night and jobs are still sent to the printer, but
are removed from the queue by a timeout, following the fix of the printer
error, the page counts are way off. 
 Example. job is sent to printer, printer jams, five more jobs are sent to
printer. Printer is still jammed. I pleasantly walk in the following
morning, unjam the printer and send it a 2 page job. I will get a return
status of 33 pages. This happens with a HP 5si and a phaser740 I have
here. I know this is more of a printer issue, but does anyone have a
sugestion on how to deal with incorrect pagecounts after printer errors. 

Thanks,

Phil Moses


-
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: apple printing pre-osx

2002-01-31 Thread Phil Moses

What are others using to allow prints from pre-osx machines, is it mostly
netatalk ??

I need to add support for a few os9 macintosh machines, but I need to have
a login name and hostname passed, which login names are not present in
os9. 

Any help is appreciated.

Thanks,

Phil Moses


-
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: Zero Byte data file from client - always

2002-01-07 Thread Phil Moses

I have windows clients printing to lprng on a Solaris box without using
Samba. 
I am able to do this by installing unix print services for windows (or
something similar to this name.) 
By doing so, you cannot browse printers through network neighborhood but
you can set them up just as you would a unix printer, using hostname or ip
and port then they are available under the printers menu.

Anyway, this is just information I am passing along. 

Thanks,

Phil

On Mon, 7 Jan 2002, Joel Hammer wrote:

 I don't think is it possible to service non-unix clients without
 installing samba. All samba really does for you in a printing situation
 is transfer the printfile to a temp file on your Solaris server and run
 your print command to process that file.
 
 I don't know anything about Macs but windows clients do fine with samba.
 
 When you set up samba, keep it really simple to start with. Just set up
 one printer share at first, and be explicit with the commands required
 to print in the printer share definition. Remember, the printer command
 is what you tell samba, so you can make the samba server do anything
 you want with the temp file. As well as any other tasks you might want
 to happen during printing.
 
 BTW, you seem to be suffering from task overload, which is a name used
 to describe what happened to fighter pilots in WWII when there was too
 much happening around them to keep track of and they became disoriented
 during a dogfight. The results were what you might expect.
 
 I would first install samba on your Solaris server, and throughly test
 it out from the Solaris server. You can put the printing and file shares
 through their paces without having to use a networked client, Solaris or
 otherwise.  Once that all works, then try printing from the networked
 non-unix clients. Remember, windows clients will do their own filtering of
 the print job. Your solaris server will likely simply dump the printfile to
 the printer using a queue which has no print filter or whose print filter does
 not try to format the job.  Keep it simple. For example, at first, install the
 printing software locally on your clients, don't try to configure your
 server to download the software to your clients at the start. This stuff
 is all really simple once you see what is going on.
 
 If you need some help with print filters, and you really shouldn't to
 print from windows clients, read my write up of filters with LPRng at
 the linux stepbystep site.  http://linux.nf/stepbystep.html
 Search for filters hammer.
 
 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.
-



Re: LPRng: printer suggestions

2001-12-16 Thread Phil Moses

Hi,
Maybe someone could clear this up for me
I was told by a co-worker that he is *not so into* HP printers anymore
because they no longer run legacy postscript, instead HP now has a
postscript emulator, so that they do not have to deal with Adobe licensing
etc. 
If anyone has two-cents to add to this, I am willing to listen with open
ears!! I try not to spend 40 percent of my day dealing with printing and
printing related isssues (hardware, software, accounting, someone trying
to fudge the accounting, someone trying to print a4 on ledger paper,
someone insisting that there is a problem with printing and so on and so
forth it continues) but as of lately I have been spending that 40
percent. 
I thank you all for  your feedback.

Thanks,

Phil

On Sat, 15 Dec 2001, Mikkel Fischer wrote:

 I think most of the HP printers work well, and also a lot of the brother 
 printers. Basically if the printer uses postscript you have a good chance 
 it will work well.
 
 currently we have a hp 8100 (replaced by 8150 now) which have printed well 
 above 600.000 pages, its 3 years old and beginning to break down. 
 
 So depending on your printing need ... 
 
 when speaking of printing id say like the saying of IBM...nobody ever got 
 fired buying IBM ... for printers its HP.
 
 They are not cheaper, rather more expensive ... so depending on your 
 budget.
 
 Mikkel Fischer
 
 
 
 On Fri, 14 Dec 2001, David W. Taylor wrote:
 
  Phil Moses wrote:
   
   Hello all,
   I know this question has been asked before, but I am asking again, I like
   to have a few opinions.
   
   We are looking to get a new printer and I would like opinions on what you
   are using with lprng. Xerox is being somewhat recommended here, but I am
   more partial to HP. Any feedback is appreciated, the following are the
   requirements.
   1. Black and white copies, no color needed.
   2. standard letter size printes, including duplex.
   3. 11x17 prints.
   
   This will be replacing an HP5si, again any feedback is appreciated.
   
   Thanks,
   
   Phil
   
   
  I'm having good luck with the HP's as well (8100).
  By all accounts the Xerox unit is nice too. 
  Dought either one is wart free but maybe you can 
  pick the smallest warts. 
  
  
  
  Dave
  
 
 
 -
 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 suggestions

2001-12-13 Thread Phil Moses

Hello all, 
I know this question has been asked before, but I am asking again, I like
to have a few opinions. 

We are looking to get a new printer and I would like opinions on what you
are using with lprng. Xerox is being somewhat recommended here, but I am
more partial to HP. Any feedback is appreciated, the following are the
requirements. 
1. Black and white copies, no color needed. 
2. standard letter size printes, including duplex.
3. 11x17 prints. 

This will be replacing an HP5si, again any feedback is appreciated. 

Thanks,

Phil


-
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: lpq msg format

2001-12-10 Thread Phil Moses

I missed this e mail earlier, I was having the same issue a while back, I
played with lpd.perms a bit and got a few different outputs, in the end I
decided to use a perl script to call lpq on the clients which do not have
lprng installed. This is on Solaris 7 but any platform could be
similar, this gives me the same output we had for years and years,
therefore no one has to be shocked with anything new. 
Here it is (drumroll please ...)


#!/usr/local/bin/perl -w
if ($#ARGV == -1) {
  system(/usr/ucb/lpq -l | grep -v Filter | grep -v Status);
} else {
  foreach $arg (@ARGV ) {
system(/usr/ucb/lpq -l $arg | grep -v Filter | grep -v Status);
  }
}


Thanks,

Phil

On Mon, 10 Dec 2001, Patrick Powell wrote:

  From [EMAIL PROTECTED] Tue Dec  4 00:55:09 2001
  From: Alan Lu [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Subject: LPRng: lpq msg format
  Date: Tue, 4 Dec 2001 18:48:11 +1100
 
  Hi,
 
  When lpq on my Compaq Tru64 queries a remote lpd (LPRng-3.7.4-22 on
  RH7.1), it just reports the short form messages:
  multi@prserver 0 jobs.
 
  But if I let it report in a little bit long format, it actually reports
  verbose details as shown below.
 
  I wonder if there is anyway to customise the message format to e.g. the
  normally default one:
 
   Rank   Owner/ID  Class Job Files Size Time
  1  root@ambackup+317A   317 /home/alu/redhat.ps  18259
  16:06:38
 
 
 The problem here is that the default formats and lengths are not
 defined by RFC 1179.
 
 Here are a couple of entries to put in the printcap:
 
 # Purpose: reverse LPQ status format when specified remotehost
 #   default reverse_lpq_status=  (STRING)
 
 reverse_lpq_status=10.0.0.0/255.0.0.0,multi.dns.name
 
 This will give you long and short status
 # Purpose: short status length in lines
 #   default short_status_length=3  (INTEGER)
 # Purpose: return short status when specified remotehost
 #   default return_short_status=  (STRING)
 return_short_status=10.0.0.0/255.0.0.0,multi.dns.name
 
 The STRING is a list of IP address/Mask or host names
 (glob patterns work as well).
 
 Example:
   =192.168.1.1,*.eng.com,myhost.overthere.com
 
 
 
 
  Thanks,
 
  Alan
 
 
 
  
  alu@tincan 18:29:30 /home/alu $ lpq -l -Pmulti
  tincan.ms.unimelb.edu.au: Mon Dec  3 16:27:56 2001:
  Printer: lexm-ps@ambackup
   Queue: no printable jobs in queue
   Status: IF filter 'mf_wrapper' filter msg - '/ManualFeed
  falsesetpagedevice' at 13:01:05.809
   Status: IF filter 'mf_wrapper' filter msg - '/Duplex
  falsesetpagedevice' at 13:01:05.809
   Status: IF filter 'mf_wrapper' filter msg - 'closing *main::KID3' at
  13:01:05.816
   Status: IF filter 'mf_wrapper' filter msg - 'closed *main::KID3' at
  13:01:05.817
   Status: IF filter 'mf_wrapper' filter msg - 'tail process done writing data
  to *main::STDOUT' at
  ...
  ...
   Status: job 'cfA446tincan.ms.unimelb.edu.au' removed at 16:25:00.719
 
  -Original Message-
  From: system PRIVILEGED account [mailto:[EMAIL PROTECTED]]
  Sent: Monday, 3 December 2001 4:16 PM
  Subject:
 
 
   Rank   Owner/ID  Class Job Files Size Time
  1  root@ambackup+317A   317 /home/alu/redhat.ps  18259
  16:06:38
 
 
  -
  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 

Re: LPRng: Slowwwww filter

2001-12-03 Thread Phil Moses

I have not found this on the 740, I will look more today but did not see
job pipelining under the appsocket configuration when I looked Friday.

Thanks,

Phil

On Mon, 3 Dec 2001, Howard Schultens wrote:

 Patrick Powell wrote:
  
 
 ...
After futtsing around a bunch with the 750, I tried using the LPR
port.  It seems to work fine and is fast.  I don't know if this
is the same on the 740, but on the 750 you can set the printer to
send the server an eMail for each job with how many pages were
printed on what medium and the amount of toner used, along with
the user name.  This lets us do quite accurate accounting.
  
   There is a job pipelining option on the newer Phaser printers (7XX/8XX) that
   should be turned off to get accurate AppSocket page counts.  Otherwise, it
   accepts the job, acts as if the job has printed when in reality it's still
   buffered in the printer.  Those page counts are accurate when the query is
   submitted, but they are not for the complete job.
   --
   
  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
   
  
  How do you do this?  I will put it in the HOWTO.
 ^
  
  Patrick
 
 I assume you mean how to turn off job pipelining. I am thankful
 to John for this info.  At least for the Tek750, one way to do it
 is to use the Web configuration feature.  Go into the settings
 menu, and under Interfaces, hit AppSocket. There is a button
 for turning job pipelining on or off.
 
 Otherwise I am happier with the detailed accounting info I get
 from the eMail feature -- I can justify how I slap costs for the
 toner on my users, though I have some problems there with
 missing messages.  Maybe the methods can be combined for double
 checking.
 
 -- Howard
  
 
 Dipl.-Phys. Howard SchultensTel: +49 551 39-5914
 Zentrum Physiologie FAX: +49 551 39-5923
 Humboldtallee 23
 37073 Goettingen   mailto:[EMAIL PROTECTED]
 Germany   http://www.neuro-physiol.med.uni-goettingen.de
 
 
 -
 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: Slowwwww filter

2001-11-29 Thread Phil Moses

How-D all and happy holidays,
I have a qeustions about a slow filter. I am sending this job to a
phaser740, the job is 151 megabytes and the filter is so slow, I cannot
even explain it. below is the printcap entry...
lp34-trans|color printer in lab transparencies
:lp=192.168.0.3%9100:append_Z=transparency:\
:sd=/var/spool/lpd/%P:\
:ifhp=model=phaser740, appsocket dev=192.168.0.3%9100:\
:as=|/usr/local/etc/accounting.pl start:\
:ae=|/usr/local/etc/accounting.pl end:\
:if=/usr/local/libexec/filters/ifhp:\
:af=/var/spool/lpd/lp34-trans/acct:

Here is the wierd thing, I haven't seen this ..
Filter_status: (of) pagecounter 33698 at 10:29:55.591 
before, what I mean is the (of). 
Possibly the pagecounter is not responding from the printer.

Thanks,

Phil


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

2001-11-28 Thread Phil Moses

Anyone have a take on this?
Error: syntax error
OFFENDING COMMAND: --no string value --

I am getting this from a phaser 740 printing from lprng 3.7.4 on Solaris
7.

Thanks,

Phil


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

2001-11-14 Thread Phil Moses

Hello,
For some reason I am having teouble with tcpwrappers and lprng. Normally
this is a trivial task (tcpwrappers) platform is solaris 7, anyoine see
anything out of the ordinary with this before ( tcpwrappers lprng)?

Thanks,

Phil


-
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: papertray selection

2001-09-28 Thread Phil Moses

Have you tried using append_Z=inlower/upper/middle/maual depending on
where the try is. 
I was succesfull in getting append_Z to work with different trays on
numerous printers, however I do not have an HP4100, but I imagine you
could get it to work.

Thanks,

Phil

On Fri, 28 Sep 2001 [EMAIL PROTECTED] wrote:

 I am trying to set up a queue for an HP4100 printer which will use tray3
 which has been preset on the printer as preprinted. I usually use
 enscript in the ifhp.conf file for the filtering but have been unsuccessful
 with different commands. The users do not what to change the tray from
 preprinted as it has forms in it. Has anyone else solved this problem?
 
 -- Doreen
 
 Doreen Petersen
 Information Technology Services [EMAIL PROTECTED]
 University of Colorado  (303) 492-4809
 
 
 -
 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: MS2000 not sending end of job?

2001-09-19 Thread Phil Moses

Hello all:
We have one printer (Phaser740) that when a new Windows 2000 machines
sends it's job, it seems to never recieve and en of file from the pc.
Lprng3.7.4 is running on Solaris 7 and works well with all other
platforms. 
Please see examples below, again it works properly from other platforms
but Win2K seems to not send ctrlD. It is sent to send a ^D on the Windows
machines.

 Filter_status: setting up printer at 14:45:08.456
 Filter_status: pagecounter 30263 at 14:45:09.637
 Filter_status: pagecounter 30263 at 14:45:09.638
 Filter_status: sending job file at 14:45:09.638
 Filter_status: starting transfer at 14:45:09.638
 Filter_status: initial job type 'RAW' at 14:45:09.638
 Filter_status: decoded job type 'RAW' at 14:45:09.639
 Filter_status: job type 'RAW' at 14:45:09.639
 Filter_status: transferring 11128 bytes at 14:45:09.639
 Filter_status: 92 percent done at 14:45:09.640
 Filter_status: data sent at 14:45:09.649
 Filter_status: sent job file at 14:45:09.649
 Filter_status: getting end using 'ps' at 14:45:09.649


this will hang here until cancel is done on the printer, otherwise it
continues trying to recieve data.

lp34|color printer in lab
:lp=x.x.x.x%9100:\
:sd=/var/spool/lpd/%P:\
:ifhp=model=phaser740, appsocket dev=x.x.x.x%9100:\
:as=|/usr/local/etc/accounting.pl start:\
:ae=|/usr/local/etc/accounting.pl end:\
:if=/usr/local/libexec/filters/ifhp:\
:af=/var/spool/lpd/lp34/acct:


Thanks,

Phil


-
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 clients to lprng

2001-09-04 Thread Phil Moses

This is the return from a solaris machine with legacy lpd running
printing to an lprng server. 

doheny 6% lpq -Pphil
lp3@leucadia 1 job

The return of lpq from lprng machine to lprng server or from legacy lpd to
lpd server.
 
Rank   Owner  Job  Files Total Size
active pmoses 203  acct.pl   261 bytes

This may very well be the way I have the print clients setup, as I tried
to just modify the printers.conf file to print to the lprng server. Again
this works but it does not return all of the same information. Is this
possible without setting up lprng on all of the client machines?



Thanks,

Phil

On Sat, 1 Sep 2001, User Papowell wrote:

  From [EMAIL PROTECTED] Thu Aug 30 13:48:45 2001
  Date: Thu, 30 Aug 2001 12:13:39 -0700 (PDT)
  From: Phil Moses [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Subject: LPRng: lpd clients to lprng
 
  OK I am sending this one off before I even begin to look because my hands
  are full right now but...
  When printing from lpd clients (solaris) to lprng is it possible to
  recieve the full feedback from the print server when doing lpq? With lpd
  printing, lpd returns hostname, job number owner etc.
  Without installing lprng on each client, I can do a lpq and get
  printer@hostname and the number of jobs but not the full detail. Is it
  possible to get the full detail without installing lprng on each client?
 
 
  Thanks,
 
  Phil
 
 I am lost here.  Can you give an example?
 
 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.
-



LPRng: lpd clients to lprng

2001-08-30 Thread Phil Moses

OK I am sending this one off before I even begin to look because my hands
are full right now but...
When printing from lpd clients (solaris) to lprng is it possible to
recieve the full feedback from the print server when doing lpq? With lpd
printing, lpd returns hostname, job number owner etc.
Without installing lprng on each client, I can do a lpq and get
printer@hostname and the number of jobs but not the full detail. Is it
possible to get the full detail without installing lprng on each client?


Thanks,

Phil


-
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..fill in the WHATS THIS...

2001-08-27 Thread Phil Moses

I was just sending this out in case you were interested in how we did our
name:pagecount accounting. As you can see just a few simple lines after
#changes start here
Again this gives us a file for each spool in /var/spool/lpd that reads in
the format :
user:pagecount


 # we now update the accounting information
($start_time) = /D=(\d+)/;
s/D=(\d+)/S=$1/;
$count = $end_counter - $start_counter;
$elapsed = $time - $start_time;
# you should put your make update record stuff here
s/^START/END 't=$elapsed' $count 's=$start_counter'
'q=$end_counter' 'D=$time'/;
$out = $_ . \n . $out;
$end_counter = $start_counter;
$time = $start_time;
# changes start here - MDL - 8/14/01
$phys_acct_dir = /var/spool/lpd;
$phys_acct_file = $opt{P} . acct;
if ($count = 0) {
open(phys_acct_h, $phys_acct_dir/$phys_acct_file);
print phys_acct_h (' ' x (4 - (length $count))) . $count .
.00 $opt{H}:$opt{n}\n;
close(phys_acct_h);
}


Thanks,

Phil

On Fri, 24 Aug 2001, User Papowell wrote:

  From [EMAIL PROTECTED] Fri Aug 17 03:06:00 2001
  Date: Fri, 17 Aug 2001 10:06:07 +0100
  From: Ian Lee [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Subject: Re: LPRng: Accounting..fill in the WHATS THIS...
 
  Thanks for that.
 
  I'm writing a parser to print a summary of the accounting file in the
  form:-
  userName - totalPagecount 
  as this is for page use monitering rather than full blown accounting
  (next year I think!).
  I'd like to be sure that I'm getting the right pagecount for the right
  user (even after uncompleted jobs)  the example in the howto is
  different from this.
 
  Here's a section of my file numbered for convenience.
  I noticed in this small example that 
 
  (line 1) START - 'D=997869440' (odd looking date) 
 
  is the same as 
 
  (line 9) END - 'S=997869440' (System 'name' stuff...) 
 
  and the same for matching fields in lines 4  10.  
 
  Do these fields START D= and END S= *always* match for a job?  They
  *appear* to in my file but that's only 53 lines long so far so I can't
  be sure.  The END - p= 'pages (sides) used' count is correct for the
  jobs in this example (I sent/cancelled them!).
  Also, does anyone have a longer (1000+ lines) accounting file in the
  same format that I can use for a more realistic test?
  Regards
  Ian
 
 The D value is the output (value?) of the unix 'time()' system call.
 i.e.   long date = time((void *)0);
printf( D=%ld\n, date );
 
 -
 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: tray selections

2001-08-21 Thread Phil Moses

Hello all:
I have some questions on tray selections, particualarly with a phaser 740.
Transparencies will print correctly, color prints will print correctly
from the lower default tray, so now I have a high gloss paper in the
multi-purpose/manual feed tray. I have tried different -Z options with no
luck getting it to print from the multi-purpose tray. Do I have other
options, such as setpagedevice?

Both of these entries work properly, top for color to plain paper, bottom
for transparencies. These are setup as seperate printcap entries for
accountig and ease of use for users, does anyone have any tips on how to
access the multi-purpose tray of a Phaser 740?

 lp5|color printer in lab
:lp=xxx.xxx.xxx.xxx%9100:\ :sd=/var/spool/lpd/%P:\
:ifhp=model=phaser740, appsocket dev=xxx.xxx.xxx.xxx%9100:\
:as=|/var/local/etc/accounting.pl start:\
:ae=|/var/local/etc/accounting.pl end:\
:if=/var/local/libexec/filters/ifhp:\
:af=/var/spool/lpd/lp5/acct:

lp34-trans|color printer in lab transparencies
:lp=xxx.xxx.xxx.xxx%9100:append_Z=transparency:\
:sd=/var/spool/lpd/%P:\
:ifhp=model=phaser740, appsocket dev=xxx.xxx.xxx.xxx%9100:\
:as=|/var/local/etc/accounting.pl start:\
:ae=|/var/local/etc/accounting.pl end:\
:if=/var/local/libexec/filters/ifhp:\
:af=/var/spool/lpd/lp34-trans/acct:


Thanks,

Phil


-
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: pagecount not working

2001-07-11 Thread Phil Moses

Hello all ..again,
I am getting into lprng, working pretty well overall, accounting is giving
me some problems though. The accounting script runs but never returms a
pagecount. Can anyone help with this, after reading the docs I still do
not have a solution.
Printer is an HP4m
printcap ..
lp3|HP4mtest
:rm=soupsandwhich:\
:sd=/var/spool/lpd/%P:\
:ifhp=model=hp4m:\
:as=|/var/local/etc/accounting.pl start 
:ae=|/var/local/etc/accounting.pl end
:if=/var/local/libexec/filters/ifhp:\
:af=/var/spool/lpd/lp3/acct:\
:of=/var/local/etc/ofhp:\

fileend '-b0' '-T1' '-q1905' '-p0' '-t2001-07-10-10:59:45.315'
'-Aroot@XX+901' '-nroot' '-Plp3'
END 't=3' 'p=0' 's=0' 'q=0' 'D=994787987' 'A=root@leucadia+901' 'P=lp3'
'n=root' 'X@B' 'S=994787984'

So everything is working well it seems but the pagecount returns 0 each
time. 

Thanks,

Phil


-
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: adding printers --solaris

2001-07-05 Thread Phil Moses

Ooops, sorry about that, I was using rp: instead of rm. So anyway, anyone
have any pointers about accounting filters?

Thanks,

Phil

On Thu, 5 Jul 2001, Phil Moses wrote:

 If someone could add a tip I would be more than grateful...
 I am a bit confused about adding a printer when using lprng with solaris.
 I have tried adding it as rp: in /etc/printcap.
 If I understood things correctly, lpadmin should not be used to add a
 printer with lprng. 
 Basically I want to add a printer with ip 10.0.2.3 to print to.
 Comments, suggestiong, flames , all are welcome.
 
 Thanks,
 
 Phil
 
 
 -
 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: Solaris8

2001-03-23 Thread Phil Moses

Ok Compiling LPRng --without-gdbm is a success. Even after killing the
original lp daemon and LPRng is running I get errors 'waiting for
subserver to exit' if I kill pid of lpd and there is absolutely no lpd
running, then I can spool and print jobs. I am a bit confused has anyone
seen this before. 
It seems LPRng on Solaris8 is somewhat rare.

Thanks,
Phil


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