This is how to get your MP210 printer to work on Ubuntu 8.04:
Step1: Get the drivers.
You will need 4 driver packages:
* cnijfilter-common_2.80-1_i386.deb
* cnijfilter-mp210series_2.80-1_i386.deb
* scangearmp-common_1.10-1_i386.deb
* scangearmp-mp210series_1.10-1_i386.deb
Get them from here:
http://support-au.canon.com.au/EN/search?v%3aproject=ABS-EN&binning-state=model%3d%3dPIXMA%20MP210%0Amenu%3d%3dDownload%0Aos%3d%3dLinux&
Step 2: Install the drivers
prompt%> sudo dpkg -i cnijfilter-common_2.80-1_i386.deb cnijfilter-mp210series_2.80-1_i386.deb
prompt%> sudo dpkg -i scangearmp-common_1.10-1_i386.deb scangearmp-mp210series_1.10-1_i386.deb
Step3: Add the printer (if not already added)
* System->Administration->Printing
* Remove MP210_series
* Add new printer
** Device URI hal:///org/freedesktop/Hal/devices/usb_device_4a9_1721_505BD0_if1_printer_noserial
Or do it via CUPS:
http://localhost:631/printers/
If you just need the printer, you're done!
Step4: Download drivers for scanner, Extract & Build
http://internap.dl.sourceforge.net/sourceforge/mp610linux/mp150-0.14.2u.tar.bz2
prompt%> tar jxvf mp150-0.14.2u.tar.bz2
prompt%> cd mp150-0.14.2u
prompt%> make
prompt%> sudo make install
Step5: Setup XSane
prompt%> sudo mv /usr/lib/sane/libsane-pixma.so.1.0.19 /usr/lib/sane/libsane-
pixma.so.1.0.19.old
prompt%> sudo cp libsane-pixma.so /usr/lib/sane/libsane-pixma.so.1.0.19
prompt%> sudo apt-get install xsane
Step6: Run XSane
Click Applications->Graphics->XSane Image Scanner and scan away.
Enjoy!
References:
link1
Monday, May 26, 2008
Sunday, May 25, 2008
How to enable vim syntax highlighting on ubuntu 8.04
Problem:
vim has no syntax highlighting on ubuntu 8.04.
Additional symptoms:
Solution:
Step1: Install the full version of vim:
Step2-A: Edit system-wide settings to enable syntax highlighting.
Remove the double-quote on the "syntax on" line
OR
Step2-B: Make changes only for your account.
Remove the double-quote on the "syntax on" line
All done! Enjoy!
vim has no syntax highlighting on ubuntu 8.04.
Additional symptoms:
Error detected while processing /home/marky/.vimrc:
line 21:
E319: Sorry, the command is not available in this version: syntax enable
Press ENTER or type command to continue
Solution:
Step1: Install the full version of vim:
prompt%> sudo apt-get install vim-full
Step2-A: Edit system-wide settings to enable syntax highlighting.
prompt%> sudo vi /etc/vim/vimrc
Remove the double-quote on the "syntax on" line
" Vim5 and later versions support syntax highlighting. Uncommenting the next
" line enables syntax highlighting by default.
syntax on
OR
Step2-B: Make changes only for your account.
prompt%> cp /etc/vim/vimrc ~/.vimrc
prompt%> vi ~/.vimrc
Remove the double-quote on the "syntax on" line
" Vim5 and later versions support syntax highlighting. Uncommenting the next
" line enables syntax highlighting by default.
syntax on
All done! Enjoy!
Sunday, April 6, 2008
Dell System Restore (PC-Restore by Symantec)
This blog is really for me more than anybody else. It's where I write down things I frequently have to go back to. This one's for my Dell 700m laptop. The only thing I really want to note down is: CTRL-F11


Links:
http://www.goodells.net/dellrestore/fixes.htm
http://support.dell.com/support/topics/global.aspx/support/dsn/document?c=us&l=en&s=gen&docid=3E48AE3870775D64E040A68F5B2877D4&journalid=4A21D63B811197CBE040A68F27286213&Query=&SystemID=&ServiceTag=&contenttype=&os=&component=&lang=&doclang=&toggle=&dl=


Links:
http://www.goodells.net/dellrestore/fixes.htm
http://support.dell.com/support/topics/global.aspx/support/dsn/document?c=us&l=en&s=gen&docid=3E48AE3870775D64E040A68F5B2877D4&journalid=4A21D63B811197CBE040A68F27286213&Query=&SystemID=&ServiceTag=&contenttype=&os=&component=&lang=&doclang=&toggle=&dl=
Saturday, April 5, 2008
Camel Caps Title and Artist in iTunes
I DON'T LIKE ALL CAPS LIKE THIS. I prefer my music titles to: "Use Camel Caps". And I'm tired to renaming each of the 1000 Top Songs Of The 80's. Here is my solution:
1) Save the snippet below into: MarkyCamelCapsSelectedSongs.js
2) Open iTunes and select the songs you want to convert.
3) Double click MarkyCamelCapsSelectedSongs.js from explorer to run it.
You should see your selected songs get converted.
More Info here:
http://developer.apple.com/sdk/
http://www.nsc.ru/docs/ms/js/jstoc.htm
http://www.asp.dk/docs/jscript/jstutor.htm
Enjoy!
1) Save the snippet below into: MarkyCamelCapsSelectedSongs.js
// m_a_r_k_y@yahoo.com 2008-04-05 Initial
var iTunesApp = WScript.CreateObject("iTunes.Application");
var selectedTracks = iTunesApp.SelectedTracks;
var numTracks = selectedTracks.Count;
var ITTrackKindFile = 1;
while (numTracks > 0) {
var currTrack = selectedTracks .Item(numTracks);
// is this a file track?
if (currTrack.Kind == ITTrackKindFile) {
title = currTrack.Name;
artist = currTrack.Artist;
//WScript.Echo(convertToCamelCaps(title) + " : " + convertToCamelCaps(artist));
currTrack.Name = convertToCamelCaps(currTrack.Name);
currTrack.Artist = convertToCamelCaps(currTrack.Artist);
}
numTracks--;
}
// camelcaps string converter
function convertToCamelCaps(str) {
var tempArray = str.split(' ');
for (var i = 0; i < tempArray.length; i++) {
tempArray[i] = tempArray[i].charAt(0).toUpperCase() + tempArray[i].substring(1).toLowerCase();
}
return tempArray.join(' ');
}
2) Open iTunes and select the songs you want to convert.
3) Double click MarkyCamelCapsSelectedSongs.js from explorer to run it.
You should see your selected songs get converted.
More Info here:
http://developer.apple.com/sdk/
http://www.nsc.ru/docs/ms/js/jstoc.htm
http://www.asp.dk/docs/jscript/jstutor.htm
Enjoy!
Monday, March 31, 2008
Preserve MP3 Ratings across Windows Media Player (WMP) and Windows Explorer
This is how to preserve your MP3 ratings across Windows Media Player and Windows Explorer.
Step1: Add your MP3's into you library and add Star Ratings.

Step2: Check "Maintain my star ratings as global ratings in files" in Preferences.

Step3: Tools->Apply Media Information Changes.

Step4: Look at your files in Windows Explorer.

I hope this helps. Enjoy!
Step1: Add your MP3's into you library and add Star Ratings.
Step2: Check "Maintain my star ratings as global ratings in files" in Preferences.
Step3: Tools->Apply Media Information Changes.
Step4: Look at your files in Windows Explorer.
I hope this helps. Enjoy!
Wednesday, March 26, 2008
Color Management in Windows Vista
Here is a configuration that gives consistent colors in:
* Canon Digital Photo Professional
* Adobe Lightoom
* Adobe Photoshop CS2.
* Firefox 3 (new)
I'm not sure if it's all correct. But its something that seems to work for me.
Procedure:
Step 1: Disable Adobe Gamma Loader.
Step 2:
Run Windows "Color Management" application.

Set the System Default by going to the "Advanced" tab, and clicking "Change System Default". Then set the following settings below.
Step 3: Set the user color management.
To enable color management in Firefox 3, see my other post
How to enable color profiles & color management in Firefox 3
I hope this helps! Let me know if you other suggestions.
Thanks! Enjoy!
* Canon Digital Photo Professional
* Adobe Lightoom
* Adobe Photoshop CS2.
* Firefox 3 (new)
I'm not sure if it's all correct. But its something that seems to work for me.
Procedure:
Step 1: Disable Adobe Gamma Loader.
Step 2:
Run Windows "Color Management" application.
Set the System Default by going to the "Advanced" tab, and clicking "Change System Default". Then set the following settings below.
Step 3: Set the user color management.
To enable color management in Firefox 3, see my other post
How to enable color profiles & color management in Firefox 3
I hope this helps! Let me know if you other suggestions.
Thanks! Enjoy!
Tuesday, March 25, 2008
Overclock the Q6600 on P5K-E Wifi/AP and Corsair DDR2 800
Hardware:
CPU: Q6600 2.4Ghz
Memory: AData 2x1GB DDR2, Corsair 2x2GB DDR2 5-5-5-15
Motherboard: Asus P5K-E Wifi/AP
CPU Cooler: Coolermaster Hyper TX 775
Max overclock achieved:
3.2GHz
CPU Multiplier: 8x
FSB: 356MHz
DRAM freq: 800MHz
Problem: System hit 75ÂșC as soon as I started the test.
Safe overclock:
2.6GHz
CPU Multiplier: 9x
FSB: 288MHz
FSB strap to north bridge: 266MHz
DRAM freq: 864MHz

For the best article I found for overclocking, click here.
CPU: Q6600 2.4Ghz
Memory: AData 2x1GB DDR2, Corsair 2x2GB DDR2 5-5-5-15
Motherboard: Asus P5K-E Wifi/AP
CPU Cooler: Coolermaster Hyper TX 775
Max overclock achieved:
3.2GHz
CPU Multiplier: 8x
FSB: 356MHz
DRAM freq: 800MHz
Problem: System hit 75ÂșC as soon as I started the test.
Safe overclock:
2.6GHz
CPU Multiplier: 9x
FSB: 288MHz
FSB strap to north bridge: 266MHz
DRAM freq: 864MHz
For the best article I found for overclocking, click here.
Subscribe to:
Posts (Atom)