msvisual.com Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Show Printer Setup Dialog

 
Post new topic   Reply to topic    msvisual.com Forum Index -> VB WinAPI
Author Message
Sergio Martins



Joined: 29 Jan 2008
Posts: 10

PostPosted: Wed Jan 30, 2008 6:56 am    Post subject: Show Printer Setup Dialog Reply with quote

Hi.

I have a VB6 Application and I want to show directly then Printer Setup
Dialog, displayed by the Printer button of the Page Setup Dialog.

How can I do that?

Best regards,
Sérgio Martins

Archived from group: microsoft>public>vb>winapi
Back to top
View user's profile Send private message
Thorsten Albers



Joined: 04 Oct 2007
Posts: 756

PostPosted: Wed Jan 30, 2008 1:39 pm    Post subject: Re: Show Printer Setup Dialog Reply with quote

Sergio Martins schrieb im Beitrag
...
> I have a VB6 Application and I want to show directly then Printer Setup
> Dialog, displayed by the Printer button of the Page Setup Dialog.
> How can I do that?

Presumably you mean the printer properties dialog? Then have a look at the
Windows API function DocumentProperties().

--
----------------------------------------------------------------------
THORSTEN ALBERS Universität Freiburg
albers@
uni-freiburg.de
----------------------------------------------------------------------

Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
Page Setup Dialog - Printer button Hi. I have an application developed with Visual Basic 6.0 that use the following API: Public Declare Function PAGESETUPDLG Lib Alias As PAGESETUPDLG) As Long This API let me see and use the page setup dialog,

Change printer name in printer dialog using API in runtime My default printer is kyosera 1000. I use following code to select the printer from a print dialog in external application: hMain = "Print") hChild = 0, "ComboBox", vbNullString) nret = CB_FINDS

show "Dial-Up Connection" Dialog? Any statements to show "Dial-Up Connection" Dialog? So it like as when we double click icon "Dial-Up Connection". i use win 2000

Common Dialog - More modal than Form.Show vbModal? I'm trying to compensate for the lame common dialog which doesn't provide the facility for specifying to position of the dialog. I want it centered on the screen. I already have a method which, given an hWnd will center a form. However, th

Printer Dialog Box Using VB6.0 SP5 on XP-Pro SP2 I would like not to use the CommonDialog Box Control if there is an API that will allow me to open the printer dialog box, and print the same as I would with the control. Is there an API for this? Thanks in advance bob robert
Post new topic   Reply to topic    msvisual.com Forum Index -> VB WinAPI All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group