LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-25-2008, 12:11 PM   #1
BULPulse
Member
 
Registered: Nov 2007
Location: UK
Distribution: Slackware 13
Posts: 60

Rep: Reputation: 15
Virtual Box + Printer Help!!!!


I switched from Vista to Slackware 12.0 a few months ago and loved every minute of it, but i never found a way to use my Dell 922 AIO Printer. I tried using CUPS but they didn't have drive for it. Then I tried using Virtual Box but it seems that when I try to install the driver it can't pick it up that it is connected??? I am using XP pro on Virtual box and Virtual Box picks it up that it is connected as you can see here http://i258.photobucket.com/albums/h.../snapshot7.png
Can you help me solving the problem or suggesting another way to use my Printer

BTW if you know driver that will work with this printer please say so.

Last edited by BULPulse; 02-25-2008 at 01:58 PM.
 
Old 02-25-2008, 10:47 PM   #2
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
I would also be interested in a solution using VirtualBox (stupid Lexmark...), so if anyone has any suggestions I'd love to hear them (same problem as BULPulse -- it isn't detected in Windows within VirtualBox but is detected by VirtualBox). However, if someone finds a way to get BULPulse's Dell printer working natively in Linux instead of through VirtualBox you can safely ignore my post (it's not that important for me and I don't want to hijack the thread).
 
Old 02-26-2008, 04:34 AM   #3
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
I'm wondering if this is possible even theoretically. To use a VM to run a printer which isn't supported by the host OS, or to use wine for this ? Unfortunately, I don't think there's any solution, I know I've looked for one for a long time. So, I'd also be interested if anyone actually has a solution ... other than throwing the printer out the window and buying a newer better one (which is what I did, I didn't really throw it out the window, I put it in the attic, maybe it'll be supported well one day).

Last edited by H_TeXMeX_H; 02-26-2008 at 04:36 AM.
 
Old 02-26-2008, 06:14 AM   #4
phantom_cyph
Senior Member
 
Registered: Feb 2007
Location: The Tropics
Distribution: Slackware & Derivatives
Posts: 2,472
Blog Entries: 1

Rep: Reputation: 128Reputation: 128
Yah...this doesn't look so good for you.
 
Old 02-26-2008, 07:41 AM   #5
BULPulse
Member
 
Registered: Nov 2007
Location: UK
Distribution: Slackware 13
Posts: 60

Original Poster
Rep: Reputation: 15
From what I found so far people have made these printers to work some in VM and some using CUPS but I can't so far anyway the driver for Lexmark z600 will work for Dell 922 AIO (and many other Dell/Lexmark printers) but the drivers are for RedHat and i don't know how i can make them work for Slackware?? any suggestions??
 
Old 02-26-2008, 01:03 PM   #6
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
You can convert the RPMs to Slackware installable tgz packages using alien (and others, but this one is best). So, if you know whatever drivers you have will work, then convert and install the RPMs, and report back with problems you have.
 
Old 02-26-2008, 01:16 PM   #7
phantom_cyph
Senior Member
 
Registered: Feb 2007
Location: The Tropics
Distribution: Slackware & Derivatives
Posts: 2,472
Blog Entries: 1

Rep: Reputation: 128Reputation: 128
Quote:
Originally Posted by H_TeXMeX_H View Post
You can convert the RPMs to Slackware installable tgz packages using alien (and others, but this one is best). So, if you know whatever drivers you have will work, then convert and install the RPMs, and report back with problems you have.
There aren't any. No rpms, debs, bins, tgzs, nothing. It says on the site they don't support linux.
 
Old 02-26-2008, 01:42 PM   #8
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Quote:
Originally Posted by BULPulse View Post
anyway the driver for Lexmark z600 will work for Dell 922 AIO (and many other Dell/Lexmark printers) but the drivers are for RedHat and i don't know how i can make them work for Slackware?? any suggestions??
If the driver for z600 will work, have you tried installing it ?
Like it says here:
http://openprinting.org/show_printer...rk-Z600_Series
 
Old 02-27-2008, 03:53 PM   #9
BULPulse
Member
 
Registered: Nov 2007
Location: UK
Distribution: Slackware 13
Posts: 60

Original Poster
Rep: Reputation: 15
I will try it as soon as i get some free time
 
Old 03-01-2008, 09:48 AM   #10
BULPulse
Member
 
Registered: Nov 2007
Location: UK
Distribution: Slackware 13
Posts: 60

Original Poster
Rep: Reputation: 15
Well i tried it but all it did was to load paper so not what i had in mind but at least it did something, i don't know why it didn't work but some claim that it works for them. Maybe i didn't do something so if someone else tried it it might work for them. Thats all i can say
 
Old 03-01-2008, 10:42 AM   #11
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Well, that's definitely a good sign, that means some communication is happening between the printer and drivers. How did you try printing ? Have you tried using 'lp' or 'lpr' to print a file ? Maybe even try it as root.
 
Old 03-01-2008, 12:46 PM   #12
BULPulse
Member
 
Registered: Nov 2007
Location: UK
Distribution: Slackware 13
Posts: 60

Original Poster
Rep: Reputation: 15
I am still learning to use Slackware as this is my first experience of Linux and i don't know what you just said but the way i tried to print a page was going to localhost:631 and clicking on print test page.
 
Old 03-16-2008, 02:08 PM   #13
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
I successfully got my (Lexmark) USB printer working in Windows 2000 running in VirtualBox. Nifty, now it's no longer a complete paperweight.

I had to add the following line to my /etc/fstab:
Code:
none             /proc/bus/usb    usbfs       devgid=106,devmode=664 0 0
devgid=106 corresponds to the group "vboxusers" (which I think was automatically created by VirtualBox), and therefore only users in that group can print. You can of course create a new group (called "usbusers" or some such thing, or use the plugdev group) and use that (any group containing your user will do, but make sure it excludes users you don't want printing from VirtualBox). To find the group id, check the number beside the appropriate group in /etc/group. MAKE SURE to change this value to the appropriate one, since the group ids in your system will be different than mine.

Before I did this, my printer was listed if I right-clicked on the USB icon in the statusbar in VirtualBox, but was grayed out. Now, it's actually clickable. I installed the printer using the Lexmark drivers (though you should use whatever drivers you would use on Windows appropriate for your printer) and it works perfectly. Unfortunately for me I had to replace the ink cartridges because I had left the (unusable) printer dormant ever since installing Linux and they had dried up, but it is now working nonetheless. The "Add Hardware Wizard" couldn't find the appropriate drivers (because Lexmark ships their drivers separately) and I couldn't find the CD, so I just downloaded them from their website -- you should be able to do the same for any printer brand.

Note that before you boot into VirtualBox you may have to add the USB printer's info in the USB Settings dialog (while the guest OS is NOT running) -- you can get that info from running `VBoxManage list usbhost` (as root?).

If you need more help (or a better explanation) just ask.
 
Old 03-18-2008, 06:56 PM   #14
BULPulse
Member
 
Registered: Nov 2007
Location: UK
Distribution: Slackware 13
Posts: 60

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by T3slider View Post
I successfully got my (Lexmark) USB printer working in Windows 2000 running in VirtualBox. Nifty, now it's no longer a complete paperweight.

I had to add the following line to my /etc/fstab:
Code:
none             /proc/bus/usb    usbfs       devgid=106,devmode=664 0 0
devgid=106 corresponds to the group "vboxusers" (which I think was automatically created by VirtualBox), and therefore only users in that group can print. You can of course create a new group (called "usbusers" or some such thing, or use the plugdev group) and use that (any group containing your user will do, but make sure it excludes users you don't want printing from VirtualBox). To find the group id, check the number beside the appropriate group in /etc/group. MAKE SURE to change this value to the appropriate one, since the group ids in your system will be different than mine.

Before I did this, my printer was listed if I right-clicked on the USB icon in the statusbar in VirtualBox, but was grayed out. Now, it's actually clickable. I installed the printer using the Lexmark drivers (though you should use whatever drivers you would use on Windows appropriate for your printer) and it works perfectly. Unfortunately for me I had to replace the ink cartridges because I had left the (unusable) printer dormant ever since installing Linux and they had dried up, but it is now working nonetheless. The "Add Hardware Wizard" couldn't find the appropriate drivers (because Lexmark ships their drivers separately) and I couldn't find the CD, so I just downloaded them from their website -- you should be able to do the same for any printer brand.

Note that before you boot into VirtualBox you may have to add the USB printer's info in the USB Settings dialog (while the guest OS is NOT running) -- you can get that info from running `VBoxManage list usbhost` (as root?).

If you need more help (or a better explanation) just ask.
What is the model of the printer?
 
Old 03-18-2008, 07:03 PM   #15
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
It's a Lexmark Z23 (it has just about the crappiest Linux drivers in the world, which would only print one page at a time [ie I'd have to restart the print job for each page] in black and white only). http://openprinting.org/show_printer...um=Lexmark-Z23 lists it as a paperweight.

The procedure should work for any printer though (ie it will allow you to install the printer just as you would in native Windows). I have another (network) printer, but it's more of a hassle to print with (it's nowhere near my computer and I have to go get the prints), but now if I need to print something out I can start up VirtualBox (if not already started) and print through my printer, which is located right next to my PC. Very convenient. And, since I often use MS Word under VirtualBox (and sometimes under WINE, depending on the complexity of the document), VirtualBox would already be open and I could just click the "Print" button. Very nice.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
virtual box alf_frommars Ubuntu 6 08-14-2007 08:30 AM
Virtual Box. Removing a shared folder inside virtual xp. glore2002 Linux - Software 2 05-20-2007 11:12 AM
Virtual Printer / CUPS-PDF Printer Issue in SuSE 10 jlstratton42 SUSE / openSUSE 0 12-21-2005 11:04 AM
Cannot see my Win XP SP2 box with shared printer from my SUSE Pro 9.3 box thorlin Linux - Networking 3 09-11-2005 01:16 PM
How do I get my Suse 9.1 box to print to the printer attached to my Win XP box? PadreFabuloso Linux - Newbie 2 06-23-2005 04:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration