Printer sharing with Windows

Questions about cabled networking
Forum rules
Before you post please read how to get help
Post Reply
User avatar
osmanmohamed
Level 1
Level 1
Posts: 4
Joined: Sat Mar 31, 2007 12:19 pm

Printer sharing with Windows

Post by osmanmohamed »

Hi guys

I have finally succeeded in operating my printer on Mint, and now i would like to share it with other users on the network, (mainly windows)

how can i do that , i tried looking in the printer setup window, and couldn't find how, please help me !! :?

User avatar
Boo
Level 7
Level 7
Posts: 1634
Joined: Mon Mar 26, 2007 7:48 am

Post by Boo »

You can share out the printer using SAMBA.
the samba config file is /etc/samba/smb.conf.
It has lots of comments in it and printer setup section.
Or google a samba printer setup/howto.
:)
Image
Now where was i going? Oh yes, crazy!

cogDis
Level 1
Level 1
Posts: 37
Joined: Tue Jan 23, 2007 7:17 pm

Post by cogDis »

I do it without samba. Seems to speed up printing from windows clients, in my experience anyway.

Here's how:

From the printing control dialog ( System-> Administration), highlight your printer and select "Share Printer" from the Global settings menu. This will open port 631 (Cups) to receive communication from the outside.

Then on your windows clients:
1) Control Panel > Printers and Faxes > Add Printer > Network Printer
2) Enter the url as http://the-IP-address-of-your-mintbox:6 ... rintername

For example, if your IP address is 192.168.0.1 and your printer name is epson, then the the url would read:
http://192.168.0.1:631/printers/epson

If you are getting your ip address via DHCP it is possible that you may get a different address each time you connect, dependent upon the order in which you bring up the various machines on your network. If this is the case, then you would need to set your router to reserve a specific ip address for your mint box.

Hope this helps.

CD

Edited 4-18-07
Here's a link with slightly more detailed instructions and a reference to Vista.
http://searchenterpriselinux.techtarget ... 51,00.html
Last edited by cogDis on Wed Apr 18, 2007 10:39 am, edited 1 time in total.

NiksaVel
Level 5
Level 5
Posts: 771
Joined: Wed Feb 28, 2007 4:06 am
Location: Croatia
Contact:

Post by NiksaVel »

I do it without samba. Seems to speed up printing from windows clients, in my experience anyway.

Here's how:

From the printing control dialog ( System-> Administration), highlight your printer and select "Share Printer" from the Global settings menu. This will open port 631 (Cups) to receive communication from the outside.

Then on your windows clients:
1) Control Panel > Printers and Faxes > Add Printer > Network Printer
2) Enter the url as http://the-IP-address-of-your-mintbox:6 ... rintername

For example, if your IP address is 192.168.0.1 and your printer name is epson, then the the url would read:
http://192.168.0.1:631/printers/epson

If you are getting your ip address via DHCP it is possible that you may get a different address each time you connect, dependent upon the order in which you bring up the various machines on your network. If this is the case, then you would need to set your router to reserve a specific ip address for your mint box.

Hope this helps.

CD

first time I heard about this way of doing things... if some1 can confirm it works than we should add it to the wiki

User avatar
Boo
Level 7
Level 7
Posts: 1634
Joined: Mon Mar 26, 2007 7:48 am

Post by Boo »

yes that is the easier way to use CUPS.
cups admin is on port 631 via web admin.
cups uses IPP (internet printing protocol) for communication.
A menu item that is really a webpage link to CUPS admin would be cool.
:)
Image
Now where was i going? Oh yes, crazy!

Lordnielson
Level 1
Level 1
Posts: 4
Joined: Wed Apr 11, 2007 5:14 am

what if i have to give a password and code to my printer?

Post by Lordnielson »

Hi

i have configured my lan printer witch by the way is a Konica Minolta C250 but i cant print out because i have to give a password and code.

How do i doo that ?

User avatar
mbrown
Level 1
Level 1
Posts: 14
Joined: Thu Mar 22, 2007 4:08 am
Location: Calgary AB
Contact:

Post by mbrown »

NiksaVel wrote:
I do it without samba. Seems to speed up printing from windows clients, in my experience anyway.

Here's how:

From the printing control dialog ( System-> Administration), highlight your printer and select "Share Printer" from the Global settings menu. This will open port 631 (Cups) to receive communication from the outside.

Then on your windows clients:
1) Control Panel > Printers and Faxes > Add Printer > Network Printer
2) Enter the url as http://the-IP-address-of-your-mintbox:6 ... rintername

For example, if your IP address is 192.168.0.1 and your printer name is epson, then the the url would read:
http://192.168.0.1:631/printers/epson

If you are getting your ip address via DHCP it is possible that you may get a different address each time you connect, dependent upon the order in which you bring up the various machines on your network. If this is the case, then you would need to set your router to reserve a specific ip address for your mint box.

Hope this helps.

CD

first time I heard about this way of doing things... if some1 can confirm it works than we should add it to the wiki
I've done this on Ubuntu for a year or so now. Works like a charm :)

User avatar
Subito Piano
Level 1
Level 1
Posts: 30
Joined: Fri Jun 05, 2009 4:36 pm
Location: UPSTATE New York
Contact:

Re: Printer sharing with Windows

Post by Subito Piano »

Here's the method to print from Windows to Linux that i used -- in case anyone following this thread has no luck with the other methods on this post:

With Samba installed on the Linux Mint computer and having both the Mint computer and the Windows computer both part of the same workgroup, share the printer on the Mint computer as described earlier in this post, then:

Printers and Faxes>Add a printer>A network printer, or a printer attached to another computer>Connect to a printer on the Internet or on a home or office network -- type in
"http:COMPUTER_NAME:631/printers/NAME_OF_PRINTER" (without the quotes, of course)
where "COMPUTER_NAME" is the name you gave to your Mint computer and
"NAME_OF_PRINTER" is the name you gave your printer when you installed it on the Mint computer.

This is the procedure i used for Mint Linux printing from Windows XP. FYI, it's a printer attached to the printer port on the Mint machine, not usb, but the process should still be the same. Hopefully, if you have Vista or Win 7, you can figure it how to install it from these directions.

It seemed to take me forever to realize that "name of host" or "host computer" meant simply the name you give your computer that is attached to the printer. (OK, i'm slow!!)

altair4
Level 19
Level 19
Posts: 9844
Joined: Tue Feb 03, 2009 10:27 am

Re: Printer sharing with Windows

Post by altair4 »

How-to: Network Printer Sharing: http://forums.linuxmint.com/viewtopic.php?f=42&t=28397

NOTE: As it will be explained in the above howto, the Mint printer will have to be "Shared" and "Published".
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.

Post Reply

Return to “Ethernet”