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 for Programming
 LabTalk Forum
 printing of dialog builder windows
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

tinkusch

Germany
94 Posts

Posted - 09/29/2005 :  12:27:07 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (Select Help-->About Origin): 7.5 SR3
Operating System:XP

Hi,
I would like to print a window, created with the dialog builder, which contains some graphs as a result of a calculation, each has several layers.
Is it possible a) to print/preview the whole dialog builder window?
and b) to print/preview parts of it, e.g. a graph or a layer?


Thanks for any hint!

bye

Stefan


Mike Buess

USA
3037 Posts

Posted - 09/29/2005 :  5:36:26 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Stefan,

I don't think you can print a DB dialog window directly from Origin but screen shots work fairly well. Alt+Print Screen will capture only the dialog window so you don't need to crop the image after pasting to a graphics program.

Mike Buess
Origin WebRing Member
Go to Top of Page

tinkusch

Germany
94 Posts

Posted - 09/30/2005 :  04:58:31 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Mike, thanks!
I have meanwhile found out that it is also possible to copy & paste a DB-window to a ORIGIN layout-window with ALT + PrintScreen. There is also a second alternative: If the DB-window contains a graph one may add the graph to a layout-window via the menue entry Layout->Add Graph. This has the advantage that only the graph and not the entire DB-window is copied. The question is, whether this can also be executed via a macro or a LabTalk script?

thanks & bye

Stefan

Go to Top of Page

Mike Buess

USA
3037 Posts

Posted - 09/30/2005 :  12:57:34 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Stefan,

Labtalk can't do much with the layout window. However, if you can add the graph to a layout you might also be able to export it to an image file using export.image() or image.export(). I've never tried so not sure which (if either) will work best, but should look something like this...

win -oa graphName {
export.image(C:\Temp\img.jpg,JPG);
};

If that works you can import the image to the layout like this...

win -a layoutName;
image.filename$=C:\Temp\img.jpg;
image.import.object();

See this topic for hints about sizing and positioning objects in the layout window...
http://www.originlab.com/forum/topic.asp?TOPIC_ID=1640

Mike Buess
Origin WebRing Member

Edited by - Mike Buess on 09/30/2005 1:22:01 PM
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