LinuxTent

  • rss
  • Home
  • About
  • Contact

Konica Minolta 7222 on Ubuntu,Linux

aboSamoor | May 27, 2009 | 9:32 am

The Linux driver for Konica Minolta 7222 is not working for me, when I send the test page it gives 32 garbage page.

To solve the problem, you can:

  1. Fix the konica driver ;)
  2. Install a virtual machine XP using virtualbox and connect it to the network printer using the windows driver. The printing process is slow according to the usage of the NAT service. To solve such low performance use Host adapter solution from virtualbox as a networking alternative to NAT service which asks you to make many changes including creating a new virtual bridge on your ubuntu host machine :), for more details read this tutorial. Eventually your new virtual XP machine will appear as a new machine in the LAN so you can order printing requests as any other XP machine. Anyway, it is not east task especially that my network has strict administration rules which does not allow giving an unauthenticated machines an IP address
  3. Use generic drivers. You can pick any one of many generic drivers available by default in ubuntu :):
    1. go to System/Administration/printing or run the following command
      system-config-printer
    2. Choose new printer, you will get this dialog after searching for available printers
    3. new-printer dialog

      new-printer dialog

    4. After choosing the IP address of your network printer, press forward to get the “choose driver” dialog.
    5. Choose Select Printer from database then for makes choose Generic. Press forward to get the following dialog
      Choose Driver dialog

      Choose Driver dialog

    6. Most of the models are working, for me PCL 5, PCL 5e and PCL 6/PCL XL work for normal printing orders, for both sides printing option only PCL6/PCL XL works, after choosing the model choose the driver the best to choose is the recommended one.
    7. After that you have to fill the name and description fields, and Yupeee you have a new printer.
    8. Try printing a test page by choosing prosperities from right click menu.
    9. Go to Settings/Tests and Maintenance. Press print test page.

Both Sides printing Option

As I said before this option is not working smoothly with all the generic drivers even it is available in most of them. For example, my network printer supports both sides option, the PCL 5 driver also give the option from the printer properties dialog but it is disabled in the evince printing dialog. Moreover, adding the both sides option to the lpr command did not work with the PCL 5 generic driver, choosing PCL6/PCL XL solved the probelm.

To check if your driver provides both sides option:

  1. Go to Your Printer Properties Dialog
  2. Choose Printer Options
  3. Go to Gutenprint Printer Features Common
  4. Change the default setting to whatever you want

Providing the option of both sides does not mean that it is guaranteed to work, so to test the option, open any pdf you have using evince, and try the printing dialog. Go to the page setup tab if the both sides option is enabled this means that it is working, if it is disabled try another generic driver.

You can pass the both sides option to the lpr command in this way:
$ lpr -P NameofYourPrinter -o InputSlot=Standard -o Resolution=FromPrintoutMode -o PageSize=A4 -o sides=two-sided-long-edge -o page-ranges=3-4 nameofthefile

Comments
No Comments »
Categories
Uncategorized
Tags
7222, double side, Konica, Minolta, print
Comments rss Comments rss
Trackback Trackback

Wikipedia to be printed

aboSamoor | May 14, 2009 | 3:01 pm

Once you have laser network printer without any upper limit, your appetite of reading will start to increase. Within one month my office converted to a mess of articles, papers, books, and problems. However, Wikipedia is still my favorite source of reading. In Wikipedia no more fear to read more about anything you want or you do not; everything is explained by clicking on the new term that frightened you. Wikiing becomes a trend which is being included in new and special gadgets like Kindle. Moreover, such luxury is not available everywhere and having Internet while you are in a bus is far from being achieved in the near future [at least in TRNC].

I searched for a long time for a solution to make Wikipedia printed articles more elegant and practical. For example, if you want to print the printable version of the USA article this will cost you 47 page ! Changing the printing font size in Firefox browser helps. However, the printed article structure is far from being elegant: you have many white space areas and a photo or table may occupy consecutive pages in ugly and scattered way.

