Puts job-status information for the specified print job into the specified status file.
#include <IN/stfile.h>
int pioputstatus(StatusFileDescriptor, VersionMagicNumber, StatusInformation) int StatusFileDescriptor, VersionMagicNumber; const void *StatusInformation;
The pioputstatus subroutine stores status information for a current print job.
The pioputstatus subroutine accepts a status structure containing print job information. This information includes queue name, queue device name, job number, and job status. The pioputstatus subroutine then stores the specified information in the specified status file.
The format of the status structure is determined by the version magic number specified by the VersionMagicNumber parameter. Each time there is a change in the status file structure for a new release, a unique number is assigned to the release's version magic number. This supports structure formats of previous releases.
1 | Indicates that the pioputstatus subroutine was successful. |
-1 | Indicates that an error occurred. |