l8HP DECprint Supervisor (DCPS) for OpenVMSG

HP DECprint Supervisor (DCPS) for OpenVMS
System Manager's Guide



 z d f  
PreviousContentsIndex




V

Chapter 5
Manipulating Print Jobs and Print Queues




DThis chapter describes the commands for maintaining and controlling 0print jobs, print queues, and the queue manager.

BSome of the commands described in this chapter require privileges.Y

5.1 Displaying Print Job Status



DYou can use the SHOW ENTRY command to display the status of a print Hjob. You do not need privileges to use this command to display your own Hprint jobs, but privileges are required to display another user's print jobs.

HThe SHOW ENTRY command lists all your print jobs. To display the status Eof another user's print job, you must supply the job number with the FSHOW ENTRY command or specify the user using the /USER qualifier. You Ecan display the job numbers for all print jobs in a designated queue .using the SHOW QUEUE /ALL command, as follows:

 

"
+$ SHOW QUEUE /ALL PS40$A12




 

"
L    Printer queue PS40$A12, busy, on LEVEL::PS40, mounted form DCPS$DEFAULT     (stock=DEFAULT)  9      Entry  Jobname         Username     Blocks  Status 9      -----  -------         --------     ------  ------ ;       304      MEMO         MSMITH            5  Printing 




HYou can use the SHOW ENTRY /FULL command to display information about a specific print job. For example:

 

"
'$ SHOW ENTRY 304 /FULL




 

"
7    Entry  Jobname         Username     Blocks  Status 7    -----  -------         --------     ------  ------ 9      304  MEMO            MSMITH            5  Printing *           On busy printer queue PS40$A12 '           Submitted 14-JUN-2005 10:41 6           /FORM=DCPS$DEFAULT (stock=DEFAULT) /NOTIFY            /PRIORITY=100 9           File: _$1$DUA10:[MSMITH]MEMO.TXT;1 (printing) 






/  
Note

HPrint job status may be shown as "Printing" when the file has 9not yet actually started printing on the printer.
Q

5.2 Deleting a Print Job



DYou can delete a print job using the DELETE /ENTRY command. You can Ddelete you own print job without privileges. However, you must have /privileges to delete another user's print jobs.

GThe DELETE /ENTRY command accepts the print job number as an argument. For example:

 

"
(    $ DELETE /ENTRY=569




>This command deletes print job 569. The system sends messages -indicating the successful print job deletion.

FThe print job is terminated in a method that depends on the status of 7the print job when you issue the DELETE /ENTRY command. 8 +                  
If you issue DELETE /ENTRY... DCPS software...
$ When the print job is printing O May take several seconds to stop the print job. The printer prints data N in its buffers, plus any required job trailer pages and job log pages. K During this time, a SHOW QUEUE command displays the job's status as  Aborting.
? Before a connection is established with a network printer  Prints no pages.
) After the connection is established O Prints the job trailer page with a message indicating the fact that you  deleted the print job.
8 Before the job burst or job flag pages are printed N May not print the job burst or job flag page. However, job trailer and F job log pages are printed if the queue is set up to print them.
k

5.3 Releasing a Print Job in the Holding State



HWhen a print job is in the Holding state, you must release it for it to Cprint. The user can put a job in the Holding state using the PRINT E/AFTER or PRINT /HOLD command. The user or system operator can put a Aprint job in the Holding state using the SET ENTRY /HOLD command.

BUse the SET ENTRY /RELEASE command to release the print job to be Hprinted. You must specify the job number in the SET ENTRY command. This Ecommand does not require privileges if you are releasing a print job Fthat you submitted. Privileges are required to release another user's print jobs.

For example:

 

"
-    $ SET ENTRY /RELEASE 569




@In this example, print job 569 was in the Holding state and was released for printing.S

5.4 Requeuing Print Jobs



HYou can change the print queue for one or more print jobs, as described in the following sections.E

5.4.1 Requeuing Pending Print Jobs



HYou can requeue a print job that has not started printing using the SET GENTRY /REQUEUE command. Without privileges, you can requeue your jobs. DWith privileges, you can requeue any print job that has not started Bprinting. You must supply the job entry number with the SET ENTRY Ccommand. The /REQUEUE qualifier requires the name of the new print queue. For example:

 

"
?    $ SET ENTRY /REQUEUE=POSTSCRIPT$DUPLEX 596




HThis command changes the print queue for job 596. The print job is sent to the POSTSCRIPT$DUPLEX queue._

5.4.2 Requeuing the Currently Printing Job to Another Queue



HWhen a printer problem prevents completion of the printing job, you can Grequeue the print job to another printer. Use the STOP /QUEUE /REQUEUE Fcommand to send the print job to another print queue. You supply both Hthe old queue name and the new queue name for this command. For example:

 

"
P    $ STOP /QUEUE /REQUEUE=POSTSCRIPT$DUPLEX POSTSCRIPT$SIMPLEX




GIn this example, the print job that is currently printing on the queue EPOSTSCRIPT$SIMPLEX is stopped and requeued to POSTSCRIPT$DUPLEX. The HPOSTSCRIPT$SIMPLEX queue is not stopped and continues with printing the next job in the queue.^

5.4.3 Requeuing Current and Future Print Jobs in a Queue



GThe ASSIGN /MERGE command allows you to specify that all print jobs in Ea certain queue, and those submitted later for that queue, are to be Fsent to another queue. The ASSIGN /MERGE command requires privileges. CYou must supply the old queue name and the new queue name. Use the following procedure:

    J
  1. Use the STOP /QUEUE /NEXT command to stop the malfunctioning print 1 queue after the current print job has finished.E
  2. Use the STOP /QUEUE /REQUEUE command to requeue the currently printing job to the new queue.J
  3. Use the ASSIGN /MERGE command to cause all pending and future print # jobs to be requeued. For example:

     

    "
    8    $ STOP /QUEUE /NEXT PRINTER$NOTABLEH    $ STOP /QUEUE /REQUEUE=PRINTER$ABLE PRINTER$NOTABLEA    $ ASSIGN /MERGE PRINTER$ABLE PRINTER$NOTABLE
    
    
    

d

5.5 Modifying the Attributes of a Print Job



BThe SET ENTRY command allows a user to modify the attributes of a @pending print job. You cannot modify a print job that has begun Cprinting. If you have privileges, you can modify the attributes of Dprint jobs submitted by other users. The SET ENTRY command requires Fthat you specify the job number and allows you to specify one or more qPRINT command qualifiers, which are listed in Appendix A. For example:

 

"
K    $ SET ENTRY 596 /PARAMETERS=PAGE_ORIENTATION=LANDSCAPE




HThis example changes a print job from portrait orientation to landscape Gorientation. If the original PRINT job contained any PRINT parameters, Eyou must specify them all again when you modify any print parameters Dwith the SET ENTRY /PARAMETERS command. If you do not respecify the BPRINT parameters, the print job will be printed using the default Aparameter values for those not included in the SET ENTRY command.R

5.6 Displaying a Queue



HYou can display a print queue, including its status, its attributes and Hthe print jobs in the queue, using the SHOW QUEUE command. This command Ddoes not require privileges, unless you wish to view queue security 8information or view print jobs belonging to other users.

FTo display a specific queue, supply the queue name. To display all of Ethe queues, omit the queue name from the SHOW QUEUE command. Use the scommands in Table 5-1 to display information about queues.

g  # !                          
Table 5-1 Commands to Display Queues
To list: Enter:
= The name and description of every print and batch queue  SHOW QUEUE
' The names of all the print queues SHOW QUEUE /DEVICE=PRINTER
$ All the jobs in all the queues  SHOW QUEUE /ALL
) All the jobs in the specified queue  SHOW QUEUE /ALL queue-name
& The attributes of all the queues  SHOW QUEUE /FULL
' The attributes of a certain queue  SHOW QUEUE /FULL queue-name
O

5.7 Pausing a Queue



GUse the STOP /QUEUE command to pause a queue. You must have privileges 5and supply the queue name to the STOP /QUEUE command.

EYou can pause the queue after the current print job has completed by Dusing the STOP /QUEUE /NEXT command. This allows the current job to /complete before pausing the queue. For example:

 

"
.    $ STOP /QUEUE /NEXT PS$A4




HThis command pauses the queue PS$A4 after the current job has completed printing.

FIf it is necessary to pause the queue without waiting for the current Ajob to complete, use the STOP /QUEUE /RESET command. For example:

 

"
/    $ STOP /QUEUE /RESET PS$A4




CThis command pauses the queue PS$A4 and printing stops immediately.



/  
Note

?When communications problems arise with a serial or raw TCP/IP Cinterconnect, the symbiont will keep listening for up to 4 minutes =before disconnecting from the printer. Therefore, under some :conditions, the device is not released immediately after aSTOP /QUEUE /RESET command is issued.


bSee Appendix A for more STOP /QUEUE qualifiers.Q

5.8 Starting a Queue



DUse the START /QUEUE command to restart a print queue that has been Dpaused with the STOP /QUEUE command. If you make changes to a print >queue in DCPS$STARTUP.COM, restart the queue by executing the iDCPS$STARTUP.COM file, as described in Section 3.7.

HFor example, to restart print queue PS40$A15, use the following command:

 

"
,    $ START /QUEUE PS40$A15




GIf you interrupt a printing job when you stop the queue, the print job $restarts when you restart the queue.

B The logical name, DCPS$queuename_PID, is defined by the F symbiont when it starts executing. This allows the system manager to ? determine which symbiont is assigned to a given queue, and is < especially useful when using multi-streamed symbionts. See ? Section 3.5.1.



/  
Note

HWhen a DCPS queue is started, the symbiont does not immediately attempt Fto make a connection to the printer, to minimize the possibility that Hthe queue will not start. This is particularly important while starting Gqueues at system boot time, to avoid introducing delays or errors into Fthe boot process. It is not until DCPS starts processing a job from a Gqueue that DCPS determines the state of the printer and its associated interconnect.
b

5.9 Modifying the Attributes of a Queue



HYou can temporarily modify the attributes of a print queue with the SET @QUEUE command. When the printing system is restarted, the queue Gattributes you set with the SET QUEUE command are lost. To permanently >modify print queue attributes, edit the DCPS$STARTUP.COM file.

uThe qualifiers to the SET QUEUE command are listed in Appendix A. HNote that some print queue attributes cannot be set using the SET QUEUE command.

FThe following command limits the print jobs for the PS$DRAFT queue to those of 1000 blocks or less.

 

"
;    $ SET QUEUE PS$DRAFT /BLOCK_LIMIT=1000




EThe SET QUEUE command requires privileges; you must supply the queue $name and the appropriate qualifiers.k

5.10 Preventing Users from Printing to a Queue



DUse the SET QUEUE /CLOSE command to close a queue and prevent users ?from submitting print jobs to the queue. This command requires ;privileges and you must supply the queue name. For example:

 

"
-    $ SET QUEUE /CLOSE PS$A4




BAfter you enter this command, the PS$A4 queue is closed and users ?cannot submit print jobs to the queue. The print jobs that are Ccurrently in the queue are completed. You can open the print queue using the following command:

 

"
,    $ SET QUEUE /OPEN PS$A4


S

5.11 Deleting a Queue



CYou can delete a print queue using the DELETE /QUEUE command. This Gcommand requires privileges. Follow these steps to delete a DCPS queue:

    B
  1. Make sure that there are no generic queues running that are E associated with the queue that you are deleting, by displaying the H queue using the SHOW QUEUE /FULL command. If there are generic queues = associated with the queue, delete the generic queues first.H
  2. Pause the queue using the STOP /QUEUE /NEXT command. Wait for the > printing to stop on the printer before you delete the queue.H
  3. Requeue all the print jobs in the queue and future print jobs for u the queue using the ASSIGN /MERGE command (see Section 5.4.3).G
  4. Delete the queue with the DELETE /QUEUE command. Enter the queue J name as an argument to this command. For example, the following command G deletes the queue PS$A4 and any print jobs that were pending in that  queue.

     

    "
    *    $ DELETE /QUEUE PS$A4
    
    
    



ARemember to modify the DCPS$STARTUP.COM file to delete the queue Cpermanently. Otherwise, when the printing system is restarted, the 'print queue you deleted will come back.a

5.12 Responding to a Stalled Queue



GPrinters are reported as Stalled when the DECprint Supervisor does not Hreceive information from the printer within a specified amount of time. EWhen the stalled timeout value is exceeded, the following message is displayed:

 

"
=    PRINTERSTALLED, Printer printer-name is stalled 




FYou can alter the stalled printer timeout value be defining a logical:

 

"
l    $ DEFINE /SYSTEM /EXECUTIVE DCPS$queuename_STALL_TIME "0 hh:mm:ss.00"




Ewhere hh:mm:ss.00 is an OpenVMS delta-time value specifying the desired time delay.

FThe default stalled timeout value is four minutes. HP recommends that %you do not change this timeout value.

AWhen you receive a message that the printer is stalled, you must Ddetermine if action is required. If the stalled message came from a Dnetworked printer (for example, a PrintServer printer), the stalled Gmessage probably indicates that a long time has passed between network Hcommunications and therefore you can safely ignore the stalled messages.

HBut if the stalled message follows other printer-related messages, they Emay indicate another reason for the long delay. The printer might be Dout of paper, or it might have a paper jam. Therefore, when a print Cqueue is stalled, you should check your OPCOM messages to see if a vprinter condition was previously reported. Refer to Chapter 11 for more information.

CDCPS may also temporarily define a system-wide logical giving some Aindication of why the queue is stalled. To examine this logical, Fexecute the following command on the system where the execution queue Fis running. If the queue is on an OpenVMS Cluster, be sure to use the appropriate cluster member.

 

"
C    $ SHOW LOGICAL DCPS$queuename_STALLED


g

5.13 Stopping and Starting the Queue Manager



CTo stop and start all the queuing activity on the system, stop and Hstart the queue manager. System shutdown and startup procedures perform Cthese operations automatically. The commands to stop and start the !queue manager require privileges.

;You can stop the queue manager using the following command:

 

"
4    $ STOP /QUEUE /MANAGER /CLUSTER




CWhen you are ready to start the queue manager, enter the following command:

 

"
,    $ START /QUEUE /MANAGER







 z a d f  
PreviousNextContentsIndex