Do you know of a tutorial for how to print from Linux (Centos6) to a Windows Home connected USB printer?
PRINTER: HP Laserjet connected by USB to Windows XP Home Dell PC WINDOWS: Wired to router, WinXP Home, file & printer sharing is on LINUX: Centos 6 (new to Linux so maybe the solution is there already?) NETWORK: Standard home broadband wireless router setup
Request: Is there freeware that will allow me to print, from the Centos 6 laptop, wirelessly to the printer connected by USB to the Windows XP Home computer?
Currently I'm using sneakernet (which, I admit, stinks).
From the little I understand of putting it "on the cloud", I'm just doing a fancier more persistent sneakernet.
Placing my documents on the net is NOT what I want; I simply want a printout from a Linux machine to a printer connected by USB cable to a networked Windows Home XP machine.
There 'must' be freely available software to do that. Right?
On Wed, 07 Nov 2012 10:37:17 -0500, Mark Warner replied:
Good news! I have cups.
This is what showed in my browser on Centos 6: CUPS 1.4.2 CUPS is the standards-based, open source printing system developed by Apple Inc. for Mac OS® X and other UNIX®-like operating systems.
I don't have a samba executable: $ which samba (returned nothing)
But, I do seem to have samba 'things': $ locate samba ... /etc/samba/smb.conf /usr/lib64/samba /usr/share/doc/man-pages-overrides-6.3.3/samba ... etc.
I suspect this is a key samba file: $ cat /etc/samba/smb.conf ... [printers] comment = All Printers path = /var/spool/samba browseable = no guest ok = no writable = no printable = yes ... etc.
So, I guess I need to learn what "cups" does and what "samba" does on Centos 6 so that I can print to a printer connected by USB to a Windows XP Home PC.
One thing I don't know how to do that may be related is to simply 'see' any shares on the Windows XP Home laptop - which I don't know how to do yet.
On Wed, 07 Nov 2012 11:16:09 -0500, Mark Warner replied:
CentOS is pretty spartan when it comes to installing typical home applications - but it seems to be robust otherwise.
If what I need to do is learn CUPS and SAMBA, the good news is that both Linux freeware programs seem to be installed, by default:
$ firefox http://localhost:631 (reported: CUPS version 1.4.2) $ smbclient --version (reported: Version 3.5.10-125.el6)
If someone could just outline the printing sequence, that would help me understand what I need to learn.
This is what I "THINK" the sequence is:
On WinXP HOME, I 'share' the USB-connected printer (e.g., "my printer")
On Centos SAMBA, I (somehow) recognize that printer over my intranet
On Centos CUPS, I print a file to 'that' networked printer
Using the "locate" command (i.e., locate samba & locate cups), I see samba has /etc/samba/smb.conf file and cups has /etc/cups/cupsd.conf so I assume they are the configuration files I'll need to modify.
I wonder: Since what I want appears to be the most basic home network printing need, is there a good step-by-step tutorial already out there that you may know of that goes from Linux to Windows using cups & samba?
On Wed, 07 Nov 2012 11:16:09 -0500, Mark Warner replied:
CentOS is pretty spartan when it comes to installing typical home applications - but it seems to be robust otherwise.
If what I need to do is learn CUPS and SAMBA, the good news is that both Linux freeware programs seem to be installed, by default:
$ firefox http://localhost:631 (reported: CUPS version 1.4.2) $ smbclient --version (reported: Version 3.5.10-125.el6)
If someone could just outline the printing sequence, that would help me understand what I need to learn.
This is what I "THINK" the sequence is:
On WinXP HOME, I 'share' the USB-connected printer (e.g., "my printer")
On Centos SAMBA, I (somehow) recognize that printer over my intranet
On Centos CUPS, I print a file to 'that' networked printer
Using the "locate" command (i.e., locate samba & locate cups), I see samba has /etc/samba/smb.conf file and cups has /etc/cups/cupsd.conf so I assume they are the configuration files I'll need to modify.
I wonder: Since what I want appears to be the most basic home network printing need, is there a good step-by-step tutorial already out there that you may know of that goes from Linux to Windows using cups & samba?
On Wed, 07 Nov 2012 11:16:09 -0500, Mark Warner replied:
CentOS is pretty spartan when it comes to installing typical home applications - but it seems to be robust otherwise.
If what I need to do is learn CUPS and SAMBA, the good news is that both Linux freeware programs seem to be installed, by default:
$ firefox http://localhost:631 (reported: CUPS version 1.4.2) $ smbclient --version (reported: Version 3.5.10-125.el6)
If someone could just outline the printing sequence, that would help me understand what I need to learn.
This is what I "THINK" the sequence is:
On WinXP HOME, I 'share' the USB-connected printer (e.g., "my printer")
On Centos SAMBA, I (somehow) recognize that printer over my intranet
On Centos CUPS, I print a file to 'that' networked printer
Using the "locate" command (i.e., locate samba & locate cups), I see samba has /etc/samba/smb.conf file and cups has /etc/cups/cupsd.conf so I assume they are the configuration files I'll need to modify.
I wonder: Since what I want appears to be the most basic home network printing need, is there a good step-by-step tutorial already out there that you may know of that goes from Linux to Windows using cups & samba?
I set mine up ages ago, can't really remember the details, except it took about 10 minutes. Make sure the windows is sharing the printer, or Linux will not find it. Depending on the printer, you might have to download a "driver" for it. I did, for my old Samsung laser. Cups and Samba also needs to be installed. This will probably help:
formatting link
[]'s
-- Don't be evil - Google 2004 We have a new policy - Google 2012
On Windows XP HOME, you have to set up file & printer sharing & share the printer making note of the machine name, the workgroup (whatever that is), and the printer name.
On Centos 6, you must open up the firewall to Samba traffic. System > Administration > Firewall & open up [x]Samba & [x]Samba Client
On Centos 6, you then create a new printer. System > Administration > Printing and selected Server > New > Printer
Then you select your Windows printer on the network: Devices > Network Printer > Windows Printer via SAMBA > Browse... (at this point you select the printer which fills out the URL below) smb://workgroupname/winxppcname/printername
Now add the driver on Centos for that type of printer: Choose Driver > printer_brand > printer_model > driver_type
Print a test page and make the new printer the default printer by right clicking on the printer in the Samba SMB browser.
Cabling-Design.com Forums website is not affiliated with any of the manufacturers or service providers discussed here.
All logos and trade names are the property of their respective owners.