Skip to content

Commit 3c0d23e

Browse files
committed
added Canon ip 3600 configure script
1 parent e637718 commit 3c0d23e

File tree

2 files changed

+56
-0
lines changed

2 files changed

+56
-0
lines changed

bash/canon_ip_3600/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
This script help to configure Canon ip3600 printer for Linux Ubuntu 10.04
2+
Blog page: [Linux Ubuntu 10.04 driver for my Canon IP3600 IJ printer](http://www.hrupin.com/2010/12/linux-ubuntu-10-04-driver-for-canon-ip3600-ij-printer)

bash/canon_ip_3600/ip3600.sh

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# $1 - Path to dir which contains next .deb files: cnijfilter-common_3.00-1_i386.deb and cnijfilter-common_3.00-1_i386.deb
2+
3+
# Prepare the cnijfilter-common_3.00-1_i386.deb package. Extract .deb file in to two dirs DEBIAN and common.
4+
dpkg-deb -x $1/cnijfilter-common_3.00-1_i386.deb $1/common
5+
dpkg-deb --control $1/cnijfilter-common_3.00-1_i386.deb $1/DEBIAN
6+
7+
# Replace libcupsys2 by libcups2 in DEBIAN/control file. Save it.
8+
sed -i 's/libcupsys2/libcups2/g' $1/DEBIAN/control
9+
10+
# Move whole DEBIAN dir in to common dir
11+
mv $1/DEBIAN $1/common
12+
13+
# Create the .deb from common dir.
14+
dpkg -b $1/common $1/new_cnijfilter-common_3.00-1_i386.deb
15+
16+
# Delete the common dir
17+
rm -r $1/common
18+
#################################################################################
19+
# Prepare the cnijfilter-ip3600series_3.00-1_i386.deb package. Extract .deb file in to two dirs DEBIAN and common.
20+
dpkg-deb -x $1/cnijfilter-ip3600series_3.00-1_i386.deb $1/common
21+
dpkg-deb --control $1/cnijfilter-ip3600series_3.00-1_i386.deb $1/DEBIAN
22+
23+
# Replace libcupsys2 by libcups2 in DEBIAN/control file. Save it.
24+
sed -i 's/libcupsys2/libcups2/g' $1/DEBIAN/control
25+
26+
# Move whole DEBIAN dir in to common dir
27+
mv $1/DEBIAN $1/common
28+
29+
# Create the .deb from common dir.
30+
dpkg -b $1/common $1/new_cnijfilter-ip3600series_3.00-1_i386.deb
31+
32+
# Delete the common dir
33+
rm -r $1/common
34+
35+
#################################################################################
36+
# Next you would install that two new packages by double click on .deb files. First will be installed the new_cnijfilter-common_3.00-1_i386.deb.
37+
38+
# Instalation the packages in terminal:
39+
dpkg -i new_cnijfilter-common_3.00-1_i386.deb
40+
dpkg -i new_cnijfilter-ip3600series_3.00-1_i386.deb
41+
42+
#################################################################################
43+
44+
#If you start print job you have got some issue. If you diagnose this you have got hext messages.
45+
46+
# Status Messages
47+
# There are status massages associated with this queue.
48+
# The printer's state message is: 'Filter "/usr/lib/cups/filter/pstocanonij" for printer "iP3600-series" not owned by root'.
49+
50+
#igor@igor-laptop:/usr/lib/cups/filter$ ls -l
51+
#-rwxr-xr-x 1 igor igor 21044 2008-11-05 08:06 pstocanonij
52+
53+
# To fix this you must change /usr/lib/cups/filter/pstocanonij file owner to root.
54+
chown root:root /usr/lib/cups/filter/pstocanonij

0 commit comments

Comments
 (0)