Hi,
I have a web browser control integrated into a form, which display a HTM
page I generate in my program
And I want to be able to print that web page (it is a actually a report)
But I want it to print directly in landscape format.
Is there any way to automate IE to change page payout to landscape
automatically?
Right now I use a Shellexecute like this
lcFile = thisform.oBrows er.LocationURL
thisform.bzshel l1.shellexecute (lcFile , JUSTPATH(lcFile ), "PRINT")
Where bzshell1 is a class wrapper around shellexec API function
But, can I automate the web browser control directly to print, and to select
programmaticall y the destination printer and page layout (landscape)?
Thank you 3 1684
Hi NWx,
Thanks for your posting. Regarding on this issue, I've found another
duplicated thread in another group and some other community members and I
have posted reply there. I'd appreciate if you have a look there. In
addition, if you feel convenient that we continue to discuss in that
thread, please feel free to post there.
Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."
Hi,
Thank you for your answer.
Can you tell me in what group you posted an answer, and the message title?
Since I cannot find it?
Thanks
"Kevin Yu [MSFT]" <v-****@online.mic rosoft.com> wrote in message
news:el******** ********@cpmsft ngxa10.phx.gbl. .. Hi NWx,
Thanks for your posting. Regarding on this issue, I've found another duplicated thread in another group and some other community members and I have posted reply there. I'd appreciate if you have a look there. In addition, if you feel convenient that we continue to discuss in that thread, please feel free to post there.
Kevin Yu ======= "This posting is provided "AS IS" with no warranties, and confers no rights."
Hi,
Another engineer has posted a reply in microsoft.publi c.vb.ole.automa tion.
HTH.
Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights." This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: June Moore |
last post by:
Hi all,
Is there a way to use javascript to change a web page's default layout
e.g. change page orientation to landscape or portrait when the user
prints a copy of the webpage?
Thanks,
June..
|
by: Anthony Nystrom |
last post by:
I am having trouble with changing printer settings before I raise either the pagesetup dialog or the print preview dialog... Changing the printer name is easy, but I am also trying to change the paper size.... This particular paper size is 30386 Video Top is specific to the printer driver itself... Any sample code as to how to both change the printer and paper size as well as oriention so that the user doesn't have to? This particular printer...
|
by: NWx |
last post by:
Hi,
I have a web browser control integrated into a form, which display a HTM
page I generate in my program
And I want to be able to print that web page (it is a actually a report)
But I want it to print directly in landscape format.
Is there any way to automate IE to change page payout to landscape
automatically?
|
by: sravan kumar |
last post by:
i need java script code for control the printer page settings from browser.
|
by: Sheoak |
last post by:
Hi,
I am developing Crystal Reports using VC++.Net
Unlike VB.Net in the VC++.Net there is no report objects.
How do I change the report's page layout to landscape in the IDE and also programmatically? Below is code in VB. How to do it in VC++.Net?
thanks
Dim crReportDocument As CRClassLists
crReportDocument = New CRClassLists()
crReportDocument.PrintOptions.PaperOrientation = 0
| |
by: amiparna |
last post by:
hi friends,
give an example to set the page in landscape in jsp
for print without settings in the printing option..
plz help...
|
by: gotonagle |
last post by:
hi all
i have one page that generates a report (basically a table ) in ASP.i have a button that prints that page using window.print(). now i want to print that page in landscape mode (by default its printing in potrait mode). i dont want to ask user to change orientation from print window.
pls let me know if we can have any such javascript or server script that either change the printer setting or make the page or div to be printed as...
|
by: drsvvr |
last post by:
Hi everyone!,
Please help me to do the setting page layout in data report. i dont think the default setting in data report is portrait, my project is need a landscape report, but i dont know how to do. Please help. Thank you.
|
by: dhivyavasya |
last post by:
I have to print a web page in landscape mode automatically when print is given. i dont want to go to settings and change the mode manually each time. help is needed
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |