oont-contents/plugins/xc-woo-google-cloud-print/vendor/printnode/printnode-php/examples/README.md
2025-02-08 15:10:23 +01:00

758 B

Examples Using the PrintNode PHP Library

These example shows how to submit a remote printjob from your PHP application to a remote computer and control PrintNode Client accounts.

Prerequisites

You must install dependencies, add your PrintNode credentials and download example PDF before start using this example:

composer install
cp credentials.php.dist credentials.php
nano credentials.php
wget -O a4_portrait.pdf https://app.printnode.com/testpdfs/a4_portrait.pdf

Submiting A Printjob

php example-1-submitting-a-printjob.php

Creating PrintNode Child Account

php example-2-creating-a-child-account.php

Manipulating PrintNode Client Accounts

example-3-manipulating-child-accounts.php