Download the latest printer drivers from Canon.com
Extract the drivers.
Browse to the file you just downloaded in above.
Select a location to extract the driver files:
Browse to the extracted driver location and run Setup.exe. Accept the license agreement by clicking Yes.
You will see the Printer Setup dialogue. Select Standard and ensure Reactivate Printers in Sleep Mode and Search is selected and click Next.
You will continue to see the Printer Setup dialogue. Check the checkbox for Canon Driver Information Assist Service and click Next.
You will see a Windows Firewall warning. Click Yes.
You will see the Printer Selection screen. Check the checkbox beside the printer with IP address 10.50.2.20 and click Next.
You will see the Installation Summary. Click Start to begin the installation process.
You will see the Installation is Complete message. Click Restart to restart your computer.
Configure your User PIN for printing.
Open Control Panel and browse to Devices and Printers.
Locate the iR C5240 printer, right-click it and select Printer Properties.
You will see the Printer Properties. On the Device Settings tab, do the following:
Uncheck the Set User Information checkbox.
Ensure the User Department ID Management checkbox is checked and click Settings.
You will see the Department ID/PIN Settings. Enter your Department ID and click OK.