473,507 Members | 2,476 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Control printer settings

I need to within code control some printer settings before raising the print dialog... I need to set some properties for the printer such as "The Printer to Print too", Page settings such as paper type (according to the list associated with the printer driver itself) and orientation... It would be nice to programmically control the printer, paper settings and orientation all together to avoid the print dialog and the potential for the user to change settings that must be fixed before the job is sent to the printer. I cannot rely upon the settings for the printer itself for it doesn't hold it's own settings unless the printer is set as default, problem with driver that the printer maker will not resolve. My users have to click 10 times picking the correct paper and such each time they want to print this document, which happens to be a label that prints to a label writer. Any help as to how to control these settings in code would be great..

Thanks

Anthony Nystrom
Nov 20 '05 #1
1 4292
Does the PrinterSetting Class help?

Rgds,
Anand
VB.NET MVP
http://www.dotnetindia.com

"Anthony Nystrom" wrote:
I need to within code control some printer settings before raising the print dialog... I need to set some properties for the printer such as "The Printer to Print too", Page settings such as paper type (according to the list associated with the printer driver itself) and orientation... It would be nice to programmically control the printer, paper settings and orientation all together to avoid the print dialog and the potential for the user to change settings that must be fixed before the job is sent to the printer. I cannot rely upon the settings for the printer itself for it doesn't hold it's own settings unless the printer is set as default, problem with driver that the printer maker will not resolve. My users have to click 10 times picking the correct paper and such each time they want to print this document, which happens to be a label that prints to a label writer. Any help as to how to control these settings in code would be great...

Thanks,

Anthony Nystrom

Nov 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2037
by: Yaseen | last post by:
I am not sure if someone can help me, but please bare with me for a second... My problem is to retreive the Client's Printer Collection for a web application and then print to the client's default...
2
3433
by: qumpus | last post by:
My program right now generates USPS style shipping label using System.Drawing.Graphics. It works fine except that the printer prints really slowly. I want to make my program take advantage of true...
16
3036
by: DFS | last post by:
If you're listening, I want the middle of the calendar (showing 1 month) to open below the cursor position. It currently opens just to the right and below the cursor position. I hunted through...
0
1680
by: news.microsoft.com | last post by:
Hi Everyone, I am using the API of a particular printer driver, to pre-specify settings specific to that printer driver. After which the API has methods to create a printer driver context, which...
1
12140
by: Karthic | last post by:
When i right click on the .rpt file in the VS 2003, i see a property printer setting. It says "No printer" on the top and there is option to select printer and paper settings etc.. I want to...
2
1990
by: Shawn | last post by:
Hi. I've never created an ActiveX control before, so I know little about what it is capable of and what its limitations are. My problem is this: I have to create a way to send multiple documents...
2
4761
by: Chris Bingham | last post by:
Hi everyone, Does anyone know how to fix the paper orientation depending on the paper size used when printing with the WebBrowser control please? What I've got is a HTML file, containing 1 big...
11
9852
by: pamelafluente | last post by:
I am doing my own PrintDialog, and have placed there a combo with the printer names, as in the PrintDialog provided by VB.NET. Here is the question: how do I open the native windows printer...
1
12559
by: Tim Sprout | last post by:
I want to call Page Setup to set default printer and page size and orientation before batch printing pdf's silently from WebBrowser controls. I can print silently using DDE (the NDde library) or...
0
7223
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
7114
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
7377
jinu1996
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...
1
5045
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4702
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...
0
3191
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...
0
3179
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
762
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
412
bsmnconsultancy
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...

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.