From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,b7320ca935694eed,start X-Google-Attributes: gidfee84,public From: russelsl@answers.ke.dupont.com Subject: Printing compressed on a Okidata connected to HP Jet Direct Date: 1998/12/10 Message-ID: <74pa8n$uqd$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 420908250 X-Http-Proxy: 1.0 x10.dejanews.com:80 (Squid/1.1.22) for client 206.241.18.4 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Thu Dec 10 20:17:30 1998 GMT Newsgroups: comp.unix.osf.osf1 X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows 95) I previously posted without supplying enough information: I am attempting to print compressed on an Okidata Microline 591 using Epson LQ emulation. The Okidata is connected to an HP JetDirect EX Plus 3 on port #1. I am printing in Digital Unix 4.0D I apologize if what I am attempting is not clear, but I barely have enough knowledge to qualify me as a junior administrator: I have a legacy application that sends raw ascii text to the printer and I need to be able to change the printer pica from 10cpi to 12cpi and also 17cpi (compressed). I figure I could either create a script that will echo \033\17\c to set the printer in 17cpi and then issue \033@\c to reset the printe back to it's default state. Where I am lost is what option do I need to change in lprsetup to get it to read a filter file, create a filter that will send the control sequence to a remote printer and send the text output, and reset the printer after the printjob is complete. I feel I should set it up with the option if=/usr/lbin/myfilter:\ and I would assume I could either write a c program to printf what I need or have a script file echo the sequence. I hope this give a better explanation of what I am trying to get accomplished. Thanks for any advice you can give. Also, what would you recommend to gain more knowledge on this subject? Thanks, Shawn Russell russelsl@answers.ke.dupont.com -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own