Link to home
Start Free TrialLog in
Avatar of TheBull369
TheBull369

asked on

Lotus Notes Document -> PDF

I am attempting to take a document collection and dump it all into one large PDF file. I want to create a button that would take the selected documents and do this. Some of the documents will need to be put into the PDF in Portrait mode and others would need to be in Landscape mode.

Anyone know of how to do this???
Avatar of marilyng
marilyng

Hi TheBull369,
Eesh, you'll have to print each out singly and decide which are portrait and which are landscape.  Then you'll need to combine all the pdf's into one.

Last time I wrote something like this it took me a week, using pdf995 and acrobat.  

Regards!
Avatar of Sjef Bosman
I don't know, but some of the tools on the market might be able to do that. See www.notestopaper.com or the Midas product at http://www.geniisoft.com/. And Acrobat itself has a COM-interface.
Grin - I'm so cheap, it never occurs to me that people might want to buy products. :))
LOL  Of Dutch decent?
Avatar of TheBull369

ASKER

Yeah we are cheap here as well... Let me ask ya'll this.... Is there anyway to programically print a document in landscape or portrait (based on a flag I set in the document) without the user having to do anything???
ASKER CERTIFIED SOLUTION
Avatar of marilyng
marilyng

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
TheBull369,
http://itextdocs.lowagie.com/tutorial/ << have you tried this?
Actually that is what I am working on right now.... Never used a true Java applet in Lotus so looking up the documentation on how to import that class and use it with a domino doc
the VIEW has a related article that does the step by step.  
the VIEW?
Probably.. I was looking through my VIEW CD last night (for R5) and fell across the PDF article, which has a dandy article on how to adapt the pdf applet, and included the link to the JAR.

Generating PDF Reports from Lotus Notes Views, May/June 2003
http://www.eview.com/

Haven't been on the techtarget site at all.. :)

TheBull369 - if you can afford this subscription, it is dandy.  Complete how to do topics and projects.   At any rate, the article does a step by step demonstration of how to integrate the jar into Notes.
Marilyn

do you know how I can view that article? I downloaded the code but didnt look like you could view the article without purchasing a membership.... It might be something we want to purchase for our company if it has good information in it.
Really sorry, I can't post the VIEW code, or article.
Yep, thats the same article that Sjef posted....
Oops, the link I just provided seems to be the same one that sjef posted... references the same article.  I just got the newsletter this minute.
No problem on the VIEW stuff... You can download the code without a membership just cant view the article.... Which is fine... let me see what I can do with the two pieces of information (your view and sjef's article)...
This may seem like a stupid question (been known to ask those) but I have the iText jar file and also have the while tree of class files... where do I put them so that lotus will find them?? When I try to compile the code I just keep getting

Package com.lowagie.text not found in import

I made sure the com.lowagie.text directory is some place in the path as well and still didnt work??
Add the iText.jar file to your project’s base directory and your classpath.   The easiest way to accomplish this task is to click the Edit Project button at the bottom of the Java agent pane in Domino Designer, and then select the proper JAR file to add the project by clicking the Add/Replace File(s) button.  This procedure will tell the compiler where to find the imported class files.  

Also, if necessary, modify the notes.ini variable called “JavaUserClasses” and set the system’s classpath variable to point to the location of the JAR file.  
Argh... I know I tried that and it didnt work but it worked that time..... thanks
It's the ole notes designer cache with it's grappling hook squeeze on the designer workspace.