Re: LPRng: Request for Comments: Printer Accounting Methods

2003-11-05 Thread Jerome Alet
On Wed, Nov 05, 2003 at 07:32:22AM +0100, Jerome Alet wrote:
 
 I don't understand why, sorry.

In fact I now understand, but I don't see a big difference in
reality.

Say with your solution, the user can still print one 1000 pages
document even if his quota allows him to print only 20.

With mine I agree he can print 15 * 1000 pages documents in this 
situation, but in reality will this ever happen ? He would be in
serious debt anyway since accounting is still done.

  That is of no interest to the orderer of this system. Quota is simply
  impressions, same for all printers. The cost of the job can not be
  determined before the job has completed on the printer.

This is not correct (I understand you may not need it though) : even 
with only ghostview you can know in advance how many pages there are in 
your document, and so its cost.

You can always do a more or less accurate estimation using ghostscript,
that's what I meant. This doesn't modify the accounting datas in any
way, this just informs the user in advance, and only on his request.

Say you have different printers, for each one you define some cost per
page and/or per job. For example you've got two laser printers, one 
for which the toner cartrige costs much more than for the other one,
but you use the same paper in both.
The user can then easily learn on which printer the job is cheaper
for him and choose the printer accordingly.

bye,

Jerome Alet

-- 
A non-free program is a predatory social system that keeps people 
in a state of domination and division, and uses the spoils to 
dominate more. - RMS

-
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: Request for Comments: Printer Accounting Methods

2003-11-05 Thread Henrik Edlund
On Wed, 5 Nov 2003, Jerome Alet wrote:

JA  If you have several printers, like 15, it can leave a huge window for
JA  abuse. My solution limits this window by requireing extra steps to be
JA  taken to abuse it.
JA
JA I don't understand why, sorry.

The abuse or what?

-
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: Request for Comments: Printer Accounting Methods

2003-11-05 Thread Henrik Edlund
On Wed, 5 Nov 2003, Jerome Alet wrote:

JA Say with your solution, the user can still print one 1000 pages
JA document even if his quota allows him to print only 20.

Yes, which is defined as acceptable in the requirements speficiation of
the system.

JA With mine I agree he can print 15 * 1000 pages documents in this
JA situation, but in reality will this ever happen ? He would be in
JA serious debt anyway since accounting is still done.

The thing is, printers go off-line, they go off to service (or get on
location service). When replacing toner or doing repairs you manually
print test pages on the printer. That's why it is nice to have
accounting finished at the end of the job. Otherwise some poor user will
get to pay for the test pages.

JA This is not correct (I understand you may not need it though) : even
JA with only ghostview you can know in advance how many pages there are
JA in your document, and so its cost.

But there is no way to notify a user of this via the lp protocol and offer
a yes/no question.

JA Say you have different printers, for each one you define some cost per
JA page and/or per job. For example you've got two laser printers, one
JA for which the toner cartrige costs much more than for the other one,
JA but you use the same paper in both. The user can then easily learn on
JA which printer the job is cheaper for him and choose the printer
JA accordingly.

True, but we don't get that advanced. Due to the amount we print the cost
per page pretty much averages out, black or colour prints. Also, this is
less important, as a black printout may cost more (if it is 100% black)
than a colour one (if it is 1% coloured).

Also, our students do not have much choice. All printers are the same
brand and they have default printes defined depending on workstation and
lab.

-
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: Request for Comments: Printer Accounting Methods

2003-11-05 Thread Jerome Alet
On Wed, Nov 05, 2003 at 11:20:21AM +0100, Henrik Edlund wrote:
 
 JA This is not correct (I understand you may not need it though) : even
 JA with only ghostview you can know in advance how many pages there are
 JA in your document, and so its cost.
 
 But there is no way to notify a user of this via the lp protocol and offer
 a yes/no question.

right. I meant (I sent incomplete messages all the time) it's 
possible and may be useful to have an external command to do this, 
which is what PyKota does, or have a dedicated print queue set up 
for this, which is what PrintBill does IIRC 

 Also, our students do not have much choice. All printers are the same
 brand and they have default printes defined depending on workstation and
 lab.

ok.

Jerome Alet

-- 
A non-free program is a predatory social system that keeps people 
in a state of domination and division, and uses the spoils to 
dominate more. - RMS

