133088Sache#!/bin/sh 233090Sache# 333090Sache# Canon BJC-240 Setup script 433090Sache# 533090Sache# Settings are: 633090Sache# Epson LQ emulation, A4, Code Page 866, 66 lines, Roman font, Smoothing, 733090Sache# HQ mode, no CR translation, power off in 10min, auto power on 833090Sache# 933088Sache 1033088Sacheprintf "\033[K\00200\037" | tr 0 "\0" 1133088Sache 1233088Sachecat << EOF1 1333088SacheBJLSTART 1433088SacheControlMode=BJ 1533088SacheFont=Roman 1633088SachePageLength=12 1733088SacheCodePage=866 1833088SacheAutoLF=Off 1933090SacheTextScaleMode=On 2033088SacheAutoCR=Off 2133088SacheCharacterSet=Set2 2233088SacheAGM=Off 2333088SacheBJLEND 2433088SacheEOF1 2533088Sache 2633088Sacheprintf "\033[K\00200\037" | tr 0 "\0" 2733088Sache 2833088Sachecat << EOF2 2933088SacheBJLSTART 3033088SacheControlMode=LQ 3133088SacheFont=Roman 3233088SachePageLength=12 3333088SacheCodePage=866 3433088SacheAutoLF=Off 3533090SacheTextScaleMode=On 3633088SacheCharacterSet=Graphics 3733088SacheInternational=USA 3833088SacheBJLEND 3933088SacheEOF2 4033088Sache 4133088Sacheprintf "\033[K\00200\037" | tr 0 "\0" 4233088Sache 4333088Sachecat << EOF3 4433088SacheBJLSTART 4533088Sache@SetControlMode=LQ 4633088SacheBJLEND 4733088SacheEOF3 4833088Sache 4933088Sacheprintf "\033[K\00200\037" | tr 0 "\0" 5033088Sache 5133088Sachecat << EOF4 5233088SacheBJLSTART 5333088SacheControlMode=Common 5433088SachePrintMode=HQ 5533090SacheReduction=Off 5633088SacheSmoothing=On 5733088SachePaperSelect=A4 5833088SacheI/D-Buffer=Input 5933088SacheAutoPowerOff=10 6033088SacheAutoPowerOn=Enable 6133088SacheBJLEND 6233088SacheEOF4 6333088Sache 6433088Sacheexec /usr/libexec/lpr/ru/koi2alt $* 65