Foxit Corporation Forums  

Go Back   Foxit Corporation Forums > Portable Document Format (PDF) Tools > SDK ( DLL or ActiveX)

SDK ( DLL or ActiveX) Integrate PDF functions into your application easily. The SDK shares the same technology that powers Foxit Reader.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old June 17th, 2008, 02:46 AM
faizan faizan is offline
Junior Member
 
Join Date: Jun 2008
Posts: 4
faizan is an unknown quantity at this point
Default Validating Printing Parameters

I need to ask one thing about printing mechanism. There are some functions available to print a PDF file. There is a slient printing method named Print and PrintWithDialog available for printing with Foxit dialog box.

Instead of silent printing, I want to use Foxit print dialog box for printing. Is there a way to get selected printer name, number of copies etc on OK button event before printing? I need to validate user entered/selected printing information before printing. Kindly update me.

Regards,
Faizan
Reply With Quote
  #2  
Old June 18th, 2008, 11:44 PM
faizan faizan is offline
Junior Member
 
Join Date: Jun 2008
Posts: 4
faizan is an unknown quantity at this point
Default

Any solution?
Reply With Quote
  #3  
Old June 20th, 2008, 08:03 AM
hartstein hartstein is offline
Junior Member
 
Join Date: Mar 2008
Posts: 2
hartstein is an unknown quantity at this point
Default

I needed to perform a similar function in order to read the scale mode on the printer dialog. You can use the findwindowex windows call to get the windows handle of the print dialog, and then various dialog calls (getdlgitemint, getdlgitemtext) to return the values in the dialog. The resource ids can be obtained via the windows spy application
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 08:51 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2005-2008 Foxit Corporation. All rights reserved.