roland brouwers wrote:
-----Original Message-----
From: redhat-install-list-bounces redhat com
[mailto:redhat-install-list-bounces redhat com] On Behalf Of Rick
Stevens
Sent: donderdag 20 januari 2005 18:59
To: Getting started with Red Hat Linux
Subject: Re: printing
roland brouwers wrote:
Hello,
I have a printing problem.
The application I wrote uses the Unix printing system or jetdirect and
a
generic interface, raw text.
When I start a long printjob, something like 30 invoices, the spooljob
is never removed. In other words, when finished, the spooler launches
his job again and again and again. He doesn't do this with a job, not
longer than something like 10 pages.
Could this be a problem of RedHat9?
I've never heard of that specific problem, but RH9 did have some known
printing issues. BTW, you didn't say if you were using CUPS or LPRng.
I heard that for the RH enterprise, there was a patch for this
problem.
Entirely possible, although RHEL is based on RH7.2. Have you checked
the update base at Fedora Legacy for CUPS and/or LPRng updates
(depending on which you're using)?
I have this problem with all my RH9 installations.
That wouldn't surprise me.
I would highly recommend you go to http://www.fedoralegacy.org and do
a couple of things. First, install yum or apt-get from that site on
your RH9 machines, then update your systems:
# yum update cups* or # yum update lprng*
-or-
# apt-get -u update cups or # apt-get -u update lprng
Remember that RH9 is dead (as of April of last year) and the only
updates you can get will be from the Fedora Legacy group. You should
also think about updating to Fedora Core 2 or 3 at some point. I
don't
know how long Fedora Legacy will continue to support RH9
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer rstevens vitalstream com -
-----------------------------------------------------------------------
RH9 installs by standard the CUPS printing system.
But when I run the lp -d command it puts the spoolfiles in
/var/spool/cups.
What do I have to do, to disable the Cups printing system and start
lpr
or lpd?
From what i read about lpr from the manual, it uses cups, so what is
the
use?
There are two competing printing mechanisms under Linux...CUPS and
LPRng. LPRng is the more, uh, "classic" Unix printing system. CUPS
("C Unified Printing System") is a greatly improved printing mechanism.
Both use the same commands (lpr, lprm, lpq, etc.), however the commands
have actually been renamed "lpr.cups" and "lpr.lprng", etc.) and
symbolic links point to the actual commands. The links are changed as
you select either CUPS or LPRng as your printing system. Which one are
you using? Do "ls -l /etc/alternatives/print" and it'll show you what
the symbolic link points at. Odds are it'll be "lpr.cups", meaning
you're using CUPS.
So, make sure you update your CUPS software. If you installed yum or
apt-get as I recommended, just use: "yum -y update cups*" or
"apt-get -u update cups*" to update to the latest release from the
Fedora Legacy gang (remember, Red Hat doesn't support RH9 anymore).
I downloaded LPRng-3.8.28-1.i386.rpm
sh-2.05b# rpm -ivh LPRng-3.8.28-1.i386.rpm
Preparing... ###########################################
[100%]
file /etc/printcap from install of LPRng-3.8.28-1 conflicts with
file from package setup-2.5.25-1
sh-2.05b#
I did an update from fedora with : yum -y update LPRng*
Gathering header information file(s) from server(s)
Server: Red Hat Linux 9 -- Fedora US mirror
Server: Red Hat Linux 9 updates -- Fedora US mirror
Server: K12TLSP
Server: Macromedia Flash Player for Red Hat Linux 9 -- US mirror
Finding updated packages
Downloading needed headers
Cannot find any package matching LPRng available to be updated.
sh-2.05b#
What am I missing here?