1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/source3/printing/tests
Günther Deschner 94665adb48 s3-printing: Fix vlp testprinter application.
Jeremy, we cannot just access cache_path() here without calling lp_load and
friends as well as parsing configfile from the commandline in order to make
"make test/selftest" find the correct conffile with path, etc.

I just changed it to pass the target tdbfilename as an argument, ok ?

Guenther
2009-05-12 11:41:14 +02:00
..
README.vlp vlp: Move closer to the code tested. 2008-10-19 15:03:22 +02:00
vlp.c s3-printing: Fix vlp testprinter application. 2009-05-12 11:41:14 +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

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.