Can't print from VISTA Machine

Can't print from VISTA Machine

Postby brogers » Mar 29th, '13, 15:23

Hello

I am trying to set my Mangeia machine up as [almong others] a print server. As such I have installed and configured CUPS and SAMBA.

I am able to print from:
  • My personal PC running Win7 under my id [brent]
  • My personal PC running Win7 under my wifte's id [rosie]
  • My Work PC running Win7 under my id [brogrers] but i am connecting as brent

However i cannot seem to be able to connect to the printer from my wife's machine running VISTA under her id [rosie].
I am however able to browse to SAMBA Shares on my server from her pc under her id.

Is there some setting on her machine or the server that I need to make?
brogers
 
Posts: 35
Joined: Mar 1st, '13, 15:04

Re: Can't print from VISTA Machine

Postby oj » Mar 30th, '13, 22:53

Have you tried with the vista's firewall off?
oj
 
Posts: 232
Joined: Aug 23rd, '12, 00:22

Re: Can't print from VISTA Machine

Postby brogers » Mar 31st, '13, 04:28

I doubt that that will be the issue.
I can print to my Win7 machine from the Vista machine -- unless the firewall is that picky about a non MS server.
But I will check

...The VISTA firewall is disbled.
brogers
 
Posts: 35
Joined: Mar 1st, '13, 15:04

Re: Can't print from VISTA Machine

Postby JoesCat » Apr 20th, '13, 10:02

You shouldn't need to disable any firewalls. They are turned-on for good reason. Leave it on.

Since you indicate that Win7 is okay, then I'm guessing the Vista is running a home version instead of a business version.

Here's some tricks that help XP:
Put the Samba server on a static IP address that won't move. I've usually put it outside the dynamic range, so if the range is 100...254, then put the server on 99 or another static location.

This is mostly from memory for XP, and Vista probably has a different address
Open the program "Notepad" and then go into /windows/system32/drivers/etc and edit lmhosts by adding your Samba server to the list. Power-down and power-back up the vista computer with new settings.
In Mageia Samba settings, go into the printer tab and edit "All Printers", you will want "Browseable=yes", "Printable=yes" "Print command=lpr-cups -P %p -o raw %s -r #using client side printer drivers"
Note: anything after the # is a comment in the paragraph above.
Select the modify TAB and make your write list only available for your LAN, so if your LAN is 192.168.1.xxx, then you put only the first 3 values = 192.168.1.
Select "Guest ok"
Create mode 0700
Writable:yes
Browseable:yes
User avatar
JoesCat
 
Posts: 177
Joined: Sep 15th, '11, 04:27
Location: Richmond, BC, Canada

Re: Can't print from VISTA Machine

Postby JoesCat » Apr 20th, '13, 10:16

If you want to get into the details, the samba file is located in /etc/samba/smb.conf
On your samba server, you'll need to open the firewall for Samba (there should be a checkbox so you don't need to open all ports, which is a bad idea if you did) and I think it's going to be just ports 139 and 445... and your smb.conf file should have the hosts allow set only for your LAN so that you don't have external users attempting to get in.
It might have stuff like this mentioned in it. Take a look "after" you've used the Mageia control center to adjust it.

hosts allow = 192.168.0.0/24, 192.168.1.0/24, 127.0.0.1
hosts deny = 0.0.0.0/0

[homes]
comment = Home Directories
valid users = %S
read only = No
browseable = No

[printers]
comment = SMB Print Spool
path = /var/spool/samba
guest ok = Yes
printable = Yes
use client driver = Yes
default devmode = Yes
browseable = No
User avatar
JoesCat
 
Posts: 177
Joined: Sep 15th, '11, 04:27
Location: Richmond, BC, Canada


Return to Printers and Scanners

Who is online

Users browsing this forum: No registered users and 1 guest

cron