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
 All Forums
 Origin Forum for Programming
 Forum for Origin C
 get paper size settings?

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
TorbenG Posted - 08/17/2015 : 08:19:41 AM
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
2   L A T E S T    R E P L I E S    (Newest First)
TorbenG Posted - 08/18/2015 : 03:34:50 AM
Ok. Thank you for the reply. Then I have to think about a workaround.

With best regards,
Torben
SeanMao Posted - 08/17/2015 : 11:18:38 PM
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

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000