1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
samba-mirror/testsuite/printing
Michael Adam 199eb31cc9 vlp: fix an implicit cast compile warning.
Michael
(This used to be commit bf46f614c4)
2008-04-10 01:11:31 +02: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 vlp: fix an implicit cast compile warning. 2008-04-10 01:11:31 +02: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.