Ok, I need help setting up my printer. I'm giving up on cups and apsfilter. For now i'm trying to just print with my hp all-in-one officejet using LPD. The method I tried is the one outlined by "oko" in a previous thread "setting up usb printer". Here is what I did, not neccesarily in this order.
I believe this is the driver?
I believe the driver might use this?
I believe this is the input filter for something(LPD)?
I down loaded ppd file from linuxprinting website to:
I added to /etc/printcap
I added to /etc/rc.conf
I added to /etc/devfs.conf
I edited this line in /etc/group
Then i rebooted and tried to print a directory list with:
My printer spit out a page with this line at top:
I also tried to print something from KDE with this error:
Can anyone shed some light on where I went wrong or right,troubleshooting methods or files?
I'm hoping to learn more about the entire printing process. i'm a freebsd and unix newb so obvious to someone else may be a roadblock to me. I've been trying to get this printer to work for a couple of months now and am determined to succeed. I read the chapter on printing in the freebsd handbook, which was helpful, and some other docs but now i'm stuck. Any help would be appreciated.
Thanks,
Daringturtle
Code:
#cd /usr/ports/print/ghostscript8
#make install clean
Code:
#cd /usr/ports/print/hpijs
#make install clean
Code:
#cd /usr/ports/print/foomatic-filters
#make install clean
I down loaded ppd file from linuxprinting website to:
Code:
/etc/ppd/HP-OfficeJet_6200-hpijs.ppd
Code:
lp|hp6200|HP_OfficeJet_6200:\
:lp=/dev/ulpt0:\
:af=/etc/ppd/HP-OfficeJet_6200-hpijs.ppd:\
:if=/usr/local/bin/foomatic-rip:\
:sh:sd=/var/spool/output:\
:lf=/var/log/lpd-errs:
Code:
lpd_enable="YES"
Code:
perm /dev/ulpt0 0664
Code:
daemon:*:1:daemon,root
Then i rebooted and tried to print a directory list with:
Code:
ls | lpr
Code:
) HP-PCL XL;1;1;Comment --then a copyright and some wierd characters
Code:
A print error occured. Error message received from system:
/usr/local/bin/lpr -P 'lp' '-#1' '/tmp/kde-root/kdeprint_7JEAhjU7'
execution failed with message:
/usr/local/bin/lpr: connection refused
Can anyone shed some light on where I went wrong or right,troubleshooting methods or files?
I'm hoping to learn more about the entire printing process. i'm a freebsd and unix newb so obvious to someone else may be a roadblock to me. I've been trying to get this printer to work for a couple of months now and am determined to succeed. I read the chapter on printing in the freebsd handbook, which was helpful, and some other docs but now i'm stuck. Any help would be appreciated.
Thanks,
Daringturtle