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
 Forum for Origin C
 get paper size settings?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

TorbenG

Germany
2 Posts

Posted - 08/17/2015 :  08:19:41 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin): 2015 SR2
Operating System: Windows 7

Hello everybody,

I am new to this forum, but using Origin for several years now and it is a great product.
Usually, I use Origin in combination with own software, that sends and retrieves data from origin or uses Origin to generate pdf-reports. So I do a lot of OriginC and automation server programming.

My question is if there is any way in OriginC (or automation Server) to get the value of the current selected paper size (letter, a4, etc)?

Could not find any information about this in result trees from GetPrintOptions() or GetFormat() functions, or anywhere else I looked for so far.

I really appreciate any help.

Thanks and best regards,
Torben

Edited by - TorbenG on 08/17/2015 08:21:24 AM

SeanMao

China
288 Posts

Posted - 08/17/2015 :  11:18:38 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

Origin does not provides access to the printer settings. You can only write a VC code to get current printer page size.

Regards!

Sean

OriginLab Tech. Service
Go to Top of Page

TorbenG

Germany
2 Posts

Posted - 08/18/2015 :  03:34:50 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Ok. Thank you for the reply. Then I have to think about a workaround.

With best regards,
Torben
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