[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-user
Subject:    Re: Printing problem
From:       "Carl D. Blake" <carl () boeckeler ! com>
Date:       2001-04-30 18:36:17
[Download RAW message or body]

I have more information on my printing problem.  I've discovered that the KDE 
apps are using the /etc/printcap file.  They appear to be reading the file to 
determine what printer they should print to.  I had to change my printcap 
file from:
---------------------------------------------
# /etc/printcap
#
# DO NOT EDIT! MANUAL CHANGES WILL BE LOST!
# This file is autogenerated by printconf-backend during lpd init.
#
# Hand edited changes can be put in /etc/printcap.local, and will be included.

HPLaserJet6MP:\
	:sh:\
	:ml=0:\
	:mx=0:\
	:sd=/var/spool/lpd/HPLaserJet6MP:\
	:lp=|/usr/share/printconf/ncpprint:\
	:lpd_bounce=true:\
	:if=/usr/share/printconf/mf_wrapper:

###############################################################################
## Everything below here is included verbatim from /etc/printcap.local       
##
###############################################################################
# printcap.local
#
# This file is included by printconf's generated printcap,
# and can be used to specify custom hand edited printers.
---------------------------------------------

to:

---------------------------------------------
# /etc/printcap
#
# DO NOT EDIT! MANUAL CHANGES WILL BE LOST!
# This file is autogenerated by printconf-backend during lpd init.
#
# Hand edited changes can be put in /etc/printcap.local, and will be included.

HPLaserJet6MP:
	:sh:\
	:ml=0:\
	:mx=0:\
	:sd=/var/spool/lpd/HPLaserJet6MP:\
	:lp=|/usr/share/printconf/ncpprint:\
	:lpd_bounce=true:\
	:if=/usr/share/printconf/mf_wrapper:

###############################################################################
## Everything below here is included verbatim from /etc/printcap.local       
##
###############################################################################
# printcap.local
#
# This file is included by printconf's generated printcap,
# and can be used to specify custom hand edited printers.
---------------------------------------------

I had to remove the backslash from the end of line with the printer name 
HPLaserJet6MP.  Apparently KDE apps think that the printer name is 
HPLaserJet6MP::sh::ml=0::mx=0::sd=/var/spool... rather than just 
HPLaserJet6MP.  When I looked at my process manager when trying to print from 
Konqueror I could see it executing the command "lp 
-dHPLaserJet6MP::sh::ml=0::mx=0::sd=/var..."  This, of course, is bogus.  
What's interesting is that after I remove the backslash in my list of 
printers I now see "HPLaserJet6MP" and also ":sh::ml=0::mx=0::sd=/var..." as 
printer choices.  It seems that the KDE apps are interpreting the printcap 
file incorrectly.  My current solution works, but is obviously a hack.  Does 
anybody have more information about this?

On Tuesday 24 April 2001 11:21, Carl D. Blake wrote:
> OK.  Some more information on my printing problem.  I can print to a local
> printer attached directly to the parallel port, but I cannot print to a
> samba shared printer or a novell shared printer.  Any printer over the
> network will not work.  All of the printers work fine when I use lpr from a
> command line, but when I print from Konqueror, or KMail, or KWord it
> doesn't work.  I check with lpq to see if anything gets placed in the queue
> and nothing ever shows up.  It almost looks as if KDE apps don't use lpr
> for network connected printers and instead attempt to print directly with
> ncpprint or smbprint. Has anybody else got this to work and is there a way
> to make it work?
>
> On Monday 23 April 2001 10:23, Carl D. Blake wrote:
> > I have a /etc/printcap.  It was created when I ran printtool (printconf
> > also works).  Remember I can print from almost all applications except
> > KMail, Konqueror, and KWord (I haven't tried other KDE apps).  In other
> > words lpr from a command line works great.  Printing from mozilla works.
> > Printing from acroread works.  It's the KDE apps that are having
> > problems.
> >
> > On Monday 23 April 2001 06:15, you wrote:
> > > Hi Carl
> > >
> > > Check that you have a printcap file in your /etc directory as my beta
> > > of RH7.1 didn't create one.
> > >
> > > I've gone back to RH7.0, I can send you a copy of my printcap file if
> > > you need it.
> > >
> > > Robyn
> > >
> > > On Sat, 21 Apr 2001 05:31, Carl D. Blake wrote:
> > > > I am having a problem printing in KDE.  The printer is on a Novell
> > > > Netware network.  I've successfully configured it using RedHat's
> > > > printconf (printtool).  lpr works fine.  Most other applications
> > > > print with no problems.  But Konqueror, Kmail, and Kword will not
> > > > print. They show the printer I'm using in the print dialog box, but
> > > > nothing happens when I click the print button.  I check the status of
> > > > the printer queue with lpq, but nothing shows up there.  The Printer
> > > > Administration program (Klpd) shows the printer in its window.  Does
> > > > somebody know what's happening here?  I'm running RedHat's Wolverine
> > > > V7.091 with updates as of Mar 23.  KDE is version 2.1.1.  The Kernel
> > > > is V2.4.2.
-- 
Send posts to:  kde-user@lists.netcentral.net
 Send all commands to:  kde-user-request@lists.netcentral.net
  Put your command in the SUBJECT of the message:
   "subscribe", "unsubscribe", "set digest on", or "set digest off"

All kde mailing lists are archived at http://lists.kde.org
**********************************************************************
This list is from your pals at NetCentral <http://www.netcentral.com/>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic