tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* how to send printer esape codes ..?
@ 2003-05-12 10:10 selcuk karaca
  0 siblings, 0 replies; only message in thread
From: selcuk karaca @ 2003-05-12 10:10 UTC (permalink / raw)


Hello all..
Tru64Unix V5.1

I am in trouble...Your helps strongly requested..
We have an epson DFX5000+ printer. It is connectd to a DEC700 terminal
server (LAT protocol based...)
Normally it has 4 page length properties which can be set with dip
switches.. none of them satisfies us.. I have learned from manual that, I
can send an escape code to reset page length in lines freely..

According to manual;

ESC C n (n=page length in lines) will do the job..

I have prepared a file to set the page length to 33 (41 octal) lines

echo "\033\C\041" > SetPage33

But When I send the file.. It just prints C! and does nothing about page
length..
printer def file is this (in /etc/printcap);

konsol2|lp1|kons66:\
        :br#9600:\
        :ct=dev:\
        :fc#0177777:\
        :fs#023:\
        :if=/usr/lbin/la324of:\
        :lf=/usr/adm/lp1err:\
        :lp=/dev/tty11:\
        :mx#0:\
        :of=/usr/lbin/la324of:\
        :pl#33:\
        :pw#500:\
        :sb:\
        :sd=/usr/spool/lpd1:\
        :sh:\
        :xc#0177777:\
        :xf=/usr/lbin/xf:\
        :xs#044000:


NOTE:I have changed if & of parameters from la324of to lpf but, nothing has
changed..


Help me...!


Selcuk KARACA
Unix System Administrator
ASKI



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-05-12 10:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-12 10:10 how to send printer esape codes ..? selcuk karaca

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox