D Delphior Unregistered / Unconfirmed GUEST, unregistred user! 2002-11-26 #1 [?]如何在程序运行中得到当前打印机的当前分辨率DPI? 用winapi可以吗?具体什么函数?最好有个代码,非常感谢!
A Axe Unregistered / Unconfirmed GUEST, unregistred user! 2002-11-26 #2 PixelsInInchX := GetDeviceCaps(Printer.Handle, LOGPIXELSX); PixelsInInchY := GetDeviceCaps(Printer.Handle, LOGPIXELSY);
PixelsInInchX := GetDeviceCaps(Printer.Handle, LOGPIXELSX); PixelsInInchY := GetDeviceCaps(Printer.Handle, LOGPIXELSY);