Printing on printer connected to Windows 7 machine

Printing on printer connected to Windows 7 machine

Postby bertaerts » Oct 9th, '11, 20:40

After google-ing on this topic, I could find the steps needed.
I configured my firewall "advanced" with 137/udp 138/udp 139/tcp 445/tcp
Next time I opened the firewall settings, there was "Windows File Sharing (SMB)" listed in the services.
Why was it not present from the start?
I then configured my Epson printer connected via USB to my Windows 7 desktop PC.
Mageia Control Center / Hardware / Setup the printer(s)
Add / Windows printer via SAMBA
smb://workgroup/HPE120BE/EPSON
authentication details : login and password of this computer.

This worked just fine.

BUT sometimes printing doesn't work. In the same session or after reboot.
If I disable the firewall completely then it works again.

I tried to manually check the firewall config, which seems correct.
[root@Dell1720Mageia1 shorewall]# pwd
/etc/shorewall
[root@Dell1720Mageia1 shorewall]# cat rules.drakx --> after advanced config in firewall
ACCEPT net fw udp 137,138 -
ACCEPT net fw tcp 6881:6999,139,445 -
[root@Dell1720Mageia1 shorewall]# cat rules.drakx --> after "Windows File Sharing (SMB)" in firewall selected
ACCEPT net fw udp 137,138,139,445,1024:1100 -
ACCEPT net fw tcp 137,138,139,445,1024:1100,6881:6999 -

What else can I check?
bertaerts
 
Posts: 181
Joined: Apr 6th, '11, 12:19

Re: Printing on printer connected to Windows 7 machine

Postby bertaerts » Oct 11th, '11, 22:02

It seems to always work when I use a fixed ip address:
smb://workgroup/192.168.1.3/EPSON
bertaerts
 
Posts: 181
Joined: Apr 6th, '11, 12:19


Return to Printers and Scanners

Who is online

Users browsing this forum: No registered users and 1 guest