: Using cups to configure my printer (which I call as my_canon
) by command line only.
The suitable .ppd file
(there is no .gz
appended there since I've decompressed the former bjc-7000.ppd.gz
file, just in case).
What went wrong
After introducing the printer (according to CUPS administrator's manual <http://www.cups.org/doc-1.1/sam.html
>) I asked for a test printing:
usr/bin/lpr -p my_canon /usr/share/cups/data/testprint.ps
Then machine's failing message was
lpr: error - unable to access "my_canon" - No such file or directory
If relevant, here is how I configured the printer.
Step1: making sure cups daemon is running
Step2: Making sure there is usb device support
# /etc/rc.d/rc.cups start
Step3: Introducing and enabling the printer
$ /usr/sbin/lpinfo -v | less
Step4: Check the printer recording
# /usr/sbin/lpadmin -p my_canon -m C/bjc-7000.ppd -v usb:/dev/usb/lp0 -E
Step5: Check the job acceptance
$ /usr/bin/lpstat -v
device for my_canon: usb:/dev/usb/lp0
# /usr/sbin/lpc status
printer is on device 'usb' speed -1
queuing is enabled
printing is enabled
# /usr/bin/lpstat -a my_canon
my_canon accepting requests since Jan 01 00:00
Now, where is my mistake if any? I mean which my_canon
file is needed? Any hint is appreciated.