Solved

VB print with print CommonDialog

Posted on 1997-11-05
1
277 Views
Last Modified: 2011-09-20
HELP !!!!

I need to print on a printer choosen by a print CommonDialog without
changing the default printer on the user system.
I need also to set the printer Orientation property, so I have to
set the printer DefaultPrinter property to TRUE.
Doing this I cannot reset the default printer to the ine the user
set in origin.


Thank You.
m.resta@dea.it
0
Comment
Question by:mara110597
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 3

Accepted Solution

by:
vmpn earned 50 total points
ID: 1439847
Service pack for Visual Basic that fixes this proble is availiable for download from                   http://microsoft.com/msdownload/vs97sp.htm 

Here is the part related to printer object:

>Printer object: Setting the Printer object to  an item in the<
> Printers collection will now switch the default printer. You can<
> now set a user-defined scale mode for the Printer object by<
> changing the ScaleWidth and ScaleHeight properties. Font<
> attributes are no longer lost when calling  the NewPage<
> method.<

Sincerely,
VMPN
0

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question