CustomJE icon

CustomJE

Custom operations

Overview

This node integrates with the CustomJE API to create print jobs using Printnode services. It allows users to send documents or content URLs to a specified printer for printing. This is useful in automated workflows where printing labels, invoices, or other documents needs to be triggered programmatically without manual intervention.

Typical use cases include:

  • Automatically printing shipping labels from an e-commerce platform.
  • Sending PDF reports or receipts to a network printer.
  • Integrating print jobs into larger automation pipelines for logistics or office management.

For example, after generating a shipping label URL, this node can send that URL directly to a designated printer to start printing immediately.

Properties

Name Meaning
CJ Token CustomJE API token used for authenticating requests to the CustomJE service.
API Key Printnode API key for authenticating with the Printnode printing service.
Print ID Identifier of the target printer where the print job will be sent.
Content Type Type of content to print. Options include: pdf_uri (a URL to a PDF document).
Content The actual content or URL to be printed. For example, a link to a PDF label or document.
Title A title or name for the print job, useful for identification in print queues or logs.

Output

The node outputs a JSON object representing the response from the CustomJE API after submitting the print job request. This typically includes details about the print job status, identifiers, and any messages returned by the API.

No binary data output is produced by this node.

Dependencies

  • Requires access to the CustomJE API via a valid API token (CJ Token).
  • Requires a valid Printnode API key to authenticate print job submissions.
  • The node makes HTTP POST requests to https://api.customje.com/pn-printjobs.php.
  • No additional environment variables are required beyond the provided credentials.

Troubleshooting

  • Invalid Credentials: If the CJ Token or Printnode API key is incorrect or expired, the API will reject the request. Verify tokens and keys are current and correctly entered.
  • Printer ID Issues: Providing an invalid or offline printer ID will cause the print job to fail. Ensure the printer ID corresponds to an active printer registered with Printnode.
  • Content Type Mismatch: The node currently supports content type pdf_uri. Using unsupported content types may result in errors.
  • Network Errors: Connectivity issues to the CustomJE API endpoint will cause failures. Check network access and firewall settings.
  • API Limitations: The CustomJE API may impose rate limits or restrictions; exceeding these could cause errors.

If the node throws an error indicating the operation is not implemented, verify that the selected resource is "Printing" and operation is "Printnode - Print Jobs".

Links and References

Discussion