background image

Using

Abbreviations

for

A

ttribute

Names

and

V

alues

See

\Job/Do

cumen

t

A

ttributes

Requiring

Initial

V

alue

Ob

jects

to

Restrict".

This

section

pro

vides

tables

that

list

the

job

and

do cumen

t

attributes

that

require

an

initial

v

alue

ob

ject

to

ensure

a

restriction

for

a

logical

prin

ter.

Configuring

Logical

Printers

for

W

orkload

Balancing

This

section

describ es

ho

w

to

create

the

logical

prin

ter

for

a

prin

ter

p o ol

conguration

of

logical

prin

ters,

queues,

and

ph

ysical

prin

ters.

The

sample

conguration

in

this

section

illustrates

ho

w

to:

Balance

the

prin

ting

w

orkload

of

y

our

system

b

y

conguring

a

queue

to

send

jobs

to

m

ultiple

ph

ysical

prin

ters.

This

is

one

of

the

ma

jor

b enets

of

HPDPS.

Restrict

use

of

some

ph

ysical

prin

ter

capabilities

at

the

ph

ysical

prin

ter

lev

el

instead

of

with

logical

prin

ters.

The

example

in

this

section

sho

ws

ho

w

to

restrict

the

size

of

jobs

at

the

ph

ysical

prin

ter.

Y

ou

also

can

restrict

with

other

attributes,

suc

h

as

maximum-copies-supported .

A

prin

ter

p o ol

conguration

has

a

one-to-man

y

relationship

b et

w

een

a

logical

prin

ter

and

ph

ysical

prin

ters

as

sho

wn

in

Figure

6-8.

The

main

adv

an

tage

of

the

prin

ter

p o ol

conguration

is

that

it

balances

the

w

orkload

of

jobs

submitted

to

the

system.

Jobs

in

Queue3

that

can

prin

t

on

b oth

ph

ysical

prin

ters

will

prin

t

on

the

prin

ter

that

b ecomes

a

v

ailable

rst.

If

PhyPrt4

is

busy

for

a

long

time

pro cessing

a

large

job,

some

medium

size

jobs

do

not

ha

v

e

to

w

ait

but

can

prin

t

on

PhyPrt3 .

F

or

example,

to

create

the

logical

prin

ter

LogPrt7 ,

sho

wn

in

Figure

6-8,

en

ter:

pdcreate

-x

associated-queue=Queue3

Spool1:LogPrt7

This

logical

prin

ter

do es

not

implemen

t

an

y

restriction

to

the

use

of

the

capabilities

of

the

t

w

o

ph

ysical

prin

ters

asso

ciated

with

the

logical

prin

ter.

This

example

sho

ws

ho

w

y

ou

can

handle

prin

ter

managemen

t

based

on

capabilities

at

the

ph

ysical

prin

ter

lev

el.

PhyPrt4

is

a

high-sp eed

prin

ter

compared

to

PhyPrt3 .

Because

the

job-size-range-supported

logical

prin

ter

6-36

Configuring

Spoolers,

Queues,

and

Logical

Printers

Содержание LaserJet 9000

Страница 1: ...HP 9000 Computer Systems HP Distributed Print Service Administration Guide ABCDE HP Part No B2355 90113 Printed in U S A 1996 First Edition E0696 ...

Страница 2: ...ftware on equipment that is not furnished by Hewlett Packard This document contains proprietary information which is protected by copyright All rights are reserved Reproduction adaptation or translation without prior written permission is prohibited except as allowed under the copyright laws Copyright c 1996 by Hewlett Packard Company Use duplication or disclosure by the U S Government is subject ...

Страница 3: ...es a parameter or argument that you must replace with the actual value such as ServerName Computer Computer indicates commands attributes les directories and other items whose names are prede ned by the system such as pdls and notification delivery method Bold Bold indicates words de ned for the rst time iii ...

Страница 4: ...und values indicate required items that you must supply with the command For example pdmod Flags LocalJobId GlobalJobId means that you must enter either a LocalJobId or a GlobalJobId with the pdmod command Braces are also used within the notification profile attribute A vertical bar between values indicates that you can only enter one of the values with the command For example pdmod Flags LocalJob...

Страница 5: ...Syntax Notation means that you can supply more than one local job identi er value or more than one global job identi er value with the pdmod command v ...

Страница 6: ...es 2 Spool12 1011230045 means that 2 is the value assigned to the sides attribute Double quotation marks surround multiple attribute and value pairs such as x sides 2 content orientation portrait For consistency double quotation marks also are shown around single attribute and value pairs in all examples although they are not required Double quotation marks surround text strings that contain space...

Страница 7: ... a command An example is pdls U r brief job state reasons s column f current job state retained current job state timed out Spool2 Astericks and equal signs are used to match strings For example job owner Jones initial string match job owner one any substring match job owner nes nal string match For information on writing HPDPS commands see HP Distributed Print Service User s Guide vii ...

Страница 8: ...he start message supported attribute t for the true value and specify the attribute and value pair as s m s t However in some cases specifying only the rst letter in each word can be ambiguous as for the attributes job owner and job originator In these cases specify enough of the name so that is unique as in j ow and j or If the values are ambiguous HPDPS rejects the command and you receive an err...

Страница 9: ...nt 1 7 The Basic Environment 1 7 What Are Objects and Attributes 1 7 How HPDPS Processes Jobs 1 8 Understanding Job and Document Defaulting 1 9 Con guring HPDPS to Meet the Needs of Your Users 1 10 Balancing the Use of Printer Devices 1 10 Providing Secured Access to Printer Devices 1 12 Authorizing Access to Printer Functions 1 13 Basic Environment Access to DCE Extended Environments 1 14 Support...

Страница 10: ...all 3 3 Determining How Many Spoolers to Install 3 3 Determining How Many Supervisors to Install 3 4 Migrating Your Printers to Be Managed by HPDPS 3 4 Planning Your Logical Con guration 3 5 Spooler Considerations 3 5 Logical Printer Considerations 3 5 Queue Considerations 3 6 Supervisor Considerations 3 6 Physical Printer Considerations 3 6 HPDPS Gateway Printer Considerations 3 6 Selecting Logic...

Страница 11: ...Verifying the Setting of the PATH Environment Variable 4 8 Setting the PD CONFIRM DELETE Environment Variable 4 8 Setting the PDPRINTER Environment Variable 4 8 Understanding How System Shutdown A ects HPDPS 4 9 Backing Up and Restoring HPDPS Directories 4 9 Backing up Your HPDPS Directories and Files 4 9 Restoring Data 4 10 Further Tuning of HPDPS 4 10 5 Creating Con guring Supervisors and Physic...

Страница 12: ...i cation Messages 6 12 Specifying Who Receives Messages From Users 6 12 Specifying a Description for the Queue 6 13 Creating and Con guring Initial Value Job and Initial Value Document Objects 6 14 What Attributes Can You Specify for Initial Value Objects 6 14 Creating an Initial Value Object 6 15 Associating an Initial Value Object with a Logical Printer 6 15 Creating and Con guring Logical Print...

Страница 13: ...e 7 1 event identi ers Component 7 2 Events Speci ed for Servers Spoolers and Supervisors 7 3 Events Speci ed in any Noti cation Pro le 7 3 delivery method and delivery address Components 7 4 event comment Component 7 5 locale Component 7 5 List of Noti cation Event Identi ers 7 5 List of Noti cation Event Classes 7 23 Understanding Default Noti cation 7 29 Adding Replacing or Deleting Values from...

Страница 14: ...Which Groups Your Organization Needs 8 4 Creating Additional Groups 8 5 Planning a Printer Operator Group 8 5 Planning a Group for People Who Will Use Restricted Printers 8 7 Restricting Access to a Printer Device 8 7 Restricting Functions of a Printer Device 8 8 Giving Your DCE Groups Permissions to HPDPS Objects 8 9 Understanding Where HPDPS Security Information is Stored 8 10 Understanding How ...

Страница 15: ...gical Printers Contained in the Spooler 9 7 Querying for Physical Printers Registered with the Spooler 9 7 Querying for Logical Printer Information 9 8 Querying for the Status of a Logical Printer 9 8 Querying for the Verbose Set of Logical Printer Attributes 9 9 Querying for Ready Physical Printers Associated with the Logical Printer 9 9 Querying for Queue Information 9 10 Querying for the Status...

Страница 16: ...se of the Queue Backlog 9 27 Managing Job Related Queue Backlogs 9 27 About Enabling Logical Printers 9 29 Disabling a Logical Printer 9 30 Disabling All Logical Printers Associated with a Queue 9 30 Enabling a Disabled Logical Printer 9 31 Modifying Logical Printer Attributes 9 31 Modifying Initial Value Objects 9 32 Modifying the printer register threshold Spooler Attribute 9 33 About Server Com...

Страница 17: ...visor Attributes 10 9 Querying for Ready Physical Printers Contained in the Supervisor 10 10 Querying for Physical Printer Information 10 11 Querying for the State of a Physical Printer 10 11 Physical Printer States 10 11 Determining Whether a Physical Printer is Registered 10 12 Responding to Physical Printer State Problems 10 13 Printer needs key operator Problem 10 13 Printer has timed out Prob...

Страница 18: ...g the Supervisor After it has been Shut Down 10 29 Deleting the Supervisor 10 29 11 Managing Jobs and Supporting Users Finding and Identifying Jobs 11 1 Understanding Job Identi ers 11 3 Understanding the user name job originator and job owner Attributes 11 3 Understanding the job name Attribute 11 4 Finding Jobs Submitted by Other Users 11 4 Managing Jobs in Queues and Spoolers 11 6 Attributes Th...

Страница 19: ... Job Status for Large Jobs 11 30 Querying for the Number of Octets Completed for a Processing Job 11 31 Querying for the Number of Job Copies Completed for a Processing Job 11 31 Querying for the Processing Time Required by a Job 11 32 12 Using HPDPS Error Logs Finding and Viewing a Client Error Log 12 1 Changing Server Error Log Attribute Values 12 2 Changing the Attribute Values of a Server Erro...

Страница 20: ...en a File or Object Your Job Needs 13 12 There Is a Problem with the Attributes or Values the User Speci ed 13 14 The User Is Not Authorized to Use the Logical Printer 13 16 List the DCE Permissions Granted by an HPDPS Object 13 16 List the Members of a DCE Group 13 17 The Job Is Not Printing 13 18 The Job Is Behind Many Others in the Queue 13 19 The Current State Is Pending but the Job Is Not Mov...

Страница 21: ...b complete Message But Cannot Find a Printout 13 30 The Job Printed with an Incorrect Document Format 13 30 The Job Attributes Are Incorrect 13 31 Problems with the HPDPS Client Daemon 13 32 Problems with Servers 13 32 The Active Servers Are Not Listening for Requests 13 33 Index Contents 13 ...

Страница 22: ... 6 6 6 2 Priority FIFO Queue Feeding One Physical Printer 6 8 6 3 Queue Backlog Upper and Lower Bounds 6 11 6 4 Job Defaulting and Validation 6 19 6 5 Using Initial Value Objects for Job and Document Defaulting 6 28 6 6 Adding Logical Printers to a Desktop Con guration 6 30 6 7 Using Logical Printers to Restrict Printer Capabilities 6 33 6 8 One Logical Printer for Multiple Physical Printers 6 37 ...

Страница 23: ...lt Events for Objects 7 30 7 4 Noti cation Pro le Attribute Summary 7 54 7 5 Noti cation Pro le Component Descriptions 7 55 8 1 List of DCE Documentation 8 2 11 1 Job Identi cation Attributes 11 2 11 2 Job Control and Scheduling Attributes 11 7 11 3 Job Status Attributes 11 22 11 4 Normal Job States 11 25 11 5 Descriptions of Job State Reasons 11 28 13 1 Physical Printer Attribute Values printer s...

Страница 24: ......

Страница 25: ...ay of printing hardware HPDPS lets you make the most of your print environment by helping you Manage and monitor your entire print environment from anywhere within your network when HPDPS is executed in a DCE cell HPDPS gives you the ability to con gure and monitor your distributed print environment from any HPDPS client in your DCE cell You can con gure and monitor printers servers and queues You...

Страница 26: ...out of paper Your users can receive noti cation if HPDPS cannot schedule their jobs at the requested destination The types of noti cation are highly con gurable you can ensure that the appropriate people are noti ed when signi cant events occur Event messages also provide you with valuable information that can alert you to a problem with the print environment and help you isolate the cause of the ...

Страница 27: ...PS client spooler and supervisor installed on the same system Figure 1 1 A Minimum Configuration The HPDPS client processes HPDPS printing con guration and management commands and displays information The client provides a command line interface which allows users to issue print requests and allows you to manage your distributed print environment You can also manage your distributed print environm...

Страница 28: ...e of the objects that make up an HPDPS distributed print environment are shown in Figure 1 2 Figure 1 2 Major HPDPS Objects Figure 1 2 shows an HPDPS client with a spooler and a supervisor The servers contain the major objects involved with printing jobs documents logical printers physical printers and queues Each of these objects are described below 1 4 Introducing HP Distributed Print Service ...

Страница 29: ...dia supported Your users submit their jobs to logical printers which verify that there are physical printers capable of handling the jobs Once veri ed the logical printer sends the job to an associated queue You can de ne a default logical printer for your users and you can con gure other logical printers to restrict the access of users to printers You might want to restrict access for reasons suc...

Страница 30: ...ter Reports errors to the spooler and the client Reports job status There can be several supervisors supporting multiple physical printers for each spooler in your system The Distributed Print Environment HPDPS optionally uses Distributed Computing Environment DCE services to interact with a heterogeneous mix of hardware and software products as if they were a single print environment When HPDPS i...

Страница 31: ...uster all objects in your cluster are visible Objects created on one host are not instantly accessible to the other hosts in the network You can create special logical printers called HPDPS Gateway Printers to access printers on another host See HPDPS Gateway Printer Considerations in Chapter 3 for more information Administration is possible only for those resources that reside within the boundari...

Страница 32: ...f the attributes for the job HPDPS compares the attribute values supported by the physical printer or printers associated with the logical printer If at least one physical printer supports the attributes of the job HPDPS accepts the job b If the logical printer or the physical printer only supports some of the attributes HPDPS rejects the job 3 After the job is accepted HPDPS sends the job to the ...

Страница 33: ...recedence 1 By the user with the pdpr command and the x ag to specify individual attributes and values 2 By the user with the pdpr command and the initial value job job attribute or the initial value document document attribute You must create the initial value job and initial value document objects for your users 3 By you when you create an initial value job or initial value document object with ...

Страница 34: ...ics describe the exibility you have with your HPDPS printing network Balancing the Use of Printer Devices For a physical printer that will be used by an individual or a small group or that users will speci cally request you can create one logical printer and one queue associated with the physical printer as shown in Figure 1 3 By specifying the logical printer with their print requests users know ...

Страница 35: ...able and supports the job accepts the next job in the queue This minimizes the time your users wait for their jobs to process and balances the printing workload on your system Figure 1 4 Printer Pool You can also set up con gurations so that you have many logical printers associated with a single physical printer which is called a funnel con guration or multiple logical printers associated with mu...

Страница 36: ...he con guration of the logical printers You authorize access to logical printers on a user by user basis or by DCE user groups Figure 1 5 Printer Security You can also set up your logical printer so that it does not check for authorization making the logical printer available to all users Because users who use LP spooler print commands are not typically logged into DCE the printers to which they s...

Страница 37: ...hysical printer or printers As shown in Figure 1 6 one logical printer could restrict the usage to one copy on letter sized paper and the other logical printer could be for most of your users who have authorization to use the unrestricted logical printer Figure 1 6 Authorizing Access to Printer Functions at the Logical Printer You might want to restrict users from using certain capabilities of spe...

Страница 38: ...s The DCE Extended Environment normally authorizes operations by checking a DCE Access Control List ACL associated with the object being operated upon The DCE identity of the client is matched against entries in the ACL to determine the client s permissions For more information see Chapter 8 Managing DCE Security for HPDPS Basic Environment clients do not have a DCE identity The clients are treate...

Страница 39: ... HPDPS printers Users who submit print requests from within applications or with LP spooler print commands such as lp or lpstat can route their jobs to HPDPS printers by specifying an HPDPS logical printer as the destination for the job Using the standard mechanisms for setting up a remote print queue the user can gain access to a HPDPS client These users can access HPDPS managed printer to use th...

Страница 40: ...oler on any host in your network The administrator might con gure a physical printer with attachment type lp spool hp that also names the proper LP spooler host and LP spooler destination on that host See Creating a Physical Printer in Chapter 5 for more information Using the Command Line Interface The command line interface is POSIX compliant and provides complete con guration and monitoring capa...

Страница 41: ...ing resubmiting promoting and removing SAM provides extensive context sensitive online help This help provides information about how to manage HPDPS using SAM and includes several tutorials that explain HPDPS concepts There are a few things that SAM does not currently do They include SAM does not provide any support for managing initial value objects HPDPS logs or noti cation pro les Use the comma...

Страница 42: ......

Страница 43: ...HPDPS client one spooler and one supervisor or as complex as components shared throughout multiple networks One of the bene ts of the HPDPS modular design is the ability to install a small system initially then build onto that system to form a more complex one If you later want to install additional HPDPS clients or servers see Chapter 3 Planning Your HPDPS Con guration Prerequisites for HPDPS Ins...

Страница 44: ... that you plan to install on a workstation See Table 2 1 for the component disk space values If you are installing DCE as a prerequisite for HPDPS be sure to consider the DCE space requirements in addition to the HPDPS requirements Disk Space Required for HPDPS Components Table 2 1 lists the disk space required to install each HPDPS component Table 2 1 Disk Space Requirements for HPDPS Component s...

Страница 45: ...t value is 2MB but you can change this value using the HPDPS log con guration les Calculate the spooling space requirement as follows Spooling space 2MB of jobs x average le size in MB For example if you typically have 50 jobs being processed by an HPDPS client and each one is approximately 0 2MB calculate the spooling space as follows Spooling space 2MB 50 x 0 2MB 12MB Disk Space Required for Pag...

Страница 46: ...pooler 276MB 296MB 336MB Client or Supervisor 256MB 256MB 256MB 256MB Spooler 532MB 552MB 592MB Client or Supervisor 512MB 512MB 512MB Note This paging space requirement is a system recommendation it is not exclusive to the HPDPS application Therefore if your current system has 64MB of installed memory and you have already de ned 180MB of paging space you do not need to increase your paging space ...

Страница 47: ...be individually installed are The HPDPS client The HPDPS spooler The HPDPS supervisor To select an individual component for installation rst run usr sbin swinstall as root on the chosen host and select your HP UX OS media as the software source Then perform the following 1 Using the View item in the menu bar select Change Software View and choose Start with Products 2 In the list of products doubl...

Страница 48: ... Con gure the DCE clients in the cell if the system on which you are currently installing HPDPS will not be designated as a DCE server See DCE Documentation in Chapter 8 for a list of DCE documentation Configuring DCE Security When you have con gured the DCE security servers and clients you must de ne the DCE HPDPS speci c security identities Security identities are created in the following hierar...

Страница 49: ...ute your printer workload In a typical networked environment some printers might be idle most of the time Other printers in the network might have a backlog of jobs waiting to print at certain times of the day or might even be backlogged most of the day You can set up a con guration that routes jobs to any of several printers that are capable of printing the jobs These rst two considerations are c...

Страница 50: ...eople in your organization will help you make planning decisions for your HPDPS print environment Consider your needs in the following areas Supporting users who submit jobs from an HPDPS client or who submit print requests from applications or with the LP spooler print commands such as lp and lpstat You will want to make planning decisions for your user groups based on their printing needs as wel...

Страница 51: ... Determining How Many Clients to Install Each host machine that executes HPDPS commands must have an HPDPS client installed Determining How Many Spoolers to Install One spooler will typically support many hosts However you will need to consider adding more spoolers if any of the following situations occur The number and size of jobs being spooled exceeds the system capacity Chapter 2 Installing HP...

Страница 52: ...r on each host that supports the ability to send HPDPS jobs to an LP spooler or to a remote spooler No more than one supervisor should execute on a particular host A supervisor might support more than one printer and the printers supported might be a mix of direct attached network attached and LP gateways The size and number of jobs being processed determines the number of printers that the superv...

Страница 53: ...n gure your system As your printing needs change you can change your con guration to t the need Spooler Considerations The HPDPS spooler contains the logical printers and queues for your distributed print environment Most of your spooler con guration activities will be at the logical printer and queue level the spooler itself has very few con gurable attributes The only requirements for the spoole...

Страница 54: ...upervisor You will need to determine the system on which the supervisor will run and to specify a name for the supervisor Physical Printer Considerations The HPDPS physical printer represents a printer device The physical printer capabilities are based on the printer model The attributes you can con gure depend on the capabilities of the printer model You can use physical printer attributes to rep...

Страница 55: ...re all of the printers that you plan to administer with HPDPS at the same time The more typical approach might be to con gure just some of them using HPDPS at rst and then slowly bring more of them under HPDPS control This approach lets you become familiar with the capabilities and features of HPDPS gradually and minimizes the initial con guration e ort This section describes four con guration mod...

Страница 56: ...activities Disadvantages No printer workload balancing Complexity you must create and manage more HPDPS objects All jobs sent to the logical printer must have similar characteristics Based on the job HPDPS might reject it requiring your users to submit their jobs to a di erent logical printer The desktop con guration model is easy to understand because of the one to one relationship between the lo...

Страница 57: ... a print room Printing occurs at the same location providing a central point where users pick up their jobs or from where you can distribute jobs You can also group printer devices together based on other considerations Printers with similar capabilities such as a group of high speed production printers Printers that support a particular user group Printers that support similar job characteristics...

Страница 58: ...with their print request The greatest bene t of the printer pool con guration model is in balancing your printing workload The greatest drawback is that your users do not know which of the printers in the pool will print their job You can solve this problem by only pooling printers with locations in common by telling users how to request a speci c physical printer or by using a common job delivery...

Страница 59: ...plexity you must create and manage more HPDPS objects Limited by the capability of the physical printer Based on the job HPDPS might reject it causing your users to submit the job to a logical printer outside of the funnel con guration model The funnel con guration model shares with the desktop model the advantage of letting your users know exactly where their jobs print The added advantage is the...

Страница 60: ... Figure 3 4 Hourglass Configuration Model The following describes the advantages and disadvantages of the hourglass con guration model Advantages Allows HPDPS to balance your printer workload Convenient for printer devices that are in close proximity to one another Convenient for printer devices with similar functions and capabilities Allows you to specify di erent defaulting for each logical prin...

Страница 61: ...nstall HPDPS in the DCE Extended Environment you might create a pd operator group and a pd admin group using the pddcesetup command You can de ne additional groups that have operator administrator or user levels of permission For instance if all of your operators have global access to all servers and printers you might need only the default operator group pd_operator If however you have operators ...

Страница 62: ...se Restricted Printers in Chapter 8 for more information about setting up restricted printers By default the person who submits a job receives noti cation of selected printing events associated with the job If however you need to make sure others are noti ed about print events you can modify the noti cation pro le for the job Planning Printer Operator Groups Printer operators perform activities th...

Страница 63: ...s for your print environment operators depending on which sets of queues they manage or you might nd that the default pd_operator group meets your needs in this area This group has read and write access to the HPDPS objects to which it is assigned Print environment operators might want to receive all attention messages that indicate an HPDPS object requires intervention And they might want to moni...

Страница 64: ...s capability on the system This enables the administrator not only to monitor the system but also to con gure the system adding and deleting objects as needed to improve the e ectiveness of the print environment 3 16 Planning Your HPDPS Configuration ...

Страница 65: ...o log in as root on HP UX in the Basic Environment In the DCE Extended Environment log in to Distributed Computing Environment DCE as cell_admin or being a principal in the pd_admin group The following topics and procedures describe how to log in to DCE Logging in to DCE To perform HPDPS administration functions in the DCE Extended Environment DCE requires that you have cell_admin or pd_admin grou...

Страница 66: ...e of the spooler that you want to start For additional information see Creating or Starting the Spooler in Chapter 6 Start a new supervisor pdstartsuv SupervisorName where SupervisorName is the name of the supervisor that you want to start For additional information see Creating or Starting the Supervisor in Chapter 5 Startup Log File Standard output and standard error of each HPDPS component star...

Страница 67: ...cts information about spoolers supervisors logical printers physical printers print queues and jobs You can see the status or attributes of these objects by selecting the appropriate icon Verifying That the HPDPS Client Daemon Is Running HPDPS requires that the client daemon process called pdclientd is running To verify that the daemon is running enter pdstartclient q If the HPDPS client daemon is...

Страница 68: ...f you have multiple supervisors you can verify which supervisors are running by entering the command pdls c server f server type supervisor Including the backslash before the global character prevents HPDPS from issuing an error message and terminating the query should a le exist with a name that ends in a colon Verifying That the Spooler Is Running To verify that an HPDPS spooler is running enter...

Страница 69: ...d prior to modifying this le shut down and restart the components The start up con guration le contains the following con guration information List of servers to start on this host Whether to start components in the Basic or DCE Extended Environment The de nition of PDPRNPATH for locating printer model info Modify the environment variables appropriately PD_ENV de nes the HPDPS print environment Se...

Страница 70: ... to start on this host This list names each spooler whose HP UX process executes on this host Enter each spooler name on a separate line after the PD_SPOOLERS command and before the terminating double quote that ends the list For example to start two spoolers Spool1 and Spool2 enter PD_SPOOLERS Spool1 Spool2 The default does not start any spoolers PD_SPOOLERS PD_SUPERVISORS de nes the list of supe...

Страница 71: ...e etc rc config d pd with the start argument Stopping HPDPS Components To quickly shut down all HPDPS components on your host enter sbin init d pd stop This string executes the con guration le etc rc config d pd with the stop argument Verifying and Setting Environment Variables The following procedures allow you to verify the setting of or to set HPDPS related environment variables PATH PD_CONFIRM...

Страница 72: ...o Under normal conditions you will not want to change the default value for this environment variable To set the value of the PD_CONFIRM_DELETE environment variable to no edit your pro le le and add the line export PD_CONFIRM_DELETE no You will not receive con rmation messages for any delete requests until you change the value of this HPDPS environment variable To set the value of the PD_CONFIRM_D...

Страница 73: ...processing is necessary for HPDPS servers to shut down properly during system shutdown Backing Up and Restoring HPDPS Directories This section provides some information concerning the need to back up HPDPS directories and les and how to restore the information later on Backing up Your HPDPS Directories and Files Once you have HPDPS in use your next consideration should be backing up the le systems...

Страница 74: ...r to restore the data properly Once again refer to the documentation for your system for more information Further Tuning of HPDPS Every persistent object such as a printer spooler or supervisor requires two le descriptors Also each job in the spooler requires two le descriptors The total number of open les allowed by your system is determined by the nfile kernel con guration parameter Your HP UX k...

Страница 75: ... HPDPS supervisor on the system to which the printer devices are locally serial or parallel attached A network printer can be managed by any supervisor Note In the DCE Extended Environment you must have DCE read write and delete permissions for the supervisor to use the pdcreate command as described in this section You must have DCE read and write permissions for the objects to use the pdset and p...

Страница 76: ...rocedures Creating or Starting the Supervisor To create or start a supervisor from the command line use the pdstartsuv command and specify a supervisor name For example to start the supervisor Super1 enter pdstartsuv Super1 Naming Convention The characters in the name you specify for the supervisor can include any uppercase letter A through Z any lowercase letter a through z numbers 0 9 a hyphen a...

Страница 77: ...or example you can specify the user groups using the supervisor and its contained objects pdset c server x descriptor This supervisor contains physical printers used by Accounting Super1 If you do not specify a value for the descriptor attribute HPDPS does not provide a default Specifying Key Contacts for the Supervisor The list of managers attribute speci es one or more text strings up to 255 cha...

Страница 78: ...PS physical printers from SAM or from the command line From the command line you can create and con gure a physical printer with the pdcreate command After you create the physical printer you can use the pdset command to further con gure the physical printer When you have completed your physical printer con guration activities you use the pdenable command to enable the physical printer to accept j...

Страница 79: ...lp spool bsd printer model optional internet address print queue name You use the following attributes to create a physical printer Other attributes are de ned by the printer attribute le Attribute Description associated queue This attribute identi es the queue that schedules the jobs to the physical printer You can specify the associated queue attribute when you create the physical printer or use...

Страница 80: ...the device le if the device le does not exist You can use SAM to create the physical printer and the device le will be created automatically internet address This attribute is required if the value of attachment type attribute is tcpip tcpip bsd lp spool hp or lp spool bsd This attribute identi es the IP address of the physical printer or of the remote system where the remote spooler resides print...

Страница 81: ...b validation and scheduling To obtain a list of supported printer models enter pdls c server r printer models supported ServerName tcpip port number This optional attribute can be given if the value of attachment type is tcpip It is used for sending jobs to a physical printer that uses a Jet Direct card The default value is 9100 If your card speci es 9101 or 9102 then you must specify that number ...

Страница 82: ...te a physical printer on a LAN using RFC1179 protocol enter pdcreate c printer x attachment type tcpip bsd printer model LaserJet4Si internet address 15 164 144 02 print queue name RemoteQueue1 Super1 PhyPrt1 To create a physical printer LP spooler enter pdcreate c printer x attachment type lp spool hp internet address 15 164 144 03 print queue name RemoteQueue2 Super1 PhyPrt1 To create a physical...

Страница 83: ...is the printer driver The driver le must have a symbolic link pointing to opt pd lib libfcrm0 sl ipmap This interface program map contains the conversion table to map between HPDPS and LP spooler ip This interface program le which is based on PCL5 interface program le for LP spooler is intended for use by HPDPS supervisor It maps the attribute value pairs and the interface program le supported opt...

Страница 84: ...cation of and usage information for the printer list of managers This multi valued attribute lists information about the people in your organization who are responsible for the printer device that the physical printer represents You can specify a text string up to 255 characters in length for each value printer locations This multi valued attribute describes the location of the printer device You ...

Страница 85: ...ument formats supported ascii postscript PhyPrt1 Enabling a Physical Printer If you use SAM to add a physical printer SAM enables the printer On the command line use the pdenable command after you have created and con gured a physical printer Enabling the printer allows it to accept jobs after you have completed the con guration tasks for the other HPDPS components Note You must set the value of t...

Страница 86: ......

Страница 87: ...ated with the queue that is capable of printing the job The spooler schedules jobs for printing on physical printers based on the requirements of the jobs In addition to queues and logical printers you can create and con gure initial value job and initial value document objects in the spooler and associate them with logical printers to control job and document defaulting An initial value object al...

Страница 88: ... If the spooler name you specify with the command does not exist HPDPS creates the spooler on the system from which you issue the command and then starts the new spooler For example to start the spooler Spool1 enter pdstartspl Spool1 Naming Convention The characters in the name you specify for the spooler can include any uppercase letter A through Z any lowercase letter a through z numbers 0 9 a h...

Страница 89: ...list of managers and notification profile attributes are discussed here Receiving Spooler Notification Messages You receive messages about events associated with a spooler through the noti cation pro le for the spooler The notification profile spooler attribute determines which messages you will receive The default event identifiers component of the noti cation pro le determine the messages you re...

Страница 90: ...rs in length that describes the spooler While the use of this attribute is optional a detailed description is useful if you have a large number of spoolers or if you have many people managing your network printing system The type of information you can specify initially in the description of the spooler includes The purpose of the spooler which users user groups or departments will use the objects...

Страница 91: ...queue by the order that the jobs were submitted and the scheduling method of the queue When jobs print depends on their position in the queue relative to other jobs for con gurations with multiple physical printers it also depends on when a particular printer becomes available Supported values for the scheduling method are fifo and priority fifo The default value for the scheduler ready attribute ...

Страница 92: ... queue received the jobs Figure 6 1 illustrates the fo scheduling method The number in parenthesis under each job identi es the physical printer to which the spooler can schedule the job physical printer PhyPrt1 can accept jobs A B and C and physical printer PhyPrt2 can accept jobs X Y and Z Job A was the rst job received by the queue and job Z was the last The spooler will schedule the jobs in th...

Страница 93: ...es in the queue ahead of other jobs with lower priorities that are already in the queue The spooler places jobs of equal priority in the queue in the order in which they were submitted Figure 6 2 illustrates the priority fo scheduling method The physical printer associated with the queue is capable of printing all of the jobs The priority of each job is listed under the job and the jobs were submi...

Страница 94: ...mod command You as an administrator can set the value of the attribute for a job to any value between 0 to 100 You can also use an initial value job object associated with a logical printer to set the job priority initial value job attribute to any valid value Then all jobs submitted to the logical printer will receive that priority See Increasing the Priority of a User Job in Chapter 11 for more ...

Страница 95: ...peci es the amount of processing time in hours and minutes that constitutes a backlogged queue When the calculated value of the queue backlog attribute is greater than the value of the backlog upper bound attribute HPDPS changes the value of the backlogged attribute to true There is no default value for the backlog upper bound attribute If this attribute does not have a value HPDPS does not calcul...

Страница 96: ...y increase the interval value if you set the two boundaries fairly close together To set the upper bound at 45 minutes the lower bound at 30 minutes and the calculation interval at 10 minutes for the queue Queue1 enter pdset c queue x backlog upper bound 00 45 backlog lower bound 00 30 backlog update interval 00 10 Queue1 About Controlling Queue Backlog Processing HPDPS sends noti cation messages ...

Страница 97: ...acklog lower bound attributes alert you to a queue backlog condition The solid line in the gure shows the value of the queue backlog attribute over time Figure 6 3 Queue Backlog Upper and Lower Bounds Based on the values for 45 minutes for the upper boundary and 30 minutes for the lower boundary the queue becomes backlogged at 10 10 is no longer backlogged at 10 30 and becomes backlogged again at ...

Страница 98: ...thod component defaults to electronic mail You will want to change the user identi ed by the delivery address component if the operator who manages the queue is someone other than the administrator who created it See Chapter 7 Using Noti cation for descriptions of events and event classes and procedures for con guring the notification profile attribute Specifying Who Receives Messages From Users T...

Страница 99: ... which you specify the components must be the delivery method rst followed by the delivery address Specifying a Description for the Queue Use the descriptor attribute to specify a text string up to 4095 characters in length that describes the queue While the use of this attribute is optional a description is useful if you have a large number of queues or if you have many people managing your distr...

Страница 100: ...uired with logical printers that are set up to restrict access to particular physical printer capabilities See Using Logical Printers to Restrict the Use of Printer Capabilities for an example con guration that uses initial value objects to enforce restrictions Job and document attribute values are derived from other sources in addition to initial value objects Users can specify the values for job...

Страница 101: ...requested 1st Floor South job retention period 2 00 results profile Hold for Jack Smith 1 Spool1 Smith_ivj2 Associating an Initial Value Object with a Logical Printer Use the following commands to associate initial value objects with logical printers To associate the initial value document object LP3ivd with the logical printer LogPrt3 enter pdset x printer initial value document LP3ivd LogPrt3 To...

Страница 102: ...value object does not exist or the values of an initial value object are not supported the request to enable the logical printer will fail and you will receive an error message Creating and Configuring Logical Printers You use logical printers to set up the ow of jobs in your system The basic steps of con guring the logical printers for your system and using them for such purposes as providing job...

Страница 103: ...ll number of large production jobs or some combination of the two Print management concerns such as printer workload balancing or restricting printer usage for security and other reasons Other needs of your company organization and printing environment Selecting Logical Con guration Models in Chapter 3 introduces the logical printer con guration models that you can use based on these consideration...

Страница 104: ...e job and document attribute values 2 Validating the job against the logical printer to which the job was submitted Values speci ed for logical printer attributes represent a restriction to the use of a physical printer function or some other use of a physical printer Refer to Validation at the Logical Printer for more information 3 Validating the job against the physical printer or printers assoc...

Страница 105: ...e document object speci ed by the initial value document document attribute These values override those speci ed by an initial value job or initial value document object associated with a logical printer if both specify values for the same attribute Otherwise the values are used in addition to those speci ed by initial value objects associated with the logical printer to which the job was submitte...

Страница 106: ...ical printer validation the spooler veri es that the job and document attribute values are supported by the logical printer It compares the job and document attribute values to the xxx supported attributes of the logical printer The absence of a value for a logical printer attribute means no restriction by the logical printer If the logical printer attribute has a value or values the values of the...

Страница 107: ... supported Job attributes that request a particular type of printer such as printer models requested HPDPS compares the values of the job attributes to the values of the physical printer attributes of the particular printer model See Creating and Con guring Physical Printers in Chapter 5 for further information on physical printer con guration See the manpages pd att phy ptr 5 and pd att log prt 5...

Страница 108: ...ion that uses an initial value job and an initial value document object to enforce restrictions imposed by logical printers Table 6 1 shows the document attributes their defaults and the corresponding printer attributes and supported values The plex and sides document attributes do not have default values If you use either of the corresponding logical printer attributes for restriction you must cr...

Страница 109: ...otal value of all of the job copies components of the results profile job attribute to maximum copies supported during job validation plex No default plexes supported simplex duplex sides No default sides supported 1 2 content orientation portrait content orientations supported landscape portrait default input tray No default input trays supported top middle bottom envelope manual large capacity d...

Страница 110: ...attributes are only useful for con gurations with a queue that sends jobs to more than one printer They request a particular printer or type of printer in the printer pool You can create an initial value job object and associate it with a logical printer so that all of the jobs submitted to the logical printer are sent to a particular physical printer printer model or printer location The job attr...

Страница 111: ...d Notes Any individual value speci ed for this attribute can select more than one physical printer For example the printers could all be in the same location such as a printer room The values for both the job and printer attributes must match exactly for validation to occur printer models requested This multiple valued attribute identi es the printer models of the printer devices requested to prin...

Страница 112: ...apabilities You can provide default values for jobs and documents using initial value objects in association with logical printers See Using an Initial Value Object for Job and Document Defaulting for an example of using an initial value document object to provide some values for a document in a job You can modify a logical printer con guration after setting it up For example you can add a new log...

Страница 113: ...Value Object for Job and Document Defaulting This section describes how to create a logical printer and an initial value document object associated with the logical printer The initial value document object provides default values for documents of jobs submitted to the logical printer The example uses the desktop con guration model Refer to Figure 6 5 This gure shows some of the attributes and val...

Страница 114: ...ust specify the name of the spooler when you create a logical printer with the pdcreate command You do not need to specify the spooler name when you modify values for logical printers with the pdset command Because the speci ed server is a spooler HPDPS automatically creates a logical printer HPDPS sets the value of the printer realization attribute to logical It does not matter in which order tha...

Страница 115: ...associated physical printer The user must provide attribute values that replace those provided by the initial value object in order to use the other capabilities To print a two sided job with with portrait orientation to LogPrt1 enter pdpr p LogPrt1 x content orientation portrait sides 2 File1 txt To create a logical printer associated with Queue1 without any values for the logical printer attribu...

Страница 116: ...d with Queue1 with an initial value job object for job defaulting and an initial value document object for document defaulting perform the following steps 1 To create the initial value job object IVJ1 enter pdcreate c initial value job x printer location requested bld47 job priority 80 Spool1 IVJ1 6 30 Configuring Spoolers Queues and Logical Printers ...

Страница 117: ...submit jobs to logical printers Logical printers also have xxx supported attributes but these attributes default to no value when you create a logical printer When you create a logical printer and assign values to this type of attribute the logical printer represents an abstract set of physical printer capabilities Several logical printers can represent a single physical printer with each represen...

Страница 118: ...ributes However the supported attributes for physical printers di er between printer models For logical printer attributes that are used for restriction that do not require an initial value object such as document formats supported you can combine attribute values that are only supported by one printer model You can also combine document attributes that are unique to a printer model if they do not...

Страница 119: ...nel con guration model It shows how to create the logical printers and initial value objects shown in Figure 6 7 The funnel con guration model has a many to one relationship between logical printers and a physical printer Each logical printer usually represents a subset of the capabilities of the physical printer you use these logical printers to Configuring Spoolers Queues and Logical Printers 6 ...

Страница 120: ...queue Queue2 printer initial value document IVD3 sides supported 2 Spool1 LogPrt5 To create the initial value document object IVD3 enter pdcreate c initial value document x sides 2 Spool1 IVD3 To create logical printer LogPrt6 enter pdcreate x associated queue Queue2 printer initial value document IVD3 sides supp 2 Spool1 LogPrt6 The initial value document object IVD3 is associated with both LogPr...

Страница 121: ...ent attribute value is not supported by a speci c logical printer attribute value When the job actually prints the printer device could default to print the job on one side of the paper The intended restriction fails Therefore the initial value document object IVD3 is associated with LogPrt6 to assign a value of 2 to the sides attribute to all documents in jobs submitted to the logical printer If ...

Страница 122: ...can restrict with other attributes such as maximum copies supported A printer pool con guration has a one to many relationship between a logical printer and physical printers as shown in Figure 6 8 The main advantage of the printer pool con guration is that it balances the workload of jobs submitted to the system Jobs in Queue3 that can print on both physical printers will print on the printer tha...

Страница 123: ...overlap in the range of the sizes of jobs that the physical printers accept Based on job size some jobs can be sent to either physical printer depending on which physical printer becomes available rst Figure 6 8 One Logical Printer for Multiple Physical Printers The document formats supported logical printer attribute does not have a value and therefore can accept documents with formats supported ...

Страница 124: ...ers If you have multiple logical printers that send jobs to one or more physical printers that require restricted access you need to use DCE to restrict access to all of the logical printers See Using DCE to Restrict Access with Multiple Logical Printers for an example of using DCE to restrict all of the logical printers in a con guration Use a logical printer or printers to restrict the use of ph...

Страница 125: ...lt is false Refer to the Chapter 8 Managing DCE Security for HPDPS for a description of DCE security If you set authorize jobs to true to restrict the use of the logical printer you must then do the following 1 Create a DCE group for the logical printer and give the group read permission to the logical printer 2 Give each person who will use the logical printer an account in the group When DCE log...

Страница 126: ...er Spool1 and con gure it to only accept jobs from authorized users enter pdcreate x authorize jobs true associated queue Queue5 Spool1 LogPrt12 The logical printer in this con guration does not impose any restrictions to the use of the physical printer HPDPS performs job validation at the physical printer level only 6 40 Configuring Spoolers Queues and Logical Printers ...

Страница 127: ...rinter If one or more physical printers that receive jobs from a queue needs restricted access using DCE each logical printer that sends jobs to the queue must be DCE restricted That is authorize jobs must be set to true and a DCE user group must be created for each logical printer Figure 6 10 shows two logical printers that send jobs to one physical printer that require DCE security One logical p...

Страница 128: ...create x authorize jobs true associated queue Queue6 Spool1 LogPrt13 To create the logical printer LogPrt14 enter pdcreate x authorize jobs true printer initial value document IVD4 associated queue Queue6 Spool1 LogPrt14 The command to create IVD4 is not provided You must set up a DCE user for each of these logical printers 6 42 Configuring Spoolers Queues and Logical Printers ...

Страница 129: ...n in Figure 6 11 An hourglass con guration has the advantages of the printer pool con guration model in that it lets you balance the workload of jobs in your system The concepts illustrated by this example also apply to the funnel con guration model which has a many to one relationship between logical printers and a physical printer In the con guration shown in Figure 6 11 logical printers LogPrt1...

Страница 130: ... Values Figure 6 11 Using Logical Printers and DCE to Restrict Capabilities To create the four logical printers shown in Figure 6 11 do the following To create logical printer LogPrt15 enter 6 44 Configuring Spoolers Queues and Logical Printers ...

Страница 131: ...queue Queue7 sides supported 2 Spool1 LogPrt18 To create the initial value document object IVD5 enter pdcreate c initial value document x sides 2 Spool1 IVD5 This initial value document object enforces the restriction of two sided printing imposed by LogPrt15 LogPrt17 and LogPrt18 In this example four logical printers send jobs to two physical printers through a single queue Three user groups each...

Страница 132: ...jobs LogPrt18 users can print jobs with any supported document format Therefore all jobs submitted to this logical printer are sent to PhyPrt10 The users are restricted to the size of jobs that they can submit Users can only print large two sided jobs Configuring Logical Printers as HPDPS Gateway Printers To access a foreign environment you must create an HPDPS Gateway Printer in the local environ...

Страница 133: ...s to be added HPDPS Gateway PrinterName This is the name by which the printer is known locally This name must not con ict with an existing logical printer name or an existing spooler name in the local environment When an HPDPS Gateway Printer target is added deleted or moved to a new host then every HPDPS Gateway Printer in your network that references that target must be updated accordingly HPDPS...

Страница 134: ...pdmod A job previously sent to a foreign printer can be listed using pdq or pdls A job previously sent to a foreign printer can be cancelled using pdrm A job previously sent to a foreign printer can be resubmitted to another printer local or foreign using pdresubmit A job previously sent to a local printer can also be resubmitted to a foreign printer The attributes of the spooler for a foreign pri...

Страница 135: ...arget a ected by the enabled or disabled status of the HPDPS Gateway Printer A HPDPS Gateway Printer can be disabled simply to allow a pdset operation to be performed on the HPDPS Gateway Printer Other Logical Printer Configuration Tasks This section describes some miscellaneous tasks you need to perform when you create logical printers Specifying a Description for the Logical Printer Use the desc...

Страница 136: ...inter Notification Messages You receive noti cation messages about events associated with the logical printer through the noti cation pro le for the logical printer The notification profile logical printer attribute determines which messages you receive The default events for the logical printer notification profile attribute are object cleaned object deleted The delivery address component of this...

Страница 137: ...nitial value objects referenced by the logical printer must exist If the logical printer references any initial value objects the job or document attributes speci ed by the initial value object must be supported by the logical printer See Associating an Initial Value Object with a Logical Printer for more information on the last prerequisite You can enable logical printers one at a time or specify...

Страница 138: ......

Страница 139: ...ds noti cation messages related to objects to one or more users based on the notification profile attribute of these objects The person who manages a queue can be noti ed of all jobs that cannot be scheduled Individual users can receive the same noti cation about their own jobs Understanding the notification profile Attribute You use the notification profile attribute to con gure noti cation pro l...

Страница 140: ...nique combination of delivery method and delivery address component values All objects except the inital value job object have default noti cation pro les The sequence in which the components are entered is not important event identifiers Component This component speci es the events for which the user receives messages This component is the only component that can have multiple values within a not...

Страница 141: ... other objects contained within the server For example the event queue backlogged on a spooler noti cation pro le causes a message to be sent for any queue contained within that spooler This is not true of all events For example queue state changed will cause a message to be sent only for the queue involved See Table 7 3 for a list of the default events for each object Events Specified in any Noti...

Страница 142: ...nd delivery address are key components They are used with the operator to add or replace values and with the operator to delete a value The combination of the two components must be unique within the values for that notification profile You can use both key components together to add replace or delete notification profile attribute values with either your UserName or other users UserName The other...

Страница 143: ...ponent locale Component This component is used to set the language and coded character set in which HPDPS sends the message If you do not specify a value for this component HPDPS uses a default value equal to the LANG environment variable value of the person creating or setting the value This component is case sensitive List of Notification Event Identifiers The following table alphabetically list...

Страница 144: ...aching The job will be deleted at the discard time Message Job 1 Spool1 1234567890 is close to being discarded detailed messages class job attention class report Job Physical Printer Supervisor Description The printer backend has a message Processing continues unless the printer backend message indicates otherwise Message Message from the printer backend program Printer Printer1 has encountered a ...

Страница 145: ...at the printer document content class error class job problem Physical Printer Supervisor Description The supervisor detected an error in the content of this le during printing For example a syntactic error in the le s page description language Message An error was detected in document 1 my le txt of job 1 Super1 1234567890 during printing file transferred class job status class report Job Descrip...

Страница 146: ...ob 1 Spool1 1234567890 stopped printing due to job or printer errors job assigned to queue class job status class report Job Queue Spooler Description The job was assigned to a queue The job continues to process Message The job 1 Spool1 1234567890 is assigned to queue Spool1 Queue1 job cancelled by operator class aborted class job attention class job default Job Physical Printer Queue Spooler Supe...

Страница 147: ...er any physical printers available that can support the job s attributes The physical printer that supported the job s attributes at submission is no longer available The job remains in the queue Resubmit the job to a logical printer that supports the job s attributes Message The job 1 Spool1 1234567890 cannot be scheduled to a printer job completed class job default class job status class report ...

Страница 148: ...modi ed The job continues to process Message Job 1 Spool1 1234567890 was modi ed job paused class job attention class warning Job Description The job was paused If the job state was processing it stopped printing The job will not be available to be scheduled until it is resumed Message Job Spool1 1234567890 was paused job promoted class job status class report Job Queue Spooler Description The job...

Страница 149: ...ues Message The state of job 1 Spool1 1234567890 changed to pending job submission not complete class error class job problem Job Spooler Description The spooler waited for the amount of time speci ed in its job submission timer attribute to receive an indication that all of the document objects in a job have been sent It did not receive that indication The spooler will process the documents it ha...

Страница 150: ... error class job problem Physical Printer Supervisor Description A resource needed by this job was not available The job was aborted Check the error log for messages related to this failure Message The resource Res12 needed by job 1 Super 1234567890 was not available object cleaned class logical printer default class logical printer status class physical printer default class physical printer stat...

Страница 151: ...ogical printer default class physical printer con guration class physical printer default class queue con guration class queue default class server con guration class server default class report Logical Printer Physical Printer Queue Spooler Supervisor Description The object is deleted Message Successfully deleted object printer Spool1 LogPrt1 object modified class logical printer con guration cla...

Страница 152: ...ription A printer or queue is resumed Message Successfully resumed printer Super1 PhyPrt1 other error class error class server attention Physical Printer Supervisor Description An error occurred for this object and cannot be described by any other message Check the error log for messages related to this failure Message Server Super1 encountered an error other warning class server attention class w...

Страница 153: ...ion A logical or physical printer was disabled and does not accept new jobs Message Successfully disabled printer Super1 PhyPrt1 printer enabled class logical printer status class physical printer status class report Logical Printer Physical Printer Queue Spooler Supervisor Description A logical or physical printer is enabled and now accepts jobs Message Successfully enabled printer Super1 PhyPrt1...

Страница 154: ...tention class job attention class job default class physical printer attention class physical printer default class warning Job Physical Printer Supervisor Description The physical printer needs attention from a person not necessarily the operator Message Physical printer Super1 PhyPrt1 needs attention printer needs operator class job attention class job default class physical printer attention cl...

Страница 155: ...ueue1 printer paper out class job attention class job default class physical printer attention class physical printer default class warning Job Physical Printer Supervisor Description The physical printer is out of paper Message Physical Printer Super1 PhyPrt1 paper out Spool1 Queue1 printer paper output problem class job attention class job default class physical printer attention class physical ...

Страница 156: ...er shutdown job requeued class job attention class physical printer attention class warning Job Physical Printer Supervisor Description The printer shut down after this job started processing The job was re queued and will be scheduled again or the job was deleted and will have to be resubmitted Message Printer Super1 PhyPrt1 was shut down after job 1 Spool1 1234567890 started processing printer s...

Страница 157: ...not process jobs until it connects to the device Check the server error log for additional information Message Physical printer Super1 PhyPrt1 has timed out printer toner low class job attention class job default class physical printer attention class physical printer default class warning Job Physical Printer Supervisor Description The physical printer has a low toner condition Message Physical P...

Страница 158: ...ing Job Queue Spooler Description HPDPS calculates that there are too many jobs in this queue for all jobs to print within the amount of time speci ed for the queue backlog upper bound attribute The queue continues to accept jobs but there will be a delay before they print Message The queue Spool1 Queue1 is backlogged queue no longer backlogged class queue status class report Jobs Queue Spooler De...

Страница 159: ...s22 on printer Super1 PhyPrt1 needs attention resource needs operator class physical printer attention class warning Physical Printer Supervisor Description This resource needs attention from an operator Jobs requiring this resource cannot be processed until the problem is corrected Message Resource Res1 on printer Super1 PhyPrt1 needs operator attention server shutdown complete class server atten...

Страница 160: ...nable to register class warning Physical Printer Supervisor Description The physical printer could not register with the queue within the amount of time speci ed for the printer register threshold physical printer attribute Jobs cannot be scheduled to the printer Message The printer Super1 PhyPrt1 cannot register with the queue Queue1 unrecognized resource class error class job problem Physical Pr...

Страница 161: ...class name begins with class An event identi er can occur in more than one class For example object cleaned occurs in the following classes class logical printer default class logical printer status class physical printer default class physical printer status class queue default class queue status class server default class server status class warning If any of these event classes are listed in no...

Страница 162: ...ng on the settings of other parameters class job attention close to discard time job discarded detailed messages job paused document aborted by printer job timed out document aborted by server past discard time document cancelled at printer printer function unavailable job aborted by server printer needs administrator job cancelled by operator printer needs attention job cancelled by user printer ...

Страница 163: ...s are often routine and do not require intervention class logical printer attention printer disabled These events indicate that a problem exists with the logical printer and they usually require intervention by an operator or administrator class logical printer con guration object created object modi ed object deleted These events have to do with the creation or deletion of a logical printer or wi...

Страница 164: ...out printer disabled printer shutdown printer enabled resource needs attention printer needs administrator resource needs operator These events have to do with the creation or deletion of a physical printer or with modi cation of the attributes of a physical printer class physical printer default object cleaned printer needs attention object deleted printer needs operator printer needs administrat...

Страница 165: ...ed object deleted This is the default event class for queues class queue status object cleaned queue no longer backlogged object resumed queue state changed queue backlogged This event class includes events that give detailed status about the queue These changes in status are often routine and do not require intervention class report checkpoint taken object created detailed messages object deleted...

Страница 166: ...th the server and they usually require intervention by an administrator class server con guration object deleted server startup complete object modi ed These events have to do with the creation or deletion of a spooler or supervisor or with modi cation of the attributes for a server class server default internal server error object deleted object cleaned server shutdown complete This is the defaul...

Страница 167: ... prevent completion of the processing but might indicate that some action is required on the part of the operator or user Understanding Default Notification By default the person who creates an object such as a server receives the noti cation messages for that object The noti cation messages for the default events provide information on topics such as status conditions error conditions or con gura...

Страница 168: ... timed out object deleted printer paper jam printer needs administrator printer paper out printer needs attention printer paper output problem printer needs operator printer toner low queue object deleted queue backlogged object cleaned spooler internal server error object deleted object cleaned server shutdown complete supervisor internal server error object deleted object cleaned server shutdown...

Страница 169: ...es The object can be job logical printer physical printer queue or server See Table 7 2 for the events within default classes delivery method electronic mail delivery address Your UserName and HostName locale Your locale setting based on your LANG environment variable If the person who will be responsible for the object is someone else the noti cation pro le should be modi ed right away One of the...

Страница 170: ...i cation pro le value Note You can set up attributes les with di erent combinations of noti cation events delivery methods delivery addresses or locales Then you can quickly modify the noti cation pro le for an object by issuing a pdset command using the X ag to specify the correct attributes le If you frequently add and delete a common group of people from noti cation pro les for a speci c HPDPS ...

Страница 171: ...1 HPDPS displays information similar to the following Queue1 notification profile event identifiers object deleted object cleaned delivery method electronic mail delivery address lisah sys1 com locale C event identifiers queue backlogged class queue status delivery method message delivery address kathyw locale C Creating a Notification Profile An example of creating a noti cation pro le with one v...

Страница 172: ...klogged delivery address mary cowboy locale C The second one contains default values except for the delivery address If you want values other than defaults you must specify them Adding an Event to an Existing Value Assume that the following value is part of a noti cation pro le set for physical printer PhyPrt1 event identifiers class physical printer attention delivery method message delivery addr...

Страница 173: ...the same HPDPS object For example to specify that joang sys1 com and kathyw sys1 com receive noti cation about the status of queue Queue1 enter pdset c queue x notification profile event identifiers class queue status delivery method electronic mail delivery address joang sys1 com event identifiers class queue attention delivery method electronic mail delivery address kathyw sys1 com Queue1 Settin...

Страница 174: ...s will be added to the existing values the rst added value will have a delivery method of electronic mail e mail and the second will have a delivery method of message the default Both will have the default set of events for a queue and the default of your locale If you check the values by using the command pdls c queue g r notification profile Queue1 You would see two values similar to these among...

Страница 175: ...gged delivery method electronic mail delivery address user mmco com locale C event identifiers object deleted object cleaned queue backlogged delivery method message delivery address username locale C Using Just the delivery method Component If you just use the component delivery method you can add replace or delete a noti cation pro le value that contains your delivery address value and the corre...

Страница 176: ...lt values For example To add the user kathyw sys1 com to the noti cation pro le for the queue Queue1 enter the command pdset c queue x notification profile delivery address kathyw sys1 com Queue1 This adds a value to the noti cation pro le for user kathyw with the other component values set to the defaults values for a queue If a value already exists for this user with a delivery method of e mail ...

Страница 177: ... Use the pdls command to redirect the contents of a noti cation pro le to a le with a name of your selection For example to redirect the noti cation pro le for the queue Queue1 to a le named Queue1 notif enter pdls c queue g r notification profile Queue1 Queue1 notif The new le you created contains information similar to the following Queue1 notification profile event identifiers object deleted ob...

Страница 178: ...ification Profile to the Original Default Values Use the c ag and x notification profile to return the noti cation pro le for a speci c HPDPS object to the values it contained when the object was created After you modi ed a noti cation pro le you might nd that you no longer need the modi cations you made But remember if you did not create the object the delivery address value is reset to the addre...

Страница 179: ...entifiers class server attention class server configuration class server status Spool3 Notes Jake used the class event items so he would not have to list each event identi er The noti cation pro le causes messages to be issued for these events internal server error object cleaned object deleted server shutdown complete Jake will receive a message for any logical printer or queue contained in the S...

Страница 180: ...ll receive duplicate messages when logged on The backup operator is to receive the same messages using electronic mail The operators need to know if A queue is or has been backlogged A queue or logical printer has been cleaned created modi ed or deleted within that server The administrator who created the spooler jswhite only monitors the default class of events for the spooler Spool1 and objects ...

Страница 181: ...plar xyz com Spool1 Notes This noti cation pro le could be created in an attributes le and set from the command line You would create a le that contained just the notification profile attribute and its values Then you would use that le possibly named spool1 np from the command line by entering the command pdset c server X spool1 np Spool1 You would want to modify all the logical printer and queue ...

Страница 182: ...ro le for LogPrt3 enter pdset x notification profile event identifiers class logical printer configuration delivery method electronic mail delivery address lbjohnson willow xyz com event identifiers class logical printer attention delivery method electronic mail delivery address fpjones poplar xyz com LogPrt3 Assumptions Example 2 The operator fpjones from Example 1 has taken a new job and the new...

Страница 183: ... jobs within the queue The queue receives jobs from multiple logical printers The operator jhpong sets the noti cation pro le for Queue2 by entering the command pdset c queue x notification profile delivery method message event identifiers class queue attention class queue configuration object cleaned job aborted by server job cannot be scheduled close to discard time job discarded Queue2 which re...

Страница 184: ...ng the supervisor Super1 He wants more feedback than the default values will give He wants to know if something has happened even when he is logged o Note The example shown here uses an attributes le to specify the new noti cation pro le The text of the attributes le follows the command To modify the default noti cation pro le when the supervisor was created and to receive certain noti cation even...

Страница 185: ...r other warning server shutdown started server shutdown complete when logged on and object deleted server object modified server server startup complete object created physical printer object deleted physical printer object modified physical printer when logged on or logged o Physical Printer Notification Profile Examples The following examples show a possible noti cation pro le where the operator...

Страница 186: ...isor Super2 to re ect the responsibilities of administrator and operator the administrator lbjohnson would enter the command pdset c server X SuperAdmOper notif Super2 where the le SuperAdmOper notif contains notification profile delivery method electronic mail event identifiers class server attention class physical printer configuration delivery address fpjones poplar xyz com The resulting noti c...

Страница 187: ... printer PhyPrt2 contained in spooler Super2 A common mail box has been setup for the operators called OPER Because the PhyPrt2 is a three shift operational printer the operators want to keep a daily log of events In this way any operator can nd out what occurred on the other shifts A noti cation pro le to satisfy these conditions could be set using the command pdset x notification profile event i...

Страница 188: ...ial value job object named myivj1 in spooler Spool1 with a noti cation pro le of notification profile event identifiers class job attention job complete delivery method message delivery address toddp locale C event identifiers class job default delivery method message delivery address toddp locale C When you want to use this initial value job object with one of your jobs you would enter the comman...

Страница 189: ...for your jobs Default Noti cation If you do not specify your own values for the notification profile attribute when you submit a job HPDPS uses the default noti cation pro le For the vast majority of users the default noti cation pro le gives adequate results See Table 7 2 for a list of the events contained in the class job default class Default Noti cation by e mail You can receive the default ev...

Страница 190: ...DPS server Spool1 05 23 95 07 26 381 5010 304 The queue Spool1 Queue1 is backlogged To receive help for message 5010 304 enter pdmsg 5010 304 HPDPS displays information similar to the following 5010 304 The queue is backlogged 5010 304 EXPLANATION HPDPS calculates that there are too many jobs in this queue for all the jobs to print within the time specified by the queue backlog upper bound value A...

Страница 191: ...alues Summary Tables for the notification profile Attribute Table 7 4 provides information on the commands used to set the components for a notification profile attribute for the di erent objects as well as syntax de nition Using Notification 7 53 ...

Страница 192: ...er Settable with the pdcreate or pdset commands queue Settable with the pdcreate or pdset commands spooler Settable with the pdset command supervisor Settable with the pdset command Value contains This is a complex attribute which has the following components event identifiers delivery address delivery method event comment optional locale syntax x notification profile event identifiers values deli...

Страница 193: ...not be scheduled document aborted by server job completed document cancelled at printer job discarded job aborted by server printer needs attention job cancelled by operator printer needs operator logical printer object cleaned object deleted physical printer object cleaned printer needs attention object deleted printer needs operator printer needs administrator printer paper jam printer paper out...

Страница 194: ... value Values One of the following xed values Fixed Value Input Synonym electronic mail e mail email message none Default e mail Notes 1 The delivery address for message is the user name no hostname The message is sent locally to the user s display If the user operator or administrator speci ed by the delivery address component is logged o that person will not receive noti cation messages 2 A valu...

Страница 195: ...alues A text string that contains the name and hostname if using e mail of the person that is to receive noti cation Default initial value job No default job The UserName of the user that submitted the job using the pdpr command logical printer The UserName of the user that created this logical printer physical printer The UserName of the user that created this physical printer queue The UserName ...

Страница 196: ...u do specify it Explanation Identi es the locale of the user that is to receive the messages Value Type Single value Values A text string that identi es the locale to be used This is used to determine the language and coded character set in which the message is to be sent Default initial value job The locale of the user that created this initial value job job The locale of the user that submitted ...

Страница 197: ...E security is similar to managing UNIX security As an administrator of DCE you create groups which have certain permissions in relation to HPDPS objects Each user who has an account with a group has the permissions for the group when the user is logged in to DCE A DCE group that has read write and delete permission for an HPDPS object such as a spooler or a queue is similar to a UNIX group that ha...

Страница 198: ...e ISBN 0 13 185877 7 B3190 90039 OSF DCE Application Developers Guide Vol 2 Core Components ISBN 0 13 185885 8 B3190 90040 OSF DCE Application Developers Guide Vol 3 Directory Services ISBN 0 13 185893 9 B3190 90046 Introduction to OSF DCE ISBN 0 13 185810 6 B3190 90047 OSF DCE Command Reference ISBN 0 13 185851 3 B3190 90048 OSF DCE Administration Guide Vol 2 Core Components ISBN 0 13 185844 0 B3...

Страница 199: ...e physical printer If the operator will be assisting with jobs that are retained in the spooler the operator must have read and write permission for the spooler The default pd_operator group which is created by the pddcesetup command already has read and write permission for all HPDPS objects in your system including all queues physical printers and spoolers Printer Operators This group loads medi...

Страница 200: ...ill Use Restricted Printers When you have created the appropriate groups refer to the DCE documentation to add users to the groups Refer to DCE Documentation Deciding Which Groups Your Organization Needs When you execute the pddcesetup command the command creates two DCE groups pd_admin and pd_operator By default these groups have permissions for every object in every HPDPS system you create This ...

Страница 201: ...can create additional groups for HPDPS Operators and Administrators Planning a Printer Operator Group A printer operator is a person who is responsible for supporting and maintaining printer devices This entails such tasks as putting new toner in the printers loading various media into the printers and making the printers available for large and small jobs at di erent times of the day The permissi...

Страница 202: ... printers contained in the supervisors create the printer operator group for the room 3 Give the group read and write permission for the DCE printer directory of each supervisor for the room See Giving Your DCE Groups Permissions to HPDPS Objects for instructions 4 Create the physical printers in the supervisors Create one physical printer for each printer device in the room Because you already ga...

Страница 203: ...ou can restrict assess to physical printers and their features Restricting Access to a Printer Device Use this section to restrict all use of a printer device to a particular group of users 1 Restrict each logical printer sending jobs to the physical printer representing the device so that it only accepts print requests from those users who are logged in to DCE To do this use the pdset command to ...

Страница 204: ...ce support all of the printer device functions a To restrict the logical printers that will support all the functions use the pdset command to set the value of the authorize jobs attribute for each logical printer to yes This restricts a logical printer so that it only accepts print requests from those users who are logged in to DCE b Then you can restrict the logical printers so that they only ac...

Страница 205: ...create an initial value object and associate it with the logical printer to enforce the restriction See Using Initial Value Objects to Ensure Restriction in Chapter 6 for more information For example you might set the sides supported attribute to 2 This allows everyone to print double sided on the printer device or printer devices fed by these logical printers Only those who can use one of the res...

Страница 206: ...ntry in the security directory the entry for the physical printer PhysPrt1 Examples in this section use the pdsec soft link rather than the full path of the security directory Note that the PhysPrt1 entry listed here also references the entry in the security directory for the supervisor in which PhysPrt1 is contained Super203 The entry for the supervisor object Super203 is itself a directory which...

Страница 207: ... this any physical printers that you subsequently create in the supervisor Super203 will grant the new permissions Propagation only works on objects and directories that have not yet been created To make an e ective change you must set permissions at the lowest directory level in existence for the objects with which you are working Consider the physical printer PhysPrt1 shown previously in Underst...

Страница 208: ...ate default permissions for one or more servers and every object contained in the servers is to set permissions at the initial object IO and initial container IC access control list ACL of the pdsec directory before you create the servers The ACLs of the servers that you subsequently create will inherit these permissions The word container in the IC permissions refers to the entries in the DCE nam...

Страница 209: ...er entry and a printer entry are inherited from the IO ACL of the pdsec directory For subsequently created child entries that are not containers The parent container IO ACL becomes the object ACL of the child entry The parent container IC ACL has no e ect Referring to Figure 8 1 the object ACL of object b is inherited from the IO ACL of Container B For example the object ACL for a logical or physi...

Страница 210: ...a DCE container that contains the queue container in addition to the other containers for supervisor entries none are shown The printer directory contains the entries for the logical printer objects contained in the spooler and the queue directory contains the entries for the queue objects The log directory contains the entry for the default_error log object which represent the error log for the s...

Страница 211: ... with a de ned set of queues logical printers physical printers and so on to support the needs of the people who are the most common users of that set of objects Suppose you want the Dept_6_OPs HPDPS operator group to have read and write permission for all the objects in the spooler Spool6 and the supervisors Super201 Super202 and Super203 Remember you have not yet created any of these servers Acc...

Страница 212: ..._edit pdsec ic m group Dept_6_OPs rw The Dept_6_OPs group now has read and write permission for both the IC and IO ACLs of the security directory Use the acl_edit command to view the changes you have made For example to view the IO permissions of the pdsec directory use these commands 1 Specify the IO ACL For example enter acl_edit pdsec io 2 List the ACL For example enter list 3 These commands re...

Страница 213: ...it the IO ACL and IC ACL of the security directory again Use the procedure in Giving a Group Permission to the Security Directory IO and IC ACLs This time remove the group from the IO and IC ACLs of the security directory This prevents servers created at a later time and their objects from granting these same permissions Removing a Group from the Security Directory IO and IC ACLs To remove the Dep...

Страница 214: ... one of two ways Delete the printers set the IO ACL of the printer subdirectory and create the printers again Set the ACL for each physical printer separately as explained in Setting the Permissions Granted by One HPDPS Object Following is an example of setting the default permissions for printers in the supervisor Super203 The example shows how to make the example printer operator group 203_Opera...

Страница 215: ...e in the pdsec soft link that is pdsec to specify the security directory 2 Next add the name of the server in which the object resides If the object is a server stop here 3 Next add the subdirectory in which the type of object you are a ecting resides For example a If the object is a printer add printer If the object is a log add log b If the object is a queue add queue c If the object is anything...

Страница 216: ... login is cell_admin enter dce_login cell_admin When prompted enter the cell administrator password 2 Use the acl_edit command to modify the ACL a Use the e ag because you are modifying an object ACL rather than an initial object or initial container ACL b Use the pdsec soft link Use the m ag to modify the ACL For example enter acl_edit e pdsec Super1 printer PhyPrt1 m group 203_Operators rw The p...

Страница 217: ...e di erent objects individually to remove the pd_operator group permissions from the ACLs of any objects contained in the spooler For example to remove a group from the permissions granted by the logical printer LogPrt1 which resides in Spool1 specify pdsec Spool1 printer LogPrt1 in your acl_edit command Taking Away All Permissions That any other and unauthenticated Have to an HPDPS Object To remo...

Страница 218: ...ng an object ACL rather than an initial object or initial container ACL b Use the pdsec soft link Use the d ag to delete an entry from the ACL For example enter acl_edit e pdsec Spool1 printer LogPrt1Restrict d any_other The logical printer LogPrt1Restrict now no longer has access to unauthenticated or any_other Note You can also use the opt dcelbin cdsbrowser tool to examine and modify security H...

Страница 219: ...nd queue status Performing job related management tasks for spoolers logical printers and queues Shutting down and deleting a spooler and deleting logical printers queues and initial value objects Monitoring Spooler Logical Printer and Queue Configurations The tasks in this section involve making decisions on how to track changes made to spooler logical printer and queue con gurations by De ning w...

Страница 220: ...f how and when administrators and operators will use the m ag to set the message attribute You might decide to never use the ag or to always use it Alternatively you can use this ag whenever you change the state of a spooler logical printer or queue for a signi cant period of time You can specify a message when you disable a logical printer or pause a queue for more than an hour but not if you dis...

Страница 221: ... that you already have created You can copy an archive le and edit it to assign di erent values to any attribute or attributes as necessary Then use the archive le as an attributes le to create a similar object Use the following commands to create archive les To create an archive le named Spool1 archive in the directory attr for the spooler Spool1 enter pdls c server r archive Spool1 attr Spool1 a...

Страница 222: ...create You would not need an archive le for this type of logical printer Querying for Spooler Information This section describes how to query the values of attributes that re ect the state of the spooler and the associations between the spooler and other HPDPS objects Querying for the State of a Specific Spooler Use c server with the pdls command to query the state of a spooler The value of the no...

Страница 223: ...e possible states of the spooler are State Description initializing The spooler process is initializing ready The spooler has nished initializing and its logical printers can accept jobs if they are enabled terminating The spooler is shutting down The logical printers contained in the spooler will not accept new jobs and existing jobs might or might not be scheduled Querying for the States of All ...

Страница 224: ...during job validation Use the following commands to query job and document attributes supported by spooler Spool1 To display the job attributes supported by the spooler Spool1 enter the command pdls c server r job attributes supported Spool1 To display the document attributes supported by the spooler Spool1 enter pdls c server r document attributes supported Spool1 Note When a physical printer reg...

Страница 225: ...a server of a given class by using the ServerName argument For example to nd out about all printers within spooler Spool2 enter pdls c printer Spool2 Entering the ServerName followed only by a colon lets HPDPS know that you want to obtain data about all objects within the speci ed class contained within that server Whereas entering the command pdls c printer Spool2 LogPrt5 provides information onl...

Страница 226: ...o determine the printer state Querying for Logical Printer Information This section describes how to query the values of attributes that re ect the status of the logical printer and whether there are associated physical printers that are ready and enabled to receive jobs from the logical printer Querying for the Status of a Logical Printer Unlike spoolers logical printers do not have di erent stat...

Страница 227: ...ions Associated Enabled Queue LogPrt2 logical Spool2 B7 12 2 PhyPrt2 true Queue2 PRM 3 PhyPrt1 Note HPDPS does not determine the location information automatically The location information is the list of text strings that were entered as the values of the printer locations logical printer attribute if any If a location changes and you do not update the attribute the information will not be accurat...

Страница 228: ...ue You can query the state of the queue if there is a problem with the queue such as the queue being backlogged or if jobs in the queue are not being scheduled to the physical printer or printers associated with the queue To query the state of the queue Queue1 enter pdls c queue Queue1 HPDPS displays information similar to the following Scheduler Queue State Ready Server Queue1 ready priority FIFO...

Страница 229: ...e logical printer or printers associated with the queue to stop them from sending jobs to the queue Querying for the Verbose Set of Queue Attributes To query the verbose set of attributes for the queue Queue2 enter pdls c queue r verbose Queue2 HPDPS displays information similar to the following Scheduler Logical Physical Queue State Ready Server Printers Assigned Printers Assigned Queue2 ready pr...

Страница 230: ...mation similar to the following Scheduler Queue Queue State Ready Server Backlogged Backlog Queue1 ready priority FIFO Spool1 true 0 19 Note The default class of events for a queue noti cation pro le includes an event that automatically generates a noti cation message when a queue becomes backlogged See Chapter 7 Using Noti cation for further information Querying for Queue Backlog Boundaries To di...

Страница 231: ...rt5 LogPrt6 LogPrt6 This information indicates that logical printer LogPrt6 is enabled and LogPrt5 is not enabled For more information about enabling and disabling logical printers see About Enabling Logical Printers Querying for Ready Physical Printers Associated with the Queue A physical printer is ready if it is enabled and its state is connecting to printer idle or printing To query ready phys...

Страница 232: ...e of held In these cases you often want to do something with the jobs in the queue that are waiting to be scheduled Otherwise they will stay in the queue inde nitely There are other times you need to manage jobs in a queue such as when The queue is backlogged and you want to resubmit some of the jobs to another queue Refer to Responding to Queue Backlog for more information on managing jobs in a q...

Страница 233: ...g procedure to determine which jobs are currently in a queue If you do not know already determine which logical printer or printers are associated with the queue For example to determine the logical printers associated with the queue Queue3 enter pdls c queue r logical printers assigned Queue3 HPDPS displays information similar to the following Queue3 logical printers assigned LogPrt5 LogPrt6 Use ...

Страница 234: ...ed out LogPrt5 PhyPrt3 Note When specifying a job with HPDPS administration commands such as pddelete refer to the job by the global job identi er that is shown in the ID column Pausing a Queue Pausing a queue prevents the spooler from scheduling jobs in the queue to physical printers A paused queue however still receives jobs from logical printers Pausing a queue does not a ect the state of jobs ...

Страница 235: ... shut down 4 Restart the spooler 5 Resume the queue If you do not pause the queue HPDPS tries to schedule the jobs after you restart the spooler but will not be able to until the physical printers have registered with the spooler HPDPS generates noti cation messages stating that jobs cannot be scheduled If you pause the queue HPDPS does not try to schedule the jobs until you resume the queue HPDPS...

Страница 236: ...held states perform the following steps Note Deleting paused or held jobs might not always be appropriate You might want to determine the reason the job is paused or held and if necessary perform tasks so that the job will print See Deleting a Queue that Contains Held or Paused Jobs for further information 1 Pause the queue For example pdpause c queue Queue3 You pause the queue so that any jobs th...

Страница 237: ...ou can resubmit it later to the same queue or to a di erent queue To delete a job in a queue but retain it in the spooler for one hour enter pdrm r 1 00 Spool3 4628700035 Note Instead of deleting a job from a queue you can resubmit it to another queue Refer to Resubmitting Jobs to Di erent Logical Printers for a description of how to resubmit some or all or the jobs in a queue Deleting Timed Out o...

Страница 238: ...ny job has a retention period HPDPS retains the job in the spooler until the retention period expires To delete all of the jobs in the spooler including all of the jobs in all of the queues contained in a spooler and regardless of their state enter pdclean c server Spool4 If any job has a retention period HPDPS does not wait until the retention period expires HPDPS deletes the job immediately Resu...

Страница 239: ... the jobs in a queue that were sent to the queue by the same logical printer Use the following commands to resubmit jobs to a di erent logical printer To resubmit one or more jobs to the logical printer LogPrt4 enter pdresubmit LogPrt4 Spool2 4629300046 Spool2 4628700057 To resubmit all of the jobs in the queue Queue3 to the logical printer LogPrt4 enter pdresubmit LogPrt4 c queue Queue3 In this e...

Страница 240: ...t print before the operator can respond to the message HPDPS sends the message when it sends the job to the queue The message could alert the operator to something special about the job such as that it requires special media See Specifying Who Receives Messages From Users in Chapter 6 for instructions on setting up the notify operator queue attribute Disabling Messages Related to Production Jobs S...

Страница 241: ... the Queue Backlog Attributes in Chapter 6 for con guration information About the Queue Upper Backlog Boundary The upper backlog boundary represents when you consider the queue backlogged You usually base the upper backlog boundary on the expectations of users regarding how long it takes their jobs to print and how long they are willing to wait for their jobs during the busiest times of the day Mo...

Страница 242: ...Backlog Update Interval The backlog update interval is the amount of time that HPDPS waits until it calculates the time required to print all jobs in the queue As a starting point you might want to set the backlog update interval to a value that is ten percent of the upper backlog boundary For example if the upper boundary is 60 minutes start with an backlog interval of six minutes The following d...

Страница 243: ...r the queue or the spooler Note Calculating the backlog value requires spooler processing time You should specify a backlog interval value that provides you with adequate noti cation and that does not place too much demand on the spooler Responding to Queue Backlog When HPDPS noti es you of a backlogged queue you must decide how to respond First you will want to determine the severity of the backl...

Страница 244: ... equivalent to one byte Use any logical printer that sends jobs to the queue as the object of your query To determine the jobs and their sizes for all jobs in the queue Queue3 enter pdq U r brief total job octets s column p LogPrt5 HPDPS displays information similar to the following Current Inter Printer Printers Job Job ID Name State Jobs Requested Assigned Octets 10 Spool3 4628721232 pallstart p...

Страница 245: ...re enabled Check for a physical printer that needs attention A physical printer that needs attention represents a printer device that requires intervention such as for a paper jam Depending on who created the physical printer and the noti cation pro le for the printer you might not have received a noti cation message for a printer problem To determine whether the physical printer needs attention f...

Страница 246: ...you have to be sure that the users will be able to nd the printed output or that the output can be delivered to them The user will still receive a noti cation message regarding which physical printer printed the job but the user might not be aware of the location of the printer device Promote or increase the priority of speci c jobs in the queue If the queue is backlogged and you have speci c user...

Страница 247: ...job must be supported by the logical printer Note that if the corresponding logical printer attribute has no value it is considered supported 3 If the logical printer is associated with an initial value document with the printer initial value document attribute the initial value document object must exist Any values speci ed by the attributes of the initial value document must be supported by the ...

Страница 248: ... message enter pddisable m Logical printers LogPrt3 and LogPrt4 disabled until 06 30PM LogPrt3 LogPrt4 The value of the logical printer attribute enabled changes to false and HPDPS updates the value of the message logical printer attribute with the text you supplied Disabling All Logical Printers Associated with a Queue You can disable all of the logical printers associated with a queue with one c...

Страница 249: ...and set the initial values of the attributes as described in Chapter 6 Con guring the Spooler Logical Printers and Queues you can change some of the values based on actual usage You can also specify values for any attributes that you did not set when you initially created the logical printer When you modify the attributes of a logical printer you have three choices Assign values to an attribute th...

Страница 250: ...do not have to specify c printer with the pdset command Printer is the default class 3 Enable the logical printer with the pdenable command To enable logical printer LogPrt1 enter pdenable LogPrt1 Modifying Initial Value Objects When you con gure your queues and logical printers you can create either an initial value job object an initial value document object or both and associate them with a log...

Страница 251: ...y are not consistent HPDPS does not enable the logical printer and you receive an error message Modifying the printer register threshold Spooler Attribute The printer register threshold attribute speci es the amount of time in minutes the spooler waits after losing communication with a supervisor before it changes the state of a job from the unknown state to the timed out state The default value f...

Страница 252: ...upervisor and the communications by the objects contained in the servers will help you understand more about the communication process The following information describes the di erent types of communications that occur 1 Using the DCE or Basic Environment namespace the physical printer uses the value you supply for the associated queue attribute to determine the spooler containing the queue 2 The ...

Страница 253: ...ost the next time it signals the spooler Deleting Objects Contained in Spoolers This section describes how to delete the logical printers queues and initial value objects contained in a spooler Deleting a Logical Printer Disable the logical printer before you delete it Disabling the logical printer prevents it from accepting new jobs modi cations to jobs that the logical printer has sent to the qu...

Страница 254: ...the jobs before you can delete the queue See Deleting Jobs from Queues and from the Spooler and Resubmitting Jobs to Di erent Logical Printers for the commands to use All logical printers associated with the queue must be disabled Use the pddisable command to disable the logical printers associated with the queue To delete the queue Queue1 enter pddelete c queue Queue1 Deleting a Queue that Contai...

Страница 255: ...es resources that are not available Or the user might have submitted the job with job hold true and sent a message that the job has special requirements such as blue paper After performing the required actions use the pdmod command to release the hold on the job Perform the following steps to clear jobs from the queue and then delete the queue 1 Determine the states of the jobs in a queue by query...

Страница 256: ...r if there is no message use the pdmod command to release the job hold To release the job with the global job identi er number of Spool4 4628700042 enter pdmod x job hold false Spool4 4628700042 c If the reason is job print after specified use the pdmod command to specify a time earlier than the current time For example if the current time is 10 30 in the morning enter pdmod x job print after 9 00...

Страница 257: ...he procedure for an initial value document is the same 1 Query for enabled logical printers associated with the initial value object To query for enabled logical printers associated with initial value job IVJ1 contained in spooler Spool1 enter pdls c initial value job r logical printers ready Spool1 IVJ1 HPDPS displays information similar to the following IVJ1 logical printers ready LogPrt5 2 Disa...

Страница 258: ...hut down a spooler The only reasons to shut down a spooler would be for a condition requiring re initialization of the system on which the spooler is installed or a condition requiring you to issue the HP UX shutdown command Issuing the HP UX shutdown command also shuts down HPDPS spoolers and supervisors To shut down spooler Spool1 immediately enter pdshutdown Spool1 The value of the non settable...

Страница 259: ...10 for further information Shutting Down the Spooler after All Jobs Have Printed Use w after all with the pdshutdown command to shut down the spooler after all of the jobs in the queues contained in the spooler have been scheduled to physical printers and printed Using the after all option provides you with more control of the jobs when you shut down the spooler Use the following command to shut d...

Страница 260: ... spooler restarts its logical printers and queues return to the state they were in when the spooler was shut down If the logical printers were enabled they can now accept jobs If the queues were ready and their associated physical printer or printers were enabled HPDPS can begin to schedule jobs to the physical printers after the physical printers have re registered with the spooler If you disable...

Страница 261: ...ues using the pdrm pddelete or pdclean commands Deleting a spooler deletes all of the objects it contains such as queues or initial value jobs from the HPDPS database You can create archive les for the spooler and the objects it contains before you delete the spooler See Creating Archive Files for Spoolers and Spooler Objects for a descriptiocn of how to create these les To delete the spooler Spoo...

Страница 262: ......

Страница 263: ...ical printers Routine tasks Modifying supervisor and physical printer tuning attributes Shutting down and deleting a supervisor and deleting physical printers Monitoring Supervisor and Physical Printer Configurations The tasks in this section involve tracking changes made to supervisors and physical printers by De ning how and when to use the message attribute Creating archive les for supervisors ...

Страница 264: ...i cant period of time Or you might elect to use the m ag whenever you modify an object with the pdset command This allows you to record why the values for an attribute or attributes were changed who changed them and when the changes were made Note If you modify an object and use the m ag then modify the object again and omit the m ag the message attribute still contains the message text that you e...

Страница 265: ...Super1 attr Super1 archive Note You cannot use an archive le to create a supervisor You can use the le to make modi cations To create an archive le named PhyPrt1 archive in the directory attr for the physical printer PhyPrt1 enter the command pdls c printer r archive PhyPrt1 attr PhyPrt1 archive Setting Policy for Job Size Physical Printer Attributes You can set a policy on how you plan to use the...

Страница 266: ...ile attribute HPDPS multiplies the two values and compares the calculated value to the value of the maximum copies supported attribute during validation and scheduling For example if a user submits a job with the command pdpr x copy count 2 results profile 2 File1 text File2 txt the user is requesting four copies of each document in the job If the value of the maximum copies supported attribute is...

Страница 267: ... to the physical printer You can set the values of these attributes to a smaller maximum size for low capacity desktop printers While any printer can print any size job printer limitations such as the number of sheets printed per minute or the capacity of the input trays impose a practical limit on the size of jobs that it is reasonable to send to a printer To restrict the size of jobs that can be...

Страница 268: ...how you plan to support these needs The values of the media ready physical printer attribute specify which media are currently loaded in the printer device or the types of media that are available through an input source such as a manual envelope feeder A printer might be able to use other types of media such as di erent sizes of paper transparencies or multi part forms The media supported physica...

Страница 269: ...l media For example con gure separate logical printers queues and physical printers for non standard media and ensure that the associated printer devices always have the correct media loaded Sending Media Related Messages to Operators If you support a special media but that media is not always loaded in a particular printer device you can instruct your users to submit their jobs with a message The...

Страница 270: ...supervisor if you receive a noti cation message about a problem in the supervisor or a message that indicates the supervisor has started to terminate You can query the supervisor if jobs are being rejected because no physical printers are available to support the jobs the supervisor could be down and the spooler can no longer communicate with it For example to query for the state of the supervisor...

Страница 271: ...ight or might not nish printing Querying for the States of All HPDPS Supervisors To query for the states of all supervisors use the global character an asterisk to specify that you are querying all of the supervisors that are currently running pdls c server f server type supervisor Querying for the Verbose Set of Supervisor Attributes To query for the verbose set of attributes for supervisor Super...

Страница 272: ...zation State Enabled Queue PhyPrt2 physical idle true Queue4 PhyPrt5 physical paused true Queue5 This information indicates that PhyPrt5 is not ready Note You can request information about all objects within a server of a given class by using the ServerName argument To nd out about all physical printers within supervisor Super1 enter the following command pdls c printer Super1 Entering the ServerN...

Страница 273: ...hyPrt4 and to determine whether it is enabled enter pdls c printer PhyPrt4 HPDPS displays information similar to the following Printer Realization State Enabled Queue PhyPrt4 physical idle true Queue3 This indicates that the physical printer is enabled If it were not the value shown in the Enabled column would be false Physical Printer States The possible states of the physical printer are connect...

Страница 274: ...ical Printer is Registered The value of the registered with spooler attribute indicates whether the physical printer is communicating with the spooler that contains the queue from which the physical printer receives jobs To determine whether physical printer PhyPrt4 is registered enter pdls c printer s column r brief registered with spooler PhyPrt4 HPDPS displays information similar to the followi...

Страница 275: ... a job 2 The physical printer receives a job and the printer state changes to connecting to printer while the physical printers tries to lock the printer device 3 The physical printer successfully locks the printer device within the amount of time speci ed by its printer timeout period attribute The printer state changes to printing while job prints 4 The printer device nishes the job and the phys...

Страница 276: ...attention time PhyPrt4 HPDPS displays information similar to the following Needs Key Printer Realization State Enabled Queue Operator Time PhyPrt4 physical needs key operator false Queue4 23 44 After verifying the physical printer state see Physical Printer State is needs key operator in Chapter 13 for the procedures you use to correct the problem Printer has timed out Problem A physical printer e...

Страница 277: ...t the problem Message Related Tasks for Physical Printer Management This section describes physical printer tasks related to managing jobs scheduled to a physical printer for processing These tasks include Setting up the notify operator physical printer attribute to route job start and end messages Responding to job start and end messages Disabling job start and end messages Specifying Who Receive...

Страница 278: ...electronic mail To modify the notify operator attribute for the physical printer PhyPrt2 enter pdset c printer x notify operator message White Caddy electronic mail Jones Chevy xyz com PhyPrt2 About Controlling Job Start and End Messages How you set the start message supported and end message supported physical printer attributes determines whether users can send messages start message supported T...

Страница 279: ...message attribute when they submit the job HPDPS sends the message to the operator or operators speci ed by the notify operator physical printer attribute HPDPS sends the end message when the job nishes printing The message can give instructions for handling the printed job The user might specify a location to where the job should be delivered such as a speci c o ce or building Disabling Job Start...

Страница 280: ...lass for the pdls command is job HPDPS displays information similar to the following Current Intervening Printer Printers Job ID Name State Jobs Requested Assigned 15 Spool2 5969346789 File1 txt processing LogPrt4 PhyPrt4 16 Spool2 5969355101 File4 txt processing LogPrt10 PhyPrt4 17 Spool2 5969363111 File6 txt processing LogPrt10 PhyPrt4 Cancelling Processing Jobs Use the pdrm command to cancel a ...

Страница 281: ...s the result set boundary when more than one results profile has been speci ed HPDPS returns paused jobs to the queue until you resume or cancel the jobs About Pausing and Disabling Physical Printers Based on the task that requires you to make a physical printer unavailable you might need to decide whether to pause or disable the physical printer You can generally determine this based on how long ...

Страница 282: ...ncelling them with a retention period and resubmitting them to the same printer later Cancelling them with a retention period and resubmitting them to a di erent logical printer queue and physical printer Also when you pause or disable a physical printer there could be jobs in the queue associated with the physical printer that are waiting to be scheduled this might be the only physical printer th...

Страница 283: ... the physical printer enter pdenable PhyPrt3 Pausing a Physical Printer To pause a physical printer Phyprt4 enter pdpause PhyPrt4 HPDPS submits each document in a job to the printer device as a separate print request Pausing an HP UX physical printer pauses the printer when the printer bu er is exhausted Resuming a Paused Physical Printer To resume physical printer PhyPrt4 enter pdresume PhyPrt4 W...

Страница 284: ...ntative Maintenance on the Printer Device If you are taking the printer device o line for maintenance for example to add supplies or to perform scheduled service rst disable the physical printer Alternatively if the physical printer that you are maintaining is the only physical printer associated with the queue you can disable the logical printer or printers that send jobs to the queue Then you ca...

Страница 285: ...h ensure good performance under most circumstances Therefore the examples in Chapter 5 Creating Con guring Supervisors and Physical Printers that describe how to create physical printers do not specify values for these attributes The physical printers have default values for these tuning attributes after you create them This section describes conditions when you might want to change the following ...

Страница 286: ...tly than the with request method The with request transfer method sends the contents of the document along with the document object Therefore you are very unlikely to need to increase the value for the job submission timer physical printer attribute when using the default transfer method Setting the printer register threshold Physical Printer Attribute The printer register threshold attribute spec...

Страница 287: ...Usually the default value is adequate Setting the printer timeout period Physical Printer Attribute The printer timeout period attribute speci es how long in seconds that the supervisor tries to connect to a printer device when one of its physical printers receives a job The default for this attribute is 60 seconds A physical printer enters the timed out state when it cannot lock the printer devic...

Страница 288: ... to nish printing before you delete the physical printer If you cannot wait and need to cancel processing jobs see Cancelling Processing Jobs If you are deleting the physical printer because you are moving the printer device to a di erent system you can create an archive le so that you can re create the physical printer See Creating Archive Files for Supervisors and Supervisor Objects To delete th...

Страница 289: ... UX shutdown command Issuing the HP UX shutdown command also shuts down HPDPS supervisors and spoolers Using the pdshutdown command without any ags causes the supervisor to shut down after all jobs scheduled to the physical printers in the supervisor when they have nished printing To shut down the supervisor Super1 enter pdshutdown Super1 The w ag of the pdshutdown command determines the manner in...

Страница 290: ... is not Running Use the HP UX kill command to shut down an HPDPS supervisor when the HPDPS client daemon is not running If the HPDPS client is not running you cannot use the HPDPS pdshutdown command to shut down a supervisor Use the following procedure to shut down the supervisor Super 1 To display information about the supervisor process including its process identi er enter ps ef grep Super1 HP ...

Страница 291: ...ervisor the physical printers it contains will return to the state that they were in when the supervisor was shut down If the physical printers were enabled they will be enabled when you restart the supervisor If you disabled the physical printers before you shut down the supervisor they will be disabled when you restart the supervisor Deleting the Supervisor The physical printers contained in the...

Страница 292: ......

Страница 293: ... les for jobs Understanding when you can pause and cancel jobs Determining job states and job status Finding and Identifying Jobs When users contact you for help with their jobs you need to be able to determine the global job identi er for the job and locate the job All commands that e ect jobs require the job identi er A user could contact you to promote a job or to identify and x a problem with ...

Страница 294: ...of the user name attribute The job submittor can specify another person by using job originator attribute with the pdpr command In that case the value of job originator is the value supplied by the user job owner The name of the user who is responsible for the job This attribute defaults to the value of the user name attribute unless the job submittor speci ed a di erent value for the job originat...

Страница 295: ... by the UserName of the user If the user signs on to more than one system the values of the job client id are unique for each system In this case it is possible for the same user name to have more than one job with the same local job identi er However the global job identi er for each job is unique The HostName portion of the user name attribute for the job speci es the di erent hosts in this situ...

Страница 296: ...mine the global job identi er and other information about the job You often already know the logical printer or printers to which the user submits jobs if not the user should be able to identify the logical printer to which they sent the job You might also know the spooler that contains the logical printer You can use the following commands to determine the global job identi ers for jobs submitted...

Страница 297: ...to obtain data about all objects within the speci ed class contained within that server whereas entering the command pdls U Spool2 2934700005 only provides information about the speci ed job Spool2 2934700005 If you want to nd a job or jobs sent by a user to any logical printer in a speci c spooler you can query the spooler with the pdls command To query jobs submitted by fljones that are containe...

Страница 298: ...eue that are waiting to be scheduled and how to manage jobs contained in a spooler that are either in the retained or timed out states These job management tasks include Promoting jobs in queues Increasing the priority of jobs in queues Resubmitting jobs to di erent logical printers Holding and releasing jobs in queues Assigning a retention period to a job Assigning a discard time to a job Assigni...

Страница 299: ... spooler the job will be discarded at the speci ed time even if the retention period has not expired job retention period Speci es the amount of time following job completion that the job is retained in the spooler before it is discarded After HPDPS processes the job the job is contained in the spooler in the retained state If this attribute has a value it must be set to zero before the job can be...

Страница 300: ...d to a di erent logical printer queue assigned The name of the queue which contains the job This attribute has a value if the job is in a queue in the pending held or paused states or if the job state is processing This attribute has no value if the job is in the spooler in either the retained or timed out state printers assigned The name of the physical printer to which the job was scheduled This...

Страница 301: ... priority To increase the priority of job Spool3 3987600005 enter pdmod x job priority 75 Spool3 3987600005 HPDPS schedules this job ahead of other jobs in the queue that have a priority less than 75 You can also in e ect use the job priority attribute to promote a job to be the rst job in the queue by setting the priority for the job to 100 For example pdmod x job priority 100 Spool3 3987600005 I...

Страница 302: ...resubmitted the job is in di erent spooler HPDPS assigns a new identi er to the job For more information about resubmitting jobs refer to Resubmitting Jobs to Di erent Logical Printers in Chapter 9 Holding a Job You can hold a job to prevent it from printing for a period of time An example might be if a job was submitted and then an error was discovered in the job If the l ag was used with the pdp...

Страница 303: ...he output is correct resubmit the job and specify several copies To assign a retention period of two hours for the job Spool2 3947600212 enter pdmod x job retention period 2 00 Spool2 3947600212 After the job prints HPDPS retains the job in the spooler for the amount of time speci ed You and the user who submitted the job can make modi cations to the attributes of the job while it is retained For ...

Страница 304: ...Assigning a job discard time for a Job A user might request that you assign a discard time to a job so that if a job has not printed by a certain time HPDPS discards the job For example the job might contain con dential information that needs to be secured after printing but the job owner is only available until 5 00 p m to pick up the job Therefore the user wants HPDPS to discard the job if it ha...

Страница 305: ...o a printer close to the meeting room with a time that is a little earlier than the meeting time The user could be at the printer to receive the printed output and the job would complete before the meeting begins If you do not specify a value for the job print after attribute the attribute has no default value HPDPS schedules the job on the next available physical printer that supports the job To ...

Страница 306: ...alues of these two attributes can restrict the job to fewer printers Decreasing the values can make more printers available that can print the job You can modify the value of the default medium document attribute to any value supported by the physical printer or printers associated with the queue If the value speci ed is only supported by the media supported attribute of a physical printer and not...

Страница 307: ...is in a pool of printers and is capable of printing almost any type of job The queue resides in spooler Spool6 1 Create a new logical printer that requires job authorization and associate it with Queue6 Enter the command pdcreate x associated queue Queue6 authorize jobs true Spool6 HPLogPrt 2 Restrict access to the logical printer to one or more administrators or a speci c group of users use DCE t...

Страница 308: ... valued component speci es how the person is to receive this result set of the job The only valid value for this component is currently pickup which is the default result set comment This single valued component speci es a text string that describes the result set value The information might be printed on the start sheet Currently no printers will print the information on the start sheet The defau...

Страница 309: ...ofile Attribute with a Job Requesting multiple job copies with the results profile attribute is useful for jobs consisting of multiple documents when the order in which the documents print is important For example to obtain two copies of a job containing three documents enter pdpr x results profile 2 document1 document2 document3 The result set order in which the job prints is Banner Page First Jo...

Страница 310: ...ent1 document1 document1 document1 document2 document2 document2 document2 document3 document3 document3 document3 Changing the Default Order of Documents To change the default order of the documents you can change the value of the interface program method attribute with the pdpr pdset or pdmod commands Using the example above suppose you want your documents to print in this order Banner Page Firs...

Страница 311: ...te has three values x results profile address_1 2 address_2 3 address_3 2 Each result set has one or more job copies speci ed by the fourth component of the value When you use the pdpause command the pause point is between the result sets Setting Up a Results Profile with an Initial Value Job You can create an initial value job object that sets values for the results profile attribute This can be ...

Страница 312: ...er most of the time HPDPS prints some portion of the job you pause or cancel Jobs can be paused between multiple result pro les Based on the characteristics of the printer device you might not be able to pause or cancel a processing job When you use the pdpause command the pause point is between the result sets Refer to the following topics for the actual procedures you use to pause and cancel job...

Страница 313: ...describes job attributes that re ect the state and status of jobs These attributes are non settable which means their values are set and updated by HPDPS as it processes the job The following job attributes also re ect the status of pending jobs or a ect when the HPDPS schedules the job intervening jobs job priority total job octets The following job attributes report the printers both logical and...

Страница 314: ...ting on the physical printer modification time If the job has been modi ed this attribute reports the time the job was modi ed This attribute has no value if the job was not modi ed or cancelled HPDPS might update the following attributes as it processes the job octets completed Reports the number of octets bytes in the job that have been printed pages completed Reports the number of pages in the ...

Страница 315: ...ng Jobs column The Printer Requested column shows the logical printer to which the job was submitted If HPDPS has scheduled the job the Printers Assigned column identi es the physical printer processing the job If the values in the Name and File Name columns are di erent as in this example the person submitting the job speci ed a value for the job name attribute The value in the Name column is the...

Страница 316: ...he current job state attribute whose values are described in About Current and Previous Job States and the job state reason attribute whose values are described in Table 11 5 The verbose option also includes the UserName and the HostName of the person submitting the job as shown in the Owner column Querying for Specific Job Status Attributes Sometimes the previous job state as reported by the prev...

Страница 317: ... pdpr x job print after 15 30 00 file1 txt held preprocessing job print after speci ed Example 4 Job cancelled and given a retention period pdrm r 1 00 10 retained terminating cancelled by user cancelled by operator To query the status of a job and to receive the values for all three of the job state attributes enter pdq U r brief previous job state job state reasons s column Spool3 3459400023 HPD...

Страница 318: ...he reason paused The job has been paused with the pdpause command pending The job is in a queue and is waiting to be scheduled and sent to a physical printer pre processing The job has been created but it is in the process of being validated processing The job has been sent to a physical printer and is being processed and printed Depending on the printer device this can indicate that at least one ...

Страница 319: ... unknown The spooler does not know the state of the job because it has lost communication with the physical printer to which the job was sent If communication is not re established the job state eventually becomes timed out Notes Jobs are in the job states cancelled preprocessing and terminating for only a very short time You will almost never see them as values for the current job state attribute...

Страница 320: ...d with warnings job hold set The job is in a queue and the job hold attribute of the job is set to true job print after specified The job is in a queue and the job print after attribute has been set to a time that has not yet occurred required resources not ready The job is in a queue but cannot be scheduled because one or more of the resources required by the job such as media fonts and so on are...

Страница 321: ...lidated the job but cannot schedule the job because a xxx ready printer attribute does not have the value required by the job This means no available physical printers can process the job For example the printer operator might need to load a speci c media into the printer and update the appropriate physical printer attribute For more information on job scheduling refer to Specifying the Queue Sche...

Страница 322: ... HPDPS updates the following job attributes as the job processes octets completed Reports the number of octets bytes in the job that have been printed Compare this value with the value of the job attribute total job octets This attribute is updated when the job is queried or after each document copy completes pages completed Reports the number of pages in the job that have been printed This attrib...

Страница 323: ...displays information similar to the following Total Octets Octets Completed 113889 66944 In this example HPDPS has completed a little more than half of the job Querying for the Number of Job Copies Completed for a Processing Job To query for the number of job copies completed for a large job specifying multiple copies for Spool3 enter pdq U s column r job copies completed results profile Spool3 34...

Страница 324: ...letes Then you would know how much time to allow for printing future versions of the job In the following example job Spool3 3459400062 has completed and has been retained in the spooler To query for the amount of time that was required to process the job enter pdq U r processing time Spool3 3459400062 HPDPS displays information similar to the following Spool3 3459400062 processing time 22 04 This...

Страница 325: ...ctory in the directory var opt pd for each HPDPS client and each server and places the error logs for the client and servers in that directory HPDPS automatically creates these logs when the client or server is initialized You cannot create nor delete a log but you can disable or enable a log to stop or start message logging Finding and Viewing a Client Error Log The error log for an HPDPS client ...

Страница 326: ...n that system by editing a le Changes made with the editor will not take e ect for any server until you shut down and restart the server or until you re boot the system Changing the Attribute Values of a Server Error Log Temporarily Use the pdset command to temporarily change the values of server error log attributes The changes you make in this way persist until you shut down the server or until ...

Страница 327: ...ly attributes les their format is that used for any HPDPS attributes le for the error logs of the servers The following example shows the text of the spl_error cfg le in the var opt pd directory ErrorLog Configuration File Log size units KBytes log size 1024 Wrap On log wrap true Severity log severity audit To change the error log attribute values of all spoolers edit the var opt pd spl_error cfg ...

Страница 328: ... set in the con guration le If you prefer not to shut the spooler down use the process described in Changing the Attribute Values of a Server Error Log Temporarily to set these values temporarily Available Values for the log severity Attribute The supported values for the log severity attribute are as follows error This setting produces a minimum of logging Only error messages are logged An error ...

Страница 329: ...essage to a user because the user is logged o The letter I precedes each informational message How HPDPS Backs Up Server Error Logs What HPDPS backs up is di erent for a server that is shut down than for one that is deleted Error Log Backup After a Server is Shutdown Backups of server error logs occur as follows 1 The rst time the server is shut down and then restarted HPDPS renames the present er...

Страница 330: ...y for the server from ServerName to ServerName BAK HPDPS does this each time you delete or create a server HPDPS only keeps the most recent BAK directory Finding and Viewing Server Spooler and Supervisor Error Logs Each server error log contains a record of the messages that are generated by the server and the objects it contains If you are experiencing a problem or unexpected behavior often the b...

Страница 331: ...og BAK error log BAK 19950804174858 3 Find two time stamp les where the period of time you are interested in falls between 4 Look in the le with the later time stamp of these two les Note If the time period you are looking for is later than the last time stamp le look in the error log BAK le 5 Find the le you believe the log entry you are looking for is in Use an editor to look at the le by enteri...

Страница 332: ...07 Using the Messages in Error Logs Once you are viewing an error log le browse the le for the messages of interest to you You might look for message severity time of day user ID printer name and so on For example you might look for message severity of error Identify these by the letter E that is the rst character in the message When you nd an error message use the pdmsg command to view the full m...

Страница 333: ...ges you can temporarily or permanently change a server error log log severity attribute value to debug This makes the log record the message that the server produces when the server starts working on a command In this way you can identify what the server was doing when the error occurred It also logs server to server requests which can be helpful See Available Values for the log severity Attribute...

Страница 334: ......

Страница 335: ...ers Getting Full Descriptions for HPDPS Error and Notification Messages When you or a user receive an HPDPS error message or noti cation message use the pdmsg command to display more information The information about the message includes an explanation a system action and a response The response suggests things you can do to correct the problem For example suppose a user entered a pdpr command tha...

Страница 336: ...PDPS could not process the request RESPONSE If submitting or resubmitting a job modify the print request or select a printer that supports the values If modifying a previously submitted job resubmit the job to a printer that can support the values and then modify the job As suggested in the RESPONSE eld either Have the user submit the job again not specifying content orientation landscape or Have ...

Страница 337: ...nters for a Queue Use this section if some jobs in a queue are not moving forward This might indicate that the physical printers capable of supporting those jobs are busy or not available It might also indicate that the jobs are held are no longer printable or are paused If you suspect that this is more likely see Problems with Jobs If the physical printers are merely busy there is nothing wrong T...

Страница 338: ...sult like this all of your physical printers are working In the second possible result you see that not all of the assigned physical printers are ready In the following example the physical printer PhysPrt3 is not in the Physical Printers Ready column Physical Physical Printers Assigned Printers Ready PhysPrt1 PhysPrt1 PhysPrt2 PhysPrt2 PhysPrt3 PhysPrt4 PhysPrt4 If you have a similar result see t...

Страница 339: ...ibute For example if the printer is PhysPrt3 enter pdls c printer r printer state enabled message PhysPrt3 HPDPS displays information similar to the following PhysPrt3 printer state paused PhysPrt3 enabled true PhysPrt3 message Pauseded for maintenance jbird If there is no useful information in the message value use Table 13 1 to determine what your next action should be based on the combination o...

Страница 340: ...ck to see if the job was at fault by sending a test job requesting this physical printer printing true 1 Look at the printer device fed by this physical printer to see if the device is printing 2 If the printer device is not printing it might be processing large or complex data Wait to see if it successfully produces output 3 If the printer device does not successfully produce output clear the pri...

Страница 341: ...i ed by the printer timeout period physical printer attribute this state changes to timed out timed out true or false See Physical Printer State is Timed Out for instructions Physical Printer State is needs key operator If the pdls command returns a printer state of needs key operator HPDPS might not be able to communicate with the printer device Check that the printer is con gured correctly is tu...

Страница 342: ...nter device within the physical printer s time out period The time out period is speci ed by the value for the printer timeout period physical printer attribute value The physical printer is not able to connect to the printer device because a second HPDPS physical printer or print queue is also sending output to the same printer device The second HPDPS physical printer or print queue already had a...

Страница 343: ...ng the query should a le exist with a name that ends in a colon When Multiple Printers are Listed If there are two physical printers sending output to the device the display looks like this Printer Realization State Enabled Queue PhysPrt1 physical timed out true Queue1 PPBob physical printing true QBob This display reveals that in addition to PhysPrt1 which is the timed out physical printer there ...

Страница 344: ...event HPDPS from scheduling any more jobs to it Use the pddelete command to delete the physical printer Once you have deleted the physical printer you should also make sure that all the jobs in the queue that fed that physical printer are still able to print It might be necessary to resubmit some or all of these jobs Find which print queues are sending output to the device and change or delete the...

Страница 345: ...gested in Getting Full Descriptions for HPDPS Error and Noti cation Messages If you have done this and you need more information or if there are no error or noti cation messages associated with the problem use this section Problem See this section If the print command immediately displays an error message Error Message Returns with pdpr Command Instead of Creating a Job If the print command is acc...

Страница 346: ...or by default is not supported by any one or more of the following The logical printer to which the user submitted the job Any of the physical printers associated with the logical printer HPDPS You know that this is the problem when the user receives an error message regarding an attribute from the pdpr command In this case see There Is a Problem with the Attributes or Values the User Speci ed The...

Страница 347: ...the user speci ed For example the user speci ed the logical printer LogPrt1 and received the error message pdpr 5010 065 Cannot find the object LogPrt1 In this case have the user check the spelling of the object and try the command again If the command still fails look at the error logs for the server that contains the object See chapter 12 Using HPDPS Error Logs for information on how to nd and u...

Страница 348: ...ers that should be associated with the queue Check that the associated queue value is spelled correctly If the associated queue is correct but the physical printer is not registered with the spooler HPDPS might be attempting to register the printer with the spooler Use the pddisable command and the pdenable command to force HPDPS to register the physical printer There Is a Problem with the Attribu...

Страница 349: ...rs actually do support the attribute value but the user did not spell the value in a way that HPDPS recognizes Check the spelling and abbreviation of the values some values cannot be abbreviated Refer to the manpage pd att job 5 to verify how the value should be spelled The user spelled the value correctly but the one physical printer on the queue that supports the value is not registered or is no...

Страница 350: ...st have attribute authorize jobs false If the user believes that he or she should be able to print to this logical printer it might be that one or more of the following are true The user forgot to log in to DCE Have the user log in to DCE and enter the command again The user s DCE authorization ticket expired Have the user log in to DCE and enter the command again The user does not have permission...

Страница 351: ...rict Default cell pda_cell unauthenticated user pd_server rwdtc group subsys dce cds admin rwdtc group subsys dce cds server rwdtc group pd_admin rwd group pd_operator rw any_other group Full_Function_Printing r This display shows that the logical printer grants the Full_Function_Printing group read permission but not the Confidential_Printing group See Setting the Permissions Granted by One HPDPS...

Страница 352: ...error messages If so enter the pdmsg command with the message number This displays the full message explanation and a suggestion as to how you should respond 3 If the user did not receive any noti cation messages or if you used the pdmsg command and need more information use the pdls command on the job List the following job attributes current job state previous job state job state reasons interve...

Страница 353: ...that is not producing output See The Job s Current State Is Processing But There Is No Printout The Job Is Behind Many Others in the Queue If the intervening jobs value is large then the job is taking a long time to print simply because there are many jobs before it in the queue Either wait for the job to move to the head of the queue and print or Use the pdpromote command to move the job to the h...

Страница 354: ... the physical printers assigned to the queue are enabled and working see Checking the Physical Printers for a Queue To make sure that the job is rst to print when a physical printer that can print it does become available move the job to the front of the queue Use the pdpromote command For example if the global job identi er is Spooler1 1000000015 enter pdpromote Spooler1 1000000015 If you choose ...

Страница 355: ...ith the pdresume command to resume the job For example if the global job identi er is Spooler1 1000000015 enter pdresume c job Spooler1 1000000015 held job hold is set Did the user set the job hold attribute to yes with the pdpr command Consider that an initial value object or an attributes le might have set the job hold attribute to yes If the job hold attribute was not set with the pdpr command ...

Страница 356: ...int after attribute could have been set in an initial value object or in an attributes le If the job print after attribute was not set with the pdpr command use the pdls command to view the name of last accessor job attribute For example if the global job identi er is Spooler1 1000000015 enter pdls U r name of last accessor Spooler1 1000000015 Contact the person listed there to nd out why he or sh...

Страница 357: ...the pdresubmit command retained cancelled by operator or cancelled by user The job was cancelled by the operator or user The job retention period is non zero You can query the job s printers assigned value to see if any physical printer printed the job To discard the retained job use the pdrm command setting the job retention period attribute value to zero To print the job again use the pdresubmit...

Страница 358: ...physical printer is registered with a spooler Refer to Cannot Print to an Enabled Physical Printer for more information about the physical printer registering with the spooler If the pdls of the physical printer results in an error message the supervisor might have shut down If this happens use the pdstartsuv command to start the supervisor again Tell the user what physical printer was assigned to...

Страница 359: ...es Are Not Ready held required resources not supported The Printer Resources that the Job Requires Are Not Supported If the current job state is either pending or processing you need do nothing more The job has corrected itself If the job is in a state not mentioned here see The Job s Current State is Neither Pending Nor Processing The Printer Resources that the Job Requires Are Not Ready Use this...

Страница 360: ...hat are associated with the queue the job is in or with the logical printer to which the job was submitted and that support the necessary attribute values Finding the Printers that Support the Job s Attribute Values Use the pdls command with the f FilterCriteria ag to nd only the physical printers That are associated with the queue containing the job That support the default medium attribute value...

Страница 361: ...ueue If so see The Printer Device is Not Printing for instructions on diagnosing and xing printer problems In the example display neither printer is ready for a job such as the example job that requests iso a4 transparent media and is greater in size than one million octets To allow the 48 million octet iso a4 transparent example job to print on one of the two physical printers shown in the exampl...

Страница 362: ...ize range ready attribute of PhysPrt1 now has a value of 3000 48015000 You might also choose to specify only the upper limit If you do so the lower limit defaults to zero 3 Enable the printer pdenable PhysPrt1 The job is now able to be scheduled Its current state changes to pending or processing Modifying the media ready Attribute Value To modify the media ready attribute put the desired media in ...

Страница 363: ...hysical printers that once supported the job s attributes no longer do so To see which attributes are no longer supported submit the job again to the same logical printer using the pdresubmit command For example if the logical printer to which the user originally submitted the jobs is LogPrt2 and the global job identi er is Spooler1 1000000015 enter pdresubmit LogPrt2 Spooler1 1000000015 This comm...

Страница 364: ...ncorrect Document Format Use this section if the job printed using the wrong document format and the output contains random characters or control characters For example use this section if a PostScript job printed as ASCII characters Did the user specify a document format with the print command If so have the user submit the job again This time tell the user not to specify a value for the document...

Страница 365: ...e or all list You can also request any combination of these For example if you want a brief listing and also want to know the value of the copy count attribute and the job hold attribute enter pdls U r brief copy count job hold Spooler1 1000000015 HPDPS displays information similar to the following 1000000015 job client id 15 1000000015 job identifier Spooler1 1000000015 1000000015 job name File1 ...

Страница 366: ...is message If you or a user receive a message like this use the pdstartclient command to start the HPDPS client again To use this command you must be logged in as the root user Look at the HPDPS client error log for information about what happened to the HPDPS client daemon The error log for an HPDPS client is in the le var opt pd pdclientd error log Use the pdmsg command to get more information a...

Страница 367: ...owever if the server process is active and the last entry in the server error log does not say that the server was shut down the problem is not with the server but with the HPDPS client daemon In order to x this problem use the pdstopd and pdstartclient utilities to stop and then start the HPDPS client The servers will once again respond normally This problem occurs when an administrator recycles ...

Страница 368: ......

Страница 369: ... 5 5 6 51 9 29 attachment type attribute 5 5 attachment types required attributes 5 4 attributes changing for server error log 12 2 changing or adding for physical printers 5 10 determining for a physical printer 5 10 initial value objects 6 14 modifying for logical printers 9 29 9 31 overview 1 7 per attachment type 5 4 physical printers 6 24 problems when user speci es 13 14 querying for jobs 11...

Страница 370: ...tor job state 11 28 cancelled by user job state 11 28 cancelled job state 11 26 cancelling job processing 10 18 jobs 10 28 11 20 cell admin 4 1 cell directory structure 8 10 changing attributes for physical printers 5 10 scheduling method 6 5 checkpoint taken event identi er 7 6 class aborted event class 7 24 class error event class 7 24 class job attention event class 7 24 class job default event...

Страница 371: ...bute values 12 3 spooler considerations 3 5 3 6 start up le 4 5 supervisor considerations 3 6 con guration models desktop 3 7 funnel 3 10 hourglass 3 12 printer pool 3 9 selecting 3 7 con guring error log attribute values 12 3 initial value objects 6 14 logical printers 6 16 logical printers for defaulting and restriction 6 26 physical printers 5 10 spoolers 6 2 6 3 supervisors 5 2 to meet the nee...

Страница 372: ...ters 8 6 permissions 8 3 DCE Security Server 2 6 defaulting jobs 6 18 defaulting and restriction logical printers 6 26 default input tray attribute 6 23 defaults DCE permissions 8 11 DCE permissions physical printers 8 18 logical printer settings 4 8 noti cation pro le 7 31 noti cation pro le overview 7 29 resetting noti cation pro le 7 40 setting permissions 8 12 deleting initial value objects 9 ...

Страница 373: ...nt type attribute 6 24 E enabled logical printers querying for those in associated queue 9 13 querying for those in spooler 9 7 enabling a disabled logical printer 9 31 a disabled physical printer 10 21 logical printers 6 51 logical printers overview 9 29 physical printers 5 11 end message supported attribute 10 16 disabling messages 10 17 end users DCE security 8 3 environment variables PD CLIENT...

Страница 374: ...oti cation pro le examples 7 49 specifying a results pro le 11 19 initial value job identi er attribute 6 14 initial value objects associating with a logical printers 6 15 attributes 6 14 con guring 6 14 creating 6 14 6 27 deleting 9 39 modifying 9 32 overview 6 14 restricting printer capabilities 6 21 installation 2 1 prerequisites 2 1 verifying environment variables 4 7 installing particular com...

Страница 375: ...ueued event identi er 7 10 job resubmitted event identi er 7 11 job resumed event identi er 7 11 job retention period attribute 11 6 jobs assigning a job discard time 11 12 assigning a job print after time 11 13 assigning a retention period 11 11 attributes not correct 13 31 attributes precedence 1 9 cancelling 10 28 11 20 cancelling those processing 10 18 completion 13 30 could not be scheduled f...

Страница 376: ...obs copies attribute modifying 11 13 job size range ready setting policy 10 3 job size range ready attribute modifying 13 28 job size range supported setting policy 10 3 job size range supported attribute 10 5 jobs priority attribute 11 15 jobs state reasons and descriptions 11 28 job start message specifying who receives 10 15 job state changed event identi er 7 11 job state reasons attribute 11 ...

Страница 377: ...itial value objects 6 35 resubmitting jobs 9 20 setting up for high prioroty jobs 11 15 specifying a description 6 49 specifying key contacts 6 50 users not authorized to use 13 16 workload balancing 6 36 log severity attribute 12 2 12 4 log size attribute 12 2 log wrap attribute 12 2 LP spooler using 1 15 M managing DCE security 8 1 maximum copies supported setting policy 10 3 maximum copies supp...

Страница 378: ...notifcation 7 35 summary of components 7 55 use of operators 7 4 using only the delivery address component 7 38 using only the delivery method component 7 37 noti cation pro le attribute 7 1 summary tables 7 53 notify operator attribute 10 16 O object cleaned event identi er 7 12 object created event identi er 7 13 object deleted event identi er 7 13 object modi ed event identi er 7 13 object paus...

Страница 379: ... variable 4 5 pdset command 5 10 noti cation pro le 7 31 pdshutdown command 4 9 9 40 PD SPOOLERS environment variable 4 5 pdstartclient command 4 3 pdstartspl command 6 2 9 42 pdstartsuv command 4 2 5 2 PD SUPERVISORS environment variable 4 5 pd user group planning 3 14 pending job state 11 26 pending state job not moving in queue 13 20 performance tuning HPDPS 4 10 permissions DCE 8 9 DCE securit...

Страница 380: ...quired attributes 5 5 required resources not ready 11 29 required resources not supported 11 29 responding to state problems 10 13 restricting access with DCE 6 43 resuming 10 21 routine tasks 10 22 setting attributes 5 10 state 9 13 timed out 13 8 timed out state 10 14 time out state 10 25 physical printers requested attribute 6 24 planning considerations 3 1 grouping physical printers for DCE se...

Страница 381: ...te 9 33 10 24 printer resources not supported 13 29 printers assigned attribute 11 6 printer shutdown job requeued event identi er 7 18 printer state what to do 13 5 printer state changed event identi er 7 18 printer timed out event identi er 7 19 printer timeout period attribute 10 25 printer toner low event identi er 7 19 printer unregistered event identi er 7 19 printouts cannot nd 13 30 print ...

Страница 382: ... 6 10 backlogs 9 27 creating 6 5 default events 7 30 default events for queue noti cation messages 6 12 deleting 9 36 deleting jobs 9 18 disabling 9 16 jobs not moving forward 13 3 noti cation messages 6 12 noti cation pro le example 7 45 overview 1 5 pausing 9 16 planning considerations 3 6 possible states 9 11 querying for attributes 9 11 querying for ready physical printers 9 13 querying for st...

Страница 383: ...5 creating for queues 6 5 security planning considerations in DCE Extended Environment 3 13 with DCE 1 12 security directory 8 10 permissions 8 15 removing a group 8 17 server communications between spooler and supervisor 9 34 servers error log backup 12 6 nding and viewing error logs 12 6 modi able error log attributes 12 2 noti cation pro les 7 3 problems 13 32 server shutdown complete event ide...

Страница 384: ...ents for disk space 2 3 started printing time attribute 11 21 11 30 starting a supervisor 4 2 HPDPS 4 2 HPDPS automatically 4 5 HPDPS client daemon 4 2 spoolers 4 2 supervisors 5 2 5 4 start message supported attribute 10 16 disabling messages 10 17 startup log 4 5 startup log le 4 2 state of jobs 11 26 state problems physical printer 10 13 status querying for jobs 11 23 stopping HPDPS components ...

Страница 385: ... 14 time format 11 12 toner adding 10 22 total job octets attribute 6 10 11 6 U unable to register event identi er 7 22 unauthenticated removing permissions 8 21 unauthenticated value 8 8 unknown job state 9 20 unrecognized resource event identi er 7 22 user groups planning 3 14 user name attribute 11 1 users not authorized to use logical printer 13 16 V validation jobs 6 18 values event identi er...

Страница 386: ......

Отзывы: