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
 Exporting to PDF
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

AtiLaw

UK
Posts

Posted - 01/07/2004 :  09:44:18 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Im having difficulty finding the labtalk command to allow me to export/saving a layout to a PDF file format.
I have read through the help and so on but still cant find a command that works. Anyone know the command??

AtiLaw

UK
Posts

Posted - 01/07/2004 :  10:07:01 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
OK, so panic over now... I managed to figure it out!!

If anyone wants to know the answer it is:

export.image(filename, filetype);

So for me it was something like export.image(file.pdf, pdf);

Thanks anyway people.

Go to Top of Page

greg

USA
1380 Posts

Posted - 01/09/2004 :  10:26:49 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
The IMAGE method of the EXPORT object uses the old ImageStream library for exporting PDF files. We were not happy with the results of this third-party export, so we developed our own PDF export filter which you can use if you have 7.0 SR1 or later:

image.filename $= D:\TEST2.PDF; // Assign path & filename
image.ShowOptions = 0; // Don't display Options dialog
image.export.pagedpi(PDF, 96, 24, 0); // FileType , DPI , ColorBits , 0


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