Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5    Statistic  

CUPS.LastErrorCode

Return the last IPP status code.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
CUPS 2.5 Yes No Yes, macOS only No No
MBS( "CUPS.LastErrorCode" )   More

Parameters

none

Result

Last error code.

Description

Return the last IPP status code.

Examples

This cancels a job and queries last error code (will be 1030) and error message (something like "job 123 doesn't exist"):

$result = MBS( "CUPS.CancelJob"; "test"; 123 )
$message = MBS( "CUPS.LastErrorMessage" )
$errorCode = MBS( "CUPS.LastErrorCode" )

See also

Created 18th August 2014, last changed 18th August 2014


CUPS.GetPrinterName   -   CUPS.LastErrorMessage

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins