```{index} single: Cairo::PsSurface ``` # Cairo::PsSurface ```{pperl-module-badges} Cairo::PsSurface ``` ## Functions ### Other Functions #### `dsc_comment` Emits a raw DSC comment into the PostScript output. #### `restrict_to_level` Restricts the surface to features present in the given PostScript language level, named as `'2'` or `'3'`. #### `set_eps` Switches the surface between plain PostScript and Encapsulated PostScript output. #### `get_eps` Returns 1 if the surface is producing Encapsulated PostScript, and 0 if it is producing plain PostScript.