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.
9 1) Configure and build Samba.
10 For this to work, you need to add:
12 to your CFLAGS, and add:
13 --srcdir=<wherever your source is>
14 when running configure. Generally
15 ./configure --srcdir=`pwd` <other configure options>
18 2) Build and install vlp.
19 # cd testsuite/printing
20 # make -f Makefile.vlp vlp
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:
27 and then add any number of print shares, without needing to make them
33 is all you need for the most basic virtual printer.