Apparently, there is no available firefox addons that can change the style of wikipedia article to suitable format. I think CSS and the new web fonts can be in great help [I am not sure]. PediaPress made good efforts with Wikimedia to make a new extension that allow you to collect the articles you want to be printed in one pdf file. You can also order a printed copy from pediapress. This extension which is called [collection] or [wiki-to-print] is enabled in English Wikibooks, French, Polish, Dutch, Portuguese, Spanish, and Simple English wikipedias. According to scalability issues this extension is not available directly in English Wikipedia. You can use the extension in English Wikipedia in one of these ways:

  1. Collection extension is available to logged in users of English Wikiepedia. Using this solution:
    USA artcile printed in 44 pages with images in one column , the file size is 8 MB.
  2. Use the pedia button in the collection extension. Using this solution:
    USA article printed in 26 pages without images in one column. The file size is 581KB

Moreover, I found superior solution to print wikipedia articles. Prince provide neat conversion method for HTML, XML files that generates pdf files. The software is cross platform and has a cli. Running the following command generates a pdf file for the USA article in 28 pages with images in 2 columns. The file size is 1.3MB.

rami@rami-desktop:~$ prince --no-author-style
-s http://www.princexml.com/howcome2008/wikipedia/wiki2.css
http://en.wikipedia.org/wiki/Usa -o usa.pdf

I used the prince software to print the wikipedia article on Neural Networks. Once Shariq saw the output, he said it is like a conference paper. Mustafa replied that it is even in a better quality.

Comments
No Comments »
Categories
How to ?
Tags
prince, print, wikipedia
Comments rss Comments rss
Trackback Trackback

Skype on Ubuntu, “Call Failed: Problem with Audio Playback”

Mustafa | April 15, 2009 | 11:51 am

If you are getting this error “Call Failed: Problem with Audio Playback” every time you try to make a call with Skype, first check that your microphone is working properly, you can do that by going to the Sound Recorded in your menu, on Gnome, it is Application=>Sound and Video=> Sound Recorder.

If it is working fine and you are still getting the same error just remove pulseaudio,


sudo apt-get remove pulseaudio

I hope this solves the problem, it worked with me on three different machines with different hardware.

ENJOY!

Comments
No Comments »
Categories
Hints, How to ?
Tags
Audio Playback, pulseaudio, Skype
Comments rss Comments rss
Trackback Trackback

Format Partition or Flash Memory on Ubuntu

Mustafa | March 2, 2009 | 11:13 am

When you want to format a certain partition, first you need to know the label of the partition (for more information about this go here)

To that enter this command in your terminal,
df
under “Filesystem” you will find the label you want, and under “Mounted on” you will find the mounting point.
Now to format it you have to unmount it first :

sudo umount "Mount Point"

Then you can format it, there are different commands for formatting depending on which filesystem (FAT, Ext2,Ext3, Ext4, … etc) , for example lets say i want to format my flash memory stick which is under the filesystem label /dev/sdb1 , it is mounted on /media/disk, and I want to format it ext2 i will do this

sudo umount /media/disk
sudo mkfs.ext2 /dev/sdb1

ENJOY!

Comments
No Comments »
Categories
Hints, How to ?
Tags
format ubuntu, mkfs
Comments rss Comments rss
Trackback Trackback

USB Speakers Ubuntu

Mustafa | December 22, 2008 | 1:25 am

You probably noticed that USB speakers don’t work as soon as you plug them on Ubuntu, all what you have to do is to change the sound output device, on Ubuntu (Gnome Desktop) you can do that by going to the System=>Preferences=>Sound , then on “Music and Movies” choose the device which says USB. Click Test to test them.

ENJOY!

Comments
No Comments »
Categories
Hints
Tags
USB Speaker
Comments rss Comments rss
Trackback Trackback

linux msn messenger

MAJM | | 1:20 am

pidgin cant send wings and cant make an voice chat .
thats a proplem .
u can fix it by install amsn .
to install it write this command :
sudo apt-get install amsn

