Guardian Programmer's Guide

Table Of Contents
Contents
Guardian Programmer’s Guide421922-014
viii
11. Communicating With Printers (continued)
11. Communicating With Printers (continued)
Using the Printer Control Language 11-5
Controlling the Printer 11-6
Commonly Used PCL Escape Sequences 11-8
Programming for Tandem Laser Printers 11-9
Selecting a Printer Language (5577 Only) 11-10
Using Job-Control Commands 11-11
Using Page-Control Commands 11-14
Printing Text 11-16
Resetting the Laser Printer Default Values 11-19
Programming for Tandem Matrix Line Printers 11-19
Using Page-Control Commands 11-20
Controlling Forms Movement 11-21
Printing Text 11-26
Resetting the Printer to Default Values 11-29
Recovering From Errors 11-29
Recovering From a “Device Not Ready” Error 11-30
Recovering From Path Errors 11-30
Sample Program for Using a Printer 11-31
12. Communicating With Magnetic Tape
Accessing Magnetic Tape: An Introduction 12-2
Positioning the Tape 12-4
Spacing Forward and Backward by Files 12-5
Spacing Forward and Backward by Record Blocks 12-7
Rewinding the Tape 12-10
Reading and Writing Tape Records 12-11
Reading Tape Records 12-11
Writing Tape Records 12-13
Blocking Tape Records 12-15
Working in Buffered Mode 12-16
Invoking and Revoking Buffered-Mode Operation 12-17
Flushing the Buffer 12-18
Buffered Mode for Streaming Devices (D-Series Only) 12-19
Buffering End-of-File Marks 12-19
An Example of Buffered-Mode Operation 12-19