如何在程序中得到打印机当前设置的dpi? 如何在程序运行中得到当前打印机的当前分辨率DPI?用winapi可以吗?具体什么函数?最好有个代码,非常感谢 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 uses printers;var ppix : Integer;begin ppix := GetDeviceCaps(Printer.Handle, logPixelsX); showmessage(floattostr(ppix)); ppix := GetDeviceCaps(Printer.Handle, logPixelsY); showmessage(floattostr(ppix)); end; Edit怎么添加提示输入的文字和图片? 在多线程中使用过ZIPTV组件的进!! 俩种写法哪个效率更高? 如何在Form上加一个垂直滚动条? 通过代码创建一个iis的虚拟目录 excel和access的连接查询 pb语言类似delphi的tabsheet控件,怎么把delphi界面界面嵌入到pb界面里面 串口通信,请大家帮忙解决,原代码如下! 各位大虾,谁的Delphi6.0的密码能告诉我,我重重有分 commandtext does not return a result set 大家来帮忙 qrrichedit遮挡qrimage的问题,急!!!
ppix : Integer;
begin
ppix := GetDeviceCaps(Printer.Handle, logPixelsX);
showmessage(floattostr(ppix));
ppix := GetDeviceCaps(Printer.Handle, logPixelsY);
showmessage(floattostr(ppix));
end;