Is there a way to use Print with Actions and VBO (http://drupal.org/project/views_bulk_operations) so that it is possible to export multiple pages as PDF?
This would be a great feature.

Comments

jcnventura’s picture

Project: Printer, email and PDF versions » Views Bulk Operations (VBO)
Version: 6.x-1.7 » 6.x-1.x-dev
Category: feature » support

Ask this question there...

anrikun’s picture

print module is there: http://drupal.org/project/print

infojunkie’s picture

Project: Views Bulk Operations (VBO) » Printer, email and PDF versions
Version: 6.x-1.x-dev » 6.x-1.7
Category: support » feature

The Print module doesn't seem to export either actions or node operations. Therefore, VBO cannot reuse the functionality provided by Print.

Sorry to be playing ping-pong with this issue, but it does belong to the Print module. I cannot encapsulate every bit of functionality provided by each module. For an example of how to write an action, you can refer to actions that are bundled with VBO.

jcnventura’s picture

Status: Active » Postponed

Thanks for the info.. I don't know/use the VBO module so I didn't know what was necessary. Now I know. So the ping-pong was very useful.

When someone n€€d$ it enough or submits a patch I will be willing to implement it..

João

anrikun’s picture

Ok I will try to write a patch as I need this feature. Thanks for your answers to both of you!

wadmiraal’s picture

Hi all.

Bringing this up again. Any news on this patch ? Could really be usefull. I'm not familiar with VBO and still a Drupal API newbie, but am willing to dive in to help out.

Cheers

Fr0s7’s picture

I also need this feature. My project calls for:

  • Presenting a list of nodes in a View (custom Content Type called Coupon which has a CCK image field for a printable coupon image)
  • Allowing the user to select the Coupons they want (using Views Bulk Operations)
  • Allowing the user to print the selected Coupons on a single page.

Are we all asking for the same thing?

sprugman’s picture

subscribing

jmaties’s picture

+1

attiks’s picture

#0: We solved multi page pdf by using views to render the nodes and by adding the following to our css

      div.views-row {
        page-break-after: always;
      }

The view uses a taxonomy to group pages (flag module will work as well) and we added an order field so we can order the pages.

#7: Just use the flag module in combination with views

jnephew’s picture

I would like this as well for users to be able to download their interactive content. And i am willing to pitch in, but also very new, learning PHP (but a long time java programmer).

jelo’s picture

I am not sure why actions or VBO are needed, but it seems that what a couple of people are asking for can easily be done with views. Just create a view named print_basket or whatever that takes NID as argument in the url and allow multiple arguments. I used the path "p" for a page display to keep it very short.

Example: www.example.com/p/3,5,8

Display fields title and body (in my case all that is needed as I am only printing pages, if you use CCK or custom content types you would need to select the CCK fields to be displayed) in the view. This will produce a page that shows nodes 3,5 and 8 all on one page.

Add printpdf prior to your view URL: www.example.com/printpdf/p/3,5,8
Give it a nice alias.

This works for me to create PDFs from various pages on the site (preconfigured with a nice URL). If you want your users to select what they want to print, you might be able to expose filters to them that allow selection of pages...

Cheers, J.

jgarbe’s picture

I'm reviving this...if what you're looking for is a list of nodes in a pdf, then the above solution works just fine. However, we're implementing this module to provide users with a running pdf booklet they can flag pages to as they are on the site, and then click a link to download it. The problem is that you cannot flag a view and do this (or a panels page) because then you would be trying to display a view within a view. Does anyone know an alternative approach to full node view construction for sending multiple pages to the printpdf function? Thanks!

jcnventura’s picture

Status: Postponed » Closed (duplicate)

Except for the fact that this was asking for VBO, this seems to be exactly the same as #348682: Concatenate node on print, PDF and email (Print basket).

I'm closing it as a duplicate of that one.