Re: Printing as a user - FreeBSD, Apsfilter, KDE

2003-11-06 Thread Jean-Baptiste Quenot
* Michael Dunham:

 I am using FreeBSD as my desktop.   I'm looking for help to print as a
 user from KDE.

Have you  tried using  cups?  It's pretty  straight-forward, with  a web
interface  to add  your printer.   (There  is a  Gnome interface  called
gnome-cups-manager, but for KDE I don't know).

Cups is intended as a replacement for the BSD lpr subsystem.

Cheers,
-- 
Jean-Baptiste Quenot
http://caraldi.com/jbq/


pgp0.pgp
Description: PGP signature


Printing as a user - FreeBSD, Apsfilter, KDE

2003-10-29 Thread Michael Dunham
hello..

I am using FreeBSD as my desktop.  I'm looking for help to print as a user 
from KDE.  I can generate a test print from Apsfilter just fine in the shell 
using the setup script.

I think I either do not have a spooler set up right, or a permission perhaps.
I also don't really know what I should select for the printer in KDE or if
there should be a command line entry.

I did have the sample lp setup in my printcap file at one point, currently
that is commented out.

I'm Running:
FreeBSD  Current (5.1)
Printer Canon BJC-610
Parallel /dev/lp0
LPD on start up
Ghostscript-gnu

As SU checking for the lpt:
freebie# dmesg | grep lpt
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
freebie# ls -l /dev/lpt0
crw---  1 root  wheel   16,   0 Oct 29 09:09 /dev/lpt0

From Apsfilter setup:
Checking permissions of /usr/local/share/apsfilter
found dir owner=root, ok!
found dir group=wheel, ok!
changing permissions of /usr/local/share/apsfilter... done.

Now we are checking file permissions in spooldir

Your line printer scheduler's spooldir seems to be: /var/spool/lpd

drwxrwxrwx  2 root  daemon  512 Oct 17 01:25 /var/spool/lpd

The Owner of your spooldir seems to be: root
The Group of your spooldir seems to be: daemon

First time through on test print returns a printer busy and resets printer
Second time through works fine
I reset printers as suggested in setup

From KDE 3.1.4

using OpenOffice  Writer, from open document
selected Generic Printer.
Windows fly by but nothing happens.  As I understand it, generic printer
should be lpd and should be captured by Apsfilter.


using Kmail, selected
print through external program, ps (only possible selection: postscript
printer, reports idle, accepting jobs), print command line empty.
Reports generating print file, then:
A print error occured. Error message received from system:
Empty print command.

Using Kmail, selecting Generic LPD print system, no device, no option to
 print

Using Kmail, cannot select LPR/LPRng (port not installed at this time, will
not compile on 5.1)  not an Apsfilter issue obviously.

Using KDE Control Center, peripherals, printer
Print Through External Program, PS_printer (only device available)
Unable to send, empty print command

Any help or config file to check would be greatly appreciated.
--
Regards,

MIKE...
Make your Information your KnowlEDGE
Michael L. Dunham
Principal Consultant
Connecting Teams
2333 La Lima Way
Sacramento, CA 95833
Phone: 707-780-3019
email: [EMAIL PROTECTED]
webpage: http://www.connectingteams.com

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]