REPORT PRINTING

Historical record of a forum that was for discussion of the setup, configuration, and use of OnePacs for research and educational purposes (non-clinical use).

Please direct any support inquiries through the standard OnePacs ticketing and support system.

The "Announcements" forum will continue to be active and contain announcements related to the OnePacs system.
hilario
Posts: 186
Joined: Tue Feb 24, 2009 4:49 pm

REPORT PRINTING

Post by hilario » Tue Jul 07, 2009 6:46 am

I am having problems printing in PDF and in Word. Even loading and creating the report template with the file on the wiki.
I also want to know if we could select many studies and print all the reports together.
thanks

justin
Posts: 371
Joined: Wed Nov 26, 2008 2:34 pm

Re: REPORT PRINTING

Post by justin » Tue Jul 07, 2009 11:11 am

Hilario,

What types of problems are you having? Could you be more specific?

It is not possible to select multiple studies and print reports.

Regards,

Justin

hilario
Posts: 186
Joined: Tue Feb 24, 2009 4:49 pm

Re: REPORT PRINTING

Post by hilario » Wed Jul 08, 2009 1:36 pm

When I see the report, I can click on the PDF or RTF button.

For Acrobat:
- Acrobat could not open
'xxxxxxxxxxxxxxxxx.pdf' because it is either not a supported file type or becasue the file has been damaged...
When I generate the file I see it as 0 bytes.

For RTF:
- Generate Blank file (nothing in it - 0 bytes)

If I click on the printer button:
- Printing is OK.

justin
Posts: 371
Joined: Wed Nov 26, 2008 2:34 pm

Re: REPORT PRINTING

Post by justin » Wed Jul 08, 2009 1:53 pm

Hilario,

Is there a particular study or template that is problematic? I just tried to pdf one of your reports and it worked correctly.

Thanks,

Justin

hilario
Posts: 186
Joined: Tue Feb 24, 2009 4:49 pm

Re: REPORT PRINTING

Post by hilario » Thu Jul 16, 2009 11:46 am

Don't understand why NOW it is working.
Thanks

hilario
Posts: 186
Joined: Tue Feb 24, 2009 4:49 pm

Re: REPORT PRINTING

Post by hilario » Thu Jul 16, 2009 12:02 pm

Problem appears with IMAGO report.
I copied the format you indicate on wikipedia, but something must be wrong.
Could you have a look?
Regard

justin
Posts: 371
Joined: Wed Nov 26, 2008 2:34 pm

Re: REPORT PRINTING

Post by justin » Thu Jul 16, 2009 1:41 pm

Hilario,

There were two problems in the IMAGO template.

1) There were extra right/left quotes.

Example

Code: Select all

<div class="&ldquo;bodytext&rdquo;">
instead of

Code: Select all

<div class="bodytext">
2) One of your authors signatures reference images that do not exist (aura.jpg). I removed the reference from the user's signature.

I fixed the above errors and now pdfs are generated appropriately.

Regards,

Justin

hilario
Posts: 186
Joined: Tue Feb 24, 2009 4:49 pm

Re: REPORT PRINTING

Post by hilario » Fri Jul 17, 2009 12:57 am

Good. Now I can print.
And I have to progressed on the report format.
Some little problems:
- As you know I have included a graphic signature in the author_credential_2. When I preview the report on the screen everything is OK. But when I print it on PDF, the size of the signature graphic is not kept.
- If you see the IMAGO report template I have a table with 4 columns. I would like to keep the size of the 2 columns with the "headers" fixed in order the format is not modified if the other text are two long and so on. I don't know how. I have played with the width characteristic of the cell without success.
- On the report template I have drawed three horizontal lines to separate header from body and so on. OK when I see them on the preview. But they don't appear on the printed document (in PDF)
You can see these situation on the report for "garcia correa".

That's all for the moment.

Regards

justin
Posts: 371
Joined: Wed Nov 26, 2008 2:34 pm

Re: REPORT PRINTING

Post by justin » Fri Jul 17, 2009 2:14 pm

Hilario,

I am referring this to a developer who will followup with you.

Thanks,

Justin

jeremy
Posts: 140
Joined: Wed Nov 26, 2008 8:34 am

Re: REPORT PRINTING

Post by jeremy » Tue Jul 21, 2009 7:22 pm

Hilario,

Hello. I believe that I have two or the three solutions for your last post.

1. The signature image size can be set using the width and height property. We also want to align the image to the left. We can then position the whole thing inside of a table so that it aligns properly in both PDF and HTML. For example the following text can be used in the user signature field.

Code: Select all

<table><tr><td align="left"><img align="left" width="165" height="88" src="https://web.onepacs.com:8443/onepacs/template-img/rg_folder_856/Firmas/MJM.jpg"></td></tr></table>
2. Instead of using the HTML to generate the horizontal lines we can use images. By using images the horizontal lines will be displayed on both the HTML and the PDF versions of the report.

3. The table column width currently cannot be set. There is already a development issue created to address this along with other current limitations with the PDF exporting.

I would be happy to implement the above changes to your template. Please post back to let me know a good time to update your template with the changes above.

Thank you,
Jeremy

Locked