Michelle Adams Posted March 8, 2022 Share Posted March 8, 2022 I am about to pull my hair out researching why this is not working, or sometimes not working. I have an image of a checklist that we output as a pdf with the students initials and last 4 of id in the footer. I have scaled it down to test each checklist image separately here. 2 out of about 10 images will display. All images are located in the same folder in the repository. All images will open from the repository alone. If I change the format to HTML they all work, but I need PDF. If I do a HOLD file FORMAT PDF, it will write the file and display all the images(checklists). Why will it not work with PCHOLD FORMAT PDF Any help is appreciated. DEFINE FILE 1holdfiles/H_ACCEPTANCE_DRIVER_MANUAL CHECKLIST/A2000V= 'checklist_transfer.jpg'; SUBFIRST/A1V= SUBSTR(240, FNAME, 1, 2, 1, SUBFIRST); SUBLAST/A1V= SUBSTR(240, LNAME, 1, 2, 1, SUBLAST); FOOT1/A4V= SUBSTR(9, VNUM, 6, 9, 4, FOOT1); FOOT2/A6V= SUBFIRST || SUBLAST || FOOT1 ; END TABLE FILE 1holdfiles/H_ACCEPTANCE_DRIVER_MANUAL PRINT CHECKLIST AS '' BY LNAME NOPRINT BY FNAME NOPRINT BY PIDM NOPRINT WHERE STREET_ADDRESS1 NE MISSING; WHERE USERNAME NE MISSING; WHERE RESD NE 'M'; ON PIDM PAGE-BREAK FOOTING "<FOOT2" ON TABLE SET PAGE-NUM OFF ON TABLE PCHOLD FORMAT PDF ON TABLE SET STYLE * UNITS=IN, PAGESIZE='Letter', $ TYPE=FOOTING, SIZE=7, $ TOPMARGIN = 0.005000, $ TYPE=DATA, COLUMN=N4, IMAGE= (CHECKLIST), SIZE=(8.000000 10.000000), PRESERVERATIO= ON, $ ENDSTYLE END Link to comment Share on other sites More sharing options...
Warren Hinchliffe Posted March 10, 2022 Share Posted March 10, 2022 Is the image dynamic Was wondering why you have the image in a field, and not hardcoded Link to comment Share on other sites More sharing options...
Sarah Buccellato Posted March 17, 2022 Share Posted March 17, 2022 Hi Michelle, have you had a chance to review Wazs questions These may help the community offer some suggestions Link to comment Share on other sites More sharing options...
Michelle Adams Posted March 17, 2022 Author Share Posted March 17, 2022 Thank you Waz. Yes it is dynamic. The correct checklist depending on the student type needs to be displayed. I opened a ticket with TIBCO and after a lot of trial and error with them, we discovered it was the image format! I guess .jpg is not supported now. I changed all the images to .gif and works like a charm, like it use to Link to comment Share on other sites More sharing options...
Warren Hinchliffe Posted March 20, 2022 Share Posted March 20, 2022 I think GIF is a bit backward. JPG or even better would be PNG Im very surprised it doesnt work. Link to comment Share on other sites More sharing options...
Michelle Adams Posted March 21, 2022 Author Share Posted March 21, 2022 Yes I was too. I did not try PNG. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now