Change the text layout

Hi,

 I have been given an excellent solution recently to split the pages based on a pattern, using vbscript.
Here is the link to that.
http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/Q_28472324.html#a40185820

My requirement now, is to change the page layout so that the files open in Landscape.
Can someone kindly help?
pvsbandiAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

aikimarkCommented:
These are text files.  The concept of landscape or portrait orientation doesn't make sense.

What program are you using to view these files?
0
pvsbandiAuthor Commented:
Mark,
When we open a text file, we have
File -> page setup. Here we can change the orientation to landscape.
Can we do domething similar, programmatically?
0
aikimarkCommented:
what is the name of the program with which you are 'opening' the text file?
0
Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

pvsbandiAuthor Commented:
Using BusinessObjects Central Management Console, which is a web portal.
0
aikimarkCommented:
is this the SAP BusinessObjects?
0
pvsbandiAuthor Commented:
Yes, Mark
0
mlmccCommented:
What code are you using to open the file?

DO you have any documentation on the BO API?

What version of BO are you using?
SInce you mention the CMC, I assume it is BO Enterprise.

mlmcc
0
pvsbandiAuthor Commented:
mlmcc,

  These text files are agnostic files, that are being merely hosted on the BusinessObjects server.
We are using BO 4.0. We are not using the BO SDK for this effort.
Our process is using the vbscript to split a big file into separate text files.
Then, we are manually uploading them to the BO server. The user using these reports raised a concern that they prefer to see the files in landscape mode.
0
mlmccCommented:
How are they opening them?

Are they opening them through BI Launchpad or the CMC?

mlmcc
0
pvsbandiAuthor Commented:
Users open it through the launchpad
0
mlmccCommented:
Is it when Launchpad opens the document that you can see the page setup?

I don't see anything in the CMC that allows me to set the portrait or landscape.

What application does Launchpad use to view the document?  When I did it, it used NotePad.

mlmcc
0
pvsbandiAuthor Commented:
Yes, it opens in notepad.. I was looking in the lines of a script that saves them as landscape..
0
mlmccCommented:
As aikimark stated earlier portrait/landscape is generally meaningless in a text file since the file doesn't contain any formatting considerations.

I did a little research on getting a text file to open in "landscape" mode and the only real answer I saw was to set the default printer driver on the machine to use landscape as the default page format.

NotePad uses the default printer driver to determine the page size and orientation.

mlmcc
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
pvsbandiAuthor Commented:
Thanks! I have arrived at the same conclusion..
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VB Script

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.