O
oldbeng
Unregistered / Unconfirmed
GUEST, unregistred user!
dpix:=GetDeviceCaps(Printer.Handle,LogPixelsX);//dpix=600
dpiy:=GetDeviceCaps(Printer.Handle,LogPixelsY);//dpiy=600
MyPageHeight:=printer.PageHeight;//MyPageHeight=6817
MyPageWeight:=printer.PageWidth;//MyPageWidth=4736
一台hp-l000的激打,默认纸张为A4(8.27*11.69inch=21*29.7cm),但6817/600=11.36,
4736/600=7.89,为什么会有这样的误差!!!!
dpiy:=GetDeviceCaps(Printer.Handle,LogPixelsY);//dpiy=600
MyPageHeight:=printer.PageHeight;//MyPageHeight=6817
MyPageWeight:=printer.PageWidth;//MyPageWidth=4736
一台hp-l000的激打,默认纸张为A4(8.27*11.69inch=21*29.7cm),但6817/600=11.36,
4736/600=7.89,为什么会有这样的误差!!!!