How to configure Canon iR2018n as a Network Printer in Linux

This post will guide you to install canon iR2018n as network printer in ubuntu / linuxmint almost all OS versions are supported.

This tweak is also valid for other canon printers the list is given at the end. Also the driver specified here can be used for USB as well as LPT printer installation.

.

To configure Canon iR2018n as a network printer please follow these steps

======================================================

1. Connect the printer to the switch/router through a straight cable.

2. Assign the printer a static IP, N/w mask and gateway (though printer supports DHCP, assigning a static IP is good unless you can assign a permanent IP in router by getting MAC address)

3. Download the UFRII/UFRII LT linux driver for Canon iR2018 g8b5enx.zip (18.5 MB)

4. Uninstall the cups and cups-common in ubuntu /linuxmint through Synaptic Pakage Manager

5. Install g8b5enx\UK\32-bit_Driver\Debian\cndrvcups-common_1.80-1_i386.deb

and cndrvcups-ufr2-uk_1.80-1_i386.deb

6. Go to Admnistration > Printer > New > Printer > select canon…,  give IP address of the printer in the right column, below give the port no as 9100. Click ‘Forward’

7. In the next menu select default settings or select appropriate model no. Click forward, give the Name as you would like to see. thats all you have sucessfully installed a network printer.

———————————————————————————————————————

I.  How to assign static IP to Canon iR2018

=============================

Canon iR2018

Canon iR2018

1 . In the Printer Control panel as show above Select ” Additional Settings” button

2.  Navigate to “System Settings” > Network Settings > TCP/IP settings , Disable DHCP, add IP address give some thing like this

Eg: Assuming your n/w address range is 192.168.1.0/24

IP address : 192.168.1.100

Netmask : 255.255.255.0

Gateway : 192.168.1.1

.

Heres the UFR II Driver Guide Ver. 2.20 (6.5 MB)

Cautions, Limitations, and Restrictions (see readme along with the driver for more)

===========================================================

The normal problem which can occur is error LED blinking in printer when a print is given. This is due to page settings. ie (printer is configured for A4 and if you give a print of letter size) This happens mostly in Windows XP/Vista platform, to aviod it override the settings from default to ‘Shrink to A4′ option at the Printer  ‘Preference’ menu.

.

Heres some concerns and problems with this driver, if you are aware you can avoid it.

===========================================================

1.  When specifying multiple pages/copies for [Pages per sheet] in the [General]
sheet to print a document created with StarSuite7/OpenOffice, due to a cause
of operation by the CUPS module, settings are not correctly assigned to the
multiple pages and output.

2.  If [Brightness and Gamma] is specified in the [General] sheet from an
application such as OpenOffice.org, GIMP, or Acrobat Reader v.5.0, the settings
will be invalid.

3.  You cannot print a PDF document by directly specifying it from the desktop or
command line. When printing a PDF document, it is recommended that you print
it from Acrobat Reader or Document Viewer.

4. When printing from OpenOffice.org, some finishing functions such as [Rotate]
may not operate correctly if you specify multiple copies for [Number of
copies] in the driver UI.

5.  If you specify Paper Source settings in the print dialog of an application
such as Writer of OpenOffice.org, the settings made from the application are
overridden by the printer driver UI settings. To print from the desired
Paper Source, specify the Paper Source from the printer driver UI beforehand,
or print from the command line.

6. If your version of Ghostscript is 8.6.x, you may not be able to print some
documents.

.

This printer driver tweak is also valid for the following printer models also

———————————————————————————————

(not all product may have a network option)

Supported product(s)

BJC4100
imagePRESS C1
iR1018
iR1022A
iR1022F
iR1022i
iR1022iF
iR105Plus
iR2016
iR2016i
iR2018
iR2018i
iR2020
iR2020i
iR2022
iR2022i
iR2025
iR2025i
iR2030
iR2030i
iR2230
iR2270
iR2870
iR3025
iR3035
iR3045
iR3180C/Ci
iR3225
iR3235
iR3245
iR3530
iR3570
iR4570
iR5055
iR5065
iR5075
iR5570
iR5870C/Ci
iR5880C/Ci
iR6570
iR6870C/Ci
iR6880C/Ci
iR7086
iR7095
iR7105
iR8070
iR85Plus
iR9070
iRC2380i
iRC2880
iRC3080/i
iRC3380
iRC3580/i
iR C4080i
iR C4580i
iR C5185i
iRC5185i
i-SENSYS FAX-L160
i-SENSYS FAX-L3000
i-SENSYS FAX-L3000IP
i-SENSYS LBP-3370
i-SENSYS LBP5970
i-SENSYS LBP5975
i-SENSYS MF4010
i-SENSYS MF4120
i-SENSYS MF4140
i-SENSYS MF4150
i-SENSYS MF4270
i-SENSYS MF4660
i-SENSYS MF4690PL
LaserBase MF6530
LaserBase MF6540PL
LaserBase MF6550
LaserBase MF6560PL
LaserBase MF6580PL
LASER SHOT LBP3360
Laser Shot LBP3460
LaserShot LBP5960
LBP5360
MF7170i
MF7170ii
MultiPASS L90

How to access linux files from windows in a network using SAMBA

SAMBA allows users to share folders on their Linux system that can be accessible by a Windows system. On a Windows, it will look like a normal Windows directory, although what you are seeing is actually a Linux system. Linux administrators can specify what permissions (read/write) to give to which users. This ensures the security of the Linux file system.

Before we dig into the codes and commands, I would like to lay the necessary requirements needed for SAMBA to work properly.

