各位大哥们,救命啊...怎样判断打印机是否缺纸啊..在网上查了,不行啊.... function Tfrmmain.GetPrinterStatus: byte;
asm
 Mov DX,$02F8;   //com1端口.
 In AL,DX;
end; 用了这两条汇编,可是行不通,报错...
 俺的系统是win2000. 给俺指条明路啊.....