OK, but this script is quite "old" now, and as far as I know it is not updated since Ubuntu 11.04. There are some issues with 12.04 which are not managed by the script.
The CAPT driver v2.20 is OK. If you have succeed to install the 2 packages cndrvcups-common (first) and cndrvcups-capt without any error message you could keep it.
Here is a way to install your LBP6300n :
It could seem a bit hard, but don't worry, and come back if you have any question.
Firts, in : System Settings --> Printing
Remove any printer(s).
If you have run the script, remove the auto-start for daemon ccpd created by the script :
1) Create the following directories/file if they are missing:
sudo update-rc.d -f ccpd remove
2) In 12.04 there is a new way to manage multiarch, and it doesn't comply with Canon CAPT driver. So you have to install "by hand" the 11.10 (onieric) ia32-libs package. Take care the ia32-libs package in the 12.04 depots is a dummy/transition, it doesn't work.
sudo mkdir /var/ccpd
sudo mkfifo /var/ccpd/fifo0
sudo mkdir /var/captmon
Install the dependences needed :3) Register the printer:
You can use the 12.04 version they work...
4) Register the printer with ccpd daemon:
sudo /usr/sbin/lpadmin -p LBP6300 -m CNCUPSLBP6300CAPTK.ppd -v ccp:/var/ccpd/fifo0 -E
5) Start ccpd daemon:
sudo /usr/sbin/ccpdadmin -p LBP6300 -o /dev/usb/lp0
6) Test install:
sudo /etc/init.d/ccpd start
will open the Statusmonitor window. If the message "Ready to print" is displayed --> all is OK.
Try to print something.
In System Settings --> Printing set your LBP6300 as default (right click on LBP6300 icon)
Probably on next boot, a "new" LBP6300-2 will appear. Don't worry about that and ignore it (the default is LBP-6300).
If it works well, I will explain you how to manage automatically ccpd daemon.