: How you can send escape codes to the printer ??
: I am using a Desk Jet Plus and I try to send escape
: characters using: echo ^[k2G > /dev/lp1 ( ^[ are two
: characters ^ and [ ) but I dont'd think that it works
: since it just print the string .
: I am using linux 0.96b patchlevel 1.
:
: Thank you in advance,
: Harry Georgopoulos
HERE'S THE SOLUTION:
type 'cat > prtinit'
press RETURN
press ESC-key
type 'k2G'
press CRTL-D
press RETURN
type 'cat prtinit >/dev/lp1' (You can put this line in your /etc/rc)
Have a nice printing
mfG
|| \\ // || || \\ // || Martin Mueller, Lichtenrader Str.22 | LINUX...
|| \\// || || \\// || 1000 Berlin 44 | Tel: +49 30 6216879 | THE one
|| || || || ___________________________________ | and ONLY!!
|| || || || | Diese Flaeche ist zu vermieten! | |
--
mfG
|| \\ // || || \\ // || Martin Mueller, Lichtenrader Str.22 | LINUX...
|| \\// || || \\// || 1000 Berlin 44 | Tel: +49 30 6216879 | THE one
|| || || || ___________________________________ | and ONLY!!