Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.3   9.4   9.5   10.0   10.1   10.2   10.3   10.4   10.5   10.6    Statistic    FMM    Blog  

CUPS.LastErrorCode

Return the last IPP status code.

Component Version macOS Windows Linux Server FileMaker iOS SDK
CUPS 2.5 Yes No No Yes, macOS only 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.GetPrintersAsJSON   -   CUPS.LastErrorMessage

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins

Start Chat