- Version 1.0, Sun Nov  6 15:26:52 EST 2005 (jmdault)

1) TEST PRINTERS WITH SHOWPRINTER

To test, create 3 printers in Cups (Alpha, Bravo and Charlie)
Login as yourself, and make sure LD_PRELOAD is set to libhideprinters.so
mkdir $HOME/.gtklp/accept
cd $HOME/.gtklp/accept

Then try:
rm -f Alpha Bravo Charlie; showprinters #Should return nothing
touch Alpha; showprinters		#Alpha only
touch Bravo; showprinters		#Alpha + Bravo
touch Charlie; showprinters		#Alpha, Bravo and Charlie
rm -f Charlie; showprinters		#Alpha and Bravo
rm -f Alpha; showprinters		#Bravo only
touch Charlie; showprinters		#Bravo and Charlie
rm -f Bravo; showprinters		#Charlie only


2) TEST APPLICATIONS

Without any printers in $HOME/.gtklp/accept
- mozilla-firefox should return a default printer
- OpenOffice 1.4 and 2.0 should return only Generic Printer
- gimp should return only File
- lpc status, lpstat, lpr, lpq should find nothing
- gtklp should say No Printers found! then exit
- kprinter should only display PDF and PS entries
- xpp should abort
- scribus should see only file

With only some printers, the following apps work:
- mozilla-firefox
- OpenOffice 1.4 and 2.0
- gimp
- lpc status, lpstat, lpr, lpq
- gtklp
- kprinter
- xpp
- scribus

With the default printer disabled, everything above works

*** TODO: test nxclient ***

NOTE1: Samba loads printers at start time (modify per-user?)
NOTE2: scribus doesn't put the default printer on top of the list ***
NOTE3: gtklp uses the last saved printer (saved in $HOME/.gtklp/gtklprc)
