Fatal error: Call to undefined method Inline_Frame_Decorator::get_current_line_box() in C:\xampp-portable\htdocs\Drupal_test\sites\all\modules\print\lib\dompdf\include\absolute_positioner.cls.php on line 92

Please any on have solution help me...........

Comments

arti123’s picture

Title: Fatal error: Call to undefined method Inline_Frame_Decorator::get_current_line_box() in » How Use Print Module for Custom Form
Component: Code » Documentation

I have used Print Module for my custom form but it show only that textfield only its value become blank means that form page is refresh totally when i click on print or pdf link plz any can help me to solve this problem

rkfsat’s picture

I'm having the same problem. Any assistance would be greatly appreciated.

jcnventura’s picture

Status: Active » Postponed (maintainer needs more info)

When you press the print button, the module will re-create the form page. This means that all values will be lost. The module should not be enabled in the form itself, but on a post-submit page created by the user.

In alternative, you can add a submit button to your page, theme it to look like the print icon, and then call the module - via that button's PHP handler - to generate the print page for you. Your print button handler can then return the user to the original editable form.

jcnventura’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

No further info in more than two weeks. Closing the issue.

lissy’s picture

Issue summary: View changes

I am using form-Items as Checkboxes for a Checklist, a user can print and anser the Question for his own Checklist-proposes.
It is fine with printing.
http://www.montviso.de/print/content/checkliste-projektanfrage

But the page
http://www.montviso.de/printpdf/content/checkliste-projektanfrage
gives the error "Call to undefined method Inline_Frame_Decorator::get_current_line_box()" in log and a white page.

I am using dompdf_0-6-0_beta3.
What can I do?