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???
TheBull369Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

marilyngCommented:
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!
Sjef BosmanGroupware ConsultantCommented:
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.
marilyngCommented:
Grin - I'm so cheap, it never occurs to me that people might want to buy products. :))
PMI ACP® Project Management

Prepare for the PMI Agile Certified Practitioner (PMI-ACP)® exam, which formally recognizes your knowledge of agile principles and your skill with agile techniques.

Sjef BosmanGroupware ConsultantCommented:
LOL  Of Dutch decent?
TheBull369Author Commented:
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???
marilyngCommented:
OK, see this: http://www.experts-exchange.com/Applications/Email/Lotus_Notes_Domino/Q_21812713.html#16505399

but know it probably only works on LOCAL printers.  I usually use pdf995 as a local printer because then I can send all sorts of commands to the local printer, also, if I have to merge several, there is an omniformat part of the program.  Really easy to program and use because you step through the INI file to change the parameters.

The problem with mixing landscape and portrait is that the sending program (like word) has to send the printer commands to the network printer.  The front end usually does this because it's linked into the print queue.  However, when you start fussing with the back end, I could send the command to the printer to print landscape, but my queue might not come up for awhile, so everyone before me will have landscaped printed documents.   Because the command to change the printer needs to travel with the document, and not as a separate command as it would using the API.  ( I think.. could be wrong, and know that I will get all sorts of blasted if I am..:)

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
marilyngCommented:
TheBull369,
http://itextdocs.lowagie.com/tutorial/ << have you tried this?
TheBull369Author Commented:
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
marilyngCommented:
the VIEW has a related article that does the step by step.  
TheBull369Author Commented:
the VIEW?
Sjef BosmanGroupware ConsultantCommented:
Heh, someone posted this link http://www.lowagie.com/iText/ on http://go.techtarget.com/r/214779/2140716

Coincidence??
marilyngCommented:
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.
TheBull369Author Commented:
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.
marilyngCommented:
Whoa.... just got this submission:  http://searchdomino.techtarget.com/tip/1,289483,sid4_gci1176495,00.html?track=NL-348&ad=550303

SearchDomino posted today.
marilyngCommented:
Really sorry, I can't post the VIEW code, or article.
TheBull369Author Commented:
Yep, thats the same article that Sjef posted....
marilyngCommented:
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.
TheBull369Author Commented:
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)...
TheBull369Author Commented:
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??
marilyngCommented:
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.  
TheBull369Author Commented:
Argh... I know I tried that and it didnt work but it worked that time..... thanks
marilyngCommented:
It's the ole notes designer cache with it's grappling hook squeeze on the designer workspace.  
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Lotus IBM

From novice to tech pro — start learning today.