Bug 59649

Summary: [Patch] lpdunix always shows printer as rejecting jobs
Product: [Applications] kdeprint Reporter: Jonathan Marten <jjm>
Component: generalAssignee: KDEPrint Devel Mailinglist <kde-print-devel>
Status: CLOSED INTENTIONAL    
Severity: normal CC: jlayt
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Solaris   
Latest Commit: Version Fixed In:

Description Jonathan Marten 2003-06-11 12:57:24 UTC
Version:            (using KDE KDE 3.1.2)
Installed from:    Compiled From Sources
Compiler:          gcc 3.2.1 
OS:          Solaris

When using the "Generic Unix LPD Print System", the print dialogue always shows the printer state
as "Idle (rejecting jobs)", even when the printer is accepting.  This seems to be because the accepting/rejecting state is never initialised when the printer is created.

The state needs to be initialised with

	printer->setState(KMPrinter::Idle);
+	printer->setAcceptJobs(true);

in four places in kdelibs/kdeprint/lpdunix/kmlpdunixmanager.cpp

Thinks... the accept/reject state really has 3 possibilities (accepting, rejecting and unknown) to cover
those print systems that don't yet implement job management.  But making this change may have
compatibility implications.
Comment 1 Cristian Tibirna 2005-08-22 20:48:40 UTC
UNCONFIRMED (batch reassigning messed this)
Comment 2 Kurt Pfeifle 2007-01-09 01:36:08 UTC
Setting bug to "Confirmed"/NEW now.

However, I don't think the LPD print subsystem for KDE will ever get much more love. There is just no developer around any more who uses it.
Comment 3 groot 2008-08-01 14:03:47 UTC
Closed; KDE4 uses cups on the still supported Solaris versions (S10U5 and later) -- and ships cups packages if you need them.
Comment 4 John Layt 2008-12-31 13:11:18 UTC
Closing old Resolved status bug.