Command syntax

This section describes the command syntax:
Command format
{command} {-flags …} {argument …}

Where:

  • command is the name of a pdcommand
  • flags are dash options
  • arguments are the target of the command

Example
pdls -c queue Q2

The arguments are the target of the request or action. Each argument can have two parts: the server to which the request should be forwarded and the object in that server which is the target of the request.

Since the command processor can locate the server containing any object in the name space, you can issue commands directly against any queue, logical destination, actual destination, or server by simply using the objects name as the target for the command. For example:

pddisable  -c dest  ld2
pdls -c server spl2

The pdcreate command is an exception because when you use pdcreate, it is essential to identify the pdserver where you want to create the object.

All other InfoPrint Manager objects, such as, medium, initial-value-jobs, transforms, or auxiliary-sheets, do not have entries in the namespace. This means you must identify the pdserver that contains these objects when you run commands on them. To do this, you need to preface the object name with the server name followed by a separating colon (:), for example:

pdls -c initial-value-job  server2:myivj

The PDPRINTER environment variable that identifies a default destination to use for your command-line commands is also used to identify a default pdserver. If you have the PDPRINTER environment variable set, your commands for objects not in the namespace are sent to the server that contains the destination object defined. If you want your commands to go to another pdserver, you must qualify the target of the command with containing pdserver.