Skip to main content
Module

x/denops_std/option/mod.ts>printdevice

📚 Standard module for denops.vim
Go to Latest
variable printdevice
import { printdevice } from "https://deno.land/x/denops_std@v4.3.0/option/mod.ts";

The name of the printer to be used for :hardcopy. See pdev-option. This option cannot be set from a modeline or in the sandbox, for security reasons.

(default empty)

only available when compiled with the +printer feature

type

{ get(denops: Denops): Promise<string>; set(denops: Denops, value: string): Promise<void>; reset(denops: Denops): Promise<void>; getGlobal(denops: Denops): Promise<string>; setGlobal(denops: Denops, value: string): Promise<void>; resetGlobal(denops: Denops): Promise<void>; }