CONTENTS Title Page Copyright Page Preface Summary of Technical Changes Part I ScriptPrinter Management Guide 1 ScriptPrinter Overview 1.1 LN03R ScriptPrinter User Panels 1.1.1 On-Line/Off-Line Button 1.1.2 Graphic Indicators 1.1.3 Single-Digit Display 1.1.4 Page Count Indicator 1.1.5 Paper Size 1.1.6 Summary Sheet Button 1.2 ScriptPrinter Software 1.2.1 System Files 1.2.2 Software Services 1.2.3 Application Programs 1.3 VMS Operating System Support 2 Managing Print Queues 2.1 Access Privileges 2.2 INITIALIZE/QUEUE Operations 2.2.1 Device Control Library 2.2.2 Job Separation Defaults 2.2.3 Print Symbiont 2.2.4 Initialization Examples 2.2.5 Queue Initialization in a Cluster 2.3 ASSIGN/DEASSIGN Commands ASSIGN/QUEUE DEASSIGN/QUEUE ASSIGN/MERGE 2.4 DEFINE/DELETE Commands DEFINE/CHARACTERISTIC DEFINE/FORM DELETE/CHARACTERISTIC DELETE/ENTRY DELETE/FORM DELETE/QUEUE 2.5 START/STOP QUEUE Commands START/QUEUE START/QUEUE/MANAGER STOP/QUEUE STOP/QUEUE/ABORT STOP/QUEUE/MANAGER STOP/QUEUE/NEXT STOP/QUEUE/REQUEUE STOP/QUEUE/RESET 2.6 SET/SHOW QUEUE Commands 2.6.1 /RETAIN Qualifier SET ENTRY SET QUEUE SET QUEUE/ENTRY SHOW QUEUE SHOW QUEUE/CHARACTERISTICS SHOW QUEUE/FORM 2.7 Changing the Default Parameters for a Queue 2.7.1 Syntax for Parameters Associated with a Queue 2.7.2 Syntax Errors in Parameters Associated with a Queue 2.7.3 Order of Defaulting for Parameters 3 Accounting for the ScriptPrinter 3.1 Accounting Fields Filled in by the ScriptPrinter Print Symbiont 3.2 Accounting Fields Supplied by the Job Controller 3.3 Accounting Fields Left Blank by the Job Controller 3.4 Accounting Fields Filled with Zeros by the Job Controller 4 Flag, Burst, Trailer, and Log Pages 4.1 Job Flag and Trailer Pages 4.1.1 Job Flag Page Items 4.1.2 Job Trailer Page Items 4.2 File Flag and Trailer Pages 4.2.1 File Flag Page Items 4.2.2 File Trailer Page Items 4.3 Job and File Burst Pages 4.4 Job Log Page 4.4.1 Job Log Page Items 4.5 File Error Page 4.5.1 File Error Page Items 5 The Device Control Library 5.1 Device Control Modules 5.1.1 Order of Device Control Modules in a Print Job 5.1.1.1 Including Modules with Commands 5.1.2 Creating Device Control Modules 5.2 Error Handler 5.2.1 Including the Error Handler in a Print Job 5.2.2 Error Handler Output 5.2.2.1 Output Format 5.2.3 PostScript Environment 5.2.4 Error Handler Example 5.3 Additional Character Encodings 5.3.1 Using the Additional Encodings 5.3.2 Including the DECMCS Encoding Module in a Print Job 5.3.3 Defining ISOLatin1 for Non-DIGITAL Printers 5.3.4 Examples of Encoding Vectors 6 Layup Definition Files 6.1 Creating a Layup Definition File 6.1.1 Borders 6.1.2 Sheet Margins 6.1.3 Margin Alternation 6.1.4 Pages per Sheet 6.1.5 First Page 6.1.6 Page Order 6.1.7 Page Grid 6.2 Sample Layup Definition Files 6.3 Error Messages 7 Using Setup Modules and Forms with the ScriptPrinter 7.1 Using Setup Modules 7.1.1 Sample Setup Modules 7.1.2 Creating a Device Control Library 7.1.3 Putting Setup Modules in Libraries 7.1.4 Specifying a Library Search List 7.2 Using Forms 7.3 Defining Forms 7.3.1 Supported FORM Qualifiers 7.3.2 Unsupported FORM Qualifiers 7.3.3 Sample ScriptPrinter Forms 7.3.4 Deleting a Form Part II ScriptPrinter User's Guide 8 Submitting Print Requests 8.1 Print Command Qualifiers 8.1.1 /COPIES 8.1.2 /DELETE 8.1.3 /FEED 8.1.4 /FORM 8.1.5 /HEADER 8.1.6 /JOB_COUNT 8.1.7 /NOTIFY 8.1.8 /PAGES 8.1.9 /PASSALL 8.1.10 /QUEUE 8.1.11 /REMOTE 8.1.12 /RESTART 8.1.13 /SETUP 8.1.14 /SPACE 8.2 /PARAMETERS Qualifier 8.2.1 DATA_TYPE 8.2.1.1 Processing DDIF Files 8.2.1.2 Image File Processing 8.2.2 LAYUP_DEFINITION 8.2.3 MESSAGES 8.2.4 NUMBER_UP 8.2.4.1 NUMBER_UP Parameter with Paper Selection Parameters 8.2.5 OUTPUT_TRAY 8.2.6 PAGE_LIMIT 8.2.7 PAGE_ORIENTATION 8.2.7.1 PAGE_ORIENTATION Parameter with NUMBER_UP Parameter 8.2.8 PAGE_SIZE 8.2.9 SHEET_COUNT 8.2.10 SHEET_SIZE 8.3 Multiple Files and Multiple Copies 8.4 Using the SHOW QUEUE Command 8.5 Recovering from a Paper Jam 8.6 Using the ScriptPrinter with DQS 9 ScriptPrinter System Messages 9.1 System Message Overview 9.1.1 Message Format 9.1.2 Severity Level 9.2 Message Descriptions BAD_DEVCTL, Bad library device control specification - string . . . . DEVSYNERR, Syntax error in ON qualifier. Queue-name nn DICTFULL, dictfull: No more room in dictionary - offending command is string . . . FTLDEVCTL, Fatal device control libraryp FUSCOPEN, Print Engine fuser cover is open . . . JOBABORT, Job jobnumber aborted JOBFINISH, Job jobnumber finish . . . LRJACCESSREJECT, Immediate access is rejected LRJCORRUPT, Corrupted request . . . LRJSHUTDOWN, System shutdown in progress LRJUNKNOWN, Unknown . . . NOT_READY, Printer not ready. OFFLINE, Print engine has gone off line . . . PRWRDWERR, printer timed out PWRCYCL, The printer power was cycled . . . STRTOOLON, String is too long - it has been truncated SYNERR, syntaxerror: Input ended in string or procedure body - offending command is string . . . UNKDATATYPE, Unknown datat UNMATCH, unmatchedmark: Expected mark not on stack - offending command is string . . . ZEROAREA, Layup definition margins ru 9.2.1 Layup Definition (BADLAYDEF) Messages Bad form for margin values . . . Page count must be less than 100 Unrecognized keyword keyword . . . Unrecognized option option 9.3 New System Messages for Version 2.1 BADLIBNAM_IGNOR, Bad library name library-name ; ignored . . . TRANSJAM, Print engine transport section is jammed TRAYJAM, Input paper tray is jammed . . . UNKNOWN_PROLOG, Unknown prolog - version version number , name prolog name A Programming the ScriptPrinter A.1 Printing Device Control A.1.1 Using PostScript Extension Operators A.1.2 Redefining Native PostScript Operators A.2 Interaction of PostScript Operators and Command Line Qualifiers A.3 Restrictions to PostScript on the ScriptPrinter A.3.1 Limit to Use of gsave A.3.2 Limit to Dictionary Stack Entries B Differences Between the ScriptPrinter and PrintServer Software B.1 Print Parameters B.2 Job Separation Pages B.3 Other Differences Glossary applications port . . . initialize interpreter . . . persistent parameters port . . . session sheet . . . volatile parameters EXAMPLES 2-1 Setting Up Execution Print Queues 2-2 Setting Up Generic Print Queues 5-1 Sample Error Handler Log File 5-2 Defining the DECMCS Encoding Vector 5-3 Defining the ISOLatin1 Encoding Vector 7-1 Sample ANSI Setup Module, A4_Page.txt 7-2 Sample PostScript Setup Module, confidential.txt 7-3 Creating a Search Order for Device Control Libraries 7-4 Sample Definition of an ANSI Form 7-5 Sample of a PostScript Form FIGURES 1-1 Major Software Systems 6-1 Example of Printing Four Pages to a Sheet (4-UP) with Borders 6-2 Example of Printing Four Pages to a Sheet (4-UP) without Borders 6-3 Usable Sheet Area with Margins Option 6-4 Examples of Page Order Option 8-1 Page Orientation with NUMBER_UP 8-2 Landscape Pages on a Portrait Sheet TABLES 5-1 Order of Data Sent to a Print Job 8-1 Recognized Data Types 8-2 Image Presentation Attributes 8-3 Page Sizes B-1 Comparison of Tray and Paper Selection Parameters