Re: [kde-freebsd] lpd/lpr stopped working

2003-02-04 Thread Bjarne Wichmann Petersen
On Monday 03 February 2003 22:05, AlanE wrote:

 /usr/local/bin/lpr -P 'laserjet' '/var/tmp/kde-mekanix/kdeprint_pYNslYF' :
 execution failed with message:
 lpr: unable to print file: server-error-service-unavailable
 That looks like a cups message;  did you install cups-lpr as well?
 And, what is the print system set to in the print dialog? That message
 indicates that the print daemon (cupsd) is not running.

I haven't installed cups, but looks like KDE dragged it along. So yes, 
cups-lpr seems to be installed and no cupsd is not runing. And I really don't 
like cups running, I'm quite happy with the systems lpr/lpd. So, can I remove 
safely all-that-is-cups without breaking anything in KDE? And how do I 
reinstate my systems lpr?

And the printsystem is set to the Unix LPD system (default) but also tried 
the LPR/LPRng system.

BTW: what's the knob for *not* building CUPS, and why isn't this set as 
default?

Bjarne
-- 
Homepage: http://www.mekanix.dk


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: [kde-freebsd] lpd/lpr stopped working

2003-02-04 Thread Geoffrey C. Speicher
On Tue, 4 Feb 2003, Bjarne Wichmann Petersen wrote:

 On Monday 03 February 2003 22:05, AlanE wrote:
 
  /usr/local/bin/lpr -P 'laserjet' '/var/tmp/kde-mekanix/kdeprint_pYNslYF' :
  execution failed with message:
  lpr: unable to print file: server-error-service-unavailable
  That looks like a cups message;  did you install cups-lpr as well?
  And, what is the print system set to in the print dialog? That message
  indicates that the print daemon (cupsd) is not running.
 
 I haven't installed cups, but looks like KDE dragged it along. So yes, 
 cups-lpr seems to be installed and no cupsd is not runing. And I really don't 
 like cups running, I'm quite happy with the systems lpr/lpd. So, can I remove 
 safely all-that-is-cups without breaking anything in KDE? And how do I 
 reinstate my systems lpr?

I don't know if pkg_deinstalling cups will break KDE, but I'm going to
wager a guess that you have /usr/local/bin before /usr/bin in your path,
and that if you reverse them, printing will work.

Geoff


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: [kde-freebsd] lpd/lpr stopped working

2003-02-04 Thread Bjarne Wichmann Petersen
On Tuesday 04 February 2003 16:46, you wrote:

  I haven't installed cups, but looks like KDE dragged it along. So
  yes, cups-lpr seems to be installed and no cupsd is not runing. And I
  really don't like cups running, I'm quite happy with the systems lpr/lpd.
  So, can I remove safely all-that-is-cups without breaking anything in
  KDE? And how do I reinstate my systems lpr?
 I don't know if pkg_deinstalling cups will break KDE, but I'm going to
 wager a guess that you have /usr/local/bin before /usr/bin in your path,
 and that if you reverse them, printing will work.

$ echo $PATH
/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/X11R6/sbin:/usr/local/bin:/usr/local/sbin:/home/mekanix/bin

But this is a shell-prompt, and thus reads the /etc/profile ~/.profile or 
login.conf... but could KDM do som mixup of order?

/usr/local/share/config/kdm/Xsession does something to the PATH, but I don't 
know much about shell-scripting so it's pure jibberish to me.

Bjarne
-- 
Homepage: http://www.mekanix.dk

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



lpd/lpr stopped working

2003-02-03 Thread Bjarne Wichmann Petersen
Hi!

I'm a bit pussled. I can print from OpenOffice and Phoenix. But konq chokes:

A print error occured. Error message received from system:

/usr/local/bin/lpr -P 'laserjet' '/var/tmp/kde-mekanix/kdeprint_pYNslYF' : 
execution failed with message:
lpr: unable to print file: server-error-service-unavailable

Then I tried a # lptest 20 5 | lpr -Plaserjet and lpd barks: 
Feb  3 20:23:37 frodo lpd[1560]: laserjet: job could not be printed 
(cfA596frodo.my.domain)

Haven't messed with princap for a long time and to me it looks just ok:

laserjet|lp|ps|PS|S|hp|HP LaserJet 1200:\
:sh:sd=/var/spool/lpd/laserjet:\
:lp=/dev/lpt0:\
:mx#0:\
:if=/usr/local/libexec/psif:

Anyone got a clue?

Bjarne
-- 
Homepage: http://www.mekanix.dk


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: [kde-freebsd] lpd/lpr stopped working

2003-02-03 Thread AlanE
On Mon, Feb 03, 2003 at 08:39:59PM +0100, Bjarne Wichmann Petersen wrote:
Hi!

I'm a bit pussled. I can print from OpenOffice and Phoenix. But konq chokes:

A print error occured. Error message received from system:

/usr/local/bin/lpr -P 'laserjet' '/var/tmp/kde-mekanix/kdeprint_pYNslYF' : 
execution failed with message:
lpr: unable to print file: server-error-service-unavailable

That looks like a cups message;  did you install cups-lpr as well?
And, what is the print system set to in the print dialog? That message
indicates that the print daemon (cupsd) is not running.

-- 
AlanE (Alan Eldridge)
Unix/C(++) IT Pro for 20 yrs, likes fixing weird distributed systems bugs.
KDE, KDE-FreeBSD Teams (http://www.kde.org, http://freebsd.kde.org/)

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: lpd/lpr stopped working

2003-02-03 Thread Garance A Drosihn
At 8:39 PM +0100 2/3/03, Bjarne Wichmann Petersen wrote:

Hi!

I'm a bit pussled. I can print from OpenOffice and Phoenix.
But konq chokes:

A print error occured. Error message received from system:

/usr/local/bin/lpr -P 'laserjet' '/var/tmp/kde-mekanix/kdeprint_pYNslYF' :
execution failed with message:
lpr: unable to print file: server-error-service-unavailable


Note that the message refers to '/usr/local/bin/lpr'.
You have probably installed some port which (one way or another)
installed an alternate version of lpr.  The behavior you will see
from different applications will depend on what PATH they are
using when they run.

--
Garance Alistair Drosehn=   [EMAIL PROTECTED]
Senior Systems Programmer   or  [EMAIL PROTECTED]
Rensselaer Polytechnic Instituteor  [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message