Beispiel #1
0
        var_dump($ipp->printer_attributes);
        if ($print) {
            printf(_("Job status: %s\n"), $ipp->printJob());
        }
        // Print job, display job status
    } catch (httpException $e) {
        printf("%s\nerrno: %s\n", $e->getMessage(), $e->getErrno());
        trigger_error("I prefer to quit", E_USER_ERROR);
    }
} catch (ippException $e) {
    printf("%s\nerrno: %s\n", $e->getMessage(), $e->getErrno());
    trigger_error("I prefer to quit", E_USER_ERROR);
}
?>


<?php 
if ($debug !== false) {
    print $ipp->getDebug();
}
// display debugging output
?>

<?php 
echo memory_get_usage(false), "\n";
echo memory_get_usage(true), "\n";
?>

END "SERVER" TEST
<?php 
exit(0);