[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[SOLVED] Re: HP Deskjet shared on Samba, Windows users denied access
- From: "Rodolfo J. Paiz" <rpaiz simpaticus com>
- To: redhat-list redhat com
- Cc: Jason Dixon <jason dixongroup net>, georgen pasco co za, jasons njaquarium org
- Subject: [SOLVED] Re: HP Deskjet shared on Samba, Windows users denied access
- Date: Sun Aug 24 18:44:05 2003
PROBLEM
=========
I set up an HP Deskjet 970Cxi on my Linux server (RH9 with all updates as
of August 24, 2003) using CUPS 1.1.17-13.3 (most recent version). I then
shared that printer via Samba 2.2.7a-8.9.0 (most recent version). Despite
attempting to allow specific users to print, then in desperation setting
"guest ok = yes", I was unable to print to this printer from a Windows 2000
client computer.
SOLUTION
=========
The problem was not in Samba, but rather in CUPS. The HP Deskjet driver
uses the RAW printing method which is not enabled by default in this
version of CUPS. In order to enable RAW printing, do the following (note:
copied almost exactly from George Nicholls's post to redhat-list):
1. Near the bottom of /etc/cups/mime.types find and uncomment the
"application/octet-stream" line; see below for an excerpt from this file
after the change has been made:
======================================
#
# Raw print file support...
#
# Uncomment the following type and the application/octet-stream
# filter line in mime.convs to allow raw file printing without the
# -oraw option.
#
application/octet-stream
#
# End of ....
======================================
2. Then in /etc/cups/mime.convs find and uncomment as shown:
======================================
#
# Raw filter...
#
# Uncomment the following filter and the application/octet-stream type
# in mime.types to allow printing of arbitrary files without the -oraw
# option.
#
application/octet-stream application/vnd.cups-raw 0 -
#
# End of ....
======================================
3. Restart CUPS with "service cups restart" (as root, of course).
CREDITS
========
George Nicholls <georgen pasco co za> for having a very similar problem to
mine, and for figuring it out with help from Jason Dixon and Jason
Staudenmayer. See the "Samba Issues" thread on Red Hat List
<redhat-list redhat com> approximately August 23rd, 2003.
Jason Dixon <jason dixongroup net> for spending several hours with me
on-list and off-list, working to help me solve my problem (and helping to
solve George's as well).
Jason Staudenmayer <jasons njaquarium org> for having "the Linux attitude"
and trying hard to help George and me. Although his advice was not always
right, he did keep trying and it was his hint that led George to find his
solution.
--
Rodolfo J. Paiz
rpaiz simpaticus com
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]