• Home
  • History
  • Annotate
  • only in this directory
NameDateSize

..16-Jun-201411

Makefile.psecH A D25-Feb-2014476

Makefile.vlpH A D25-Feb-2014231

psec.cH A D25-Feb-20149.6 KiB

README.vlpH A D25-Feb-2014860

vlp.cH A D25-Feb-20148 KiB

README.vlp

1Virtual line printer test program (vlp)
2=======================================
3
4This can be useful for testing/debugging Samba print code.  It gives you a 
5virtual full-function printer.
6
7Setup
8
91) Configure and build Samba.  
10	For this to work, you need to add:
11		-DDEVELOPER
12	to your CFLAGS, and add:
13		--srcdir=<wherever your source is>
14	when running configure.  Generally 	
15		./configure --srcdir=`pwd` <other configure options>
16	should work. 
17
182) Build and install vlp.
19	# cd testsuite/printing
20	# make -f Makefile.vlp vlp
21	# su
22	# cp vlp /usr/local/samba/bin
23
243) Set up Samba to use vlp.
25	In your smb.conf file under [global], add the following option:
26		printing = vlp
27	and then add any number of print shares, without needing to make them 
28	really exist.  
29
30		[testprinter]
31			printable = yes
32
33	is all you need for the most basic virtual printer.
34	
35	
36