Add units to margins

This commit is contained in:
Anton Thomasson 2021-07-11 12:46:27 +02:00
parent 1b87e7a29f
commit bcbed53113

View file

@ -248,6 +248,11 @@ function ippName(name, value)
default:
return value;
}
case "media-top-margin":
case "media-bottom-margin":
case "media-left-margin":
case "media-right-margin":
return ""+(value/100)+"mm"
case "media-source":
if(value.indexOf("tray-")==0)
{