The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 Multiple graphs in one pdf file
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

peter.cook

UK
356 Posts

Posted - 11/27/2003 :  06:58:42 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi,

Some of our applications generate mutliple (100s) of graphs. Can I create a single pdf file via code such that there is one graph per page (100s)?

Cheers,

Pete

easwar

USA
1964 Posts

Posted - 11/28/2003 :  10:18:26 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Pete,

Origin's graph export library currently cannot place multiple graph images in a single PDF file.

But if you have Adobe Acrobat (not just the reader), you can do the following:
1> export all your graphs (manually, or using script etc) to one folder location
2> Open the PDF file which should be the first page
3> Use the Document|Insert Pages menu item
4> Select the next page to be inserted - you will then get a dialog asking where to place the next page - pick the After option
5> Repeat for other files

You can try selecting all remaining files in step 4 instead of just one - I think that should work.

Not sure if Adobe Acrobat can function as a COM server - then you could automate this process directly from Origin.

Easwar
OriginLab.

Go to Top of Page

peter.cook

UK
356 Posts

Posted - 11/29/2003 :  09:25:16 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Easwar,

Thanks for reply.. This might do for me but not as a general solution for multiple users. Do you have any thoughts as to how then I might combine multiple graphs reliably into a single file. I liked the pdf files becuase they seemed to be much smaller in size than equivalent jpeg/gif and it would have been a nice solution.

Cheers,

Pete

Go to Top of Page

rlewis

Canada
253 Posts

Posted - 11/29/2003 :  12:55:01 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Peter ...
You may find it easier to implement Eswar's suggestion if you use the professional version of Adobe Acrobat version 6.0. With it, one can select File - Create PDF - From Multiple Files to open a dialog box which allows one select any number of PDF files (and other file formats) and to arrange them in the desired order before consolidating into a single PDF document ... I've done it and it is no where as tedious/painful as it used to be with earlier versions of Adobe Acrobat
Go to Top of Page

Mike Buess

USA
3037 Posts

Posted - 12/01/2003 :  09:23:33 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Pete,

A third party program is required to create such a graph archive but Adobe Acrobat is rather expensive for most users. I've found that it's cheap (free) and easy to create a graph archive in the form of a compiled HTML Help file. This method has a number of advantages...

1. The MS HTML Help Workshop is available free to everyone.

2. A graph archive can be created entirely in Origin using the HTML Help command line compiler hhc.exe.

3. Depending on the chosen image format the resulting CHM files can be quite small. I use WMF and my archives compare favorably in size with corresponding PDFs.

My OC code for Origin 7.0 SR4 and 7.5 is too long for this post but it can be read and copied from here.

Disclaimers:
1. There is probably room for improvement in image quality. I found WMF to be easy and adequate for my purposes but it shouldn't be hard to try this with another format.

2. I've never tried it with projects containing more than 20 graphs. There's no reason why it shouldn't work with 100s of graphs but it may take some time. The CHM file is compiled in a (DOS) command window and it will be obvious when its done.

Mike Buess
Origin WebRing Member
Go to Top of Page

Mike Buess

USA
3037 Posts

Posted - 12/15/2003 :  09:10:13 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Pete,

I expanded on the Origin C file discussed in my previous reply and submitted it to the File Exchange as Project Catalog. Now you can add all windows to the catalog, including worksheets and matrices. Those are exported as ASCII files which can greatly increase the size of the compiled HTML Help file so an option is available for specifying the types of windows to add to the catalog. (You can exclude everything but graphs if you wish.)

Mike Buess
Origin WebRing Member
Go to Top of Page

MarieBurgan

USA
1 Posts

Posted - 04/18/2018 :  07:35:17 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi
As I understood, you want to combine several files into one. I know there are some apps which can be installed on your computer and you could use them. But my advice to you is to use a tool on https://www.altomerge.com/ that will merge your files easily online.
Go to Top of Page

Hideo Fujii

USA
1582 Posts

Posted - 04/18/2018 :  1:20:21 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Dear Origin users,

In soon-coming (possibly in next week!?) new version, Origin 2018b will be capable to export
multiple graphs into a single multi-page PDF file. See the details in the following page:

https://www.originlab.com/2018b

We hope people enjoy this new feature.

--Hideo Fujii
OriginLab

Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000