An awesomely fast cloud printing service that supports all printers and USB weighing scales as well as a feature packed JSON API.
Emit new event when a new printnode event is created. See the documentation
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.
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: ``,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})