> For the complete documentation index, see [llms.txt](https://mostafaznv.gitbook.io/pdf-optimizer/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mostafaznv.gitbook.io/pdf-optimizer/advanced-usage/configuring-ghostscript/lockdistillerparams.md).

# LockDistillerParams

| Method Name         | Argument Name | Argument Type |
| ------------------- | ------------- | ------------- |
| lockDistillerParams | status        | boolean       |

If <mark style="color:red;">true</mark>, Distiller ignores any settings specified by setdistillerparams operators in the incoming PostScript file and uses only those settings present in the Adobe PDF settings file (or their default values if not present).

If <mark style="color:red;">false</mark>, any settings specified in the PostScript file override the initial settings. These settings are in effect for the duration of the current save level.