-
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: Request for Comments: Printer Accounting Methods

2003-11-05 Thread Rick Cochran
Jerome Alet wrote:
The only problem I can see with SNMP is that it doesn't allow the
kind of accounting offered by PrintBill, which keeps records about
ink coverage in all colors. PostScript and paper jams problems apart, 
this provides fair accounting for people who print mostly black text
wrt people who always print their family color pictures...

I've done some testing with retrieving ink levels from SNMP enabled
printers (I've only got two very similar HPs, 2100 and 2200, unfortunately)
but this is not precise enough : full, low, middle is the sort of
thing I get.
Xerox Phaser printers do job accounting of the percentage of each color supply, 
and even the maintenance kit, to a ridiculous number of decimal places - all 
accessible via SNMP.

The good thing about this is that somebody who is printing text doesn't have to 
pay the same rate as somebody who is printing a full coverage image.

The bad thing is that nobody knows what they are going to be charged ahead of time.

We don't use it at the moment.

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


Re: LPRng: Request for Comments: Printer Accounting Methods

2003-11-05 Thread Jim Trocki
On Wed, 5 Nov 2003, Henrik Edlund wrote:

 On Tue, 4 Nov 2003, Jim Trocki wrote:

 JT from my experience those enterprise level printers suck, too.

 In what way?

Well, I've found the Sharp AR-651 and AR-507 have essentially broken
PJL support, at least for what I would like to use it for, which is
job management, accounting, and error reporting.  @PJL INFO PAGECOUNT
always reports 0, and if ustatus is enabled and the printer has been put
into postscript mode via @PJL ENTER LANGUAGE, it ignores subsequent
PJL UEL sequences, so you're hosed until you reset the device. ifhp
rightly bails on jobs because it can't kick the printer back into PJL
mode to re-obtain sync, and close(2) on the socket will put the device's
network interface into a state where subsequent connection initiations
to tcp port 9100 return an RST until you power-cycle the printer.

The newly-added SNMP hooks in ifhp enable you to get around some of these
bugs, but I expect enterprise level printers to work properly in the
first place, and not require meticulous experimentation to identify
the bugs so you can employ work-arounds to get them to operate in a
reasonable manner. I also expect enterprise level printers to be very
robust in their error reporting and recovery capabilities.

The network interfaces in these Sharp models don't support access-control
lists, so you'd have to use some external packet filtering or vlan
mechanism to restrict who can send jobs to the printers. There is also
no automated configuration mechanism, so you have to use a silly web
browser to configure each one.

OTOH, these printers seem to work just fine if you blast the jobs over
via the LPD protocol, completely ignoring any printing or device errors,
and doing no per-job page accounting. I imagine this is what 99%
of customers do. I also get the impression that most shops have their
Windows clients send jobs directly to the printers via the LPD protocol,
which I think is utterly ridiculous.

The other enterprise printers which I've used are Savin/Ricoh 2055DP,
9955DP, and 9965DP. These also have dodgy PJL support, but they work
acceptably if you use ifhp's PostScript pagecount and status and sync
mechanisms. They do a lousy job of reporting errors via PJL and PostScript
mechanisms. The thing behaves the same if it is out of paper, jammed,
or not even plugged in to the electrical outlet.  The internal network
interface was so shoddy that the only way I could increase the reliability
was to replace it with an external Jetdirect. Even though the engine is
rated for 55ppm throughput (on the 2055dp model), PostScript processing
and rasterization system is relatively weak, which is the limiting factor.


 Of course you should always do some testing before buying. I borrowed
 printers from Canon, HP and Xerox during two months when I did my testing.
 Mid-range models, from 150,000 pages per month and up.

 After that, I had a pretty good basis on what printers the department
 should buy next.

And which models tested out favorably? What are your requirements,
and what is your application?

I'm evaluating an HP 9000MFP at the moment, and so far it has been
working very well with the latest ifhp. 7500+ pages have been processed
(about 2000 have been through ifhp, the rest photocopies), and no jobs
have failed. It has jammed once or twice (maybe someone fed it
cardboard), it told me about it, and it recovered gracefully afterwards.
The Jetdirect network interface is actually quite good to work with,
since I can configure it via TFTP on bootup (which makes configuration
automation possible), it supports limited ACLs (which are good enough
for my purposes), the SNMP and PJL support is quite good.  It required
no tweaking to fit into my existing infrastructure, and all of my custom
reporting and monitoring tools worked perfectly with it.

The consumables cost is relatively high, though. One toner cart is rated
for 30k pages at 2% coverage and lists for about 250USD. So far the
device tells me the historical coverage has been 4% for our jobs, and it
estimates that the toner is half gone, so it seems to be rather accurate
with its estimations. We typically push 30k pages per month through the
most heavily-used copier/printers we have, so that's somewhere between
1 and 2 toner carts per month. It would be nice if it had a higher toner
capacity. It also requires a fuser maintenance kit at 350k pages, which
costs about $360.

-
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 

LPRng: LISA meets San Diego Wildfires OR Why I have not replied to my email

2003-11-05 Thread Patrick Powell







Large   Installation   System   Admins   (LISA)   Meets  The
 Crest/Pine/San Diego Fire
   Part 1
  1 November, 2003
 Patrick (The truth? You won't BELIEVE the truth) Powell

1.  Introduction

The last week has been a little  bit  hectic,  here  in  San
Diego,  CA.  Basically, about 25% of the County of San Diego
burned down.  2,500 homes lost, 10,000 refugees, but only 16
people  killed.   The pictures you might have seen on TV (if
you saw them), if anything, understated the size  and  scope
of the problems and devastation.

I hope to give you an idea of the extent, size, and location
of the fires, and how they had a direct personal  effect  on
myself,  and  1200  attendees at the LISA conference (25 Oct
2003 - 31 Oct 2003).  I am  putting  down  my  thoughts  and
events  as  I  can  recall  them, and hope that this gives a
flavor of the  action.   See
http://www.esri.com/news/pressroom/firemaps.htmlfora
really complete set of maps.

Due to my being dragged away from my computer and forced  to
hike,  walk,  and exercise to act as a photo prop (Stand on
the top of the mountain and smile, Patrick.   Pull  in  your
tummy,  it  looks  awful!),  I am personally aquainted with
many of the regions described here.


2.  The Start of It All

On   Saturday,   25   Oct,2003,someidiot^H^H^H^H
hunter^H^H^H^H^H^H   hiker   got   lost  in  the  mountains.
According to reports in the media, he  was  lost,  suffering
from dehydration, and started the fire to attract attention.
The fire was started in a region that was covered with scrub
bush  called chapparel.  The most common bushes in this area
are the creosote (can you say 'insect proofing oil finish?')
and greasewood - I kid you not!.  Said doofus apparently did
not start the fire in the middle of  a  cleared  area,   but
just lit the nearest bushes on fire.

(Note:  the later information was provided by a local member
of the California Department of Forestry,  who was eating my
donuts at the time.  The press has been stunningly silent on
the causes of the fire,  but this fellow was more than eager
to  detail  the shortcomings of said idiot^h^h^h^h gentleman
in terms that were less than complimentary  to  his  father,
mother,  pet  dog,  cat,  and  other family members.  Not to
mention a couple of copy cat fires that were  later  set  by
arsonists. But I digress.)


Fire! 1   1 Nov 2003










Well,   he  was  located about an hour later,  near a 500 sq
meter (550 square yard) blaze,  taken out of the area,   and
a fire crew was sent in.

3.  The Santa-Ana Winds

To  complicate  the situation,  San Diego is located between
the Pacific Ocean on the West and the interior of California
on  the  East. About 100 miles (120 km) East of San Diego is
the Anza-Borrego Desert  and  the  Salton  Sea.   The  Anza-
Borrego  Desert  State  Park Desert Garden regularly reaches
temperatures of 40C (104) in  September  and  October.   The
relative  humidity  is usually less than 10%.  From 18 to 25
October they were having a heat wave as well.

Now for the exciting part.  At this time of the  year,   and
sometimes during the later winter months,  we get a pressure
inversion.  The air pressure  over  the  Anza-Borego  desert
increases  and  the  air  pressure over the ocean decreases.
The normal West to East wind, nicely cooled by the ocean and
laden  with  moisture  (to us here in San Diego 40% relative
humidity is WET, guys) changes to  an  East  to  West  wind.
These winds usually have 2% to 3% (yes, that is two to three
percent) relative humidy,  and are extremely strong -  40kmp
to  80kmp  (25 to 50 mph). Gusts up to 60 mph (100 kmph) are
not uncommon, and there are permanent wind advisory signs on
the local highways.

These  winds are called the Santa Ana winds, and are dreaded
by most people with allergies, as they are not only hot  and
dry,  but loaded with dust and pollen.

By the time the fire crews got to the small blaze, which was
now a very large blaze, they were facing the following:

 (1)   Totally dry brush that had not  been  burned  for  20
   years.

 (2)   Less than 10% humidity.  And dropping.

 (3)   Mountainous terrain with few if any roads.

 (4)   50  kmph  winds to the WEST, blowing directly towards
   San Diego.

 (5)   Major population centers within 5 miles (7 km) in any
   direction.

 (6)   Many of the fire crews had left on Tuesday (four days
   before) to fight  two  other  fires  -  one  on  Camp
   Pendleton,  about  35 miles (50km) north of San Diego
   and another  fire  to  the  north  in  San  Bernadino
   County,  about  90 miles (110 km) north.  These fires


Fire! 2   1 Nov 2003










   were not under control as of Friday, and one big fire
   was heading towards the city of Riverside.

The fire crews that 

LPRng: Switching to LPRng on RedHat 9

2003-11-05 Thread Patrick Powell
I finally got around to updating this note and posting.

The redhat-switch-printer program allows you to switch between LPRng and
CUPS on RedHat 9.  I looked at their system,  which apparently was taken
from Debian,  and say 'Hats off to the Debian Folks, you clevel devils, you!

Idea:

(If you have the RedHat 9 installed, do 'man alternatives' to get better details
on how they do switching.)

The idea is that you have a set of utiltity functions that are the same
for several packages:

functionLPRng  CUPS
lpr lpr.LPRng  lpr.cups
lp  lp.LPRng   lp.cups

...

You have a list of these 'alternatives' somewhere, say:
  print= lpr lp lpq lprm lpc

And a program, say 'alternatives',  so when you do:

alternatives --print LPRng
 it makes the 'print' utilities symbolic links to the
 lpr.LPRng, lp.LPRng, etc.

alternatives --print cups
 it makes the 'print' utilities symbolic links to the
 lpr.cups, lp.cups, etc.

Perhaps everybody knows about this,  but I thought it was quite clever.

Ummm...  I will probably add a 'UpdateRedHat' script that
will check to see if there are the lpr.LPRng files and then
set the installation paths to the appropriate locations.

Too bad that other LINUX/*BSD/*aris distributions do not have/adopt
the same technology as Debian/RedHat/*whatever.

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


LPRng: Re: lprng and form feeds

2003-11-05 Thread Patrick Powell
 From [EMAIL PROTECTED] Thu Oct 30 14:50:08 2003
 Subject: lprng and form feeds
 To: [EMAIL PROTECTED]
 From: [EMAIL PROTECTED]
 Date: Fri, 31 Oct 2003 09:49:48 +1100

 Patrick,

 Hope you don't mind me emailing you about my problem/issue.

 I have an AIX system using LPRNG 3.8.21. This is the first time we have
 ever used LPRNG for printing. Everything is working fine except for some
 dot matrix printers.

 The problem we have is that when print jobs are sent to the printers in
 question, there is no form feed at the end. This is ok for one off print
 jobs, but when the customer has a big multiple print job the alignment is
 being screwed.

 The configuration we have is as follows:

 .common:
 :sd=/app/lprng/spool/%P:
 :sh:mx=0:mc=0:
 :lf=/app/lprng/lperr:


 dotrsa4:
 :tc=.common:
 :rm=dotrsa4:
 :rp=dotrsa4:
 :ff_separator:
 :sf@:fq:


 What am I doing wrong? What else can I do? I need to get a form feed sent
 to the dot matrix printers at the end of each print job.

 Hope you can help me.

 regards
 Stuart Jones



 

 This is a PRIVATE message. If you are not the intended recipient, please
 delete without copying and kindly advise us by e-mail of the mistake in
 delivery. NOTE: Regardless of content, this e-mail shall not operate to
 bind CSC to any order or other contract unless pursuant to explicit written
 agreement or government initiative expressly permitting the use of e-mail
 for such purpose.
 


# Purpose: print a form feed when device is closed
#   default fq@ (FLAG off)
# Purpose: no form feed separator between job files
#   default sf  (FLAG on)
# Purpose: send a form feed (value set by ff) between files of a job
#   default ff_separator@ (FLAG off)

Try:

 dotrsa4:
 :tc=.common:
 :rm=dotrsa4:
 :rp=dotrsa4:
 :ff_separator:fq:

No sf@

Patrick

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


Re: LPRng: Request for Comments: Printer Accounting Methods

2003-11-05 Thread Henrik Edlund
On Wed, 5 Nov 2003, Jim Trocki wrote:

JT Well, I've found the Sharp AR-651 and AR-507 have essentially broken
JT PJL support, at least for what I would like to use it for, which is

I was talking about SNMP support, not PJL though.

JT And which models tested out favorably? What are your requirements,
JT and what is your application?

HP 4300 and Xerox 4400DT fitted our price range and had good SNMP
implementation. The HP failed against the Xerox on two accounts, it was
too plastic (had too many moving parts for no reason and external duplex
unit that could easily be stolen) and it had a hideous web interface.

Our requirement were 150,000 ppm, Postscript 3 (true Adobe preferly, not
emulation), and rugged to fit in a student/research environment.

The other nice thing with Xerox is that they license a true Adobe
Postscript engine. HPs emulation has been to fail on a lot of PS files.
With the extra hard drive (see below) you get all the 130+ PS3 recommended
fonts (this includes the common Windows ones).

(HP also complained after one month that they wanted their printer back,
so that became a small minus in their protocol, bad customer relations.
Xerox on the other hand delivered all kinds of modelsm for testing, free
paper and toner to test with and free pre-buy technical support channel.)

JT The consumables cost is relatively high, though. One toner cart is rated
JT for 30k pages at 2% coverage and lists for about 250USD. So far the

We pay about 160 Euro for a high-cap 15000 pages at 5% toner cartridges
for the Xerox 4400. We change toner cartridges about every 3rd day in
every printer. Our coverage is at average 4%.

JT capacity. It also requires a fuser maintenance kit at 350k pages, which
JT costs about $360.

We got 3 years on location service with fusers included (changed about
every other month) in the price we paid for each 4400DT (with extra font
hard drive). Our price was about 2600 Euro per printer.

-
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: config problem

2003-11-05 Thread Patrick Powell
Your original email ended up in my Spam Collection Sack, and this
is not the best place for it.  This could be due to that fact
that you sent it directly to me, or you sent it to the LPRng mailing
list and you were not subscribed to it.  Or you might be trying to
beat the list security and were sending to lprng-owner and expecting
to spam the list :-)

If you are subscribed to the mailing list,  then you might have
sent it from a site or address different than the one that you
registered with.  If the latter is the case and you want to post
from this address then send me, Patrick Powell [EMAIL PROTECTED],
email describing the problem with:

LPRNGMAIL

in the SUBJECT line so my junk mail purging system will not toss
it into the bit shredder (we shred our email for security reasons).

In fact,  if you have any problems with the list, send me email
with LPRNGMAIL in the header.

The best way to get answers is via the LPRng mailing list, which
I peruse on a fairly frequent basis.

To subscribe, send mail to:

[EMAIL PROTECTED]

with the single line:

subscribe 

in the body.

This reply is sent by a semiautomatic system, and the real
person may be drinking coffee at the present time...
so my apologies for the one-size-fits-all message.

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)


 From [EMAIL PROTECTED] Wed Nov  5 06:09:12 2003
 Date: Wed, 5 Nov 2003 10:13:09 -0500 (EST)
 From: [EMAIL PROTECTED]
 To: Patrick Powell [EMAIL PROTECTED]
 Subject: Re: LPRng: config problem

 Patrick:

 I built lprng and lprngtool, and the filter from updated ports on Freebsd
 5.1 release.  When I start lprngtool I get an Error popup window that
 says:
 Error executing command 'lpq -a -s'
 pq: illegal option -- s
 usage: lpq [-a] [-l] [-Pprinter] [user ...] [job ...]

 checkpc -V -f reports:
 duron# checkpc -V -f
 LPRng-3.8.21, Copyright 1988-2002 Patrick Powell, [EMAIL PROTECTED]
 Checking for configuration files '/usr/local/etc/lpd.conf'
   found '/usr/local/etc/lpd.conf', mod 0100644
 Checking for printcap files '/etc/printcap'
 Checking for lpd only printcap files '/usr/local/etc/lpd_printcap'
  DaemonUID 1, DaemonGID 1
 Using Config file '/usr/local/etc/lpd.conf'
 LPD lockfile '/var/run/lpd.515'

 .names

 .all

 #Printcap Information
 Checking printcap info
 duron#

 When I click view printers and double click brother|lp I get:

 Error executing command 'lpq -Pbrother'
 lpq: printer not found
 child process exited abnormally
 in a dialog box with an OK button, which when clicked brings up the Job
 Qeue for brother window.  And then usually the application crashes.

 Am I having unusual problems, or is this normal for configuration?  Thanks
 for your help.

 Andy

 On Thu, 16 Oct 2003, Patrick Powell wrote:

   From [EMAIL PROTECTED] Wed Oct 15 05:55:52 2003
   Date: Wed, 15 Oct 2003 07:35:20 -0400 (EDT)
   From: [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   Subject: LPRng: config problem
  
 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.
  
   ---2133782560-730014112-1066217720=:2793
   Content-Type: TEXT/PLAIN; charset=US-ASCII
  
   Please forgive my ignorance as I am new to this software.  I am trying to
   configure lprng on FreeBSD 5.1 release.  I built the software from ports
   (lprng, lprngtools, and the filter).  Everything seemed to compile and
   install fine.  However, the first problem I ran into was this.  When I
   execute checkpc I get this message:
  
   bash-2.05b# checkpc -f
   Warning - brother: cannot open lp device '/dev/lpt0' - Permission denied
  
  
   I have been through the manual several times, and while it mentions this
   message being serious it does not explain how to correct it.  So, I'm
   stuck at this point.  I have attached a screenshot file withe the
   LPRngtool running in the hopes that this will provide info to help
   troubleshoot the problem.  Please let me know if any other info is needed
   to diagnose the problem.  The printer I'm trying to configure is a Brother
   1440 connected directly to the printer port via an IEEE 1284 printer
   cable.
 
  Do the following:
 
  cd /dev
  ls -l lpt*
  h110: {852} % ls -l /dev/lpt*
  crw---  1 root  wheel   16,   0 Oct  4 09:19 /dev/lpt0
  crw---  1 root  wheel   16, 128 Oct  4 09:19 /dev/lpt0.ctl
 
  Note that these devices are owned by root/wheel.  The lpd process runs
  as user daemon (I suspect).  So you have the following choices:
 
  chmod 666  /dev/lpt* - Brutal
  chown daemon /dev/lpt*
 
  You will probably have similar problems with serial ports as well.
 
  Patrick Powell Astart Technologies
  [EMAIL PROTECTED] 

LPRng: HP8550

2003-11-05 Thread Barton Wold
Has anyone printed to an HP8550?  I am having a problem where the
pjl_done_msg is being printed out (on paper) instead of to the LED
display.  I have tried all kinds of ways to turn this off (E.g.
pjl_done_msg@) but nothing has worked.  Any ideas?? 

Barton Wold
Sr. IT Analyst
United Defense L.P.  




**CONFIDENTIALITY NOTICE**
The information contained in this e-mail may be proprietary and/or 
privileged and is intended for the sole use of the individual or 
organization named above.  If you are not the intended recipient or an 
authorized representative of the intended recipient, any review, copying
or distribution of this e-mail and its attachments, if any, is prohibited.
If you have received this e-mail in error, please notify the sender
immediately by return e-mail and delete this message from your system.


-
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: Switching to LPRng on RedHat 9

2003-11-05 Thread Craig Small
On Wed, Nov 05, 2003 at 07:59:39AM -0800, Patrick Powell wrote:
 The redhat-switch-printer program allows you to switch between LPRng and
 CUPS on RedHat 9.  I looked at their system,  which apparently was taken
 from Debian,  and say 'Hats off to the Debian Folks, you clevel devils, you!

Ironically the Debian lprng package doesn't do this, though they are
used extensively elsewhere.  I'll talk to my fellow *lpr* maintainers
about putting something like this in.

Currently, you cannot install lpr, lprng and cupsys-bsd on a Debian
system at the same time.

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