X-Git-Url: http://git.samba.org/samba.git/?p=ira%2Fwip.git;a=blobdiff_plain;f=testsuite%2Fprinting%2FREADME.vlp;h=48d2c8c0a2b05fa304d0bc3f3f363751e999342e;hp=e3cf31c7e4044a437826c551cbae294e0592072b;hb=ab5b6e255dbc2dfe20a190634535ba05e1631011;hpb=4a205df72077d89e06db8a82f1ccc7200300f6b1 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= + when running configure. Generally + ./configure --srcdir=`pwd` + 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. + +