![]() |
|
|||||||
| SDK ( DLL or ActiveX) Integrate PDF functions into your application easily. The SDK shares the same technology that powers Foxit Reader. |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi,
I want to ask you a question. Could I set paper size before I print it out? And I want to pint paper one by one,but when I use FoxitReaderSDK1.PrintFile,it will appear dialog box .For example:... FoxitReaderSDK1.openfile('d:\a.pdf'); FoxitReaderSDK1.papersize:=DM_PAPER_A3; FoxitReaderSDK1.print; Could you have good idea? Thanks a lot. |
|
#2
|
|||
|
|||
|
Hi,it's sure that you can set paper size before you print it out, and you must change the paper's name. There is a example for vc as follow :
DEVMODE* lpDevMode = (DEVMODE*)PrintDialog.GetDevMode(); //Get //the printer mode lpDevMode->dmPaperSize =0;// DMPAPER_USER; lpDevMode->dmFields |= DM_PAPERSIZE; lpDevMode->dmPaperLength = length; lpDevMode->dmPaperWidth = width; strcpy((char *)lpDevMode->dmFormName,"");//set the paper size //as NULL or “Custom Size” Our FoxitReaderSDK (.DLL) also print paper one by one |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|