Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 383
  • Last Modified:

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???
0
TheBull369
Asked:
TheBull369
  • 11
  • 8
  • 3
1 Solution
 
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!
0
 
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.
0
 
marilyngCommented:
Grin - I'm so cheap, it never occurs to me that people might want to buy products. :))
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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

Coincidence??
0
 
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.
0
 
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.
0
 
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.
0
 
marilyngCommented:
Really sorry, I can't post the VIEW code, or article.
0
 
TheBull369Author Commented:
Yep, thats the same article that Sjef posted....
0
 
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.
0
 
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)...
0
 
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??
0
 
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.  
0
 
TheBull369Author Commented:
Argh... I know I tried that and it didnt work but it worked that time..... thanks
0
 
marilyngCommented:
It's the ole notes designer cache with it's grappling hook squeeze on the designer workspace.  
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 11
  • 8
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now