The Last Word 3.0 Reference Manual

6 CONFIGURING LW FOR YOUR PRINTER

You can customize LW's print styling commands to suit any kind of printer. Toggles can be set up for italics, bold, underlining, superscript and subscript, and up to 10 further styling commands can be defined for any purpose you can think of.

6.1 PRINTER DRIVERS

LW uses printer driver files (with the extension "PDR") to configure itself for various printers. At run-time, LW will attempt to load LW.PDR, so you can have the settings in this file available every time you run the program. If LW.PDR can't be found, LW uses its own default printer driver, which supports no special formatting and will send documents to the printer completely "clean". You can load printer drivers at any time during an editing session with:

<SHIFT+CTRL+D> Load printer driver. Just type a filename as usual - ".PDR" will be appended if you supply no extender.

Printer driver files translate the styling commands for italics, underline, boldface, etc., as well as international characters, into codes specific to your printer.

6.2 CREATING A PRINTER DRIVER

Although previous versions of LW used the LWPD.COM printer driver editor, that program is no longer necessary when editing LW 3.0 printer drivers, which are now stored as plain text files. Several printer drivers are supplied with the program, but it’s easy to write your own if you know the escape codes for your printer.

Printer driver commands must be placed one per line in the printer driver file and terminated with <Return>. The following statements are available:

Statement

Arguments

Comments

UNDERLINE ON¦OFF

n,n,n...

Underline on and off

ITALIC ON¦OFF

n,n,n...

Italics on and off

BOLD ON¦OFF

n,n,n...

Bold on and off

SUPERSCRIPT ON¦OFF

n,n,n...

Superscript on and off

SUBSCRIPT ON¦OFF

n,n,n...

Subscript on and off

INTERNATIONAL ON¦OFF

n,n,n...

International character set on and off

CRLF

n,n,n...

Carriage return/linefeed codes

INIT

n,n,n...

Printer initialisation codes

CODE

char,n

Assign international character code

STYLE

<1 - 10>,n,n,n...

Assign styles 1 - 10

Let's step through creating a printer driver for an EPSON compatible STAR LC-10 printer (not that you need to, since an EPSON driver is supplied, but it will do as an example).

6-35

Page 35
Image 35
Atari XL manual Configuring LW for Your Printer, Printer Drivers, Creating a Printer Driver

XL specifications

The Atari XL series, launched in 1982, represented a significant evolution in home computing, building upon the foundation laid by the Atari 400 and 800 systems. This line of computers included popular models such as the Atari 600XL and 800XL, both of which combined affordability with robust capabilities, making them attractive options for home users, educators, and enthusiasts alike.

One of the standout features of the Atari XL series was its color display capabilities. The systems supported a resolution of 320x192 pixels with a vibrant palette of 128 colors, which enabled rich graphics for games and applications. This was complemented by the system's powerful Antic graphics chip that allowed for advanced video display modes, making the Atari XL series particularly popular for gaming and multimedia applications.

Another key technology driving the Atari XL series was its use of the 6502 processor, which delivered efficient performance and allowed for smooth multitasking. The systems typically came with 64KB of RAM, expandable to 128KB, providing ample memory for running multiple applications simultaneously, a notable feature in comparison to other microcomputers of the time.

The Atari XL series also introduced a new, user-friendly operating system known as Atari DOS. This improved disk management capabilities, making it easier for users to manage files and applications on floppy disks. The systems were equipped with built-in BASIC programming language, enabling users to dive into programming and coding, fostering a generation of hobbyists and developers.

Each model in the Atari XL series came with a distinctive keyboard design, offering both a chic and functional layout. The keyboards were known for their tactile feel, making them suitable for typing and coding over extended periods.

Additionally, the Atari XL computers were compatible with a wide range of peripherals, such as printers, modems, and disk drives, enhancing their versatility. Users could also take advantage of a rich library of software, including educational programs, productivity tools, and an ever-growing selection of games.

The Atari XL series not only boasted solid technology and capabilities but also garnered a devoted community. The systems contributed to a vibrant culture of gaming and computing in the early 1980s, which remains fondly remembered by enthusiasts today. With their combination of innovative technology, user-centric design, and a diverse software library, the Atari XL series played a crucial role in the evolution of home computing.