From: selcuk karaca <selcuk.karaca@aski.gov.tr>
Subject: how to send printer esape codes ..?
Date: Mon, 12 May 2003 13:10:29 +0300 [thread overview]
Message-ID: <004201c3186e$b9edbb60$2405a8c0@bimselcuk> (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
reply other threads:[~2003-05-12 10:10 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox