You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2013-03-12 15:48:37

tabad
Member
From: Manzanares, Ciudad Real, Spain
Registered: 2011-09-23
Posts: 89

[Print to PDF] It is not possible to get a report for a set of items.

Hello to all,

My GLPI v0.83 test environment is as following:

.- The server
   .- Ubuntu Server 12.04.2 LTS (Quantal Quetzal) - Architecture AMD64
   .- GLPI v0.83.7
      .- GLPI v0.83.7 Agents
         .- Bays Management v1.3.2
         .- Data Injection v2.2.4
         .- FusionInventory for GLPI v0.83+2.1
            .- FusionInventory v0.83+2.1
            .- FusionInventory DEPLOY v0.83+2.1
            .- FusionInventory INVENTORY v0.83+2.1
            .- FusionInventory SNMP v0.83+2.1
         .- Print to PDF v0.83.3
         .- Reports v1.6.1
         .- Shell Commands v1.5.2
         .- Web Services v1.3.1

.- The agents
   .- FusionInventory-Agent v2.2.7-3 (for Windows)
   .- FusionInventory-Agent v2.2.7-3 (for GNU/Linux)

Then you ar into an some item (computer, monitor, printer, etc.)

Home > Inventory > Computers > MyComputer

and select the tab "Print to pdf", the fields you want to inclute into the report and do click on "Print" button, the report is generated correctly.

The problem is when you are into a item section ("Computers" for example)

Home > Inventory > Computers

select (check) some of them (or only one of them), "Print to pdf" in the list of actions and do click on "Post" button. In this last case, the report has a empty page for each item you have selected.

Conclusion, It is not possible to get a report for a set of items.

Last edited by tabad (2013-03-12 15:50:02)


Tomás Abad

Offline

#2 2013-03-12 20:19:38

tabad
Member
From: Manzanares, Ciudad Real, Spain
Registered: 2011-09-23
Posts: 89

Re: [Print to PDF] It is not possible to get a report for a set of items.

Hello again,

I don't know but perhaps this problem have been reported yet. Take a look to Bug #3829.

Regards,


Tomás Abad

Offline

#3 2013-03-13 13:22:02

tabad
Member
From: Manzanares, Ciudad Real, Spain
Registered: 2011-09-23
Posts: 89

Re: [Print to PDF] It is not possible to get a report for a set of items.

Yllen, thank you for your patch #3829; it works correctly (only print the main information for each selected item) but I have a one more request; could be possible to select what tables to print in the massive PDF report? (be able to select tables as well as when a report is generated for a particular item)

Thanks in advance.

Last edited by tabad (2013-03-13 13:33:22)


Tomás Abad

Offline

#4 2013-03-13 15:32:28

remi
GLPI-DEV
From: Champagne
Registered: 2007-04-28
Posts: 7,127
Website

Re: [Print to PDF] It is not possible to get a report for a set of items.

=> check the user prefs.


Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/

Offline

#5 2013-03-14 11:10:48

tabad
Member
From: Manzanares, Ciudad Real, Spain
Registered: 2011-09-23
Posts: 89

Re: [Print to PDF] It is not possible to get a report for a set of items.

I have followed your instructions and all is perfect.

Once again, thanks you (plural) for this great project.

Best regards,


Tomás Abad

Offline

#6 2013-03-14 11:35:55

tabad
Member
From: Manzanares, Ciudad Real, Spain
Registered: 2011-09-23
Posts: 89

Re: [Print to PDF] It is not possible to get a report for a set of items.

Only one more thing...

Could be possible that the 'Post' button for the 'Print to pdf' massive action opens a new browser tab instead of load de PFD file into the current browser tab?

Thanks in advance.


Tomás Abad

Offline

Board footer

Powered by FluxBB