473,394 Members | 1,951 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Force default printer to print landscape in code

dbrewerton
115 100+
Hello experts. I seem to be having some trouble here. I have my reports set up to print out as landscape (.rdlc) however the printer is still insisting on printing in landscape mode. What I would like to know is how to set the printing orientation for my program as a choice between landscape or portrait in c# code, perhaps a class I can call when I open the program?
Aug 15 '14 #1
0 1129

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Esmee | last post by:
Hi there, I have created an Access 2002 db which contains several reports. Some reports need to be printed on a Laserjet and others on a Labelprinter. One of my clients wants to be able to print...
1
by: Ravikanth[MVP] | last post by:
Hello, You can use the PrintDocument component to use the default printer. If you don't specify a printer to the PrintDocument object, by default, it will use the default printer. This is a...
0
by: Marc Scheuner [MVP ADSI] | last post by:
Folks, How can I get the default printer (not just its name - the "whole" thing), and change its paper orientation to landscape? I'm trying to print a hosted HTML document (inside a web...
0
by: Marco Martin | last post by:
Hi, I'm using a control that can print itself using the default printer. I want to change the default "Print Portrait" to "landscape" just before I call my control.print() method. How can I...
6
by: rquintana | last post by:
How can I change by program the default printer in VB.net if I have two printers connected in one computer? I want to print diferents reports in diferents printers connected in one computer and I...
2
by: Just Me | last post by:
I want to programmatically change the paper orientation of the systems default printer in such a way that the new orientation shows for the printer under: Start/Printer and Faxes Can anyone...
1
by: i8mypnuts | last post by:
Could someone please help? I am using the 'defaultprt.zip' tool provided by Ken Getz to change the default printer via VBA code (code below). My problem is that once the default printer has been...
8
by: ncsthbell | last post by:
Is there a way to change my default printer using vb? I have some reports I want to print to a certain printer and some to a different one. I have a routine that loops through all of the reports to...
4
by: nano2k | last post by:
Hello I need to display and then automatically print a PDF file. I'm using AxAcroPDF to display the PDF. AxAcroPDF class has a very good method: printAll(). The only thing is that I need to...
4
by: Aditya23 | last post by:
Hi..I could not change default printer using C#..In this code, the user can select a printer and a folder to print the files within a folder to selected printer..But when the code can print only to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.