Page 1 of 2
REPORT PRINTING
Posted: Tue Jul 07, 2009 6:46 am
by hilario
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
Re: REPORT PRINTING
Posted: Tue Jul 07, 2009 11:11 am
by justin
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
Re: REPORT PRINTING
Posted: Wed Jul 08, 2009 1:36 pm
by hilario
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.
Re: REPORT PRINTING
Posted: Wed Jul 08, 2009 1:53 pm
by justin
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
Re: REPORT PRINTING
Posted: Thu Jul 16, 2009 11:46 am
by hilario
Don't understand why NOW it is working.
Thanks
Re: REPORT PRINTING
Posted: Thu Jul 16, 2009 12:02 pm
by hilario
Problem appears with IMAGO report.
I copied the format you indicate on wikipedia, but something must be wrong.
Could you have a look?
Regard
Re: REPORT PRINTING
Posted: Thu Jul 16, 2009 1:41 pm
by justin
Hilario,
There were two problems in the IMAGO template.
1) There were extra right/left quotes.
Example
Code: Select all
<div class="“bodytext”">
instead of
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
Re: REPORT PRINTING
Posted: Fri Jul 17, 2009 12:57 am
by hilario
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
Re: REPORT PRINTING
Posted: Fri Jul 17, 2009 2:14 pm
by justin
Hilario,
I am referring this to a developer who will followup with you.
Thanks,
Justin
Re: REPORT PRINTING
Posted: Tue Jul 21, 2009 7:22 pm
by jeremy
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