[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

VB print with print CommonDialog

Posted on 1997-11-05
1
Medium Priority
?
292 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 100 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

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

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…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses

650 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