This is a multi-part message in MIME format. ------=_NextPart_000_0023_01C38218.F714FE40 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit One more piece to the puzzle - the whole puzzle is below. I ran lpc status on the debian box and this is what it said: lp: queuing is enabled printing is enabled cannot examine spool directory : queuing is enabled printing is enabled no entries no daemon present : queuing is enabled printing is enabled no entries no daemon present Not sure what is wrong with the spool directory. Also, why three sets of results? Thanks! Mark Phillips Phillips Marketing, Inc. 480 945-0798 office 480 945-9197 fax mark@phillipsmarketing.biz -----Original Message----- From: plug-discuss-admin@lists.plug.phoenix.az.us [mailto:plug-discuss-admin@lists.plug.phoenix.az.us] On Behalf Of Mark Phillips Sent: Tuesday, September 23, 2003 9:12 PM To: Linux Users Group Subject: Troubles with Samba and printing I have a printer connected to a small Debian (stable woody) box. I want to print from my Windows box using the drivers on the Windows box (the Linux drivers for the printer are not very good). I did the following: 1. Installed the printer drivers on the Windows box (98 and 2000) and tested printing through the parallel port. It worked. 2. Installed Samba and SWAT on the Linux box. I can talk to Samba using Swat from the Windows box. 3. I started Add Printer on the Windows box, added a network printer, found the samba machine and the printer, and added the printer to my printers' folder. 4. I click on the newly installed printer, click on properties, and then print test page. I get an error message (test page failed to print) on the Windows box, but the samba log file is empty (the file is created, however). If I open Notepad and try to send a print job, I do not get an error, but nothing prints out and the log file is still empty. I think my printcap file is wrong, but I am not sure. Here it is # /etc/printcap: printer capability database. See printcap(5). # You can use the filter entries df, tf, cf, gf etc. for # your own filters. See /etc/filter.ps, /etc/filter.pcl and # the printcap(5) manual page for further details. lp|ij300|Compaq IJ300|Compaq:\ :lp=/dev/lp0:\ :sd=/var/spool/lpd/lp:\ :rw: :sh: # rlp|Remote printer entry:\ # :lp=:\ # :rm=remotehost:\ # :rp=remoteprinter:\ # :sd=/var/spool/lpd/remote:\ # :mx#0:\ # :sh: This is my smb.conf file # Samba config file created using SWAT # from 192.168.1.200 (192.168.1.200) # Date: 2003/09/23 09:25:51 # Global parameters [global] workgroup = @HOME server string = %h server (Samba %v) security = SHARE encrypt passwords = Yes passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n . syslog = 3 log file = /var/log/samba/log.%m max log size = 1000 dns proxy = No [homes] comment = Home Directories create mask = 0700 directory mask = 0700 browseable = No [printers] comment = All Printers path = /tmp create mask = 0700 guest ok = Yes printable = Yes use client driver = Yes browseable = No Thanks for any help you can provide! Mark Phillips Phillips Marketing, Inc. 480 945-0798 office 480 945-9197 fax mark@phillipsmarketing.biz ------=_NextPart_000_0023_01C38218.F714FE40 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable

One more piece to the puzzle = – the whole puzzle is below.

 

I ran lpc status on the debian box and this is what it = said:

 

lp:

      queuing is enabled

      printing is enabled

      cannot examine spool = directory

      = :

      queuing is enabled

      printing is enabled

      no entries

      no daemon present

        = :

      queuing is enabled

      printing is enabled

      no entries

      no daemon present

 

Not sure what is wrong with the = spool directory. Also, why three sets of results?

 

Thanks!

=

 

Mark = Phillips

Phillips = Marketing, Inc.

480 945-0798 = office

480 945-9197 = fax

mark@phillipsmarke= ting.biz

 

-----Original = Message-----
From: plug-discuss-admin@lists.plug.phoenix.az.us [mailto:plug-discuss-admin@lists.plug.phoenix.az.us] On Behalf Of Mark Phillips
Sent: =
Tuesday, September 23, = 2003 9:12 PM
To: Linux Users Group
Subject: Troubles with = Samba and printing

 

I have a printer connected = to a small Debian (stable woody) box. I want to print from my Windows box = using the drivers on the Windows box (the Linux drivers for the printer are not = very good). I did the following:

 

1. Installed the printer = drivers on the Windows box (98 and 2000) and tested printing through the parallel = port. It worked.

 

2. Installed Samba and SWAT = on the Linux box. I can talk to Samba using Swat from the Windows = box.

 

3. I started Add Printer on = the Windows box, added a network printer, found the samba machine and the = printer, and added the printer to my printers’ folder. =

 

4. I click on the newly = installed printer, click on properties, and then print test page. I get an error = message (test page failed to print) on the Windows box, but the samba log file = is empty (the file is created, however). If I open Notepad and try to send a = print job, I do not get an error, but nothing prints out and the log file is still = empty.

 

I think my printcap file is = wrong, but I am not sure. Here it is

 

# /etc/printcap: printer capability = database. See printcap(5).

# You can use the filter entries df, = tf, cf, gf etc. for

# your own filters. See = /etc/filter.ps, /etc/filter.pcl and

# the printcap(5) manual page for = further details.

 

lp|ij300|Compaq = IJ300|Compaq:\

        :lp=3D/dev/lp0:\

        :sd=3D/var/spool/lpd/lp:\

        :rw:       =

        = :sh:

 

# rlp|Remote printer = entry:\

#       &nbs= p; :lp=3D:\

#       &nbs= p; :rm=3Dremotehost:\

#       &nbs= p; :rp=3Dremoteprinter:\

#       &nbs= p; :sd=3D/var/spool/lpd/remote:\

#       &nbs= p; :mx#0:\

#       &nbs= p; :sh:

 

This is my smb.conf = file

 

# Samba config file created using = SWAT

# from 192.168.1.200 = (192.168.1.200)

# Date: 2003/09/23 = 09:25:51

 

# Global = parameters

[global]

      = workgroup =3D @HOME

      server string =3D %h server (Samba %v)

      security =3D SHARE

      encrypt passwords =3D Yes

      passwd program =3D /usr/bin/passwd %u

      passwd chat =3D *Enter\snew\sUNIX\spassword:* %n\n = *Retype\snew\sUNIX\spassword:* %n\n .

      syslog =3D 3

      log file =3D /var/log/samba/log.%m

      max log size =3D 1000

      dns proxy =3D No

 

[homes]

      comment =3D Home Directories

      create mask =3D 0700

      = directory mask =3D 0700

      = browseable =3D No

 

[printers]

      comment =3D All Printers

      path =3D /tmp

      create mask =3D 0700

      guest ok =3D Yes

      = printable =3D Yes

      use client driver =3D Yes

      = browseable =3D No

 

Thanks for any help you can = provide!

 

Mark = Phillips

Phillips Marketing, = Inc.

480 945-0798 = office

480 945-9197 = fax

mark@phillipsmarketing.biz

 

------=_NextPart_000_0023_01C38218.F714FE40--