Printronix P9012 User's Guide

Browse online or download User's Guide for Multifunctionals Printronix P9012. Printronix P9012 User`s guide User Manual

  • Download
  • Add to my manuals
  • Print
  • Page
    / 296
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews

Summary of Contents

Page 1 - ORDER REFERENCE

Bull Guide to Printers and PrintingAIX86 A2 37JX 02ORDER REFERENCE

Page 2

viiiGuide to Printers and Printing

Page 3 - Software

3-14Guide to Printers and Printingargv[0] is the name of the backend itself, as usual. Note that the –Pasc, which specifies thequeue name, was parsed

Page 4 - Year 2000

3-15Spooler OverviewVirtual Printers and Formatter Filters When the spooler queue backend is piobe, the formatter filter is normally the next–to–lastp

Page 5 - Contents

3-16Guide to Printers and PrintingThe pioformat command expects to be able to call, if necessary, five subroutines;pioformat by itself does not contai

Page 6

3-17Spooler Overview/etc/qconfig, the Spooler Configuration File /etc/qconfig File Structure /etc/qconfig is the most important file in the spooler do

Page 7

3-18Guide to Printers and PrintingFollowing the tab–indented lines, the qdaemon must find the word that is the value of thedevice parameter followed b

Page 8

3-19Spooler Overviewps: device = lp1lp1: file = /dev/lp1 header = never trailer = never access = both backen

Page 9

3-20Guide to Printers and PrintingSummaryThe Spooler Data Flow Summary figure summarizes the high–level flow of a spooler printjob through the AIX spo

Page 10

4-1Printer, Plotter, and Spooler Subsystem ProgrammingChapter 4. Printer, Plotter, and Spooler SubsystemProgrammingThis section discusses:• Printer Ba

Page 11 - About This Book

4-2Guide to Printers and PrintingPrinter Backend Overview for ProgrammingThe AIX printer backend receives and processes print requests from a spooler,

Page 12 - ISO 9000

4-3Printer, Plotter, and Spooler Subsystem ProgrammingPrinter Backend Data FlowThe primary purpose of a backend is to send characters to a device, usu

Page 13

ixPrefaceAbout This BookThis book contains information for understanding the print process as well as providingprinter configurations.Note: You can al

Page 14 - Printer Terminology

4-4Guide to Printers and PrintingVirtual Printer Definitions and AttributesA virtual printer definition is a file that pairs the attributes or charact

Page 15 - Printer Backend

4-5Printer, Plotter, and Spooler Subsystem Programmingnames must not begin with a numeral. All attribute names must be two characters long,except for

Page 16 - Prerequisites

4-6Guide to Printers and PrintingName Description Value_ _FLG VALUES THAT MAY BE OVERRIDDEN WITH FLAGS ON

Page 17

4-7Printer, Plotter, and Spooler Subsystem ProgrammingSome typical _ _SYS attributes for a supported PostScript laser printer are:_ _SYS OTHER VALUES

Page 18

4-8Guide to Printers and Printing_ _IDS PIPELINES FOR INPUT DATA STREAMS (2 char, 1st=”i”, 2nd=data stream name)ia Pipeline for Input Data

Page 19

4-9Printer, Plotter, and Spooler Subsystem ProgrammingFilter Flag AttributesAttributes grouped under the _ _FIL group header attribute store command s

Page 20

4-10Guide to Printers and Printingfiles containing header and trailer page text, downloadable font files, and temporary files.The first character in a

Page 21 - Prerequisite

4-11Printer, Plotter, and Spooler Subsystem Programming_ _MIS MISCELLANEOUSmA Printer Data Stream Description PostScriptmD Nam

Page 22

4-12Guide to Printers and PrintingThe colon file stores these same values as::062:_ _WKV:::472:w7::%?%S_s%”Courier”%=%tCourier–Bold%e%S_s%”Times–Roman

Page 23

4-13Printer, Plotter, and Spooler Subsystem ProgrammingEscape Sequences AttributesEscape sequence attributes begin with the letter e and are grouped u

Page 24 - Printer Status Conditions

xGuide to Printers and PrintingISO 9000ISO 9000 registered quality systems were used in the development and manufacturing ofthis product.Related Publi

Page 25

4-14Guide to Printers and PrintingPrinter Colon File Escape Sequences Embedded references and logic for attribute values in the printer backend’s data

Page 26

4-15Printer, Plotter, and Spooler Subsystem Programming%Dxx Downloads to the printer the contents of the file whose full path name isspecified by the

Page 27

4-16Guide to Printers and PrintingInternal Variables:Internal variables a through z are integer variables for use by %P, %Z, and %g. They areinitializ

Page 28

4-17Printer, Plotter, and Spooler Subsystem ProgrammingNote: The first value to be popped off the stack is the last one to be pushed onto the stack,an

Page 29

4-18Guide to Printers and PrintingLoops%wx While loop. Whenever a matching %; is reached, the value of theinternal variable x (x can be a through z) i

Page 30

4-19Printer, Plotter, and Spooler Subsystem Programming%vxy or %v[...] Similar to %fxy and %f[ . . . ], but used only in the command string forthe pio

Page 31 - Administrators

4-20Guide to Printers and PrintingPrinter Colon File Conventions Printer and printer data stream attributes reside in colon files. Colon files reside

Page 32 - Print Spooler

4-21Printer, Plotter, and Spooler Subsystem ProgrammingAttribute NamesThe following conventions have been established for virtual printer attribute na

Page 33 - Printer Backends

4-22Guide to Printers and PrintingThe following attribute names are used for communicating from the piobe command (theprint job manager) to the pioout

Page 34 - Formatter Filters

4-23Printer, Plotter, and Spooler Subsystem ProgrammingSuggested Attribute NamesSuggested attribute names are names that are assumed by many formatter

Page 35

1-1Printers, Print Jobs, and Queues Overview for UsersChapter 1. Printers, Print Jobs, and Queues Overviewfor UsersDepending on the printer, you can c

Page 36

4-24Guide to Printers and PrintingLimits FieldThe limits field in the colon file contains two types of information. SMIT dialog informationand validat

Page 37 - Initial Printer Configuration

4-25Printer, Plotter, and Spooler Subsystem ProgrammingExample of Print Formatter This example shows how print formatters can interact with the docume

Page 38

