大
大大懒虫
Unregistered / Unconfirmed
GUEST, unregistred user!
我写的程序如下:
buffersize:dword;
hPrnFile : THandle;
begin
hPrnFile := CreateFile('LPT1',GENERIC_WRITE,0,nil,file_flag_overlapped,0,0);
buffersize := 4096;
WriteFile(hPrnFile,pchar('fgdfgdfg')^,8,buffersize,nil);
CloseHandle(hPrnFile);
不知道是那里的问题.打印机就是没反应.(在WIN2000下)
buffersize:dword;
hPrnFile : THandle;
begin
hPrnFile := CreateFile('LPT1',GENERIC_WRITE,0,nil,file_flag_overlapped,0,0);
buffersize := 4096;
WriteFile(hPrnFile,pchar('fgdfgdfg')^,8,buffersize,nil);
CloseHandle(hPrnFile);
不知道是那里的问题.打印机就是没反应.(在WIN2000下)