System i: Printing Basic Overriding file attributes..... 151 Overriding file names or types.... 152...

Click here to load reader

  • date post

    25-Mar-2020
  • Category

    Documents

  • view

    5
  • download

    0

Embed Size (px)

Transcript of System i: Printing Basic Overriding file attributes..... 151 Overriding file names or types.... 152...

  • System i

    Printing Basic printing Version 5 Release 4

    ���

  • System i

    Printing Basic printing Version 5 Release 4

    ���

  • Note Before using this information and the product it supports, read the information in “Notices,” on page 321.

    Fourth Edition (February 2006)

    This edition applies to version 5, release 4, modification 0 of IBM i5/OS (product number 5722-SS1) and to all subsequent releases and modifications until otherwise indicated in new editions. This version does not run on all reduced instruction set computer (RISC) models nor does it run on CISC models.

    © Copyright International Business Machines Corporation 1999, 2006. All rights reserved. US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.

  • Contents

    Basic printing . . . . . . . . . . . . 1 What’s new for V5R4 . . . . . . . . . . . 1 Printable PDF . . . . . . . . . . . . . . 1 Printing concepts . . . . . . . . . . . . . 1

    Basic printing terminology . . . . . . . . . 2 Overview . . . . . . . . . . . . . . 2 Printer file . . . . . . . . . . . . . . 5

    Printer file overview . . . . . . . . . . 5 Printer file overrides . . . . . . . . . . 7

    Spooled files and output queues . . . . . . . 8 Spooling overview . . . . . . . . . . 8 Spooled file . . . . . . . . . . . . . 9 Output queue . . . . . . . . . . . . 9 Multiple output queues . . . . . . . . 10 Output queue recovery . . . . . . . . 10 Spooled file cleanup . . . . . . . . . 11 Default output queues . . . . . . . . . 11 Order of spooled files on an output queue . . 12 Data queue support . . . . . . . . . 13

    Record type 01 data queue entry format . . 15 Record type 02 data queue entry format . . 16

    Spooled file names . . . . . . . . . . 18 Spooled file security . . . . . . . . . 18 Output queue security . . . . . . . . . 19 QPRTJOB job . . . . . . . . . . . . 19 Spooled file subsystem . . . . . . . . 20 Spooled file library . . . . . . . . . . 20 Spooled files in independent ASPs . . . . . 21

    Printer writer program . . . . . . . . . 23 Printer data streams . . . . . . . . . . 24

    SNA character string . . . . . . . . . 24 Advanced Function Presentation data stream 25 Intelligent Printer Data Stream . . . . . . 28 American National Standard Code for Information Interchange . . . . . . . . 36

    Printer device description . . . . . . . . 37 Job description . . . . . . . . . . . . 37 Workstation description . . . . . . . . . 37 User profile . . . . . . . . . . . . . 37 System values . . . . . . . . . . . . 38 Controlling printing to output queue or printer 38

    Routing process order . . . . . . . . . 38 Routing examples . . . . . . . . . . 40

    Example 1: Determining your output queue 40 Example 2: Determining your output queue 41 Example 3: Determining your output queue 42 Example 4: Determining your output queue 43 Example 5: Determining your output queue 43 Example 6: Determining your output queue 44 Example 7: Determining your output queue 45 Example 8: Determining your printer name 46 Example 9: Determining your printer name 46 Example 10: Determining your printer name when using batch . . . . . . . 47 Example 11: Determining your printer name when using batch . . . . . . . 48

    Example 12: Determining your printer name when using batch . . . . . . . 48 Self-test: Determining output queue and printer device . . . . . . . . . . 48 Self-test answers . . . . . . . . . . 49

    Printer attachment methods . . . . . . . . 50 TCP/IP-network-attached printers . . . . . 51

    Intelligent Printer Data Stream with Print Services Facility . . . . . . . . . . 51 Simple Network Management Protocol . . 51 Printer Job Language . . . . . . . . 51 Internet Printing Protocol . . . . . . . 51 Line printer requester/line printer daemon 52

    PC-attached printers . . . . . . . . . 52 Twinaxial-workstation-controller-attached printers . . . . . . . . . . . . . . 52 ASCII-workstation-controller-attached printers 53 Lexlink-network-attached printers . . . . . 53 Printers attached to IBM InfoWindow 3477, 3486, 3487, and 3488 display stations . . . . 53

    Remote system printing . . . . . . . . . 53 Benefits . . . . . . . . . . . . . . 54 How remote system printing works . . . . 55 User print information . . . . . . . . . 55 Send and defer status . . . . . . . . . 56

    Fonts . . . . . . . . . . . . . . . 57 TrueType and OpenType fonts . . . . . . 58 AFP compatibility fonts . . . . . . . . 59

    Font character sets . . . . . . . . . 59 Font global identifiers . . . . . . . . 61 Code pages . . . . . . . . . . . 64 Stand-alone code pages . . . . . . . 64 Character set and code page combinations 66 Coded fonts . . . . . . . . . . . 67

    Double-byte character set support . . . . . . 68 Special DBCS printer functions . . . . . . 68

    Character rotation . . . . . . . . . 68 Character expansion . . . . . . . . 69 Condensed printing . . . . . . . . 69 Horizontal and vertical lines . . . . . . 69 Shift-control character printing . . . . . 70

    Double-byte character printing considerations 71 Extended character printing . . . . . . 71 Condensed printing . . . . . . . . 71 Page width . . . . . . . . . . . 71 Unprintable double-byte characters . . . 72 Double-byte data in an alphanumeric field 72 Spanned lines . . . . . . . . . . 73 Spanned pages . . . . . . . . . . 73 Print key use . . . . . . . . . . . 73 5553 printer end-of-forms . . . . . . . 74 Double-byte data printed on alphanumeric printers . . . . . . . . . . . . . 74

    DBCS spooled support . . . . . . . . 75 3130 printer resident font support . . . . . 75

    Internet Printing Protocol server . . . . . . 75

    © Copyright IBM Corp. 1999, 2006 iii

  • Network print server . . . . . . . . . . 76 Network print server objects . . . . . . . 76 How the network print server is accessed . . 76 Exit points and the network print server . . . 78

    Exit point QIBM_QNPS_ENTRY . . . . 79 Exit point QIBM_QNPS_SPLF . . . . . 80

    Use of network print server exit points . . . 82 Communications network printing functions . . 82

    3270 printer emulation . . . . . . . . . 83 Remote job entry printing . . . . . . . 83 3x74-attached printers . . . . . . . . . 84 Distributed data management printing . . . 85 Object distribution printing . . . . . . . 86

    Host print transform . . . . . . . . . . 86 Host print transform advantages . . . . . 87 How the host print transform function works 88 AFP-to-ASCII transform function . . . . . 88 Host print transform in raster mode . . . . 90 Host print transform and emulator products 91

    Image print transform . . . . . . . . . . 91 Image print transform overview . . . . . 91 Image print transform advantages . . . . . 92 Image configuration objects . . . . . . . 92 Convert Image API . . . . . . . . . . 93 Conversion of PostScript data streams with image print transform . . . . . . . . . 93 Page size . . . . . . . . . . . . . 96

    Additional printing considerations . . . . . . 96 Direct print considerations . . . . . . . 96 Open considerations . . . . . . . . . 96 Output considerations . . . . . . . . . 96 Close considerations . . . . . . . . . 97 First-character forms-control data considerations . . . . . . . . . . . 97 Printer font considerations . . . . . . . 98 Alternative character sets and code pages for printer output considerations . . . . . . 101 Output field considerations . . . . . . . 103 Externally described printer-file record-format considerations . . . . . . 104 Redirecting output considerations . . . . 105 3812 and 3816 SCS printer considerations . . 108 3835 printer considerations . . . . . . . 109 3912, 3916, and 4028 printer considerations 109 Special printer file considerations for AFP data stream . . . . . . . . . . . . 109 Special data description specifications considerations for AFP data stream . . . . 110 Performance considerations . . . . . . . 112

    Planning printing . . . . . . . . . . . . 112 Configuring printing . . . . . . . . . . . 113

    Configuring PJL printers . . . . . . . . . 113 Configuring SNMP printers . . . . . . . 115 Configuring LPR/LPD . . . . . . . . . 117 Configuring IPP printers . . . . . . . . 120

    Setting up validation lists for the IPP print driver . . . . . . . . . . . . . . 121

    Setting up the IPP server . . . . . . . . 122 Verifying IPP server prerequisite programs 122 Configuring your Web browser . . . . . 123 Starting the administrator interface . . . . 123

    Configuring an IPP server . . . . . . . 123 Configuring an IPP printer . . . . . . . 124 Configuring an IPP client . . . . . . . 124

    Configuring Lexlink printers . .