Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [printing]

Use it for questions related to physical printing of content.

-1
votes
1answer
69 views

How to add header and footer to generated pdf file? [closed]

I need to theme the pdf file, which I generate using Entity Print module for my Drupal 8 website. I am using wkhtmltopdf php engine, the class implements AlignableHeaderFooterInterface and there are ...
0
votes
0answers
14 views

How to get two columns layout for print using Display Suite?

Using Drupal 8.6.1, Display Suite 8.3.1, Printable 8.1.0 (ex-Printer, email and PDF for D7) My content type A is displayed with two columns stacked (provided by Display Suite) and it works fine on ...
0
votes
1answer
223 views

wkhtmltopdf 0.12.5 (with patched qt) First page always Bold

Here my config. 1. D7 7.59 2. Print module : 7.x-2.0 3. Ubuntu 16.4 4. wkhtmltopdf 0.12.5 print module config. unclick > "Keep the current theme CSS, all config" So. use std print.css file Only,...
0
votes
1answer
45 views

Batch API timing out (running as one operation?)

I'm trying to print ~100 nodes worth of content (Performance Plans) out to the private file system using the batch API. My process works perfectly up until about 10 of them and then times out. The ...
0
votes
1answer
18 views

How to generate more than one pdf from a node?

I need to generate two or more PDF from the same node with different templates. e.g.: from a reservation page of a accomodations site I would generate a PDF for client, a PDF for owner and a PDF for ...
0
votes
0answers
33 views

multiple page and button definitions in the entity print module

first of all, I should apologize for my weak English now I'm using the entity print module for a portal project. the requirements are to enable different pdf export funtionality. I mean we need to ...
0
votes
0answers
27 views

Trouble changing print orientation with Entity Print

I am using entity_print and wkhtmltopdf to generate a PDF from a view. Unfortunately, I am having trouble getting the page size or orientation to change. I can't get it to work in either CSS @page and ...
1
vote
1answer
195 views

D8 Programmatically change page orientation for Entity Print module

In many projects, some entities needs to be printed on LANDSCAPE format, others, on PORTRAIT. I was searching for an example or, maybe, a more precise way to implement a page orientation hook, but ...
0
votes
2answers
2k views

Entity print get variable in twig template

I'm using entity print and I would like to get node variables in my twig template, so I can call them like {{ content.field_name }}. I tried using a preprocess function but I'm not sure I'm doing ...
0
votes
1answer
87 views

Remove paper size options on node add forms

Node add forms show some paper size options no matter who the user is, even regular authenticated users. It seems to be part of the Printer, email and PDF versions module. I added the following code ...
0
votes
1answer
31 views

Canonical link on node's print version

I'm using Metatag and Printer, email and PDF versions modules, and I want to have the canonical link on the print version of the nodes too, but for some reason they're only showing on the regular ...
-1
votes
1answer
44 views

Create a postcard for each item in a view

I have a view of user data. I want to print a postcard for each one with name and address from the view on the front and other data from the view on the back. Ideally, there will four postcards per ...
1
vote
0answers
227 views

Print module and wkhtmltopdf - How to install on linux centos shared hosting

I use The Print 7.2.x module and want to work with The wkhtmltopdf library. I downloaded library files from this address: https://github.com/wkhtmltopdf/wkhtmltopdf (this comment adviced to download ...
1
vote
1answer
30 views

remove fivestar rating from $print['content'] in print module

I installed the print module. But in the print view, the fivestar rating of the node is shown. How can I remove it? It seems to be in $print['content']. Any help appreciated.
1
vote
1answer
152 views

Change print icon programmically through template.php

I'm using the Print module, version 7.2, and trying to change the icon through the template.php. After researching, I have found the main functionality in the FAQ of the module, which provides this: ...
1
vote
1answer
973 views

Remove added URLs after link when printing a page [closed]

I am using the Print module, but the links in the body of my articles are followed by their URL. How can I remove the URL when I am printing a page? What I have now is some test with some URL (...
0
votes
1answer
374 views

How to install a third party library for Printable module using composer (D8)?

I installed the "Printable" module but it doesn't work. When I try to configure the PDF for the Printable module it says: "You are seeing no PDF generating tool because you have not installed any ...
0
votes
1answer
108 views

Printable Templates for Views using Print Module

Any views related report can be printed using the Print module when enabled. This can be achieved by simply using /print/views-url. It uses the standard print.tpl.php. I do not want the print version ...
0
votes
2answers
50 views

Can I configure Send by Email to use CC instead of BCC?

So I have a node that is using the Print Module (www.drupal.org/project/print) and it's associated send by email functionality. The issue is that if I include multiple emails on the send by email ...
0
votes
1answer
17 views

Feature creation of Print module for path to print stylesheet

Using the print module, I need to create a Feature to deploy in order to set the path to the .css file to my themes directory on my production site. In Features, what do I need to check to make sure ...
1
vote
1answer
70 views

How to print the products (fields) on a node using a custom display

I am new to Drupal and I've been trying to create a site to function as a lending inventory. I have so far created a new content type with my fields (describing product details) which the user fills ...
1
vote
1answer
50 views

Print module doesn't work with Panelizer module. Why?

I need to make print pdf module work on the panelizer node. But on page printpdf/node/nid, I see only the node title and panelizer field is not shown. How to fix it?
1
vote
0answers
29 views

Drupal print Module page display issue

I have installed drupal print module(latest stable version) and working fine with loads of config unless a big problem that the full content(A view of sets of views) are displaying in one page only,if ...
0
votes
1answer
99 views

Can I invoke a template for print media?

I have a node type that is usually viewed as a web page but the client requires that occasionally it is also printed out in hard copy. There is quite a lot I can do with css and media queries for ...
1
vote
2answers
919 views

DOMPDF not showing images and writing empty tmp files via print module

I recently moved a Drupal 7 website from my development server to my pre-production server, and the rendering of the images from both the Body field and various images fields stopped working. I now ...
1
vote
0answers
44 views

html tags not filtered with print module and html mail [closed]

I'm building a site (drupal 7.41 version) with the following modules: Printer, email and PDF versions HTML Mail Mail System Well, I had that to create a simple message with print module and ...
0
votes
0answers
51 views

Generated PDF not using values selected from dropdown

I have a Drupal site that essentially is a product display where each individual item can be viewed with an "upgrade" from a dropdown menu. Within this page the module mPDF is used to generate a pdf-...
0
votes
2answers
133 views

How to print only certain block of content in a view

I have a view that displays shipping details that you print and put on a box before shipping. But using Print module when you click the link it gives entire page to print with all the headers, footers ...
0
votes
1answer
190 views

How to print barcode labels on standard printer drupal?

I am using barcode creation module to create barcode labels on standard printer.while giving print option it is not showing any barcode labels on print preview. How can i able to see my labels? ...
0
votes
1answer
37 views

Print module and missing breadcrumbs of Crumbs modules

I use crumbs module to maintain custom breadcrumbs. Also, I use print module to maintain printer's friendly pages. The breadcrumbs works perfectly in the ordinary pages. However, using print module ...
1
vote
0answers
83 views

How to print nodes in bulk?

I have a view where I am listing all the nodes. user can select the ones he wants to print in bulk. I am able to show the print option in VBO but I am stuck with next step as how to send all the ...
3
votes
2answers
262 views

Why can only admin user access the print version of a view?

I have installed the Printer, email and PDF versions module and I have a view named XXX and the admin can access to the print version of the XXX view with the path /printpdf/XXX. If I change the ...
0
votes
2answers
7k views

Add header and footer for every pages printed

I've used print module version 7.x-2.0. I've used pdf-version and print-friendly-version. Now i want to do two different things. That is, Is it possible to add separate CSS for pdf, html or email ...
2
votes
1answer
698 views

Remove header and footer of the page when export node to pdf using print module

When I use the print module for export node to the pdf file are facing a problem that I could not handle that it automatically generates header and footer for my page pdf. I want to remove the header ...
0
votes
1answer
177 views

Printing printer friendly version of nodes in bulk

My scenario is this, a user selects a bunch of nodes and selects to print all the nodes. What I'd like to happen is, once the user clicks the print button, the print dialog opens up and all the nodes ...
2
votes
2answers
401 views

PDF version is different from Printer frendly version - using dompdf

Using the Print module, I managed to get dompdf working to some degree. However, there are differences between the 'printer friendly version' and the 'PDF version' generated, specifically with regard ...
2
votes
1answer
410 views

how to css print page [closed]

My page is designed with display suit layout. Once I click the printer friendly link, I do get the print page. In print module settings, I have entered custom css path > which is themes/bartik/css/...
0
votes
1answer
90 views

Add custom styles for printing taxonomy terms

I'm using print module for generating a PDF file. Here, the node that I'm printing has a field that lists all the taxonomy terms for that specific node. When the page is printed, the taxonomy terms ...
1
vote
2answers
431 views

How do I use print to generate a PDF of all entities referencing a specific node?

I'm trying to use the Print module to generate pdf's and epubs of the stories on my site. However, I need to get Print to generate these files from the story page and then generate the pdf with ALL ...
0
votes
1answer
38 views

Print view in email notification

I have created View and that is with edit node from admin side, and I want to send same view by printing in email and I am using code to print view in email like this $items['user/%user/display']['...
1
vote
0answers
18 views

Is there a way to create and print a quotation by site admin in drupal commerce?

I have drupal commerce site, I want to create a quotation for some cutomers who won't to buy from the site. For now I create a user and an order with 'in cart' statut for this user and I print it ...
0
votes
1answer
49 views

Finding the Machine Name of an Module-based Field Added to $content variable

I need to edit a field added to my $content variable by a contrib module called Print, email, and PDF versions. It creates a link at the top of the content region that says 'Print PDF' and prints a ...
0
votes
2answers
3k views

Print selected fields in page tpl Drupal 7

For some reasons, I have to customize the display of the content node programmaticaly, mixing content from other sources. Instead of making a print(render($page['content'] which outputs all the ...
3
votes
3answers
496 views

How to hack a module which has not API

I am using the module Print for print/mail node's content. However, I have problems to send email. I want to hack the module, so it will use the PHP class PHPMailer instead, and will hard-code the ...
-3
votes
1answer
106 views

How can i make the tabular data to fit into the page while print either using DOMPDF or css in Drupal [closed]

I actually have tabular data, with dynamic number of columns and rows. If there are more columns,On the screen we can make use of overflow property. But if I want to print the same, the data is ...
0
votes
1answer
917 views

Add a signature and date line to node print template?

I am trying to find the cleanest way to create a signature (your written signature, not forum signatures) and date line on printable pages. I would like to do it without actually changing template ...
0
votes
1answer
2k views

Changing page orientation of a pdf of a views generated by the Print module

The Print module (https://www.drupal.org/project/print) allows users to generate a PDF of nodes, views and panels. It allows for the selection of a default page orientation (portrait or landscape), ...
4
votes
2answers
2k views

PDF with print module and wkhtmltopdf - how to install?

I try to generate pdf with the print module and have tried it with the PDF generators MPDF and DOMPDF. Unfortunately, the results are of no use, which is why I want to try wkhtmltopdf. I read good ...
0
votes
0answers
130 views

Add a print button on “review order” page of commerce

Okay I'd like to know if there's a way to edit the "Order Review" page of a Commerce order and add a print button to it?
0
votes
1answer
147 views

How to NOT “Print” a section by using Print module?

I installed "Print" and "Book Made Simple" modules on Drupal 7. The Print module also print the button "add this child" from "Book Made Simple". How can I not print "Add this child" on PDF? below ...