From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: selcuk karaca Newsgroups: gmane.os.tru64.managers Subject: how to send printer esape codes ..? Date: Mon, 12 May 2003 13:10:29 +0300 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <004201c3186e$b9edbb60$2405a8c0@bimselcuk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-9 Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1052733846 5124 80.91.224.249 (12 May 2003 10:04:06 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 12 May 2003 10:04:06 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Mon May 12 12:04:04 2003 Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 19FAA7-0001KM-00 for ; Mon, 12 May 2003 12:04:03 +0200 Original-Received: (qmail 2567 invoked by uid 5); 12 May 2003 10:05:25 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 2558 invoked by uid 49493); 12 May 2003 10:05:24 -0000 Original-Received: from selcuk.karaca@aski.gov.tr by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(1.5/5.0):. Processed in 0.400143 secs); 12 May 2003 10:05:24 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 12 May 2003 10:05:24 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HER00DYUQOXNR@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 12 May 2003 06:05:23 -0400 (EDT) Original-Received: from mektup.aski.gov.tr ([213.74.180.212]) by emroute1.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HER00JCJQOOCB@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 12 May 2003 06:05:14 -0400 (EDT) Original-Received: from bimselcuk (10.25.58.1 [10.25.58.1]) by mektup.aski.gov.tr with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id KYWTB7B5; Mon, 12 May 2003 13:06:28 +0100 Original-To: tru64-unix-managers@ornl.gov X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-Priority: 3 X-MSMail-priority: Normal Xref: main.gmane.org gmane.os.tru64.managers:4196 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:4196 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