[cups] CUPS + SAMBA, cups windows print drivers missing

Jan Hubený hubeny at soma.cz
Thu Jan 7 23:45:27 PST 2016


Hi all,

I read all replies to my e-mail questions from Alex Korobkin, Helge 
Blischke and Michael Sweet.

The current situation is that I have already used the drivers suggested 
by Alex (from site eriegel.de) before I wrote the questions to the 
conference. I was interested, whether I used current drivers in my new 
CentOs 7 setup. The cups print server running on CentOS7 CUPS 1.6.3 and 
Samba 4.1.12. is now working, it is possible to print from Linux and 
Windows clients correctly. The windows clients are mostly Windows 7 x64 
professional. I used the deprecated setup (with cups-windows print 
driver) in detail described on

http://blog.realcomputerguy.com/2011/10/cups-samba-64bit-driver-installation.html

The reason why the new print server was not working from several windows 
stations was in the windows firewall settings. In our company we use 
different vlans for stations and servers.

stations 172.25.0.0/20
servers 172.25.32.0/23
the cups/samba server is in the servers vlan

The windows 7 clients need to add firewall rule

netsh advfirewall firewall add rule name="servers-subnet" dir=in 
action=allow remoteip=172.25.32.0/23 enable=yes 
profile=public,private,domain
netsh advfirewall firewall add rule name="servers-subnet" dir=out 
action=allow remoteip=172.25.32.0/23 enable=yes 
profile=public,private,domain

to have the CUPS/SAMBA print server correctly working with the windows 7 
client in different vlan.

This information may be usefull for someone else.

Jan Hubeny



Dne 7.1.2016 v 18:40 Helge Blischke napsal(a):
> Jan,
>
> if I remember correctly, the "cupsforwindows“ stuff has been tagged deprecated on the svn.easysw.com website
> near the end of the lifetime of this site.
> with the crash of that site the stuff still available has migrated to the new web site
> www.msweet.org  (which is Michael Sweet’s private site).
>
> together with the mentioned deprecation, it has been recommended to use the
> PSCRIPT5 driver and its companions (the pretended joint development of Microsoft and Adobe),
> which made the use of cupsaddsmb no longer necessary, though some of its features concerning
> job options were no longer available.
>
> I myself then developed a replacement for cupsaddsmb, cupsforwindows.pl, a Perl script accompanied by a set
> of additional files, including the (hopefully) latest versions of the CUPS6 files formerly available from the svn.easysw.com site.
>
> This package has been tested and frequently used up to and including Windows XP and Samba 2.2 and higher.
> It has not been used on Windows Vista and higher, but I think it should work with Windows 7.
>
> Let me know if you are interested.
>
> Helge
>
> PS: The documentation is currently only available in German.
>
>> Am 06.01.2016 um 22:35 schrieb Jan Hubený<hubeny at soma.cz>:
>>
>> Hi,
>>
>> we used cups print server together with samba. We used the cups windows postscript drivers in the way described for example here:
>>
>> http://blog.realcomputerguy.com/2011/10/cups-samba-64bit-driver-installation.html
>>
>> On our old CentOS 6 server this setup worked very well.
>>
>>
>> Now we upgrade the server to the CentOS 7. Cups version is 1.6.3 and Samba version is 4.1.12.  I try to found the cups postscript drivers for windows (x86 and amd64 versions) on the cups.org website as it is recommended in the man page of cupsaddsmb. However I cannot found the drivers on the site.
>>
>> The questions are:
>>
>> 1) Where can I found the current cups windows postscript drivers both for x86 and amd64 architectures?
>> 2) Is the CUPS + SAMBA integration using cups ps drivers currently deprecated?
>>
>>
>> Thank you,
>>
>> Jan Hubeny
>>
>>
>> __________ Information from ESET Mail Security, version of virus signature database 12829 (20160106) __________
>>
>> The message was checked by ESET Mail Security.
>> http://www.eset.com
>>
>>
>> _______________________________________________
>> cups mailing list
>> cups at cups.org
>> https://www.cups.org/mailman/listinfo/cups
> _______________________________________________
> cups mailing list
> cups at cups.org
> https://www.cups.org/mailman/listinfo/cups

-- 

*Jan Hubený*
IT oddělení

Tel: 	+420 465 350 915
E-mail: 	hubeny at soma.cz <mailto:hubeny at soma.cz>
Web: 	www.soma-eng.com

soma-eng <https://twitter.com/somaengineering> 		soma-eng 
<https://www.linkedin.com/company/645796> 		soma-eng 
<https://www.facebook.com/pages/Soma-Engineering/548015988543140> 	 
soma-eng <https://plus.google.com/100518973054531471594/posts> 	soma-eng




__________ Information from ESET Mail Security, version of virus signature database 12836 (20160108) __________

The message was checked by ESET Mail Security.
http://www.eset.com




More information about the cups mailing list