Samba 3: added Samba 3.0.24 sources
[tomato.git] / release / src / router / samba3 / testsuite / printing / README.vlp
blob48d2c8c0a2b05fa304d0bc3f3f363751e999342e
1 Virtual line printer test program (vlp)
2 =======================================
4 This can be useful for testing/debugging Samba print code.  It gives you a 
5 virtual full-function printer.
7 Setup
9 1) Configure and build Samba.  
10         For this to work, you need to add:
11                 -DDEVELOPER
12         to your CFLAGS, and add:
13                 --srcdir=<wherever your source is>
14         when running configure.  Generally      
15                 ./configure --srcdir=`pwd` <other configure options>
16         should work. 
18 2) Build and install vlp.
19         # cd testsuite/printing
20         # make -f Makefile.vlp vlp
21         # su
22         # cp vlp /usr/local/samba/bin
24 3) Set up Samba to use vlp.
25         In your smb.conf file under [global], add the following option:
26                 printing = vlp
27         and then add any number of print shares, without needing to make them 
28         really exist.  
30                 [testprinter]
31                         printable = yes
33         is all you need for the most basic virtual printer.
34         
35