WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

PrintDlg function failing with PD_RETURNDEFAULT

 
   Home -> Windows Other -> Printing RSS
Next:  PrintDlg function failing with PD_RETURNDEFAULT  
Author Message
guddu

External


Since: Jul 16, 2007
Posts: 6



(Msg. 1) Posted: Fri Jul 20, 2007 12:16 am
Post subject: PrintDlg function failing with PD_RETURNDEFAULT
Archived from groups: microsoft>public>win98>printing (more info?)

Hi,
I am calling PrintDlg function with PD_RETURNDEFAULT flag set. ( I
dont want the Printer Dialog Box to be seen )
It fails. I have set the hDevNames and hDevMode to be NULL before
calling the function PrinTDlg.

For getting the error code I had called CommDlgExtendedError().
The error code returned was PDERR_NODEFAULTPRN.
Error code implies that the default printer not found.But the default
printer is configured for my machine. still why does it throw this
error.

Had tried PrintDlgEx function. Even that failed with the same error
code PDERR_NODEFAULTPRN.

Can anyone help me with this.
TIA
Guddu
Back to top
Login to vote
Display posts from previous:   
       Home -> Windows Other -> Printing All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum
Categories:
 Windows XP
 Windows Vista
  Windows Other
 Office
 Office Other
 Security
 WinRAR
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET