1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
samba-mirror/testsuite/printing
Herb Lewis a363e5d8c5 source/rpc_parse/parse_prs.c ZERO_STRUCTP(ps) not needed as it is done
in prs_init now

testsuite/printing/psec.c	cannot do a prs_mem_free() when tdb_prs_fetch fails
				as the prs structure has not been initialized
0001-01-01 00:00:00 +00:00
..
.cvsignore Changes from APPLIANCE_HEAD: 0001-01-01 00:00:00 +00:00
Makefile.psec Compile fixes for changes in make_sec_desc() interface. 0001-01-01 00:00:00 +00:00
Makefile.vlp Changes from APPLIANCE_HEAD: 0001-01-01 00:00:00 +00:00
psec.c source/rpc_parse/parse_prs.c ZERO_STRUCTP(ps) not needed as it is done 0001-01-01 00:00:00 +00:00
README.vlp Brief documentation on using the virtual printer code 0001-01-01 00:00:00 +00:00
vlp.c Changes from APPLIANCE_HEAD: 0001-01-01 00:00:00 +00: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.