This topic is locked
[SOLVED]

 Print Multiple View Pages in PDF View

3/11/2020 3:25:16 PM
PHPRunner General questions
lefty author

I select for example 3 records on list page , Then Click print selected . Now on the print view page , I click button PDF View .

I have setup to Print view page not print page . The issue is the generated PDF only generates 1 record and not the other 2. I need to generate the pdf with multiple view pages

so the user does not have to generate one at a time.
My Button Setup is

PDF page = View

PDF Records Per Page 3

PHPrunner 10.3 / build 34513
This happens to be an additional print page that I am using to try and accomplish this. (print1). And I cannot just use the print page as my details will not print images on the print page nor print view but do show up in the PDF , so as a workaround I am using the view page along with the PDF View Option.
Any help will be much appreciated on this one. Thanks in advance.

Sergey Kornilov admin 3/12/2020

View page is designed to display a single record only. If you need to display/print/export multiple records you need to use the Print page.

lefty author 3/12/2020



View page is designed to display a single record only. If you need to display/print/export multiple records you need to use the Print page.


Okay , So that is not an option although it gives you that option of view page and how many records per page in designer mode.
So I need to use Print page . Now my issue is I have details from another table that are on the print page 3 fields , one of them is an image.

2 Fields show and all 3 labels , but not the image. I have debugged and the mfhandler is there with the JSON output. No error.
Just to make sure my project was not corrupted, I tested on another project and same issue. Had this same table setup in 9.8 and never have or had an issue with details image on print page.

Just to make sure it is not the printer setup or printers I used , I went to a live 9.8 project with image details and they show in the print page view and print on page.
These below are two different images but same code.

Update : Developer Mode Element Code for 9.8 : This Shows on print page
<img border="0" style="max-width:300px;max-height:300px;" src="mfhandler.php?file=11-18-2019-11-11-50_Patron%20Wooden%20Barrel%27.jpg&amp;table=POS_Inventory_Photo&amp;field=fldphoto&amp;pageType=print&amp;key1=4353&amp;nodisp=1">
Developer Mode Element Code for 10.3:on print2 page : This Does Not Show on print page
<div class="r-images" data-images="[{&quot;image&quot;:&quot;mfhandler.php?file=10-24-2019-11-44-18_Seaglass%20light%20house%20display%27.jpg&amp;table=pos_calc_photos&amp;field=fldphoto&amp;pageType=print&amp;page=print&amp;key1=5531&amp;nodisp=1&quot;,&quot;filename&quot;:&quot;10-24-2019-11-44-18_Seaglass light house display'.jpg&quot;}]" data-thumbnails="" data-multiple="3" data-max-images="1" data-gallery="" data-gallery-mode="" data-caption-mode="" data-width="300" data-height="300"></div>
Only thing I see that looks suspicious is in 10.3 it shows page=print , shouldn't that be print2? And I guess source was changed in 10.3 to output as JSON instead of URL . Maybe I need to decode it again in the this master table view ? Not Sure if this is the way it is supposed to show?
Any ideas? Thanks for the reply.

Sergey Kornilov admin 3/12/2020

It is impossible to understand what you talking about, you are mixing too many things together. PDF View, additional print pages, images, master-details.
Try to narrow it down to the source of the issue like "images won't show on Details page but will show when the same table is open standalone". If you can build a simple example like this where this issue can be clearly seen - upload it to Demo Account and contact support directly.

lefty author 3/12/2020



It is impossible to understand what you talking about, you are mixing too many things together. PDF View, additional print pages, images, master-details.
Try to narrow it down to the source of the issue like "images won't show on Details page but will show when the same table is open standalone". If you can build a simple example like this where this issue can be clearly seen - upload it to Demo Account and contact support directly.


Will do a small demo project and upload to demo and open ticket with screenshots.

lefty author 4/25/2020



Will do a small demo project and upload to demo and open ticket with screenshots.


The images now print on the print page . Solved in Build 34917.10.4.