global change from samba.anu.edu.au to samba.org
[nivanova/samba-autobuild/.git] / docs / textdocs / Printing.txt
index 9d7c2ea26af6f08ea4d8d72fa2c20a477d38c997..33220ae916faa27ecad924b9703050443be8e367 100644 (file)
@@ -1,7 +1,7 @@
 !==
-!== Printing.txt for Samba release 1.9.18alpha11 03 Nov 1997
+!== Printing.txt for Samba release 2.0.0-beta1 13 Nov 1998
 !==
-Contributor:   Unknown <samba-bugs@samba.anu.edu.au>
+Contributor:   Unknown <samba-bugs@samba.org>
 Date:          Unknown
 Status:                Current
 
@@ -13,7 +13,7 @@ Samba. This describes how to debug problems with printing from a SMB
 client to a Samba server, not the other way around. For the reverse
 see the examples/printing directory.
 
-Please send enhancements to this file to samba-bugs@samba.anu.edu.au
+Please send enhancements to this file to samba-bugs@samba.org
 
 Ok, so you want to print to a Samba server from your PC. The first
 thing you need to understand is that Samba does not actually do any
@@ -94,3 +94,39 @@ printer.
 If the above debug tips don't help, then maybe you need to bring in
 the bug gun, system tracing. See Tracing.txt in this directory.
 
+=====================================================================
+From Caldera Inc., the following documentation has been contributed:
+
+
+8.6 Setting up a raw SAMBA printer.
+
+Note: this is not a guide on setting up SAMBA. It merely addresses creating a printer configuration that will allow the output of regular (i.e. not PostScript) Windows printer drivers to print through SAMBA.
+
+Regular Windows printer drivers can be used to print via SAMBA, but you must set up a raw printer entry in "/etc/printcap" to accomplish this. Also, a print command will need to be specified in "/etc/smb.conf" that forces binary printing.
+
+The best way to start is to use printtool under X to create a new entry specifically for this printer. All you really need for it to do is create the necessary directories and set the permissions correctly, so don't worry about setting up a filter for a specific printer.  Filters are not going to be used at all for this entry.
+
+Next, go into "/etc" and edit the printcap entry you just created, changing it to look like this (if you named it something other than raw, the entry name and spool directory should be changed here to match):
+
+raw:\
+       :rw:sh: \
+       :lp=/dev/lp1: \
+       :sd=/var/spool/lpd/raw: \
+       :fx=flp:
+
+When this is done and saved, edit the section of the smb.conf file that applies to the printer. Make sure the name of the section (enclosed in brackets) matches the name of the raw printer you just set up, then go down a line or two and add this line:
+print command = lpr -b -P%p %s
+
+Save the file, change to "/etc/rc.d/init.d", and type the following commands
+to restart the necessary daemons:
+
+./lpd stop
+./lpd start
+./smb stop
+./smb start
+
+At this point you should be ready to use the various printer drivers on
+your Windows clients for printing.
+=============================================================================
+