Forum Academy Marketplace Showcase Pricing Features

[New Plugin] Remote printing with PrintNode

Hi fellow bubblers,

I built and released a new plugin that connects to the PrintNode API and allows you to print remotely.

Link to plugin

This way you can trigger a printing job for a file in your databse on a printer that’s connected to a user’s computer from your app without going through the browsers printing dialog.

We are using it to automatically print shipping documents & labels from our packing stations for ecommerce shipments that are being packed in our warehouse.

Here’s a quick rundown on how to set it up:

  1. Sign up for an account on https://www.printnode.com/en

  2. Download the Printnode client for the computer you want to print from, install it & log in

  3. After installation, the device and any installed printers will appear in the “Devices”-overview in your PrintNode dashboard.

  4. Copy your API key from the “API Keys” section in your PrintNode account

  5. Install the PrintNode plugin in your bubble app.

  6. Paste the API Key in the relevant fields.

Awesome! You’re all set up. :white_check_mark:

The plugin currently performs three actions: You can request a list of printers and submit printing jobs to your printer (with or without enhanced printing options).

How to send a basic printing job

Add a new action “Printnode - Print Document” and fill out the fields with the following info:

Printer_ID - id of your printer, you can find this ID in your Printnode app under “Devices” next to the respective printers name (usually an eight-digit number) REQUIRED
Printout_Title - the name of the document you want to print REQUIRED
Printout_URL - the URL where the document you wish to print can be found (this can be a PDF document or a RAW file, if you want to print from a printer that supports this) REQUIRED
print_source Where this print originated from (e.g. “my bubble app”) REQUIRED
content_type - You can print PDF (set to “pdf_uri”)and RAW (set to “raw_uri”) files from their URL or post base64 encoded PDF (set to “pdf_base64”) and RAW (set to “raw_base64”) files as text strings. Posting base64 encoded content is not recommended because the endpoint can time out and the file won’t be printed. REQUIRED

The workflow action will return the printjob’s id.

If you want to set up more options for the printjob, you can use the “Print Document (with Options)” workflow action and set up things like page rotation, select the paper tray of the printer, etc.

For more info, please feel free to ask questions here or refer to the printnode API documentation.

Happy printing!

3 Likes

Does this work on mobile?

Unfortunately not, there are no printing clients available for mobile devices.

Thanks

Hi

This is great - I have used Printnode (not with bubble) and it works really well - we were probably automatically printing circa 100,000 labels per year and it was very reliable. I am currently developing a Bubble App and will use this plugin!

1 Like

Great to hear! Right now the plugin functionality is limited to printing only. I am planning to add more functions like USB Weightscales, etc. later on.

Hi Manu,

Not integrated with Shipping scales but if you want someone to help test let me know… Was always interested in it!

How are you creating the shipping labels? I have looked at a few API’s but think i will go with Shipengine…

Thanks

We are creating most of our labels directly via DHL’s interface. For other carrier’s labels we use the provider shipcloud.io