Link to home
Create AccountLog in
Networking

Networking

--

Questions

--

Followers

Top Experts

Avatar of Gerson008
Gerson008🇦🇺

Setup windows network printer on linux
Is it possible to connect Linux machine to windows's network shared printer?
If so, how to do it?

Printer: I use Samsung SCX-4100, connect to win 2003 SBS server shared around my private network with other machines in XP OS.

Linux - Fedora 13, running on HP notebook 6730b.

Its very easy to shared amounts windows machine, but i have no idea as a linux newbie.

Zero AI Policy

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Avatar of JohnJohn🇨🇦

I think you can use Samba on Linux to share a printer, but I have only ever used Samba for file sharing and that was some time back.

Another approach is to use a print server. Those work really well and are quite easy to implement. You need a print server that offers a Linux port program for the Fedora box.

.... Thinkpads_User

Avatar of BlazBlaz🇸🇮

Samba (smb) is the utility to connect with windows networks for file sharing and printing.

Step by step instructions:
http://www.liberiangeek.net/2010/04/linux-beginner-how-to-print-from-a-shared-windows-printer-from-fedora/


Avatar of Gerson008Gerson008🇦🇺

ASKER

@Blaz - It sounded very easy, but its not as I couldn't find the Samba printer. Any reasons why?

In the "system-config-firewall", i have also selected both the samba and samba client in the firewall.
PrintSetupScreenshot.png

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


Avatar of JohnJohn🇨🇦

Here is an article on using the HP Jet Direct 170x Print Server from Linux (I use this print server with Windows):

http://www.linuxquestions.org/questions/debian-26/cups-hp-jetdirect-170x-376517/

Here is an article on the setup of a printer with Samba:

http://www.linuxforums.org/articles/howto-fileserver-with-samba-and-printserver-with-cups_52.html

I hope that assists, and perhaps Blaz will assist as well. ... Thinkpads_User

Avatar of BlazBlaz🇸🇮

Do you have samba package installed?

in terminal write:
yum info samba

Avatar of Gerson008Gerson008🇦🇺

ASKER

@Blaz, I believe i did, cause it does load the services. Maybe i need  to adjust smb.conf?

[jlai@hp-notebook-linux ~]$ testparm /etc/samba/smb.conf
Load smb config files from /etc/samba/smb.conf
rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
Processing section "[homes]"
Processing section "[printers]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
      workgroup = MYGROUP
      server string = Samba Server Version %v
      log file = /var/log/samba/log.%m
      max log size = 50
      cups options = raw

[homes]
      comment = Home Directories
      read only = No
      browseable = No

[printers]
      comment = All Printers
      path = /var/spool/samba
      printable = Yes
      browseable = No
[jlai@hp-notebook-linux ~]$

Free T-shirt

Get a FREE t-shirt when you ask your first question.

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Avatar of BlazBlaz🇸🇮

Please see that the following packages are installed:
samba
samba-client
libsmbclient
system-config-printer

http://www.fedoraforum.org/forum/showthread.php?t=227937&page=1

Avatar of Gerson008Gerson008🇦🇺

ASKER

@Blaz, i think we getting there! I don't think i have samba-client installed....i couldn't find it!

So i tried yum install command, and expect the thing whole samba package re-install but still no help....How can i verified whether i have the files for smbclient? Which directories stored those files?

ASKER CERTIFIED SOLUTION
Avatar of BlazBlaz🇸🇮

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Create Account

Avatar of Gerson008Gerson008🇦🇺

ASKER

YEP...it is the smb-client, the hard part about linux is information all over the place!

Thanks, i installed it and it can found it, and it did warm up the printer.. however it's not printing.
I suspect it maybe driver settings.....i guess this is closed.

Final note:
- You can also installed smb-client from the install CD, however Fedora install CD comes with samba V3.5.2, where as i already have samba-common 3.5.5 installed and hence there was a conflict. Hence at the end i used YUM install

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


Avatar of Gerson008Gerson008🇦🇺

ASKER

The reason is because smb-client was installed and it was a separate packages....the problem and difficulties with linux installation for NEWBIES is that they are all over the place. But i'm happy with the results, it is SOLVED!!

Avatar of BlazBlaz🇸🇮

You may have to deal with permissions on the windows server - so that "Everyone" can print to in and not only domain users or something similar

Avatar of Gerson008Gerson008🇦🇺

ASKER

UPDATE - GOT IT ALL WORKING using shared printer with Samsung SCX-4100, the trick is also install linux driver (i.e. PPD file). Initially i used a generic printer driver, that's why it didn't work. Don't think the scanner over network will ever worked because it never did with windows.

Free T-shirt

Get a FREE t-shirt when you ask your first question.

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.

Networking

Networking

--

Questions

--

Followers

Top Experts

Networking is the process of connecting computing devices, peripherals and terminals together through a system that uses wiring, cabling or radio waves that enable their users to communicate, share information and interact over distances. Often associated are issues regarding operating systems, hardware and equipment, cloud and virtual networking, protocols, architecture, storage and management.