installation of Sipix pocket printer in Slax
I installed the driver for Sipix Pocket Printer in Red Hat linux based on the following steps:-
-> To install the driver, simply copy sipixa6.upp into one of the directories listed in the "Search path" which you find in the output of the command "gs --help".
To set up the printer and print, proceed as follows:-
->First step is to set the proper serial port parameters:
stty -F /dev/ttyS1 115200 crtscts cs8 -cstopb -parenb
Your serial port may be /dev/ttyS0.
->First you have to resize the postscript document down to A6:
psresize -w10.5cm -h14.8cm -Pletter old.ps new.ps
->Then send it through GhostScript:
gs @sipixa6.upp -sPAPERSIZE=a6 -sOutputFile=new.bin new.ps -c quit
->After that send the binary file to the printer:
cat new.bin > /dev/ttyS1
It worked fine.
I followed the same procedure for slax.I ported all the libraries required to slax .But here the gs command is giving some "rangecheck error".Does anyone have any idea about this.
All your valuable suggestions and comments are welcome.