Date: Tue, 27 Oct 2009 18:54:47 +0100 From: Marcin Wisnicki <mwisnicki+freebsd@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: tomasv@megalogika.lt Subject: ports/140022: [PATCH] print/cups-samba: correct installation instructions Message-ID: <4ae733e9.0f1abc0a.5d90.0b5f@mx.google.com> Resent-Message-ID: <200910271800.n9RI0Am7089956@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 140022 >Category: ports >Synopsis: [PATCH] print/cups-samba: correct installation instructions >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Oct 27 18:00:10 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Marcin Wisnicki >Release: FreeBSD 7.2-STABLE i386 >Organization: >Environment: System: FreeBSD ghost.pnet.one.pl 7.2-STABLE FreeBSD 7.2-STABLE #3: Sat Oct 17 20:50:32 CEST 2009 >Description: Instructions contained in pkg-message were incomplete. 1. Remove information about mime.* files - they are only needed for client-side vendor drivers. This generic Postscript driver works fine without changes to CUPS configuration. 2. Include instruction to copy MS-Windows files. 3. Add a note about 64bit clients and later Samba versions. Verified with Samba-3.0.37 and MS WindowsXP SP3 32bit client. Port maintainer (tomasv@megalogika.lt) is cc'd. Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- cups-samba-6.0_2.patch begins here --- diff -ruN --exclude=CVS /usr/ports/print/cups-samba.orig/files/pkg-message.in /usr/ports/print/cups-samba/files/pkg-message.in --- /usr/ports/print/cups-samba.orig/files/pkg-message.in 2007-03-22 18:09:48.000000000 +0100 +++ /usr/ports/print/cups-samba/files/pkg-message.in 2009-10-27 18:37:51.000000000 +0100 @@ -5,13 +5,6 @@ To complete the installation of print/cups-samba, do in order: -CUPS-BASE ------------ - -1) Uncomment application/octet-stream line in mime.types -2) Uncomment application/octet-stream line in mime.convs -3) Restart cupsd - SAMBA ------- @@ -58,7 +51,17 @@ CUPS-LPR ---------- -1) Run cupsaddsmb +1) Copy following files from your MS Windows system: + + ps5ui.dll + pscript5.dll + pscript.hlp + pscript.ntf + +They are located somewhere in C:\WINDOWS\system32\spool\drivers\w32x86. +Put them to %%PREFIX%%/share/cups/drivers and correct permissions (chmod -wx). + +2) Run cupsaddsmb If only a subset of your printers will be installed as exportable to MS Windows NT/XP/2000/2003 clients: @@ -81,6 +84,12 @@ NOTE: Other settings in smb.conf may work, but your REALLY need to know what your are doing. :) +64-bit Windows clients are not yet supported however you may find your luck +with drivers from: http://www.cups.org/str.php?L2566 + +On later Samba versions, "printer admin" is deprecated, instead your admin +user should have SePrintOperatorPrivilege. Use "net rpc rights" to add them. + %%PREFIX%%/share/doc/samba/Samba-HOWTO-Collection.pdf has some valuable information on this topic, especially chapters 17 and 18. --- cups-samba-6.0_2.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ae733e9.0f1abc0a.5d90.0b5f>