Skip to content

Instantly share code, notes, and snippets.

@lite1979
Created August 2, 2024 19:06
Show Gist options
  • Save lite1979/5a20ea229350890a41fe5d7518b2fcfb to your computer and use it in GitHub Desktop.
Save lite1979/5a20ea229350890a41fe5d7518b2fcfb to your computer and use it in GitHub Desktop.
json substitution file for QZ-Tray that adds 0.25 (units are defined in the size parameter, not in the margins parameter) to the LEFT side of the print result - this only works if the web app has the option for individual margins toggled ON.
[
{
"use":{
"config": {
"margins": {
"top": 0,
"right": 0,
"bottom": 0,
"left": 0.25
}
}
},
"for": {
"config": {
"margins": {
"top": 0,
"right": 0,
"bottom": 0,
"left": 0
}
}
}
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment