PrintNode

An awesomely fast cloud printing service that supports all printers and USB weighing scales as well as a feature packed JSON API.

Integrate the PrintNode API with the Python API

Setup the PrintNode API trigger to run a workflow which integrates with the Python API. Pipedream's integration platform allows you to integrate PrintNode and Python remarkably fast. Free for developers.

Run Python Code with Python API on New Event Instant from PrintNode API
PrintNode + Python
 
Try it
New Event Instant from the PrintNode API

Emit new event when a new printnode event is created. See the documentation

 
Try it
Get Printer with the PrintNode API

Retrieves data about a specific printer. See the documentation

 
Try it
Run Python Code with the Python API

Write Python and use any of the 350k+ PyPi packages available. Refer to the Pipedream Python docs to learn more.

 
Try it
List Print Jobs with the PrintNode API

Returns a list of all print jobs that have been submitted. See the documentation

 
Try it
Send Print Job with the PrintNode API

Sends a print job to a specified printer. See the documentation

 
Try it

Overview of PrintNode

The PrintNode API on Pipedream allows you to integrate cloud printing capabilities into workflows. It supports automating print jobs, managing printers, and querying printer status. With Pipedream's ability to connect to hundreds of apps, you can trigger print jobs from emails, forms, databases, or custom events. The API's functions can be weaved into broader business processes to streamline document handling.

Connect PrintNode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    printnode: {
      type: "app",
      app: "printnode",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.printnode.com/whoami`,
      auth: {
        username: `${this.printnode.$auth.api_key}`,
        password: ``,
      },
    })
  },
})

Overview of Python

Develop, run and deploy your Python code in Pipedream workflows. Integrate seamlessly between no-code steps, with connected accounts, or integrate Data Stores and manipulate files within a workflow.

This includes installing PyPI packages, within your code without having to manage a requirements.txt file or running pip.

Below is an example of using Python to access data from the trigger of the workflow, and sharing it with subsequent workflow steps:

Connect Python

1
2
3
4
5
def handler(pd: "pipedream"):
  # Reference data from previous steps
  print(pd.steps["trigger"]["context"]["id"])
  # Return data for use in future steps
  return {"foo": {"test":True}}