COGNOiSe.com - The IBM Cognos Community

Legacy Business Intelligence => COGNOS ReportNet => Topic started by: chusdoit on 13 Dec 2005 03:54:23 AM

Title: problems with pictures in pdf
Post by: chusdoit on 13 Dec 2005 03:54:23 AM
hello,
i have a problem when i try to print a report in pdf format. My report has some pictures. When i view the report in html everything go ok but when i try to print it in pdf, the pictures don't appear. first i thought that was a memmory problem, so i change son values in the cognos connection but it doesn't work. can you help me??
Title: Re: problems with pictures in pdf
Post by: davidsoc on 13 Dec 2005 04:29:16 AM
We had the same problem. Try the following Cognos Support article...

http://support.cognos.com/kb-app/knowledgebase?document_search_show_document=1&document_id=1010082&version_id=1

Regards

Chris
Title: Re: problems with pictures in pdf
Post by: sir_jeroen on 13 Dec 2005 08:51:29 AM
Next time first search the forum...If I remember correctly this has been asked before
Title: Re: problems with pictures in pdf
Post by: chusdoit on 15 Dec 2005 03:05:45 AM
Hi Criss,

i have try with your sollution but the images don't appear.

thanks
regards
Title: Re: problems with pictures in pdf
Post by: cindyw on 21 Dec 2005 04:37:10 PM
We also had that problem. In our case, the images in the PDFs would sometimes appear, sometimes not.

On the web server, we created an virtual directory /imagescrn and pointed that to where the images resided on the web server. Then, on each app server, we created directories /imagescrn at the root level, and also placed all images files in these directories. You don't need directory browse enabled, just read access for the account that is running CRN.

Still don't know the exact problem, just a general issue of communication between the web server and the app server, but I do know that this fixed our problem.

Good Luck! ;D
Title: Re: problems with pictures in pdf
Post by: MrO on 22 Dec 2005 08:48:31 AM
You have to check a few things:
- Are you using CRN 1.1 MR2 or better? Previous versions had trouble with it.
- Are the paths to the images absolute? So 'http://server/crn/images/myimage.jpg' and not '../myimage.jpg'. CRN sometimes has trouble with the last one.
- Make sure 'everyone' has access to the file (read).
- Make sure the filesize isn't too big. Big file might cause this kind of behaviour.