1. You should try to get a static IP-address for your Linux box. (it will be so much less headache with static ip address)
2. Your windows system should be in the same network as your Linux box
3. You need to be connected to your internet.
4. I’m using Ubuntu 8.04 for this tutorial.
If you do not have a SAMBA client installed in your Linux box, open up your client and type:

sudo apt-get install samba
in case of any errors while installing samba try
sudo apt-get update
and then try installing samba

Configuring your SAMBA client

First, we need to make sure that SAMBA is not running.

sudo /etc/init.d/samba stop

We need to create a new template for this tutorial. But before doing so, we’ll need to rename the old template so as to prevent a write over of the old one.

sudo /etc/samba/smb.conf /etc/samba/smb.conf.original

Next, lets create a new file to put in our codes.

sudo touch /etc/samba/smb.conf

Finally, we need to open the file in an editor. You can use nano, gedit or whatever editer you wanna use. Here, I’ll go for gedit.

sude gedit /etc/samba/smb.conf

Copy and paste the contents below into your new smb.conf file.

[global]
; General server settings
netbios name = YOUR_HOSTNAME
server string =
workgroup = YOUR_WORKGROUP
announce version = 5.0
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192

passdb backend = tdbsam
security = user
null passwords = true
username map = /etc/samba/smbusers
name resolve order = hosts wins bcast

wins support = yes

printing = CUPS
printcap name = CUPS

syslog = 1
syslog only = yes

; NOTE: If you need access to the user home directories uncomment the
; lines below and adjust the settings to your hearts content.
;[homes]
;valid users = %S
;create mode = 0600
;directory mode = 0755
;browseable = no
;read only = no
;veto files = /*.{*}/.*/mail/bin/

; NOTE: Only needed if you run samba as a primary domain controller.
; Not needed as this config doesn’t cover that matter.
;[netlogon]
;path = /var/lib/samba/netlogon
;admin users = Administrator
;valid users = %U
;read only = no

; NOTE: Again – only needed if you’re running a primary domain controller.
;[Profiles]
;path = /var/lib/samba/profiles
;valid users = %U
;create mode = 0600
;directory mode = 0700
;writeable = yes
;browseable = no

; NOTE: Inside this place you may build a printer driver repository for
; Windows – I’ll cover this topic in another HOWTO.
[print$]
path = /var/lib/samba/printers
browseable = yes
guest ok = yes
read only = yes
write list = root
create mask = 0664
directory mask = 0775

[printers]
path = /tmp
printable = yes
guest ok = yes
browseable = no

; Uncomment if you need to share your CD-/DVD-ROM Drive
;[DVD-ROM Drive]
;path = /media/cdrom
;browseable = yes
;read only = yes
;guest ok = yes

[MyFiles]
path = /media/samba/
browseable = yes
read only = no
guest ok = no
create mask = 0644
directory mask = 0755
force user = YOUR_USERNAME
force group = YOUR_USERGROUP

##****END of COPY*********

You will need to change certain lines from the codes above to configure SAMBA to your network. Firstly you have to tell SAMBA your network configuration so that it can communicate with your Windows box. For this tutorial, I’m going to make a dummy network for myself. You can change the network names, computer names and share folder names to your own desired settings.

Let say I have a workgroup called mynetwork and a Windows computer called wincom. The Linux box that I use as the server is called linuxcom with an account called firdooze. Change the settings as shown:

netbios name = linuxcom ; your desired hostname
workgroup = mynetwork ; your workgroup name

To find the name of your workgroup in Windows, you’ll need to do as follow:

1. hold the windows key + pause/break key (this will pop out the system settings).
2. Go to the “computer name” tab and look for your workgroup name.

wins support = yes

If you don’t have a static ip-address and you cannot configure your router/server to provide you with a fixed dhcp-lease, change this configuration parameter to “no”.

Towards the bottom of the codes, [MyFiles] is the name of the share name that you want Windows to use to access the files in your server directory. Under this heading is all the properties of your share files and folders. You can rename it to whatever you want for example, instead of MyFiles, you can change it to mainsharedfolder or limitedsharedfolder. Most importantly, do not use more than 31 characters and avoid spaces!

path = /media/hdb1/share ; the path of your shared folder on Linux

It is advisable to keep your shared folder on another partition or hard disk. Try not to share folders in your home folder. And of course this is just an example. You can use any path name as you wish.

force user = firdooze ; the name of your Linux login
force group = firdooze ; the name of your Linux login

There! You’ve already completed editing the smb.conf file. Save the file and close it.

Now in the command prompt type

sudo smbpasswd username

(where username is the name of the user)

sudo password for [username]:   (type your password)

Next, there is still the last part in configuring the Windows OS so as to allow it to access the Linux machine. This will be much simpler than what you’ve gone through so far.

Firstly open your Network Connections. Right click the connection that you use to connect to the web (active connection) and click on properties.
General Tab > Find & click Internet Protocol (TCP/IP) > Properties …. next ….
General Tab> Advanced button > WINS > ADD

Under TCP/IP WINS server type in the local IP address of your Linux box.
For example : 192.165.12.101
Then check on the radio button > Enable NetBIOS over TCP/IP

You will need to restart your computer first before the settings take into effect.

Finally, there are a few ways that you can access your Ubuntu machine.
1. Mapping network drive (Permanent):

Right click My Computer > Map Network Drive > Choose a letter for the drive.
Under folder, type in the hostname/IP address and share folder.
i.e //linuxcom/MyFiles (if you have WINS support) or //192.165.12.101/MyFiles

2. Entering address on the Explorer bar (Temporary Access):
Enter your hostname/IP address and share folder into the explorer bar.
i.e \\linuxcom\MyFiles or \\192.165.12.101\MyFiles
There you have it! A simple (but not 100% secure) way of sharing folders using Linux.