Will it be possible if you can select all the results form a view and have it sent to a printer so that you can print it. Currently there isn't a way (that I know of) to do this unless someone can prove me wrong. It would really be great. Thanx
Will it be possible if you can select all the results form a view and have it sent to a printer so that you can print it. Currently there isn't a way (that I know of) to do this unless someone can prove me wrong. It would really be great. Thanx
Comments
Comment #1
infojunkieWhat do you want to print exactly? Each node as it would be rendered if it were printed individually?
Comment #2
mudsurfer commentedI'd like to add a +1 to this request. I have a current project where I need to print hardcopies of user content profiles. I have Views configured to list all the users (based on specific criteria at the time), but now I need a way to select multiples (or select all) these users and print (hardcopy) their content profile, as individual hardcopies.
Currently I can print a view of ALL content profiles - but it's one long document that gets printed without page breaks. Have been working for 2 days to inject CSS, or replace field with HTML code to trigger a page break - but to no avail so far.
A simple wayto do this via VBO would be brilliant and far more flexible.
I could see use for same function to print individual nodes or other types, not just content profiles.
Thanks :)
Comment #3
vip_sa commentedI would like to print the result of a view so in other words if the result shows 100 lines of records each having a couple of fields then I would like to print all 100 lines or if possible select which ones I want to print. But basically the result of the whole view.
Comment #4
vip_sa commentedSo can this be done?
Comment #5
infojunkie@batllingnewbie: Yes it can be done, and probably without any coding:
1. Create a destination view that displays the print version of your items. Make it accept an argument Node: nid with option of multiple nids.
2. Create an advanced action with "Pass objects as arguments to a page" (at settings/actions/manage). The URL should point to the destination view above.
3. Create a source VBO that exposes the above advanced action.
Let me know how that works!
Comment #6
vip_sa commented@infojunkie
Thanks allot for the information. All french to me since I'm no expert.
What is a destination view pls?
What is a source VBO pls?
Thank you for the help it's much appreciated.
Comment #7
infojunkie"Source" and "destination" are just concepts, they're not configured as such anywhere.
I should have explained the general idea first: We're going to create 2 views, one being the VBO "source", and the second being the printed "destination" view. A user goes to the source VBO and selects some nodes , then selects the "Print" action (which refers to your advanced action as described in my previous post). This action redirects the user to the destination view that a) accepts the selected nodes as argument, and b) is styled for printing. The user can then print the page.
Hope that's clearer!
Comment #8
vip_sa commentedThank you! I am going to create what you explained here and will post the results here. Again thank you very much.
Comment #9
mudsurfer commentedThanks infojunkie for those ideas. (and sorry for my delayed response). I have not used arguments before - have struggled conceptually to get the idea into my head, but I will use this as the excuse to learn! Thanks. Will report back hear when I have tried your technique.
Comment #10
bojanz commentedSensible solution provided by infojunkie.