Home |
News (Page 1) |
Computer Graphics
What is NAPLPS ?
North American Presentation Level Protocol Syntax
by Randy Harris office@lexipixel.com
April 10, 2004 (03:18:28 EST)
I was digging through my hard drive and found some old .txt files... and figured I'd publish them onto the web.
(from 1992)
NAPLPS is an acronym for North American Presentation Level Protocol Syntax.
...it's a pretty fancy title, but what does it mean?
Well, first of all, you can drop the "North American" part, that's where it started, NAPLPS is now an accepted standard around the globe -- more important is that it IS a STANDARD.
NAPLPS graphics encoding is covered by the 1983 ANSI X3.110 standard, under the heading, "Video-text/Tele-text Presentation Level Protocol Syntax", and is based on the International Standards, ISO-2022 and ISO-2375.
Yes, NAPLPS is ANSI!
The ANSI escape sequences which are the basis for the popular ANSI BBS terminal emulation, are very similar to NAPLPS escape sequences. Both can be communicated between two devices as ASCII data.
So, now we know NAPLPS is set of escape sequences which are standardized into ASCII data. Sounds simple, right? Well...sort of..
ANSI sequences (the kind that are used for color, attributes, cursor control, and terminal functions like screen clearing, and line feeds) are used in (80 column by 25 row) text mode, and thus "the hardware is made to conform to the data structure". What I mean by this, is that if a remote terminal wishes to use ANSI-BBS terminal emulation, the remote hardware is set to (80 x 25 char) text mode, regardless of the actual capability of the remote terminal's graphics hardware, (monitor/adapter). CGA, EGA, VGA, or SVGA all are reduced to text-type terminals, no graphics other than 80x25 IBM graphics characters are possible.
Even under MS-WINDOWS, or other GUI software, ANSI terminal emulation is reduced to a bit-map representation of an 80 x 25, text mode terminal screen.
NAPLPS does not make the remote terminal conform to the data structure. The data is "device independent". For now let's just say, "any graphic designed on one NAPLPS capable terminal can be viewed on ANY other NAPLPS capable terminal". This means a design created on a VGA equipped PC can be viewed on a monochrome, CGA, EGA, or other PC terminal, or on a MAC, or an AMIGA, or one of the many other computer types which NAPLPS decoders have been written for. And, it can be done during a ANSI text mode session.
To accomplish this, it necessary for the host system to "toggle" the remote user's terminal to and from NAPLPS and ANSI/text mode.
A NAPLPS decoder called MVDI is the heart of most NAPLPS capable applications in the market. MVDI, or "MicroStar's Virtual Device Interface" is invoked before a NAPLPS session begins. Using escape sequences, aware programs will route the NAPLPS encoded data through the MVDI decoder and translate the instructions into display graphics based on the MVDI-hardware device driver in use. Through this process, the host system, the remote terminal, and the NAPLPS data are all independent of each other.
The NAPLPS encoded graphic objects can be simple or complex, they can consist of scalable font text, lines, curves, circles, polygons, filled areas, and other "drawing primitives". You can use freehand point drawing to create any shape line or area. NAPLPS "blink" and "wait" capabilities, and the layering methods of most NAPLPS editors can be used to create animation for self running demos or tutorials.
Using advanced functions for fields and you can create data entry screens, and scrollable text windows. A process called "incremental point display" allows for the NAPLPS encoding of photographic and bit-mapped images.
At this point you may be thinking, "Why have I never heard of NAPLPS before", or "If it's so flexible, why isn't it in use" ?
You probably HAVE heard of NAPLPS, but it may have been called by another name. Video-text, Video Show, Online Graphics, these are just some of the terms used to described what is essentially NAPLPS.
Prodigy is the most wide spread application of NAPLPS, although most of the graphics on Prodigy are designed for CGA use and are not fully taking advantage of the standard. Another big name application, PageMaker, which
is the most popular professional desktop publishing package includes an "image import filter" for "Video Show Graphics", this makes it possible to incorporate high-resolution graphics captured from online (NAPLPS) sessions
into a printed document.
There are even utility programs for converting NAPLPS data to ham-radio packet message data. Version 2.0 of CorelDraw also has NAPLPS (Video Show) import/export capability.
Now we know that:
- NAPLPS is covered by the ANSI X3.110 standard.
- NAPLPS graphics can be created and displayed by nearly any type of computer hardware.
- NAPLPS graphics can be reproduced on screen, in print, or transmitted from one device to another.
- Many major software developers have incorporated NAPLPS support into their programs.
Many of you reading this are interested in the possibilities for displaying NAPLPS graphics online, on your BBS, (many more are probably wondering why they'd want to)....
First of all, you CAN display NAPLPS graphics on your BBS.
Why would you want to?... GRAPHICS!
Most PCs that are sold today are VGA equipped, add to this the fact that modem prices have fallen drastically and are still falling, and you have a perfect vantage point for NAPLPS to take it's place as the graphics standard for online communications.
USERS DEMAND GRAPHICS! For years .GIF files have been a mainstay in BBS file directories. "GIFS" are bulky bit-mapped image files, which can not be presented online in any reasonable fashion (although some software allows user's to view a GIF while downloading the file), the images are static and can not be incorporated into a BBS's file display or menu structure. Still, hour after hour, users will download GIF files and happily look at the static image (offline using GIF viewer).
USERS CRAVE INFORMATION! A user is never happier than when they can get some tidbit of information via modem. About the best comment you'll ever hear out of users about BBS graphics is "this BBS has really neat ANSI menus..".. that's it. Screen after screen of information is presented to users, on equipment that is capable of reproducing high-resolution graphics, and the best we can give them with ANSI alone is "neat menus". A picture IS worth a thousand words, and a BBS is the perfect medium for delivering electronic pictures.
CIRCLES, TRIANGLES, MULTIPLE FONTS! ..you're thinking, "..can't be talking about BBS's...we can't have circles, triangles, or fonts",..WRONG!
Using NAPLPS graphics, not only can you have circles, triangles, multiple fonts, but also, logos, drop shadows, freehand drawing, animation, beeps, blinks, timed pauses, and more!
[Copyright (C)1992 Randy M. Harris, all rights reserved]
|
|