Print multi-contents into a single file through an URL /print/pdf/node?ids={34,100,1000}

Created on 19 April 2023, over 1 year ago
Updated 14 August 2023, over 1 year ago

Problem/Motivation

It is a great module. Thank you!

The client wants to print multi-contents into a single file through an URL such as /print/pdf/node?ids={35,160,1201}.

The feature is able to expose an URL with a multi-NodeIds query string (?ids={35,160,1201}). It allows the anonymous user to print multi-contents in a PDF file without accessing a view by using the plugin action "PrintDownload".

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Active

Version

2.0

Component

Code

Created by

🇨🇦Canada jamesyao

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @jamesyao
  • 🇦🇺Australia jannakha Brisbane!

    You might need to think about a server-side command for it (eg send these ids to the queue and queue processing will generate PDFs of those nodes) as it might take too long and browser request will timeout if your nodes are too long/big and take too long to concat.

    Also, you can entity-print a view with full display of those ids.

    I generate 40-50 page long documents using this module (including 10-15 different nodes) using a queue processing - no way it's possible to do in browser requests (unless it's a long running op).

Production build 0.71.5 2024