Var
DevMode : PDevMode;
DeviceHandle : THandle;
ADevice,ADriver,Aport : Array[0..255] of Char;
begin
DeviceHandle := Printer.Handle;
Printer.GetPrinter(ADevice,ADriver,APort,DeviceHandle);
//取得打印机相关信息
DevMode := GlobalLock(DeviceHandle);
DevMode.dmPaperSize := '你要的纸张类型';
GlobalUnlock(DeviceHandle);
end;
纸张类型可以查看DEVMODE的帮助