PDA

View Full Version : Printing <- what is the problem


bluechild
07-14-2005, 08:41 PM
Hi,

What is the problem about printing in PCBSD? I don't get this..

I went the way to get my Brother HL1430 up and running.. I installed CUPS and did:

cd /usr/local/etc/rc.d
cp cups.sh.sample cups.sh
chmod 775 cups.sh
./cups.sh start

Next I did:

pkg_add -r foomatic-db
pkg_add -r foomatic-db-engine
pkg_add -r foomatic-db-filters

Next I went into KDE control panel to add the printer.. Add Printer.. Local Printer.. Parallel..

But here the URI is empty, why?

I try to add the printer by hand "/dev/lpt0" but testing the printer.. nothing happends.

What am I doing wrong?

People talk about printing not possible in PCBSD current version, but it still should be possible to set it up like it was FreeBSD right?

scottro
07-14-2005, 08:53 PM
I would think so--to be honest, I haven't done it. Wintellect has a good howto on BSDnexus forums

http://forums.bsdnexus.com/viewtopic.php?id=36

I have a page of cups gotchas.

http://home.nyc.rr.com/computertaijutsu/cups.html

I don't trust KDE to work right with cups. :)

I don't know if any of the links above are going to help. I've never set it up in KDE so don't know if the procedure you list above was working with FreeBSD and KDE or not. I usually just use the lpadmin commnd as detail on my cups page

bluechild
07-14-2005, 09:06 PM
I have just found out that cups can't see the parallel port..

If I do..

PCBSD# lpinfo -v
network socket
network http
network ipp
network lpd
serial serial:/dev/ttyd0?baud=115200
serial serial:/dev/ttyd1?baud=115200

But..

PCBSD# dmesg | grep lpt0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port

What is the problem here?

popey
07-14-2005, 09:13 PM
Your printer is supported by hpijs, as is mine. This worked on Freebsd so should work on PCBSD.
Install cups base, foomatic engine and filters.
Install from ports hpijs with make install WITH_CUPS=yes
Copy startup/shutdown script cp usr/local/etc/rc.d/cups.sh.sample usr/local/etc/rc.d/cups.sh
Start cups usr/local/etc/rc.d/cups.sh start
Use kde add printer wizard

Don't forget to rehash if required.

popey
07-14-2005, 09:48 PM
Doh! your printer's a brother not HP, I looked in the wrong list.
Well it is late!
I'll leave the post however, it might help somebody.

bluechild
07-14-2005, 11:27 PM
Doh! your printer's a brother not HP, I looked in the wrong list.


No problem :D Thanks for the answer. I'll try on FreeBSD IRC or somthing. As far as I know lpinfo should show the parallel port.

bluechild
07-15-2005, 12:02 AM
I just found out that lpstat -s show the printer as device null..

PCBSD# lpstat -s
system default destination: Brother
device for Brother: /dev/null
device for tmpprinter_2fdigKbW: /dev/null
device for tmpprinter_kPTfxwle: /dev/null

Why does it do that?