1) install Dreamlinux 2.2
2) update Dreamlinux stuff (sudo apt-get update)
3) enable "CUPS Server" in Control Panel > Services
4) plug in my xerox docuprint 203A thru usb, the cheapest laser printer ever
5) dreamlinux detected it. change the driver to Brother HL 2060
6) * * * Must go Settings > Printing System. and select "CUPS"
7) go to localhost:613 (or 631) in firefox, and add "allowed users to print"
7) using apt-get, i installed enscript and DOSBOX
![Cool 8)](./images/smilies/icon_cool.gif)
9) run this script (Textfile in dhpos folder) in another terminal. (bash scriptfilename)
while :
do
if [ -f WLSDFKJN.DRY ]
then
echo "priting..." #;enscript -h WLSDFKJN.DRY
rm WLSDFKJN.DRY
fi
sleep 1
done
------------------------------
Voila ! so now I can user laser printer to print receipts and barcodes too