SplCopyJob - Syntax

This function copies a job in a print queue.

Currently there is a restriction that a job can only be copied onto the same queue (and computer) as the original job.

#define INCL_SPL /* Or use INCL_PM, */
#include <os2.h>

PSZ       pszSrcComputerName;  /*  Name of computer where job is to be copied from. */
PSZ       pszSrcQueueName;     /*  Name of queue where job is to be copied from. */
ULONG     ulSrcJob;            /*  Source Job identification number. */
PSZ       pszTrgComputerName;  /*  Name of computer where job is to be copied to. */
PSZ       pszTrgQueueName;     /*  Name of queue where job is to be copied to. */
PULONG    pulTrgJob;           /*  Job identification number of new job. */
SPLERR    rc;                  /*  Return code. */

rc = SplCopyJob(pszSrcComputerName, pszSrcQueueName,
       ulSrcJob, pszTrgComputerName, pszTrgQueueName,
       pulTrgJob);


[Back: SplCopyJob]
[Next: SplCopyJob Parameter - pszSrcComputerName]