2024-07-07 09:35:27 +08:00
|
|
|
|
unit U_printPdf;
|
|
|
|
|
interface
|
|
|
|
|
uses
|
|
|
|
|
Windows,forms;
|
|
|
|
|
// formId =1 <20><><EFBFBD><EFBFBD>id
|
|
|
|
|
//mRecid='<27>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD>¼<EFBFBD><C2BC>'
|
|
|
|
|
//printNumber=1 <20><>ӡ<EFBFBD><D3A1><EFBFBD><EFBFBD>
|
|
|
|
|
//printFlag=1 '<27><>ӡԤ<D3A1><D4A4>;0<><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӡ
|
|
|
|
|
//DataBaseStr
|
|
|
|
|
function printPdf(App:Tapplication; FormID:integer;Title:PChar; GCode: PChar; GName: PChar;mRecid:PChar;printNumber:Integer;printFlag:Integer;printer:integer;DataBaseStr:PChar):hwnd;stdcall;external 'pdfPrint.dll' Name 'GetDllForm' ;
|
2024-10-15 12:09:12 +08:00
|
|
|
|
// formId =1 <20><><EFBFBD><EFBFBD>id
|
|
|
|
|
//mRecid='<27>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD>¼<EFBFBD><C2BC>'
|
|
|
|
|
//printNumber=1 <20><>ӡ<EFBFBD><D3A1><EFBFBD><EFBFBD>
|
|
|
|
|
//printFlag=1 '<27><>ӡԤ<D3A1><D4A4>;0<><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӡ
|
|
|
|
|
//DataBaseStr
|
|
|
|
|
function printReport(App:Tapplication; FormID:integer;Title:PChar; GCode: PChar; GName: PChar;mRecid:PChar;printNumber:Integer;printFlag:Integer;printer:integer;DataBaseStr:PChar):hwnd;stdcall;external 'pdfPrint.dll' Name 'GetDllForm' ;
|
|
|
|
|
// formId =1 <20><><EFBFBD><EFBFBD>id
|
|
|
|
|
//mRecid='<27>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD>¼<EFBFBD><C2BC>'
|
|
|
|
|
//exportFileType=1 <20><><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD> pdf ,bmp ,jpg
|
|
|
|
|
//DataBaseStr
|
|
|
|
|
//<2F><><EFBFBD>ؽ<EFBFBD><D8BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD><C4BC>ļ<EFBFBD>¼<EFBFBD><C2BC> <20><><EFBFBD><EFBFBD>
|
|
|
|
|
function exportFile(App:Tapplication; FormID:integer;Title:PChar; GCode: PChar; GName: PChar;mRecid:PChar;exportFileType:PChar;DataBaseStr:PChar):hwnd;stdcall;external 'pdfPrint.dll' Name 'ExportFile' ;
|
|
|
|
|
|
2024-07-07 09:35:27 +08:00
|
|
|
|
implementation
|
|
|
|
|
|
|
|
|
|
end.
|