diff options
author | David O'Neill <dmo@samba.org> | 2000-12-12 18:03:50 +0000 |
---|---|---|
committer | David O'Neill <dmo@samba.org> | 2000-12-12 18:03:50 +0000 |
commit | 03dd90ab923ec88cdada8c5d725d9482bd9826f2 (patch) | |
tree | 38e78fed98078be187d1746a0daeb42f35d5e70f /testsuite/printing | |
parent | 3b7d0fe7eb3a9275d2713d7b3325de0ab510ea62 (diff) | |
download | samba-03dd90ab923ec88cdada8c5d725d9482bd9826f2.tar.gz samba-03dd90ab923ec88cdada8c5d725d9482bd9826f2.tar.xz samba-03dd90ab923ec88cdada8c5d725d9482bd9826f2.zip |
Brief documentation on using the virtual printer code
Diffstat (limited to 'testsuite/printing')
-rw-r--r-- | testsuite/printing/README.vlp | 37 |
1 files changed, 35 insertions, 2 deletions
diff --git a/testsuite/printing/README.vlp b/testsuite/printing/README.vlp index e3cf31c7e40..48d2c8c0a2b 100644 --- a/testsuite/printing/README.vlp +++ b/testsuite/printing/README.vlp @@ -1,2 +1,35 @@ -This file should contain some documentation on using the virtual -line printer test program. +Virtual line printer test program (vlp) +======================================= + +This can be useful for testing/debugging Samba print code. It gives you a +virtual full-function printer. + +Setup + +1) Configure and build Samba. + For this to work, you need to add: + -DDEVELOPER + to your CFLAGS, and add: + --srcdir=<wherever your source is> + when running configure. Generally + ./configure --srcdir=`pwd` <other configure options> + should work. + +2) Build and install vlp. + # cd testsuite/printing + # make -f Makefile.vlp vlp + # su + # cp vlp /usr/local/samba/bin + +3) Set up Samba to use vlp. + In your smb.conf file under [global], add the following option: + printing = vlp + and then add any number of print shares, without needing to make them + really exist. + + [testprinter] + printable = yes + + is all you need for the most basic virtual printer. + + |