Sends a print job to a queue on a remote server.
rembak -S Server -P Queue [ -R ] [ -N Filter] [ -L ] [ -q ] [ -x ] [ -# JobNumber ] [ -u UserName ] [ -X ] [ -o Option ] [ -T Timeout] [ -C] [ -D DebugOutputFile] [ File ... ]
The rembak command sends a job to be queued on a remote server. The request can either be a print job, a status request, a job cancel request, or a request to kill the remote queuing system. The server and the queue flags are required. All the other flags are optional, depending on what needs to be done.
This command should only be called by the qdaemon command. It is not intended to be entered on the command line by a user. See the enq command for details on how to issue a print job request, or use the System Manager Interface Tool (SMIT) to request a print job.
-# JobNumber | Specifies the JobNumber to cancel. |
-C | Sends control file first. The lpd protocol allows two handshaking sequences for processing a print job. The default consists of sending the data files(s) first followed by the control file. The other sequence is to send the control file first followed by the data file(s). If -C is specified, rembak will send the control file first followed by the data file(s). |
-D DebugOutputfile | Turns on the debugging option for rembak. If no output file name is specified, or if there are any problems creating or writing to the output file, the debugging option is ignored. If the output file specified already exists, new debugging output is appended to the end of it. |
-L | Indicates a long (verbose) status request from the remote queue. |
-N Filter | Indicates the machine type of the remote server. The filter name
is specified by the s_statfilter attribute in the /etc/qconfig file. Values for the
filter variable include the following:
|
-o Option | Specifies an Option to be sent to the backend on the remote server. (These Options are passed through the rembak command.) |
-P Queue | Specifies the name of the Queue on the remote server where the print job is sent. |
-q | Indicates a short (abbreviated) status request from the remote queue. |
-R | Restarts the remote queuing system.
Note: The -R flag is not supported when sending a request to an operating system. The lpd daemon does not support such a request. The -R flag is supported only for compatibility with other systems. |
-S Server | Specifies the name of the remote print Server where the print request is sent. |
-T Timeout | Sets a timeout period, in minutes, for rembak to wait for acknowledgements from the remote server. If no value is specified, a default timeout of 90 seconds is used. This default is also used if Timeout is 0 or a negative value. |
-u UserName@HostName | Cancels a print job for UserName that was submitted from the
HostName machine.
Note: The queuing system does not support multibyte host names. |
-X | Specifies that the rembak command send the -o
Option to the remote server, even if the remote server is a
non-operating system machine. If the remote is a non-operating system
machine, then the Option is sent without the -o
flag. Thus, -o -abc is sent as -abc.
To use the -X flag on a remote queue, the following line for the specific queue must be included in the /etc/qconfig file: backend = /usr/lib/lpd/rembak -X The qprt, lpr and other queuing commands are not guaranteed to work when -X is specified on a queue. Use the enq command. |
-x | Cancels a job request. Use the -# JobNumber flag or the -u UserName flag to cancel a request. |
rembak -S olive -P popeye -N /usr/lib/lpd/aixv2short spinach asparagus broccoli
rembak -S olive -P popeye -N /usr/lib/lpd/aixv2short -L
rembak -S olive -P popeye -N /usr/lib/lpd/aixv2short -x -#23 -u sweetpea@bluto
/usr/lib/lpd/rembak | Contains the rembak command. |
/etc/hosts.lpd | Contains host names that are allowed to do print requests. |
/etc/hosts.equiv | Contains host names that are allowed to do print requests. |
The cancel command, chque command, chquedev command, disable command, enable command, enq command, lp command, lpd command, lpq command, lpr command, lprm command, lpstat command, lsallq command, lsallqdev command, lsque command, lsquedev command, mkque command, mkquedev command, qadm command, qcan command, qchk command, qdaemon command, qpri command, qprt command, qstatus command, rmque command, rmquedev command.
The /etc/qconfig file.
Printer Overview for System Management in the AIX 5L Version 5.1 Guide to Printers and Printing.
Spooler Overview for System Management in the AIX 5L Version 5.1 Guide to Printers and Printing.
Remote Printing Overview in the AIX 5L Version 5.1 Guide to Printers and Printing.
Using Remote Host Access for Printing in the AIX 5L Version 5.1 Guide to Printers and Printing.