The following PostScript code changes the printer's resolution to either 300 or 600 dpi. The PostScript array, [xxx xxx], contains two values, for vertical and horizontal resolution. These values must be the same, either both are 300 or 600.
Caution: If you choose to use the PostScript code provided in this article, you assume all risks involved in making these changes. PostScript code, if not entered correctly, can place the LaserWriter into a condition requiring service.
You may change the resolution for a specific print job, or make the change persistant across print jobs.
To change the resolution for a particular job, include the following code in your print job:
Change to 600 dpi
1 dict dup /HWResolution [600 600] put setpagedevice
Change to 300 dpi
1 dict dup /HWResolution [300 300] put setpagedevice
To make the settings persistent across jobs, (settings remain until you change it with other PostScript code or a utility that changes the resolution), execute the command outside the server loop:
Change to 600 dpi
serverdict begin 0 exitserver
1 dict dup /HWResolution [600 600] put setpagedevice
Change to 300 dpi
serverdict begin 0 exitserver
1 dict dup /HWResolution [300 300] put setpagedevice