all:
	@echo ""
	@echo "---------------------------------------------------------------"
	@echo "           *** test your apsfilter package ***"
	@echo "---------------------------------------------------------------"
	@echo ""
	@echo "   make ascii   - prints a page containing 66 lines"
	@echo "   make ps      - prints a ghostscript test file (tiger.ps)"
	@echo "   make dvi     - prints a TeX dvi DIN A4 test page "
	@echo "   make data.pcl- prints a pcl test page for HP Deskjet 500"
	@echo "   make unknown - tries to print /bin/sh, guess what happens ;-)"
	@echo "                  It's a, it's _the_ feature ;-)"
	@echo ""
	@echo "   make iso     - special test printing ISO Latin characters 8 Bit"
	@echo ""
	@echo "   make mix     - prints ascii,ps,dvi file with one lpr call"
	@echo "                  to test file type auto recognition"
	@echo ""
	@echo "   make incps   - include a screen dump into test.dvi document."
	@echo "                  This tests a special dvips feature that needs"
	@echo "                  the search-databases"
	@echo ""

ascii:
	@lpr -Plp test.ascii.66-lines
	@lpq

ps:
	@lpr -Plp test.tiger.ps
	@lpq

dvi:
	@lpr -Plp test.dvi.a4
	@lpq

iso:
	@lpr -Pascii umlaut.test
	@lpq

data.pcl:
	@lpr -Plp test.golfer.a4.pcl
	@lpq

mix:
	@lpr -Plp test.ascii.66-lines test.tiger.ps test.dvi.a4
	@lpq
	@echo "Your printer should print 3 separate pages"
	@echo "in case of trouble read the section about debugging"
	@echo "apsfilter in /usr/lib/apsfilter/apsfilter"

incps:
	@lpr -Plp test.dvi
	@lpq
	@echo "Your printer should now print a page "
	@echo "with a nice pic of a famous tv-show."


unknown:
	@lpr -Plp /bin/sh
	@lpq
	@echo ""
	@echo ""
	@echo "You should be notified on the console and root by mail"
	@echo "that you tried to print a not supported filetype"
	@echo "Examine your TMP_DIR to locate and delete the file"
