Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 195844 - Gentoo Samba/CUPS HOWTO may give insufficient info about Windows drivers
Summary: Gentoo Samba/CUPS HOWTO may give insufficient info about Windows drivers
Alias: None
Product: [OLD] Docs on
Classification: Unclassified
Component: Other documents (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: nm (RETIRED)
Depends on:
Reported: 2007-10-14 14:23 UTC by Paweł Hajdan, Jr. (RETIRED)
Modified: 2007-10-16 05:47 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2007-10-14 14:23:53 UTC
I was following the guide mentioned, but was required to install also these files from Windows XP installation:

# ps5ui.dll
# pscript.hlp
# pscript.ntf
# pscript5.dll 

(found them using Windows' find option, and copied to Linux, /usr/share/cups/drivers).

After that cupsaddsmb worked perfectly. emerging cups-windows was not enough. I took the names of required files from

So I suggest adding information above to the guide. I'm doing this second time, and adding these files was required in both cases.
Comment 1 nm (RETIRED) gentoo-dev 2007-10-14 19:10:22 UTC
Fixed in CVS.
Comment 2 SpanKY gentoo-dev 2007-10-14 22:00:44 UTC
there are open bugs upstream about this
Comment 3 nm (RETIRED) gentoo-dev 2007-10-14 22:23:01 UTC
(In reply to comment #2)
> there are open bugs upstream about this

Um. What kinds of bugs, specifically? Any links? Will I just end up undoing all the hard work I did on the doc? :)
Comment 4 SpanKY gentoo-dev 2007-10-15 02:44:38 UTC
personally i think it's a bug you need to extract the postscript dll's from windows and put them onto the samba host ... but the reporter is correct that currently the cups/samba utilities require them in order for things to work, so any work you put into the docs for this is OK
Comment 5 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2007-10-15 09:57:31 UTC
Thanks for a very quick reaction. I have just a slight improvement idea. Where now there is:

Now we'll use the script cupsaddsmb provided by the CUPS distribution. Be sure to read its manpage (man cupsaddsmb), as it will tell you which Windows drivers you'll need to copy to the proper CUPS directory.

I propose the following:

Now we'll use the script cupsaddsmb provided by the CUPS distribution. It may require additional drivers from existing Windows instllation. You can find exact names and more information in its manpage (man cupsaddsmb).

Rationale: it's more clear that *additional* drivers are needed. Currently some user may install cups drivers from portage and miss this important bit of information.

Yet another change I would like to suggest is running cupsadd always with -v (verbose) flag. Currently in one case it's run with it, and in another without it. (sorry if I should have opened another bug for this; I don't know the exact policy; if you tell me what it is I will surely obey it next time)
Comment 6 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2007-10-16 05:20:04 UTC
Reopening just to make sure recent comments get noticed.
Comment 7 nm (RETIRED) gentoo-dev 2007-10-16 05:47:04 UTC
It's fine the way it is. You don't need to reopen bugs either; we still get the comments emailed to us regardless of the bug status (open, closed, etc).