RTFormwork/rtnew/U_printPdf.pas

27 lines
1.1 KiB
ObjectPascal
Raw Normal View History

2024-07-29 13:06:23 +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' ;
// 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' ;
implementation
end.