4-26Guide to Printers and Printing/* TABLE OF ATTRIBUTE VALUES */struct attrparms attrtable[] = { /*name data type lookup address of pointer */”_b”

Page 39

4-27Printer, Plotter, and Spooler Subsystem Programminglineout(fileptr) /*** Format a Line ***/FILE *fileptr;{int ch, charcount = 0;for (ch = 0; ch

Page 40 - Configuring a Printer Port

4-28Guide to Printers and PrintingUnderstanding the Interaction between qdaemon and theBackendBesides reading files and writing to devices, a backend

Page 41

4-29Printer, Plotter, and Spooler Subsystem ProgrammingPrinting Extra CopiesThe enq –N command prints extra copies of a file. For example, to print fi

Page 42 - Additional Queue Operations

4-30Guide to Printers and PrintingEXITFATAL The job could not be finished because of a problem in the devicethat requires manual intervention. The qd

Page 43 - Adding a Print Queue Device

4-31Printer, Plotter, and Spooler Subsystem ProgrammingMessage FormatEach message sent by the printer backend consists of a message header frame, zero

Page 44

4-32Guide to Printers and Printing and assigns the first variable parameter pointer to the eighth parameter, the secondvariable parameter pointer to t

Page 45 - Creating a Plotter Setup File

4-33Printer, Plotter, and Spooler Subsystem ProgrammingUnderstanding Backend Routines in libqb This article defines the set of library routines that t

Page 46

1-2Guide to Printers and PrintingPrinter TerminologyThe following defines terms commonly used with printing.Print JobA print job is a unit of work to

Page 47

4-34Guide to Printers and Printingget_was_idle() Returns TRUE if the printer was idle at job beginning (useful forpaper feed: feed/no feed).Returns th

Page 48

4-35Printer, Plotter, and Spooler Subsystem ProgrammingPrinter Code Page Translation Tables Translation of code points in the print file to code point

Page 49

4-36Guide to Printers and PrintingBy convention, the printer command string’s 2–character attribute name is at index 0 in theCommand Names array. If t

Page 50

4-37Printer, Plotter, and Spooler Subsystem ProgrammingThe Ti and To attributes in the printer–dependent colon files define the possible flow of thetr

Page 51 - Wiring Nonsupported Printers

4-38Guide to Printers and PrintingThe qprt –F flag specifies a font. The full path name, font alias, or the Xwindow LogicalFunction Description (XLFD)

Page 52

4-39Printer, Plotter, and Spooler Subsystem ProgrammingPrinter Code Page Translation for Multibyte Code Sets Multibyte code set (MBCS) translation fro

Page 53 - Supported Hardware

4-40Guide to Printers and PrintingFor example, to print an MBCS file that was written with a new code set on an IBM–943printer follow these steps:1. C

Page 54

4-41Printer, Plotter, and Spooler Subsystem ProgrammingTranslation Table Example #include <fcntl.h>struct trans_table /*Translation

Page 55

4-42Guide to Printers and PrintingPrinter Attachment FilesAttachment files provide a simple interface for developers of printer attachments to createS

Page 56 - Modem Connections

4-43Printer, Plotter, and Spooler Subsystem ProgrammingStructure of Attachment FilesAttachment files are ASCII files. Each line in an attachment file

Page 57 - Terminfo Database

1-3Printers, Print Jobs, and Queues Overview for UsersReal PrinterA real printer is the printer hardware attached to a serial or parallel port at a un

Page 58 - Printer Backend Commands

4-44Guide to Printers and PrintingAttachment File Field DefinitionsThe following field definitions detail the attachment type fields, formats for the

Page 59

4-45Printer, Plotter, and Spooler Subsystem Programmingadd_printer Specifies the name of the SMIT selector ID to branch to in order toadd a printer to

Page 60

4-46Guide to Printers and PrintingPrinter Colon File limits Field Operators The limits field in the colon file contains two types of information:• SM

Page 61

4-47Printer, Plotter, and Spooler Subsystem ProgrammingFor example, if the limits field contained ’E#’ , the sm_cmd_opt object class entry_type fiel

Page 62

4-48Guide to Printers and PrintingDisplay OperatorsC Defines how multiple flags relate within the SMIT dialog, how the options for theflags are displ

Page 63

4-49Printer, Plotter, and Spooler Subsystem ProgrammingField Characteristics OperatorsE Controls the entry_type field of the sm_cmd_opt object. The p

Page 64

4-50Guide to Printers and PrintingF Allows control of the cmd_to_list_mode field of the sm_cmd_opt object. Thecmd_to_list_mode field specifies how m

Page 65

4-51Printer, Plotter, and Spooler Subsystem ProgrammingM Specifies a multi–select list which allows users to select more than one valuefrom a given l

Page 66 - Moving a Job between Queues

4-52Guide to Printers and PrintingAdding Support for Configuring a Network–Attached PrinterNote: The information in this article is provided for backw

Page 67 - Scheduling Print Jobs

4-53Printer, Plotter, and Spooler Subsystem Programmingshows the statement types, and the fields they support. An x (ex) indicates that thestatement s

Page 68

1-4Guide to Printers and PrintingStarting a Print Job (qprt Command)Use the qprt, or smit commands to request a print job and specify the following: •

Page 69 - Specifying Paper Size

4-54Guide to Printers and Printinggotolabel Specifies the label of the statement to branch to after executing thisstatement.• For M statements, specif

Page 70

4-55Printer, Plotter, and Spooler Subsystem Programmingreserved2 Reserved for future use.pipeline Specifies a shell command to execute. Specifically:•

Page 71

4-56Guide to Printers and PrintingPromptsPrompts can be constructed using the V statement plus one or more v statements tovalidate the response. After

Page 72 - Deleting a Print Queue

4-57Printer, Plotter, and Spooler Subsystem ProgrammingAdding a Printer Using the Printer Colon File Prerequisite Tasks or Conditions• The printer mus

Page 73

4-58Guide to Printers and Printing%Sxx Pushes a pointer to the current string value for the xx attribute onto the stack. Theonly operation that can be

Page 74

4-59Printer, Plotter, and Spooler Subsystem ProgrammingPrinter–Specific Information The format and content of the header and trailer pages can be cust

Page 75

4-60Guide to Printers and Printing• Lexmark Optra Plus LaserPrinter• Lexmark Optra Color 1200 Printer• Lexmark Optra Color 40 Printer• Lexmark Optra C

Page 76 - Deleting a Printer

4-61Printer, Plotter, and Spooler Subsystem ProgrammingUsing SMIT”, on page 2-39 . To change paper size for a single print job, specify the –Q flagwit

Page 77 - Remote Printing Overview

4-62Guide to Printers and Printing2. Select the appropriate print queue and select Printer Setup on the Change/ShowCharacteristics menu. Specify yes i

Page 78

4-63Printer, Plotter, and Spooler Subsystem ProgrammingIBM Proprinter Models 4201–3, 4202–3, 4207–2, 4208–2If support for Greek or Turkish characters

Page 79 - Controlling the lpd Daemon

1-5Printers, Print Jobs, and Queues Overview for UsersSome useful qprt command flags are:–b Number Specifies the bottom margin. The bottom margin is

Page 80

4-64Guide to Printers and Printingsmit chpq2. Select the appropriate print queue, then select Printer Setup on the Change/ShowCharacteristics menu.3.

Page 81

4-65Printer, Plotter, and Spooler Subsystem ProgrammingIBM Network Color PrinterThe predefined files on AIX Version 4.2.1 or later only supports the I

Page 82

4-66Guide to Printers and Printingibmcolor_direct 1.03 or 1.1 controller code and 16MB of memory.ibmcolor_print 1.03 or 1.1 controller code and 32MB

Page 83

4-67Printer, Plotter, and Spooler Subsystem ProgrammingThe IBM Network Printer 12, 17, and 24 support the following output bins. The output binscan be

Page 84

4-68Guide to Printers and Printing–e # Specifies staple and collation. The –e #option flag only works if a face–downfinisher bin is selected. See –= o

Page 85

4-69Printer, Plotter, and Spooler Subsystem Programming–Q #Specifies paper size for the print job. The –Q options for the InfoPrint 20are:1 Letter2

Page 86

4-70Guide to Printers and PrintingIBM InfoPrint 32 Printer–= # Type of Output Paper Handling.0 Default Printer Setting1 Main (Face Down)2 Face–up (

Page 87 - Chapter 3. Spooler Overview

4-71Printer, Plotter, and Spooler Subsystem Programming–z #Rotates page printer output the number of quarter–turns clockwise as specified bythe Value

Page 88 - Spooler Introduction

4-72Guide to Printers and PrintingIBM InfoPrint 40 Printer–= #Type of Output Paper Handling.0 Default Printer Setting1 Main (Face Down)2 Face–up (Rear

Page 89 - Spooler Terminology

4-73Printer, Plotter, and Spooler Subsystem Programming–Q #Specifies the paper size for the print job.1 Letter2 Legal3 Folio4 11x175 A46 B47 A38 Unive

Page 90 - Spooler Job

1-6Guide to Printers and Printing–L OptionSpecifies whether lines wider than the page width should bewrapped to the next line or truncated at the righ

Page 91 - Printer Devices

4-74Guide to Printers and PrintingTo print more lines per page than the line space allows (6 or 8 lines per inch), specify thenumber of lines per page

Page 92 - The Generic AIX Spooler

4-75Printer, Plotter, and Spooler Subsystem ProgrammingHewlett–Packard LaserJet 5Si and 5Si Mopier PrintersOutput Bins The base LaserJet 5Si and 5Si M

Page 93 - Spooler Parts

4-76Guide to Printers and PrintingHewlett–Packard LaserJet 8000 and 8500 Color PrintersOutput Bins The base LaserJet 8500 Color and LaserJet 8000 prin

Page 94 - Spooler Data Flow Part I

4-77Printer, Plotter, and Spooler Subsystem ProgrammingNumber of Copies The LaserJet 8000 and 8500 Color printers support printing copiesinternal. Wit

Page 95

4-78Guide to Printers and PrintingLexmark 4227 Forms Printer Paper Source Paper source selection is supported by using the –u flag ofthe qprt command.

Page 96 - Spooler Data Flow Part II

4-79Printer, Plotter, and Spooler Subsystem ProgrammingLexmark Optra Laser Printer Paper Source Paper source selection is supported for both the enhan

Page 97

4-80Guide to Printers and PrintingPrint Resolution The Optra plus printer supports print resolution of 300, 600, and1200 dpi using the –q flag of the

Page 98

4-81Printer, Plotter, and Spooler Subsystem ProgrammingLexmark Optra Plus LaserPrinter Paper Source Paper source selection is supported for both the e

Page 99

4-82Guide to Printers and PrintingPrint Resolution The Optra Plus printer supports print resolution of 300, 600, and1200 dpi using the –q flag of the

Page 100

4-83Printer, Plotter, and Spooler Subsystem ProgrammingCollation The Optra Plus printer supports collation of multiple copies of a printjob internally

Page 101 - Spooler Overview

1-7Printers, Print Jobs, and Queues Overview for UsersFor example, to request the myfile file to be printed on the first available printerconfigured f

Page 102

4-84Guide to Printers and PrintingPaper SizePaper size selection is supported by using the qprt command flags,–O and –Q. The –O flag controls paper ve

Page 103 - /etc/qconfig File Structure

4-85Printer, Plotter, and Spooler Subsystem ProgrammingPitch Pitch selection is supported for the PCL emulation by using the –pflag for pitch and the

Page 104

4-86Guide to Printers and PrintingLexmark Optra Color 40 PrinterPaper Source Paper source selection is supported for both the PCL 5 emulationand the P

Page 105

4-87Printer, Plotter, and Spooler Subsystem ProgrammingPitch Pitch selection is supported for the PCL emulation by using the –pflag for pitch and the

Page 106 - Spooler Data Flow Summary

4-88Guide to Printers and PrintingLexmark Optra Color 45 PrinterPaper Source Paper source selection is supported for both the PCL 5 emulationand the P

Page 107 - Programming

4-89Printer, Plotter, and Spooler Subsystem ProgrammingPitch Pitch selection is supported for the PCL emulation by using the –pflag for pitch and the

Page 108

4-90Guide to Printers and PrintingLexmark Optra K 1220 PrinterPaper Source Paper source selection is supported for both the ”enhanced PCL (R)5e emulat

Page 109 - Printer Backend Data Flow

4-91Printer, Plotter, and Spooler Subsystem ProgrammingPaper Size Paper size selection is supported by using either one or both of theqprt command fla

Page 110

4-92Guide to Printers and PrintingPitch Pitch selection is supported for the PCL emulation by using the –pflag for pitch and the –s flag for font name

Page 111 - Default Flag Value Attributes

4-93Printer, Plotter, and Spooler Subsystem ProgrammingLexmark Optra C Color LaserPrinter Printing ColorFiles in PCL 5Emulation Mode To print color fi

Page 113 - Input Data Stream Attributes

1-8Guide to Printers and PrintingCanceling a Print Job (qcan Command) You can cancel any job in the print queue with the Web-based System Manager fast

Page 114 - Prohibited Flags Attributes

4-94Guide to Printers and PrintingPitch Pitch selection is supported for the PCL 5 emulation by using the –pflag for pitch and the –s flag for font na

Page 115 - Directory Attributes

4-95Printer, Plotter, and Spooler Subsystem ProgrammingLexmark Optra E LaserPrinter Paper SourcePaper source selection is supported for both the PCL 5

Page 116 - Miscellaneous Attributes

4-96Guide to Printers and PrintingPrint Resolution The Optra E printer supports print resolution of 300 and 600 dpiusing the –q flag of the qprt comma

Page 117 - Work Variable Attributes

4-97Printer, Plotter, and Spooler Subsystem ProgrammingLexmark Optra N LaserPrinter Paper Source Paper source selection is supported for both the enha

Page 118 - Command Aggregate Attributes

4-98Guide to Printers and PrintingPaper Size Paper size selection is supported by using –O and –Q flags of theqprt command. The –O flag controls paper

Page 119 - Escape Sequences Attributes

4-99Printer, Plotter, and Spooler Subsystem ProgrammingPitchPitch selection is supported for the PCL 5 emulation by using the –pflag for pitch and the

Page 120

4-100Guide to Printers and PrintingSeparator PagesThe Optra N printer supports internally generated separator pages.This feature is controlled by the

Page 121

4-101Printer, Plotter, and Spooler Subsystem ProgrammingStaplesThe –y option controls whether staples are desired or not. Onlycertain paper sizes are

Page 122

4-102Guide to Printers and PrintingPaper SizePaper size selection is supported by using –O and –Q flags of theqprt command. The –O flag controls paper

Page 123

4-103Printer, Plotter, and Spooler Subsystem ProgrammingPitchPitch selection is supported for the PCL emulation by using the –pflag for pitch and the

Page 124

1-9Printers, Print Jobs, and Queues Overview for UsersPrioritizing a Print Job (qpri Command)You can change the priority of a job with the Web-based

Page 125

4-104Guide to Printers and PrintingLexmark Optra M410 Laser PrinterPage RotationPage rotation selection is supported for the PCL 5e emulation byusing

Page 126 - Colon File Format

4-105Printer, Plotter, and Spooler Subsystem ProgrammingPaper SizePaper size selection is supported by using either one or both of theqprt command fla

Page 127 - Attribute Names

4-106Guide to Printers and PrintingPitchPitch selection is supported for the PCL 5 emulation by using the –pflag for pitch and the –s flag for font na

Page 128 - Reserved Attribute Names

4-107Printer, Plotter, and Spooler Subsystem ProgrammingLexmark Optra Se Laser PrinterPage RotationPage rotation selection is supported for the PCL 5e

Page 129 - Attribute Values

4-108Guide to Printers and PrintingPaper SizePaper size selection is supported by using –O and –Q flags of theqprt command. The –O flag controls paper

Page 130 - Limits Field

4-109Printer, Plotter, and Spooler Subsystem ProgrammingPitchPitch selection is supported for the PCL 5 emulation by using the –pflag for pitch and th

Page 131 - Example of Print Formatter

4-110Guide to Printers and PrintingSeparator Pages The –E flag controls separator pages. The valid values are 0, 1, 2,and 3, which represent NONE, BET

Page 132

4-111Printer, Plotter, and Spooler Subsystem ProgrammingLexmark Optra T Laser Printer FamilyPage RotationPage rotation selection is supported for the

Page 133

4-112Guide to Printers and PrintingPaper SizePaper size selection is supported by using –O and –Q flags of theqprt command. The –O flag controls paper

Page 134 - Using the Status File

4-113Printer, Plotter, and Spooler Subsystem ProgrammingPitchPitch selection is supported for the PCL emulation by using the –pflag for pitch and the

Page 135 - Using Exit Codes

1-10Guide to Printers and PrintingMoving a Print Job to Another Print Queue (qmov Command)After you have sent a print job to a print queue, you may wa

Page 136 - Returning Error Messages

4-114Guide to Printers and PrintingSeparator Pages The –E flag controls separator pages. The valid values are 0, 1, 2,and 3, which represent NONE, BET

Page 137 - Message Format

4-115Printer, Plotter, and Spooler Subsystem ProgrammingLexmark Optra W810 Laser PrinterPage RotationPage rotation selection is supported for the PCL

Page 138 - Setting Queue States

4-116Guide to Printers and PrintingPaper SizePaper size selection is supported by using the –Q flag of the qprtcommand. The first five paper sizes are

Page 139

4-117Printer, Plotter, and Spooler Subsystem ProgrammingPitchPitch selection is supported for the PCL 5 emulation by using the –pflag for pitch and th

Page 140

4-118Guide to Printers and PrintingSeparator PagesThe printer supports internally generated separator pages. Thisfeature is controlled by the –E flag

Page 141 - Stage–2 Translation

4-119Printer, Plotter, and Spooler Subsystem ProgrammingHole PunchThe Optra W810 printer supports this option if it has an optionalFinisher installed.

Page 142

4-120Guide to Printers and PrintingPitch, Font, andQualityPitch selection is supported by using the –p flag for the pitch, the –sflag for font name, a

Page 143

4-121Printer, Plotter, and Spooler Subsystem ProgrammingPrintronix P9012 Line Printer Only the Serial Matrix command set is supported. The P–series co

Page 144 - Translation Table Example

4-122Guide to Printers and PrintingPrinter Support Support for each printer is provided as a separately installable package. To see a list ofprinters

Page 145

4-123Printer, Plotter, and Spooler Subsystem Programming• Bull PR–90• Canon LASER SHOT LBP–A404PS/Lite• Canon LASER SHOT LBP–B406/S/D/E/G,A404/E,A304E

Page 146

1-11Printers, Print Jobs, and Queues Overview for UsersHolding and Releasing a Print Job (qhld Command)After you have sent a print job to a print queu

Page 147

4-124Guide to Printers and Printing• IBM 4202 Model 2 Proprinter II XL• IBM 4202 Model 3 Proprinter III XL• IBM 4207 Model 2 Proprinter X24E• IBM 4208

Page 148 - Printer Attachment Files

4-125Printer, Plotter, and Spooler Subsystem Programming• Lexmark Optra Plus LaserPrinter• Lexmark Optra C Color LaserPrinter• Lexmark Optra E Color L

Page 149 - Structure of Attachment Files

4-126Guide to Printers and PrintingPass–Through ModeBoth virtual printers and the printer device driver can operate, or function, either inpass–throug

Page 150

4-127Printer, Plotter, and Spooler Subsystem Programmingand in other similar situations, it does not work with printers. Printers only print the dataw

Page 151

4-128Guide to Printers and PrintingNote that input data streams such as PostScript are pass–through by definition; theprocessing is performed by the P

Page 152 - Contents of the limits Field

4-129Printer, Plotter, and Spooler Subsystem ProgrammingViewing, Formatting, or Modifying Virtual Printer DefinitionsAn IBM 4029 LaserPrinter supports

Page 153

4-130Guide to Printers and PrintingName Description Value__FLG VALUES THAT MAY BE OVERRIDDEN WITH FLAGS

Page 154 - Display Operators

4-131Printer, Plotter, and Spooler Subsystem ProgrammingName Description Valueia ASCII

Page 155

4-132Guide to Printers and Printing:056:__FLG:::625:CB:S[B]DyEn::626:CC:S[C]DyEn::627:CD:S[D]DyEn::628:CE:S[E]DyEn::629:CF:S[F]DyEn::630:CG:S[G]DyEn::

Page 156

4-133Printer, Plotter, and Spooler Subsystem Programming %Ide INCLUDE: (Directory Containing Miscellaneous Modules) ’/pioformat –@’ %Idd I

Page 157

1-12Guide to Printers and PrintingChecking Print Job Status (qchk Command)You can display the current status information for specified job numbers, qu

Page 158

4-134Guide to Printers and PrintingModifying the mi, mp, and _d Attributes on a PostScript QueueInput data stream attributes store the pipelines for d

Page 159

4-135Printer, Plotter, and Spooler Subsystem ProgrammingHow piobe Uses Printer Colon Filespiobe has the ability to generate diagnostic output. A speci

Page 160

4-136Guide to Printers and PrintingThe flags values used on the command line, a1, Pasc, fp, z1, p12, scourier, C, and N3,can be seen in the section of

Page 161

4-137Printer, Plotter, and Spooler Subsystem ProgrammingThese file virtual printer attributes are initialized by the piodigest command at the time the

Page 162

4-138Guide to Printers and PrintingCalculating Page Length Using Printer Colon File EscapeSequencesThe printer colon file for an ASCII queue on an IBM

Page 163 - Procedure

4-139Printer, Plotter, and Spooler Subsystem ProgrammingPrimary Page Width (–z 0) or Secondary Page Length (–z1), in pelswJ = %G_Q%Pq%?%GWu%{3}%<%t

Page 164

4-140Guide to Printers and Printing %t <THEN> %{1149} PUSH: (Integer Constant 1149) %e <ELSE> %gq

Page 165 - Printer–Specific Information

4-141Printer, Plotter, and Spooler Subsystem Programming %? <IF> %CO PUSH: (1 If –O Flag on Command Line; Otherwise 0) %t

Page 166 - IBM 3812 Model 2 Page Printer

4-142Guide to Printers and Printingvalue popped is less than the first value popped. 1 is less than 3, so a 1 is pushed onto thestack. The %t finds th

Page 167 - IBM 3816 Page Printer

4-143Printer, Plotter, and Spooler Subsystem Programming1234567891011121314151617181920212223242526272829303132333435373638wL _l wJ wQ Wu%Cl0%I_l%G_z1

Page 168 - IBM 4076 InkJet Printer

1-13Printers, Print Jobs, and Queues Overview for UsersDEV_BUSY Indicates that:• More than one queue is defined to a printer device (lp0) and anotherq

Page 169 - IBM 4234 Printer

4-144Guide to Printers and Printing19.%{1} – Pushes a 1 onto the stack.20.%= – Pops the two 1s off the stack, compares them for equality, and pushes t

Page 170

4-145Printer, Plotter, and Spooler Subsystem ProgrammingThe first item checked in the evaluation of _l (page length) is page orientation (_z). As note

Page 171 - IBM Network Color Printer

4-146Guide to Printers and Printing• s1 – paper size for tray 1 (upper)• s2 – paper size for tray 2 (lower)• s3 – envelope size for envelope feeder• s

Page 172

4-147Printer, Plotter, and Spooler Subsystem ProgrammingCalculating Page Width Using Printer Colon File EscapeSequencesThe printer colon file for an A

Page 173

4-148Guide to Printers and Printing %? <IF> %G_z PUSH: (Page ORIENTATION) %{1} PUSH: (Integer Constant 1) %&

Page 174 - IBM InfoPrint 20

4-149Printer, Plotter, and Spooler Subsystem Programming %< PUSH: (pop2 < pop1 ?) %t <THEN> %? <IF>

Page 175

4-150Guide to Printers and Printing %d POP –> ASCII String –> OUTPUTThe calculation of wK begins by pushing the value of _Q, the pape

Page 176 - IBM InfoPrint 32 Printer

4-151Printer, Plotter, and Spooler Subsystem ProgrammingThe Calculation of Page Width figure depicts the stacks operations (as described above)used to

Page 177

4-152Guide to Printers and Printing11.%CO – Pushes a 0 onto the stack since the O flag was not used on the command line.12.%t – Pops the 0 off the sta

Page 178 - IBM InfoPrint 40 Printer

4-153Printer, Plotter, and Spooler Subsystem Programming41.%* – Pops the top two values (a10 and a 12) off the stack, multiplies them together, andpus

Page 179

1-14Guide to Printers and PrintingFormatting Files for Printing (pr Command) The pr command performs simple formatting of the files you sent to be pri

Page 180

4-154Guide to Printers and Printing• u – input paper source – 1 (primary), 2 (alternate), 3 (envelope) – default is primary.• Q – paper size for input

Page 181

4-155Printer, Plotter, and Spooler Subsystem ProgrammingA u value of 3 will direct the process into the else piece of the outer if–then–else statement

Page 182

4-156Guide to Printers and PrintingSpooler Job Header and Trailer PagesThe pipelines for generating header and trailer pages are defined by the system

Page 183

4-157Printer, Plotter, and Spooler Subsystem ProgrammingCustom Header PagesThe root user can create custom header pages for users by modifying the def

Page 184 - Lexmark 4227 Forms Printer

4-158Guide to Printers and Printing ’{ if test X”$MYHEADER” = X ; then ’ %Ide INCLUDE: (Directory Containing MiscellaneousModules) ’/pioburs

Page 185 - Lexmark Optra Laser Printer

4-159Printer, Plotter, and Spooler Subsystem ProgrammingModifying the mo Virtual Printer AttributeAll virtual printer definitions contain an attribute

Page 186

4-160Guide to Printers and PrintingChoose the file option, then choose a printer type. After you choose the IBM 4029LaserPrinter (or whatever is corre

Page 187

4-161Printer, Plotter, and Spooler Subsystem ProgrammingIn general, the mo attribute in the virtual printer definition for a queue with piobe as theba

Page 188

4-162Guide to Printers and PrintingFiltersVirtual printer definitions in both Version 3.2.5 and AIX Version 4. contain predefined andopen (undefined)

Page 189

4-163Printer, Plotter, and Spooler Subsystem ProgrammingThese are the arguments qprt tried to pass to enq. You get to see them because qprt foundecho

Page 190

1-15Printers, Print Jobs, and Queues Overview for UsersThis prints prog.c with the title MAIN PROGRAM in place of the file name. The modificationdate

Page 191

4-164Guide to Printers and PrintingSupposing that the application does not allow the insertion of carriage returns into the datastream, you can fix th

Page 192

4-165Printer, Plotter, and Spooler Subsystem ProgrammingEditing /etc/qconfigThe /etc/qconfig configuration file can be edited with your text editor of

Page 193

4-166Guide to Printers and Printing

Page 194

5-1Spooler TroubleshootingChapter 5. Troubleshooting the AIX Spooler Use the information in the following checklists to help resolve printing problem

Page 195

5-2Guide to Printers and PrintingLocal Printer Checklist • Verify that the qdaemon is running. Make sure there are no forked processes runningfrom the

Page 196 - Lexmark Optra K 1220 Printer

5-3Spooler TroubleshootingInoperative Printer Checklist Check the following items for locally attached printers that have never worked:• Run the test

Page 197

5-4Guide to Printers and PrintingRemote Printer Checklist Check the following items for the host acting as the remote print server:• Make sure that al

Page 198

5-5Spooler TroubleshootingAdapter Considerations The 16–port RS–232 adapter does not support clear to send (CTS). A printer connected tothis adapter w

Page 199

5-6Guide to Printers and PrintingTerminal–Attached Printer Checklist Check the following items when the printer attached to an ASCII terminal does not

Page 200

5-7Spooler TroubleshootingConsiderations for 8–Bit Printer Attached to 7–Bit Interface Some printers assume an 8–bit (8 bits per byte) interface to th

Page 201 - Lexmark Optra E LaserPrinter

1-16Guide to Printers and PrintingPrinting ASCII Files on a PostScript Printer The Text Formatting System includes the enscript filter for converting

Page 202

5-8Guide to Printers and Printingqdaemon Checklist Under normal circumstances, the qdaemon command starts when the system starts, runsuntil the system

Page 203 - Lexmark Optra N LaserPrinter

5-9Spooler TroubleshootingQueuing System Problems When the queuing system shows one or more queues in DEV_WAIT and you have verifiedthat the queue is

Page 204

5-10Guide to Printers and PrintingTesting the qdaemonScenario: Submitting jobs to the spooler causes no discernible spooler activity; this is awell–kn

Page 205

5-11Spooler Troubleshootingprinters that show RUNNING jobs and verify that at least one job is actually running. If oneor more printers are showing DE

Page 206

5-12Guide to Printers and PrintingTesting a Spooler QueueWhen spooling jobs from an application, it’s often not clear if a job is actually getting to

Page 207

5-13Spooler TroubleshootingCopying Spooled JobsParticularly in a remote spooling environment, it can be useful to make a copy of a spooledprint job. W

Page 208

5-14Guide to Printers and PrintingCleaning Up and Starting OverThis procedure completely clears and restarts the spooler system. All jobs currently qu

Page 209

X-1IndexIndexSymbols/etc/qconfig file structure, 3-17Numbers5080 Attachment Adapter, 2-14AASCII files, printing on PostScript printer, 1-16ASCII termi

Page 210

X-2Guide to Printers and Printingdevicecharacteristics, 2-38deleting, 2-42listingprint queue devices, 2-31print queues, 2-31starting and stopping, 2-3

Page 211

X-3Indexremote printingoverview, 2-47remote host access, 2-52RS–232 adapter, printer considerations, 5-5SSMITprinter paper sizespecifying for Hewlett–

Page 212

1-17Printers, Print Jobs, and Queues Overview for UsersThere are several flags that may be specified with the qprt command to customize theoutput when

Page 213

X-4Guide to Printers and Printing

Page 214

Vos remarques sur ce document / Technical publication remark formTitre / Title :Bull Guide to Printers and Printing Nº Reférence / Reference Nº :86

Page 215

Technical Publications Ordering FormBon de Commande de Documents TechniquesTo order additional publications, please fill up a copy of this form and se

Page 217

BULL ELECTRONICS ANGERSCEDOC34 Rue du Nid de Pie – BP 42849004 ANGERS CEDEX 01FRANCE86 A2 37JX 02ORDER REFERENCEPLACE BAR CODE IN LOWERLEFT CORNER

Page 218

Utiliser les marques de découpe pour obtenir les étiquettes.Use the cut marks to get the labels.AIX86 A2 37JX 02Guide to Printersand PrintingAIX86 A2

Page 220

Bull Guide to Printers and PrintingAIXSoftwareNovember 1999BULL ELECTRONICS ANGERSCEDOC34 Rue du Nid de Pie – BP 42849004 ANGERS CEDEX 01FRANCE86 A2 3

Page 221

1-18Guide to Printers and PrintingCommand Summary for Printers, Print Jobs, and Queuescancel Cancels requests to a line pri

Page 222

2-1Printers, Print Jobs, and Queues for Systems AdministratorsChapter 2. Printers, Print Jobs, and Queues for SystemAdministratorsThe printer subsyste

Page 223

2-2Guide to Printers and PrintingInclude all printer control information that is unique to that file. For example, tounderscore the title of a book or

Page 224

2-3Printers, Print Jobs, and Queues for Systems AdministratorsThe main spooler command is the enq command. Although you can invoke this commanddirectl

Page 225

2-4Guide to Printers and Printing• Receives from the qdaemon command a list of one or more files to be printed.• Uses printer and formatting attribute

Page 226

2-5Printers, Print Jobs, and Queues for Systems AdministratorsThe formatter filter is made up of two components:• A device–independent formatter drive

Page 227

2-6Guide to Printers and PrintingQueue Device The queue device is the line or list of items in the /etc/qconfig file thatnormally follows the local qu

Page 228 - Printer Support

2-7Printers, Print Jobs, and Queues for Systems AdministratorsInitial Printer ConfigurationYou can use one process to configure a printer and another

Page 229

2-8Guide to Printers and Printingwsm printers In the Web-based System Manager Print Queues container, use the menus to completethe steps to configure

Page 230

2-9Printers, Print Jobs, and Queues for Systems AdministratorsProcedure1. At the system prompt, type:wsm printers In the Web-based System Manager Prin

Page 231

The following copyright notice protects this book under the Copyright laws of the United States of Americaand other countries which prohibit such acti

Page 232 - Pass–Through Mode

2-10Guide to Printers and PrintingNote: If the printer supports more than one type of print data, such as PostScript andASCII, enter a print queue nam

Page 233

2-11Printers, Print Jobs, and Queues for Systems AdministratorsConfiguring a Printer without Adding a QueueUse the following procedure if you want to

Page 234

2-12Guide to Printers and PrintingAdditional Queue OperationsThis section describes the following procedures:• Adding a Print Queue Device, on page 2-

Page 235

2-13Printers, Print Jobs, and Queues for Systems AdministratorsAdding a Print Queue DevicePrerequisitesTo perform this task, you must have root author

Page 236

2-14Guide to Printers and PrintingAdding Plotter Support with 5080 Prerequisites• The plotter must be physically attached to your system.• The plotter

Page 237

2-15Printers, Print Jobs, and Queues for Systems AdministratorsCreating a Plotter Setup FileTo send plot files to the plotter, you need a special file

Page 238

2-16Guide to Printers and PrintingAdding a Local Printer to an Existing QueuePrerequisitesTo perform this task, you must be one of the following:• Roo

Page 239

2-17Printers, Print Jobs, and Queues for Systems AdministratorsAdding an Xstation Printer to an Existing QueuePrerequisitesTo perform this task, you m

Page 240

2-18Guide to Printers and PrintingAdding an ASCII Terminal Printer to an Existing QueuePrerequisitesTo perform this task, you must be one of the follo

Page 241

2-19Printers, Print Jobs, and Queues for Systems AdministratorsAdding an HP JetDirect Printer to an Existing QueuePrerequisitesTo perform this task, y

Page 242

iiiPrefaceContentsAbout This Book ix. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Ch

Page 243

2-20Guide to Printers and PrintingAdding a File to an Existing QueuePrerequisitesTo perform this task, you must be one of the following:• root• A memb

Page 244 - Sequences

2-21Printers, Print Jobs, and Queues for Systems AdministratorsConfiguring Nonsupported Printers A nonsupported printer is a device that is not suppli

Page 245

2-22Guide to Printers and PrintingRS–232Signal Serial Printer Device Driver UseFG Frame ground. Often used as shield.TxD ––> Used to transmit da

Page 246

2-23Printers, Print Jobs, and Queues for Systems AdministratorsPrinting with Terminal–Attached Printers Many asynchronous ASCII terminals have an auxi

Page 247

2-24Guide to Printers and Printing– IBM 4208 Model 2 Proprinter XL24E– IBM 4247 Printer– IBM 5204 Quickwriter– IBM 6400 Printer– IBM InfoPrint 40 Prin

Page 248

2-25Printers, Print Jobs, and Queues for Systems Administrators– Lexmark 4039 Plus LaserPrinter– Lexmark 4079 Color JetPrinter Plus– Lexmark 4227 Form

Page 249

2-26Guide to Printers and PrintingYou can also perform this task with the SMIT fastpath smit tty .Verifying Terminal OutputAfter you have configured t

Page 250

2-27Printers, Print Jobs, and Queues for Systems AdministratorsCommands and Control SequencesTerminfo Database The terminfo database contains the capa

Page 251

2-28Guide to Printers and Printingy1 Indicates the maximum number of characters in a data block.y2 Indicates the number of microseconds to delay betwe

Page 252

2-29Printers, Print Jobs, and Queues for Systems AdministratorsTerminal–Attached Printing Limitations 1. Only ASCII data should be sent to the printer

Page 253

ivGuide to Printers and PrintingHolding and Releasing a Print Job (qhld Command) 2-35. . . . . . . . . . . . . . . . . . . . . . . . . . Moving a Job

Page 254

2-30Guide to Printers and PrintingConfiguring a Printer for an ASCII Display Terminal Prerequisites• You must have connected a serial printer to the A

Page 255

2-31Printers, Print Jobs, and Queues for Systems AdministratorsListing Print Queues and Print Queue Devices The following procedures apply to both loc

Page 256

2-32Guide to Printers and PrintingShowing Status of Print QueuesUse the Web-based System Manager to perform this task.Procedure1. At the system prompt

Page 257

2-33Printers, Print Jobs, and Queues for Systems AdministratorsStarting and Stopping a Print QueuePrerequisitesTo perform these tasks, you must have r

Page 258

2-34Guide to Printers and PrintingSetting the Default Print QueuePrerequisitesTo perform this task, you must be one of the following:• root• A member

Page 259

2-35Printers, Print Jobs, and Queues for Systems AdministratorsHolding and Releasing a Print Job (qhld Command)PrerequisitesTo hold or release a print

Page 260

2-36Guide to Printers and PrintingMoving a Job between QueuesPrerequisitesTo perform this task, you must be one of the following:• The print job owner

Page 261

2-37Printers, Print Jobs, and Queues for Systems AdministratorsScheduling Print JobsUse the SMIT fast path to perform the following tasks.Prerequisite

Page 262

2-38Guide to Printers and PrintingChanging or Showing Queue Characteristics The following procedures apply to both local and remote print queues and p

Page 263 - Custom Header Pages

2-39Printers, Print Jobs, and Queues for Systems AdministratorsSpecifying Paper Size PrerequisitesTo perform this task, the print queue must already b

Page 264

vPrefacePrinter Code Page Translation Tables 4-35. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Stage–1 Translation 4-35.

Page 265

2-40Guide to Printers and PrintingChanging or Showing Printer Connection CharacteristicsPrerequisitesTo perform this task, you must be one of the foll

Page 266

2-41Printers, Print Jobs, and Queues for Systems AdministratorsChanging / Showing Pre–Processing FiltersThis procedure describes how to change or show

Page 267

2-42Guide to Printers and PrintingDeleting a Print QueueThe following procedures apply to both local and remote print queues.Prerequisites• For local

Page 268

2-43Printers, Print Jobs, and Queues for Systems AdministratorsListing All Supported and Defined PrintersPrerequisitesNone.List All Supported Printers

Page 269

2-44Guide to Printers and PrintingMoving a Printer to Another Port Prerequisites• The printer must be physically attached to your system.• You must ha

Page 270

2-45Printers, Print Jobs, and Queues for Systems AdministratorsChanging or Showing Printer CharacteristicsPrerequisiteA printer must have been added.P

Page 271 - Editing /etc/qconfig

2-46Guide to Printers and PrintingDeleting a PrinterThis procedure removes a printer from the system. Deleting a printer does not remove anyprint queu

Page 272

2-47Printers, Print Jobs, and Queues for Systems AdministratorsRemote Printing OverviewRemote printing allows different computers to share printers. T

Page 273 - Spooler Troubleshooting

2-48Guide to Printers and PrintingThe following sections discuss how to configure, use and manage a remote printingenvironment:• The rembak Program• T

Page 274 - Local Printer Checklist

2-49Printers, Print Jobs, and Queues for Systems AdministratorsNote: The /etc/hosts.equiv file defines which computers on a network are allowed toexec

Page 275

viGuide to Printers and PrintingCanon LASER SHOT LBP–B406S/D/E/G, A404/E, A304E 4-73. . . . . . . . . . . . . . . . . . Dataproducts LZR 2665 Laser Pr

Page 276 - Remote Printer Checklist

2-50Guide to Printers and PrintingManaging and Using Remote Printers and Queues In order to print to a remote system, you must set up a remote queue o

Page 277 - Resource Considerations

2-51Printers, Print Jobs, and Queues for Systems AdministratorsConfiguring a Remote Host as a Print Server The host to be used as a print server must

Page 278

2-52Guide to Printers and PrintingUsing Remote Host Access for PrintingPrerequisites• Your system must be configured to communicate as a remote print

Page 279

2-53Printers, Print Jobs, and Queues for Systems AdministratorsUsing the lpd Remote SubsystemPrerequisites• Your system must be configured to communic

Page 280

2-54Guide to Printers and PrintingShowing Status of Printer Server SubsystemUse the SMIT fast path to perform this task.Procedure1. At the system prom

Page 281 - Queuing System Problems

2-55Printers, Print Jobs, and Queues for Systems AdministratorsPrinter Queuing System Status Conditions If a printer/device is added as a tty device,

Page 282 - Testing the qdaemon

2-56Guide to Printers and PrintingDOWN Specifies that the device driver cannot communicate with the printer(CD or CTS dropped or is low) after TIMEOUT

Page 283

3-1Spooler OverviewChapter 3. Spooler Overview The job of the spooler, also called the queuing system, is to manage printer use, especiallyon systems

Page 284 - Testing a Spooler Queue

3-2Guide to Printers and PrintingSpooler IntroductionThis section provides an overview of the spooler mechanisms used by Version 3.2.5 andAIX Version

Page 285 - Copying Spooled Jobs

3-3Spooler OverviewSpooler Terminology The following terms relate to the spooler overview.SpoolerThe AIX spooler is a collection of programs, configur

Page 286 - Cleaning Up and Starting Over

viiPrefaceChapter 5. Troubleshooting the AIX Spooler 5-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Local Printer Checklist 5-2. . . .

Page 287

3-4Guide to Printers and Printing• For print jobs, uses printer and formatting attributes from the database, overridden by anyflags specified on the c

Page 288

3-5Spooler Overview• Diablo 630• ditroffPrinter DevicesA printer/plotter device is a special file in the /dev/directory for a real printer. This file

Page 289

3-6Guide to Printers and PrintingThe Generic AIX SpoolerThe AIX Version 3 and Version 4 spooler is not specifically a print job spooler but a generics

Page 290

3-7Spooler OverviewSpooler Parts The AIX spooler can be viewed as a process or a subsystem with a beginning,points–in–between, and an ending. To accom

Page 291 - ADRESSE / ADDRESS :

3-8Guide to Printers and PrintingSpooler Data Flow Part I The general flow of a job through the AIX Spooler is depicted in the Printing with AIXOperat

Page 292

3-9Spooler Overviewcan also send an extensive amount of control data to a printer, for instance to initialize theprinter to a specific mode before the

Page 293

3-10Guide to Printers and PrintingSpooler Data Flow Part IIThe commands lp, lpr, qprt, and enq can be used to submit a job to the spooler forprocessin

Page 294

3-11Spooler OverviewIn all versions of AIX prior to Version 4, the qdaemon assigns the job a job number when itaccesses the JDF and reads its contents

Page 295

3-12Guide to Printers and PrintingOverview of Backend Processing The backend for a queue is begun by qdaemon; the qdaemon determines that a job’s turn

Page 296

3-13Spooler OverviewData stream Flow for Common Print Jobs(piobe)(Receives arguments via argc, argv[] from qdaemon)shell pioformat pioout device drive

Comments to this Manuals

No comments