通过Delphi编程控制打印,但不知ppla的各命令参数及各命令的用途。请老师能否给我讲解一下或寄个详细的说明(中文)。如
function Set_Darkness ( darkness:integer):integer;stdcall;external 'WINPPLA.DLL';
function CreatePrn ( selection:integer;FileName:pchar):integer;stdcall;external 'WINPPLA.DLL';
function Print_Out ( width,height,copies,amount:integer):integer;stdcall;external 'WINPPLA.DLL';
function Prn_Text ( x,y,ori,font,typee,hor_factor,ver_factor:integer;mode:char;numeric:integer;data:pchar):integer;stdcall;external 'WINPPLA.DLL';
function Prn_Barcode ( x,y,ori:integer;typee:char;narrow,width,height:integer;mode:char;numeric:integer;data:pchar):integer;stdcall;external 'WINPPLA.DLL';
function Prn_Text_TrueType ( x,y,FSize:integer;FType:pchar;Fspin,FWeight,FItalic,FUnline,FStrikeOut:integer;id_name,data:pchar;mem_mode:integer):integer;stdcall;external 'WINPPLA.DLL';
function Get_Graphic ( x,y,mem_mode:integer;format:char;filename:pchar):integer;stdcall;external 'WINPPLA.DLL';
Procedure ClosePrn ();stdcall;external 'WINPPLA.DLL';
各条命令的作用及各参数的用途。谢谢
|
|