(havw fun0

Comments
2 Comments »
Categories
Uncategorized
Comments rss Comments rss
Trackback Trackback

Print .eps files in linux, ubuntu

aboSamoor | November 28, 2008 | 2:59 pm

Eps files are outdated formats, designed to be included in other ps or pdf files. However, printing such files will produce white pages to overcome this problem I find this solution.

printing normal documents from terminal
lpr filename -H printerServerIPAddress:printerServerPort

to be sure that you server is running a printer server

eid@eid-laptop:~/Desktop$ nmap eid-desktop
Starting Nmap 4.53 ( http://insecure.org ) at 2008-11-28 16:51 EET
Interesting ports on eid-desktop.lan (192.168.1.64):
Not shown: 1708 closed ports
PORT STATE SERVICE
22/tcp open ssh
80/tcp open http
139/tcp open netbios-ssn
445/tcp open microsoft-ds
631/tcp open ipp
5900/tcp open vnc
Nmap done: 1 IP address (1 host up) scanned in 0.083 seconds

you can note that printer server is running on port 631.

To print EPS file run this command

(cat file.eps; echo showpage) | lpr -H printerServerIPAddress:printerServerPort
in my case
(cat dsdv.eps; echo showpage) | lpr -H eid-desktop:631

Comments
No Comments »
Categories
How to ?
Tags
eps, nmap, printing, server
Comments rss Comments rss
Trackback Trackback

Missing icons in Matlab, Ubuntu, Linux

aboSamoor | October 24, 2008 | 12:06 pm

Running Matlab in linux is as easy as windows, but if you are running compiz you will miss the icons in matlab !!!
To solve that you have many options

Read the rest of this entry »

Comments
1 Comment »
Categories
How to ?
Tags
awt, gui, icons, linux, matlab, toolkit
Comments rss Comments rss
Trackback Trackback

Running Matlab without graphical interface

aboSamoor | | 11:39 am

As most of Linux Geeks terminal is the best place to play your code and ideas, today I tried to run Matlab without the GUI. It was working like charm :) You have to run

matlab -nodesktop

matlab in terminal

matlab in terminal

If you don’t have Matlab and you want to install it on Linux you can find the tutorial here

Comments
2 Comments »
Categories
Hints
Tags
matlab, no desktop, terminal
Comments rss Comments rss
Trackback Trackback

How to run KDE3.4 desktop on Cygwin

mohqas | October 22, 2008 | 1:01 pm

Cygwin is a POSIX emulator layer for windows, it can be very handy for running most of Linux useful tools !, I had a long struggle installing Linux on my machine because all my HDDs are dynamic! (which is a big pain in the ass, luckily Linux now support those drives) so I had to find an alternative, and that was Cygwin.
I used it to run some tools such as NS2 network emulator and SSH, I thought I’d take this a step further and run a Linux desktop on it to make it more user friendly, finding gnome libraries was a hopeless case ! so i went for KDE, and I thought sharing the experience would be useful for the fact that finding a way to do it was really annoying :S, so here you go, the steps:
Read the rest of this entry »

Comments
No Comments »
Categories
How to ?
Tags
3.4, cygwin, desktop, dynamic, hard disk, hdd, How to ?, KDE, linux, packages, problem, windows
Comments rss Comments rss
Trackback Trackback

« Previous Entries

Free News

Cloud without Rain

2.6.24 6 A100 ubuntu sound fix advanced alarm alias in .bashrc apt-get proxy archive bash bchunk bg bin iso image blogging boostlib browsers bugs charles commands ctrl z debugging desktop document freedom day dual hardy installation linux mathematica matlab monitoring newbie user packages performance print proxy on terminal root script shell system terminal ubuntu user vga ubuntu wikipedia windows xp Hints (24)
How to ? (32)
Reviews (2)
Uncategorized (12)

WP Cumulus Flash tag cloud by Roy Tanck requires Flash Player 9 or better.

Recent Posts

  • Konica Minolta 7222 on Ubuntu,Linux
  • Wikipedia to be printed
  • Skype on Ubuntu, “Call Failed: Problem with Audio Playback”
  • Format Partition or Flash Memory on Ubuntu
  • USB Speakers Ubuntu

Archives

  • May 2009 (2)
  • April 2009 (1)
  • March 2009 (1)
  • December 2008 (2)
  • November 2008 (1)
  • October 2008 (9)
  • June 2008 (2)
  • May 2008 (2)
  • April 2008 (2)
  • March 2008 (17)
  • February 2008 (1)
  • December 2007 (1)
  • November 2007 (3)
  • September 2007 (2)
  • August 2007 (11)
  • June 2007 (7)
rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox