HP OpenVMS Systems
HP Advanced Server for OpenVMS
LANDOFOZ\\TINMAN> MODIFY SHARE WESTWITCH - _LANDOFOZ\\TINMAN>/PERMISSIONS=(LION=PRINT,TINY=MANAGE_DOCUMENTS) %PWRK-S-SHAREMOD, share "WESTWITCH" modified on server "TINMAN"
You can display the print share information, including the permissions on the share. Use the SHOW SHARES /FULL command. For example, to display the permissions for the print share WESTWITCH, enter the following command:
LANDOFOZ\\TINMAN> SHOW SHARES WESTWITCH/FULL Shared resources on server "TINMAN": Name Type Description ----------- --------- --------------------------------------- WESTWITCH Printer Shared Print Queue in the Land of Oz Path: TOTO Connections: Current: 0, Maximum: No limit Share Permissions: Everyone Full Control LION Print TINY Manage Documents Total of 1 share LANDOFOZ\\TINMAN>
To stop sharing a print share, use the REMOVE SHARE command. The queue still exists and can be displayed using the SHOW PRINT QUEUE command, but it is unavailable to network users. Jobs in the print queue complete as usual. For example:
LANDOFOZ\\TINMAN> REMOVE SHARE TOTO Do you really want to remove share "TOTO" [YES or NO] (YES) : YES %PWRK-S-SHAREREM, share "TOTO" removed from server "TINMAN" LANDOFOZ\\TINMAN>
This section provides information about the following topics:
To manage print jobs, you must be logged on to a user account that is a member of one of the following groups:
There are no special requirements for displaying print job information.
220.127.116.11.1 Displaying Print Jobs, Using ADMINISTER Commands
LANDOFOZ\\TINMAN> SHOW PRINT JOBS Routing Queue TOTO : ACTIVE Job User Name Size Status ---- --------------- ----------- ---------- 5 system 512 QUEUED 6 system 512 QUEUED 7 system 512 PAUSED LANDOFOZ\\TINMAN>
If you have FULL or MANAGE_DOCUMENTS permission on the share, you can pause (or in OpenVMS terms, hold) any print job that the queue has not yet sent to the printer. The paused job stays in the queue until you release it; other jobs in the queue are printed. Other users can pause and release their own print jobs.
LANDOFOZ\\TINMAN> SET PRINT JOB 3330/HOLD %PWRK-S-JOBSET, print job 3330 held on server "TINMAN" LANDOFOZ\\TINMAN> SHOW PRINT JOB Routing Queue TOTO : PENDING Job User Name Size Status ---- ---------------- ------------ --------------- 3330 system 512 PAUSED LANDOFOZ\\TINMAN>
This example pauses or holds print job number 3330.
18.104.22.168.3 Releasing a Print Job, Using ADMINISTER Commands
LANDOFOZ\\TINMAN> SET PRINT JOB 3330/RELEASE %PWRK-S-JOBSET, print job 3330 released on server "TINMAN" LANDOFOZ\\TINMAN>
This example releases the specified print job that was on hold. The job
then proceeds to print.
22.214.171.124.4 Restarting a Print Job, Using ADMINISTER Commands
LANDOFOZ\\TINMAN> SET PRINT QUEUE TOTO/RESTART %PWRK-S-JOBACTION, print job 1 at server "TINMAN" has been restarted LANDOFOZ\\TINMAN>
To move a print job to the first position in its queue, use the SET PRINT JOB/FIRST command. For example:
LANDOFOZ\\TINMAN> SET PRINT JOB 3330/FIRST %PWRK-S-JOBSET, job 3330 set to first position on server "TINMAN" LANDOFOZ\\TINMAN>
This example moves job number 3330 in the print queue to the first position in the queue. It prints as soon as any currently printing job is done.
LANDOFOZ\\TINMAN> SET PRINT JOB 3330/LAST %PWRK-S-JOBSET, job 3330 set to last position on server "TINMAN" LANDOFOZ\\TINMAN>
This example moves print job number 3330 to the last position in the
print queue. The print job prints after all other print jobs currently
in the queue are done.
126.96.36.199.6 Deleting a Print Job, Using ADMINISTER Commands
If you have FULL or MANAGE_DOCUMENTS permission on the share, you can delete any job that is waiting in a print queue. Other users can delete their own print jobs. Use the SET PRINT JOB /DELETE command to delete a print job. To abort a print job that is currently printing, use the SET PRINT JOB /ABORT command.
LANDOFOZ\\TINMAN> SET PRINT JOB 3330/DELETE %PWRK-S-JOBSET, print job 3330 deleted on server "TINMAN" LANDOFOZ\\TINMAN>
This example deletes job number 3330 from the print queue.
When you need to shut down a printer immediately, you may need to cancel a print job that is printing. Or you may need to cancel a print job that is printing incorrectly, such as a PostScript file that is printing as an ASCII or text file. For example:
LANDOFOZ\\TINMAN> SET PRINT JOB 3330/ABORT %PWRK-S-JOBSET, print job 3330 aborted on server "TINMAN" LANDOFOZ\\TINMAN>
This example cancels print job number 3330 while it is printing. To
restart a deleted job, you must resubmit the print job.
5.3.3 Managing Advanced Server Printers Using Windows NT
The Advanced Server for OpenVMS can be configured to manage printers and print queues remotely from a Windows NT Server or workstation. Any administrators, print operators, or server operators on the Windows NT system can manage these printers. These users can manage and conceptualize printers in Windows NT-familiar terms: they manage printers, printer ports, print queues, and the associated parameters defined in each printer's OpenVMS Registry entry. Notice that all users can add a printer and manage their own print jobs from their Windows NT computer.
By default, Advanced Server shared printers are managed locally by means of the ADMINISTER command interface. To change the default on the Advanced Server for OpenVMS so that you can manage Advanced Server shared printers using Windows NT print services, you must reconfigure the server using PWRK$CONFIG and enable Windows NT printer management. For more information about enabling Windows NT printer management, refer to the HP Advanced Server for OpenVMS Server Installation and Configuration Guide.
When running PWRK$CONFIG to reconfigure the Advanced Server, printers or print shares that have been upgraded previously are not upgraded again.
With Windows NT printer management enabled on your Advanced Server, you can use the same tools on Windows NT to manage printers defined on the Advanced Server that you would use to manage other Windows NT printers. For example, to add a Windows NT-compatible printer, double-click on the icon for the Advanced Server in the Network Neighborhood, then select the Printers folder. Now, double-click on the Add Printer icon in the Printers folder for the Advanced Server being managed, and use the Windows NT Add Printer Wizard to guide you through the process. The wizard allows you to select:
The Advanced Server printer name must not exceed 12 characters in length. If printer pooling is enabled, the printer name must differ from the OpenVMS execution queue name. They can be the same if printer pooling is disabled.
When you are prompted to select a port for the printer, the list box displays the available OpenVMS execution queues found by the Advanced Server. Click on the appropriate execution queue.
You can only create Windows NT-compatible server printers that are associated with an existing port (OpenVMS execution queue). You cannot create a new port. You must use the OpenVMS INITIALIZE/QUEUE and SET QUEUE commands to create and set up a new execution queue. Execution queues are regarded by Windows NT as ports.
When you are prompted for the type of printer and the operating systems of the clients to be using the printer, you must have the appropriate printer drivers available (supplied on a CD-ROM, for example).
When the Add Printer Wizard completes, the printer is added to the Printers folder. To see the new printer in the Printers folder, you might have to refresh the folder view.
To share this printer, see Section 188.8.131.52, Using Windows NT Print Services to Share Printers Defined on the Advanced Server.
184.108.40.206 Using Windows NT Print Services to Share Printers Defined on the Advanced Server
When you add a printer using the Windows NT Add Printer Wizard, one of the dialog boxes gives you the option of sharing the printer. If you indicate that the printer is to be shared, you can enter a name for the shared resource (which defaults to the first word of the printer name).
To share an existing printer, right-click the printer in the Printers
folder, and then click Properties. Click the Sharing tab, and then
click Shared and enter the share name.
220.127.116.11 Enabling Printer Pooling
To set up a printer for printer pooling (similar to setting up an OpenVMS generic queue or Advanced Server routing queue), use the Windows NT Add Printer Wizard to select several ports to point the printer to, and check the box that enables printer pooling. When the printer is created, the Advanced Server creates a routing queue with the same name as the printer name. The routing queue routes to the ports (execution queues) you selected with the Add Printer Wizard.
The name of the printer you set up for spooling should not be the same as any of the OpenVMS print queues (ports) selected as part of the pool.
Users who want to use an Advanced Server print share can add the
associated printer to their computers, in the same way as described in
Section 18.104.22.168, Using Windows NT Print Services to Manage Advanced Server Printers. The Add Printer Wizard allows the user to download and
install the printer drivers from the server. When that is done, an icon
for the printer appears in the user's Printer folder, and the user can
now print to that printer.
22.214.171.124 Windows NT Printer Management Restrictions
REMOVE PRINT QUEUE
SET PRINT QUEUE
ADD PRINT QUEUE
CONTINUE PRINT QUEUE
PAUSE PRINT QUEUE
SHOW PRINT QUEUES
This chapter describes the procedures you can use to monitor events and troubleshoot problems:
Advanced Server lets you monitor server events as they happen and capture
events in log files. The following sections describe the tools you can
use to monitor and evaluate server events.
6.1.1 ADMINISTER Commands
Advanced Server ADMINISTER commands let you display information about current server activity and status, as well as recorded events and error messages. In addition, you can use ADMINISTER commands to modify items in the server database to correct certain types of problems.
For example, the SHOW SESSIONS command displays current client sessions. To remove a session that is no longer being used, enter the CLOSE SESSION command.
Refer to the procedures described in Section 6.2.2, The Problem Analysis Process, for information
about ADMINISTER commands you can use to help solve certain types of
6.1.2 Automatic Alerts
The Alerter service can also tell you when certain events occur, as specified by the data associated with the Alerter server configuration parameters in the OpenVMS Registry. You control when the Alerter service sends messages for these events by modifying the data for the appropriate value in the OpenVMS Registry, as described in Section 7.3, Managing Server Configuration Parameters Stored in the OpenVMS Registry.
Table 6-1, Alerter Configuration Parameters, lists the server configuration parameters you can modify to control the way the Alerter service works. You can set each parameter listed in the second column to any positive integer.
|Desired Action||Parameter to Use||Default Data|
|The total number of errors that can occur before the server sends an alert message. You can set the value for this keyword to any positive integer.||ErrorAlert||5|
|The total number of incorrect password attempts that can occur before the server sends an alert message. You can set the value for this keyword to any positive integer.||LogonAlert||5|
|The total number of resource access violations that can occur before the server sends an alert message. You can set the value for this keyword to any positive integer.||AccessAlert||5|
The Alerter service runs automatically when the server starts, if the Alerter service is included in the data associated with the SrvServices server parameter in the OpenVMS Registry. The Alerter service is included in the initial configuration by default. To disable the Alerter service, remove the Alerter name from the list of data for the SrvServices value. See Section 2.3.4, Managing Services, for more information about services.
You can specify which Advanced Server users and clients are to receive alert messages. Include the names of these users and clients in the data field for the AlertNames value in OpenVMS Registry. See Appendix A, Server Configuration Parameters, for more information about OpenVMS Registry values and data.
Client workstations must be running the Messenger service to receive alert messages. The Messenger service does not run on the OpenVMS system; therefore, users logged on from OpenVMS processes will not receive alert messages.