[Samba] newbie ?

Christian Barth barth at cck.uni-kl.de
Mon Feb 25 23:58:03 GMT 2002


> hi all...
> 
> 
> am new to samba and this list and i want a couple of my doubts
> cleared...
> 
> my questions could be silly...and i wuld be even happy if i am replied off
> the list...
> 
> 1. I am trying to print a file from my mandrake machine using a windows
> 9X printer connected across the room. The printed page is
> haphazard....just one line gets printed.
> 
> i issue smbclient //nwm/H
> 
> and then smb:\> print a.txt

Is a.txt a plaint text file? You may get the "stair case effect". Try 
unix2dos a.txt bevor your commands. Try a file in the native language 
of the printer (probably print into a file from w9x and try that 
file). Once you have this running you may look into an automated 
printfilter an integrate everything into lpd.

 
> 2. Is is possible to put a set of winNT machines onto a local samba
> domain and try to get the logs of what the system is doing
What the samba system is doing will be seen in log.smbd, but you 
won't get any messages about the NT-machines there. log.smbd is 
mainly for debugging so you will have to phrase it got get the 
information you want. Or look at the VBS (???) moduls of samba that 
can be writen for monitoring.

> 3. Is it possible to print to a unix printer from a win9X/NT machine
> .the printer is connected to a sun box .
Yes. One of the core things of samba.

Christian

               _(_)_                          wWWWw   _
   @@@@       (_)@(_)   vVVVv     _     @@@@  (___) _(_)_
  @@()@@ wWWWw  (_)\    (___)   _(_)_  @@()@@   Y  (_)@(_)
   @@@@  (___)     `|/    Y    (_)@(_)  @@@@   \|/   (_)\
    /      Y       \|    \|/    /(_)    \|      |/      |
 \ |     \ |/       | / \ | /  \|/       |/    \|      \|/
jgs|//   \\|///  \\\|//\\\|/// \|///  \\\|//  \\|//  \\\|// 
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^




More information about the samba mailing list