How to add printer driver???
In Desktop-BSD [KDE] the printing manager does not have my printer [HP Deskjet 3940] in the regular driver list. However when I click on other and go to 'media:/ad0s1e/ports/print/hpijs/work/hpijs-2.1.4/ppd/' there is a driver listed as 'HP-DeskJet_3940-hpijs.ppd'. When I select it and click ok I get this error:
Wrong driver format.
/usr/ports/print/hpijs/work/hpijs-2.1.4/ppd/HP-Deskjet_3940-hpijs.ppd
[line 1]: syntax error, unexpected QUOTED
What is this telling me to do??? Or how do I add this driver or use it to get my printer to work???:confused:
Progress but still can't print.
So I opened Package Manager and checked out hpijs under available packages and discovered that it wasn't installed. Installed it and rebooted. Then had many more HP drivers including one for HP Desktop 3940. That's good. When I open the KDE Printers-Control Center in administrator mode I get an error:
Unable to retrieve the printer list. Error message received from manager:
Connection to CUPS server failed. Check that the CUPS server is correctly installed and running. Error: the IPP request failed for an unknown reason.
This with CUPS selected as print system currently used [CUPS and CUPS-base are installed]. Actually I get this error no matter which print system is selected, that seems odd? It lists the server as 'localhost:w' not sure about that? If I select 'Print Server>Restart Server' I get this error:
Unable to restart print server. Error message received from manager:
Symbol restartServer not found in cupsdconf library.
If I select 'Print Server>Configure Server' I get:
Unable to configure print server. Error message received from manager:
Symbol configureServer not found in cupsdconf library.
The 'cupsdconf' file is a binary and looks like something this noob shouldn't touch. I then open web browser and go to:
http://localhost:631/admin?op=add-printer
and add printer as 'USB Printer #1' at '/dev/ulpt0' I again select the 'HP DeskJet 3940 Foomatic/hpijs (recommended)' which I notice adds the printer to the KDE Printer-Control Center so 'http://localhost:631/' is communicating with KDE Printer-Control Center. Then I select 'Print Test Page' where I get this error:
"Unable to open USB device "usb:/dev/ulpt0": Permission denied
So I'm wondering what I need to do to get my printer to work? Do I need to change permissions for USB devices? If so, How? Man this is withering. I've looked in docs and haven't found what I need. The 'FreeBSD Handbook' covers serial and parallel ports ONLY. Doesn't even mention USB. In the CUPS Software Administration Manual it says:
Running the Software
Once you have installed the software you can start the CUPS server by typing:
/usr/sbin/cupsd ENTER
I get:
# /usr/sbin/cupsd
/usr/sbin/cupsd: Command not found.
I really need some help.:???: