Add units to margins
This commit is contained in:
parent
1b87e7a29f
commit
bcbed53113
1 changed files with 5 additions and 0 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue