Setting up the Printer Port
Like the Epson Stylus 600/800 series, these printer needs a to have the serial port set to special settings (isn't USB wonderful ;).
Failure to do this, will cause Linux not to see the Stylewriter. You shouldn't have to use the lpstyl program, if you follow this.
The serial port can be setup using this command (as root) before talking to the printer port:
stty 200:2:80008f10:47:3:1c:7f:15:4:1:0:0:0:0:17:12:1a:11:13:16:15:0:0 < /dev/ttyS1 setserial /dev/ttyS1 closing_wait 6000 setserial -av /dev/ttyS1 UART 8250
Stylewriter 4100 (and the alike) users should instead use:
stty 57600 raw -echo crtscts </dev/ttyS1
Note: If the printer is on the modem port, replace ttyS1 throughout this howto with ttyS0.
Put this line in the /etc/init.d/rc.d/rc.local file, or in another script that gets ran as root on boot (such as rc.serial or even your own rc script).
I've seen other people put this command in their printer filter, but if you run it on boot, you don't have to have it in your filter.
Choosing the Printer in Printtool
Install these packages (or the equivlent debs):
1. mpage-2.4-7.ppc.rpm
2. lpr-0.36-2.ppc.rpm
3. rhs-printfilters-1.51-2.ppc.rpm
4. printtool-3.40-3.ppc.rpm
Open up an xterm and type printool in it. This will start the printool program.
It will probably complain about you not having certain types of networking installed. This is safe to ignore.
Click Add. This will bring up another dialog, allowing you to configure a printer.
Change the Printer Device to /dev/ttyS1.
Click Input Filter [Select].
- Stylewriter Portable - Use the Canon BJ-10e driver.
- Stylewriter 4100 - Use the HP Deskjet 550C/560c/6xxC driver.
Other Stylewriter users should see their documentation for the specfic Canon/HP/?-compatible printer.
Then you should check "Send EOF..." and "Fix start-stepping text". For resolution, 360x360 is recommended, however if you want something else you can try it.
Repeat adding printer queves, for each resolution you want your printer to be able to use. For example you might want one queve for 360x360 dpi color printing, another for 144x200 dpi b/w printing.
Click OK and OK again. This will bring you back to the main dialog.
Go to Tests. Try the print postscript test. This should print out a nice tiger from your printer.
Now, any application can acess your printer (it will show up with the lp queve).
References


