Class: Poppler::PSFile
- Inherits:
-
Object
- Object
- Poppler::PSFile
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#duplex=(duplex) ⇒ nil
Enable or disable Duplex printing.
-
#free ⇒ nil
Frees ps_file.
-
#initialize(document, fd, first_page, n_pages) ⇒ Poppler::PSFile
constructor
Create a new postscript file to render to.
-
#set_paper_size(width, height) ⇒ nil
Set the output paper size.
Constructor Details
#initialize(document, fd, first_page, n_pages) ⇒ Poppler::PSFile
Create a new postscript file to render to. Note that this function takes ownership of fd; you must not operate on it again, nor close it.
Instance Method Details
#duplex=(duplex) ⇒ nil
Enable or disable Duplex printing.
#free ⇒ nil
Frees ps_file
#set_paper_size(width, height) ⇒ nil
Set the output paper size. These values will end up in the DocumentMedia, the BoundingBox DSC comments and other places in the generated PostScript.