[348] in RedHat Linux List
Re: Continuing issues - Linux & NT 4 sharing a printer - RESOLVED
daemon@ATHENA.MIT.EDU (Robert Hart)
Tue Oct 22 07:11:14 1996
Date: Tue, 22 Oct 1996 21:11:35 +1000 (EST)
From: Robert Hart <hartr@interweft.com.au>
Reply-To: Robert Hart <iweft@ipax.com.au>
To: redhat-list@redhat.com
In-Reply-To: <54i1ug$u60@halon.vggas.com>
Resent-From: redhat-list@redhat.com
On 22 Oct 1996, James Youngman wrote:
> In article <54h2u4$h91@halon.vggas.com>, hartr@interweft.com.au says...
>
> >Now, I can see the printer just fine under Win NT and install it on the NT
> >machine just fine (during the install process it complains that there is
> >no "NULL" printer driver on the remote machine and asks if I want to
> >install it on NT).
I think this must be an NT thing - if the printer is on another NT
machine, I presume this means you can just send a file that contains the
input expected by the printer driver - and the remote machine does the
rest. If that is the case, it is a neat feature!
> >I answer yes and all goes smoothly - until I try and print a test page,
> >when I get "The filename, directory name or volume label is invalid"!
Ahem - well it helps if you set up samba correctly - I had mistyped the
spool directory for the exported printer and NT was (correctly_
complaining that the spool directory didn't exist...blush!
Fixed that and all was sweetness and light.
> PS: I'd be very grateful if you would post/make avaiable a summary of how to do
> all this when you get it done, it might make a good addition to the Printing
> HOWTO.
OK - this is what I did (on Red Hat 3.0.3 using samba-1.9.15p8-2).
1) Read the smb docs (sigh - I had been meaning to do that for a while,
but hadn't got round to it).
2) Installed the rpm and set things up the way I wanted in /etc/rc.d/rc3.d
3) Read the smb.conf man page - Whoopee there's a good example of setting
up printers...
The following sample section defines a printable service.
The service is readonly, but printable. That is, the only
write access permitted is via calls to open, write to and
close a spool file. The 'guest ok' parameter means access
will be permitted as the default guest user (specified
elsewhere):
[aprinter]
path = /usr/spool/public
read only = true
printable = true
public = true
4) Tried this (mistyped the directory), started samba and NT complains as
noted above but I *can* access my Linux home directory from my NT box.
5) Post message, make coffee.
6) Look at screen - swear loudly, correct spelling mistake, resart samba.
7) Hold breath, try printing - and yes! we have output - properly
formatted, full colour!
Things still to be done...
1) Go back and properly configure samba - this is a GREAT package, I
can't believe how I managed without it before in a mixed Unix/MS
environment! However, I think there are security issues and such that
need cleaning up...
2) Reorganise the print queues so that the Linux (I am using GS 4 by the
way) and NT actually share the same print queue for final output to /dev/lp0.
3) Persuade gs4 to print in colour (it currently produces excellent gray
scale images - but that's not what I really want from Applix, netscape
and such).
Robert Hart iweft@ipax.com.au
Voice: +61 (0)3 9735 3586
InterWeft, 35 Summit Road, Lilydale, Victoria 3140, Australia
IT, data and voice networking Consultancy
Strategic IT business planning
Internet planning, implementation, security and configuration
--
PLEASE read the Red Hat FAQ, Tips, HOWTO and the MAILING LIST ARCHIVES!
________________________________________________________________________
http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-HOWTO
http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null