APLawrence - Information and Resources for Unix and Linux Systems, Bloggers and the self-employed
RSS Feeds Get APLawrence.com by RSS











(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Home > News Posts > printer terminfo settings
Printer Friendly Version




News Group Posts

printer terminfo settings




From: Ian Wilson <scobloke2@infotop.co.uk>
Subject: Re: OSR50x: Terminfo entry for epson printers?
Date: Tue, 6 Jan 2004 10:12:49 +0000 (UTC)
Message-ID: <bte1n1$8oe$1@titan.btinternet.com> 
References: <btc1fl$436$1@sparta.btinternet.com>
<3FF9AF5A.A96853F0@tenzing.org> Roger Cornelius wrote: > Ian Wilson wrote: > >>I have a question about printer support in OSR507 (and earlier 5.0.x): >> >>SIMPLE VERSION >> >>How do I define a new terminfo entry for a printer such that it shows up >>in the list at >>"scoadmin printer" -> Settings -> Advanced -> Terminfo Type. >>and what are the minimum attributes/capabilities to be defined? > > > The scoadmin printer Terminfo Type pick window is populated at run time > from /usr/lib/terminfo/terminfo.lp, so you need to add your entry there > for it to appear in the list. You can also use lpadmin to set a > printer's terminfo type. See the article referenced below. <snip>

> Try reading this old article:
> 
> http://groups.google.com/groups?selm=9701282251.aa02290%40sherpa.UUCP

Thanks Roger. V useful.

As an aside: Google reveals that this issue comes up every year - not 
sure if it qualifies as a FAQ. I also found the following terminfo 
entries which I plan to try out ... just before everything gets swept 
aside by CUPS in OSRLegend :-)

(quoted here in the hope it helps future googlers with similar problem*)
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
# From: Oliver Okrongli (oliver@infix.de)
# Subject: Re: terminfo entry for epson FX100+ needed
# Newsgroups: comp.unix.sys5.r4, comp.sys.ncr
# Date: 1994-06-01 12:22:17 PST
#
# >>>>> Michael Nolan <nolan@helios.unl.edu> writes:
# > A friend running on an AT&T GIS (NCR) 3000 unix box needs a terminfo
# > entry for a printer emulating an Epson FX100+. [...]
# > Does anybody have one pre-built that they can send me the source on?
#
# This is one we developed internally.  Please don't expect any warranty
# or support.  Anyway, this might be useful for you.
#
i_epsonfx|Epson FX series,
  am,
  msgr,
  lines#72, orhi#60, orvi#216, orc#6, orl#36, widcs#12,
  maddr#32767, mjump#127,
  it#8, bufsz#8192,
  is2=\E@,
# 15 cpi not supported -> translating to 17 cpi
 
cpi=%?%p1%{10}%=%t\EP^R%e%p1%{12}%=%t\EM^R%e%p1%{15}%=%t\EP^O%e%p1%{17}%=%t\EP^
O%e%p1%{20}%=%t\EM^O%;,
  lpi=%?%p1%{128}%<%t\E3%{216}%p1%/%c%;,
  slines=\EC%p1%c,
  smglp=%?%p1%{0}%=%t^Q%e\El%p1%c%;,
  smgrp=\EQ%p1%{1}%+%c,
  ht=\t, cr=\r, cud1=\n,
  ff=\f,
# u0 = enter double heigth mode, u1 = exit double heigth mode
  ssupm=\ES\200, rsupm=\ET, ssubm=\ES\001, rsubm=\ET, sshm=\EG, rshm=\EH,
  sitm=\E4, ritm=\E5, swidm=\EW\001, rwidm=\EW\200,
  smul=\E-\001, rmul=\E-\200, u0=\Ew\001, u1=\Ew\200, bold=\EE,
  sgr0=\E5\E-\200\EH\ET\EW\200\Ew\200\EF,
  scs=%?%p1%{0}%=%t\Ex\200%e\Ex\001\Ek%p1%{1}%-%c%;,
  csnm=%?%p1%{0}%=%tDraft%e%p1%{1}%=%tRoman%e%p1%{2}%=%tSansSerif%;,
  snrmq=\Ex\200, snlq=\Ex\001, sdrfq=\Ex\200,

i_fx80|Epson FX-80 dot matrix printer,
  cols#80,
  use=i_epsonfx,

i_fx100|Epson FX-100 dot matrix printer,
  cols#132,
  use=i_epsonfx,
# --
# Oliver Okrongli  infix Software-Systeme GmbH   Phone +49 531 238090
#    Rebenring 33     Fax   +49 531 2380935
# oliver@infix.de  38106 Braunschweig    F.R. Germany
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
#From: Jim McKim (mckim@falcon.lerc.nasa.gov)
#Subject: Re: Terminfo entry for Epson FX-85?
#Newsgroups: comp.unix.i386
#Date: 1990-03-20 16:31:01 PST
#
#Sorry about this - my email keeps bouncing back.
#
#Epson FX-80 terminfo entry:
#
fx80|fx-80|epson fx-80,
  hc, os,
  bufsz#2048, cols#80, cps#160, it#8, lines#66,
  npins#9, orc#6, orhi#60, orl#9, orvi#36,
  bel=^G, cr=\r, cud1=\n, ff=\f, ht=\t, is2=\E@,
  lpi=\E%p1%c, rwidm=\EW0, scs=\E!%p1%c, smglp=\El%p1%c,
  smgrp=\EQ%p1%c, swidm=\EW1,
#
#--
#----------------
#Jim McKim  /  Internet: mckim@falcon.lerc.nasa.gov  be
#Phone: +1 216 891 2982  /  Packet: kb8dcr@kb8dcr.ampr.org seeing
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/














--
Ian Wilson
* Note to self: Must check netiquette on this.



If this page was useful to you, please click to help others find it:  

Your +1's can help friends, contacts, and others on the web find the best stuff when they search.

Comments?



Click here to add your comments



Don't miss responses! Subscribe to Comments by RSS or by Email

Click here to add your comments


If you want a picture to show with your comment, go get a Gravatar



Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

Jump to Comments



Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.

Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.

We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.

g_face.jpg

This post tagged:

       - SCO_OSR5




Unix/Linux Consultants

Skills Tests

Guest Post Here