Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* LA50 info needed (brief)
@ 1995-05-24  4:00 Tim Thompson
  1995-05-25  4:00 ` Ollie Treadway
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Tim Thompson @ 1995-05-24  4:00 UTC (permalink / raw)



Since no one could provide me with a U**x printcap entry for an LA50,
is there someone out there who could provide me with 5 or 6 control
sequences for it?

I need to know the "escape sequences" for:


Reset

Compressed mode enable
Compressed mode disable

Underline mode enable
Underline mode disable

I think that's it.


Thanx in advance.


(If someone could provide me with FTP info, I can try that, as well.)


TT/MKE


-- 
Tim Thompson        tigger@solaria.mil.wi.us
414+744-0782        1000 - 1700 CT

"Face it, Dorothy, your cupcakes are dry, and tasteless."



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: LA50 info needed (brief)
  1995-05-24  4:00 LA50 info needed (brief) Tim Thompson
@ 1995-05-25  4:00 ` Ollie Treadway
  1995-05-25  4:00   ` Stephen Hoffman
  1995-06-01  4:00 ` LA50 info needed (brief) tagoodhart
  1995-06-08  4:00 ` Tim Lasko, Digital Equipment Corp., Marlborough, MA
  2 siblings, 1 reply; 9+ messages in thread
From: Ollie Treadway @ 1995-05-25  4:00 UTC (permalink / raw)
  To: tigger

tigger@solaria.sol.net (Tim Thompson) wrote: 
> 
Reset                         Not Available 
 
Compressed mode enable        ESC [ 4 w     ( 16.5 cpi ) 
Compressed mode disable       ESC [ 0 w     ( 10 cpi ) 
 
Underline mode enable         ESC [ 4 m 
Underline mode disable        ESC [ 24 m 
 
Hope this helps 
 
Ollie Treadway 
Software Resources Inc.




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: LA50 info needed (brief)
  1995-05-25  4:00 ` Ollie Treadway
@ 1995-05-25  4:00   ` Stephen Hoffman
  1995-05-27  4:00     ` Don Stokes
  0 siblings, 1 reply; 9+ messages in thread
From: Stephen Hoffman @ 1995-05-25  4:00 UTC (permalink / raw)



In article <3q0iif$9n1@parsifal.nando.net>, Ollie Treadway <olliet@nando.net> writes:
:tigger@solaria.sol.net (Tim Thompson) wrote: 
:> 
:Reset                         Not Available 

  LA75 reset sequence -- I don't have an LA50 manual handy -- is <ESC>c

  ------------------------------ Opinionative -------------------------------
   Stephen Hoffman      OpenVMS Engineering      hoffman@xdelta.enet.dec.com
  ---------------------------------------------------------------------------




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: LA50 info needed (brief)
  1995-05-25  4:00   ` Stephen Hoffman
@ 1995-05-27  4:00     ` Don Stokes
  1995-06-06  4:00       ` gassner_st
  0 siblings, 1 reply; 9+ messages in thread
From: Don Stokes @ 1995-05-27  4:00 UTC (permalink / raw)


In article <3q2ik3$kkd@jac.zko.dec.com>,
Stephen Hoffman <hoffman@xdelta.enet.dec.com> wrote:
>
>  LA75 reset sequence -- I don't have an LA50 manual handy -- is <ESC>c

<ESC>c is a general reset everything to saved settings, re-initialise 
hardware etc for nearly all DEC terminals & printers.  It's fundamentally
a hardware reset.

Often while it does this the device isn't listening to the serial port
and it will lose data.

Generally, using <ESC>c without taking into account that it's basically 
like turning the thing off & on is a Bad Idea.  There's usually a soft
reset instruction that will restore the device to a sane state without
being quite so brutal.  Otherwise, it's best to just send the sequences
that to set the device up the way you expect it.

Unfortunately, I can't find my Terminals & Printers handbook (the fount 
of all knowledge on this subject) right now so I can't say what it is.  
<sigh>

-- 
Don Stokes, Network Manager, Victoria University of Wellington, New Zealand.
don@vuw.ac.nz(work) don@zl2tnm.gen.nz(home) +64 4 495-5052 Fax+64 4 471-5386



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: LA50 info needed (brief)
  1995-05-24  4:00 LA50 info needed (brief) Tim Thompson
  1995-05-25  4:00 ` Ollie Treadway
@ 1995-06-01  4:00 ` tagoodhart
  1995-06-08  4:00 ` Tim Lasko, Digital Equipment Corp., Marlborough, MA
  2 siblings, 0 replies; 9+ messages in thread
From: tagoodhart @ 1995-06-01  4:00 UTC (permalink / raw)
  To: tigger

tigger@solaria.sol.net (Tim Thompson) wrote:
>
>Since no one could provide me with a U**x printcap entry for an LA50,
>is there someone out there who could provide me with 5 or 6 control
>sequences for it?
>
>I need to know the "escape sequences" for:
>
>
>Reset
>
>Compressed mode enable
>Compressed mode disable
>
>Underline mode enable
>Underline mode disable
>
>I think that's it.
>
>
>Thanx in advance.
>
>
>(If someone could provide me with FTP info, I can try that, as well.)
>
>
>TT/MKE
>
>
>-- 
>Tim Thompson        tigger@solaria.mil.wi.us
>414+744-0782        1000 - 1700 CT
>
>"Face it, Dorothy, your cupcakes are dry, and tasteless."

For reset try the DEC standard ESC[!p for powerup reset.  I can't prove 
it now, but I think I used this when I had an LA50 on attached to a 
VT241.

-- 
Thomas A. Goodhart
Systems Engineer				Electronic Data Systems
e-mail: tagoodhart@koman0.delcoelect.com	Kokomo, Indiana 46902





^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: LA50 info needed (brief)
  1995-05-27  4:00     ` Don Stokes
@ 1995-06-06  4:00       ` gassner_st
  1995-06-07  4:00         ` device control sequences (was Re: LA50 info needed) Richard Shuford
  0 siblings, 1 reply; 9+ messages in thread
From: gassner_st @ 1995-06-06  4:00 UTC (permalink / raw)


In general I have had very bad experience using ESC c on most devices, since
it causes the hardware to pause for a couple seconds.  At least on a
terminal...  Now there is a terminal/printer DEC Standard  somewhere that I 
used to know about, and it ustabe on-line even -- but where is it??

/steve



^ permalink raw reply	[flat|nested] 9+ messages in thread

* device control sequences (was Re: LA50 info needed)
  1995-06-06  4:00       ` gassner_st
@ 1995-06-07  4:00         ` Richard Shuford
  1995-06-08  4:00           ` Tim Lasko, Digital Equipment Corp., Marlborough, MA
  0 siblings, 1 reply; 9+ messages in thread
From: Richard Shuford @ 1995-06-07  4:00 UTC (permalink / raw)


In article <1995Jun6.185706@ivos02> Steve <gassner_st@ivos02> writes:
>
> In general I have had very bad experience using ESC c on most devices, since
> it causes the hardware to pause for a couple seconds.  At least on a
> terminal...  Now there is a terminal/printer DEC Standard  somewhere that I 
> used to know about, and it ustabe on-line even -- but where is it??


There are two distinct ways to issue a reset command to most DEC equipment.

Mnemonic Command              Sequence (7-bit)    Explanation
-------- -------------------  ------------------  -----------------------------

DECSTR   Soft terminal reset  Escape [ ! p        sets terminal to power-up
                                                  default states

RIS      Hard terminal reset  Escape c            replaces all terminal set-up
                                                  parameters with NVR values or
                                                  power-up default values if
                                                  NVR values do not exist.

("VT220 Programmer Pocket Guide" EK-VT220-HR-001, page 33)

 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

DEC printers, as well as DEC video terminals, typically are controlled
by a set of codes that form a superset of the ANSI X3.64 (ISO DP-6429)
standard.

I keep a collection of informal summaries of the control sequences for
the VT100, VT220, and other DEC terminals. available for public access
on the Internet, either by anonymous FTP or by World Wide Web browser.

By FTP:

    Connect to CS.UTK.EDU [128.169.94.1];
    login in with username of "anonymous" and with the password
    consisting of your e-mail address;
    change to directory "pub/shuford/terminal" and retrieve one
    or more of the several files for various DEC VTxxx terminals.
    change to directory "pub/shuford/printer" and retrieve one
    or more of the several files for various printers

    (Your computer must have its IP address and domain name registered
    with the Internet DNS for this access to succeed.)

By World Wide Web:

Here is the Uniform Resource Locator from which to start:

    http://www.cs.utk.edu/~shuford/terminal_index.html

The main access method for the collection is still FTP, but the
interaction is made transparent by your web browser.  Make sure
that your browser knows your correct e-mail address.

The collection also includes information on character-cell video
terminals from various other vendors, including IBM, Televideo, and
Wyse, and information on emulations running on personal computers.

I personally wrote very little of the information, and it is of
varying quality, but it has helped some people.


Digital Equipment Corporation has some official information online;
send an e-mail message to <terminals@digital.com>, or use these URLs
on the World Wide Web:

    ftp://ftp.digital.com/pub/Digital/info/infosheet/EC-F2423-56.txt

    ftp://ftp.digital.com/pub/Digital/termcaps/readme.vt525
    ftp://ftp.digital.com/pub/Digital/termcaps/faqvt525.txt
    ftp://ftp.digital.com/pub/Digital/termcaps/vt525seqs.lis

-- 
 ...Richard S. Shuford  | "By justice a ruler gives a country stability,
 ...shuford@cs.utk.edu  |  but one who is greedy for bribes tears it down."
 ...Info-Stratus contact|  Proverbs 29:4




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: LA50 info needed (brief)
  1995-05-24  4:00 LA50 info needed (brief) Tim Thompson
  1995-05-25  4:00 ` Ollie Treadway
  1995-06-01  4:00 ` LA50 info needed (brief) tagoodhart
@ 1995-06-08  4:00 ` Tim Lasko, Digital Equipment Corp., Marlborough, MA
  2 siblings, 0 replies; 9+ messages in thread
From: Tim Lasko, Digital Equipment Corp., Marlborough, MA @ 1995-06-08  4:00 UTC (permalink / raw)



In article <3q0bar$phj@solaria.mil.wi.us>, tigger@solaria.sol.net (Tim Thompson) writes...
>I need to know the [LA50] "escape sequences" for:
> 
>Reset                              *
> 
>Compressed mode enable             <ESC>[4w **
>Compressed mode disable            <ESC>[0w
> 
>Underline mode enable              <ESC>[4m
>Underline mode disable             <ESC>[24m

*  Surprise! There is no reset command. Throw a <ESC>\ anyway, which exits
   Sixel graphics mode on the off chance that you fell into it, and then
   any other sequences that might be important to you.

** "4" will give 16.5cpi, you can also use "2" for 12cpi. "0" resets to 10cpi.
   "5", "6", and "8" will give 5, 6, and 8.25 cpi respectively and print
   "double wide characters"

-------------------------------------------------------------------------------
Tim Lasko, Digital Equipment Corp., Marlborough MA (lasko@regent.enet.dec.com)
My opinions are my own; the facts can speak for themselves. I'm on my own time.
For Digital printer support: call 1.800.777.4343 or email printers@digital.com



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: device control sequences (was Re: LA50 info needed)
  1995-06-07  4:00         ` device control sequences (was Re: LA50 info needed) Richard Shuford
@ 1995-06-08  4:00           ` Tim Lasko, Digital Equipment Corp., Marlborough, MA
  0 siblings, 0 replies; 9+ messages in thread
From: Tim Lasko, Digital Equipment Corp., Marlborough, MA @ 1995-06-08  4:00 UTC (permalink / raw)



In article <3r4l6qINN3ij@duncan.cs.utk.edu>, shuford@cs.utk.edu (Richard Shuford) writes...
>In article <1995Jun6.185706@ivos02> Steve <gassner_st@ivos02> writes:
>> In general I have had very bad experience using ESC c on most devices, since
>> it causes the hardware to pause for a couple seconds.  At least on a
>> terminal...  

Yep, <ESC>c will do a power-up reset on a VT terminal (Well, there's a one
exception that I recall--a VT330/340 running software multiple sessions will
capture an <ESC>c and interpret it as the soft reset <ESC>[!p. But we got told
that that was a *bad* idea and the old hard reset action came back). But
overall, the terminals are pretty consistent and Richard gave the correct info:

>Mnemonic Command              Sequence (7-bit)    Explanation
>-------- -------------------  ------------------  -----------------------------
> 
>DECSTR   Soft terminal reset  Escape [ ! p        sets terminal to power-up
>                                                  default states
> 
>RIS      Hard terminal reset  Escape c            replaces all terminal set-up
>                                                  parameters with NVR values or
>                                                  power-up default values if
>                                                  NVR values do not exist.
> 
>("VT220 Programmer Pocket Guide" EK-VT220-HR-001, page 33)

Ah, but printers are a different story. First, not all of them even have a
<ESC>c reset: the earlier ones such as the LA50, which started this thread,
LA100 and LA210 all do not. DECSTR had varying interpretations as well through
out the "companion printer" era (LA7x) but would generally get many text
settings (character sets, pitch, tabs, font size, etc.) back to a "known"
default state that wasn't necessarily the power-up state. And then, the Hard
reset (<ESC>c) started to get "softer"....

For the last set of DEC ANSI printers (LA310, LA324/424, LA600, LN05/6/7/8), we 
made those two resets perform the same, soft, function. They set "text and
formatting" features back to a known state but not touch physical parameters
(like tray selection) and downloaded resources (like fonts).

The "harder" reset function moved to a newer command, the DECSCL (Set
Conformance Level) reset state. This reset forced all settings back to the
"known" factory default state for the feature. This is also not the power-up
state, though. 

The "Digital ANSI-Compliant Printing Protocol Level 2 [and 3] Programmers
Supplement" document has a large table describing all of the variables and what
the various reset states bring them to. A clever colleague of mine figured out
how to get the VT5xx manuals online (as Richard Shuford mentioned in his post)
but the DEC ANSI ones aren't yet.

The upshot is that resetting a DEC ANSI pritner can be very confusing. I have
megabytes of internal mail messages discussing the problem but it was never
cleaned up and, well, resources went to other things. [Like PCL emulation, for
instance I still would have liked to get ANSI level 4 done, though. Oh, well.]
-------------------------------------------------------------------------------
Tim Lasko, Digital Equipment Corp., Marlborough MA (lasko@regent.enet.dec.com)
My opinions are my own; the facts can speak for themselves. I'm on my own time.
For Digital printer support: call 1.800.777.4343 or email printers@digital.com



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~1995-06-08  4:00 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-05-24  4:00 LA50 info needed (brief) Tim Thompson
1995-05-25  4:00 ` Ollie Treadway
1995-05-25  4:00   ` Stephen Hoffman
1995-05-27  4:00     ` Don Stokes
1995-06-06  4:00       ` gassner_st
1995-06-07  4:00         ` device control sequences (was Re: LA50 info needed) Richard Shuford
1995-06-08  4:00           ` Tim Lasko, Digital Equipment Corp., Marlborough, MA
1995-06-01  4:00 ` LA50 info needed (brief) tagoodhart
1995-06-08  4:00 ` Tim Lasko, Digital Equipment Corp., Marlborough, MA

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