hhttp://www.bcap.co.jp/hanafusa/VBHLP/Sampleitiran.htm の印刷関係の No.336DeviceCapabilities & GetDeviceCaps API を使用