1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/testsuite/printing
2007-10-10 12:28:23 -05:00
..
Makefile.psec Compile fixes for changes in make_sec_desc() interface. 2000-12-08 02:59:49 +00:00
Makefile.vlp Changes from APPLIANCE_HEAD: 2000-11-14 15:26:53 +00:00
psec.c r23785: use the GPLv3 boilerplate as recommended by the FSF and the license text 2007-10-10 12:28:23 -05:00
README.vlp Brief documentation on using the virtual printer code 2000-12-12 18:03:50 +00:00
vlp.c r23785: use the GPLv3 boilerplate as recommended by the FSF and the license text 2007-10-10 12:28:23 -05:00

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.