Method: GR.beginprint
- Defined in:
- lib/gr.rb
.beginprint(file_path) ⇒ Object
Note:
Ruby feature - you can use block to call endprint automatically.
Open and activate a print device.
beginprint opens an additional graphics output device. The device type is obtained from the given file extension
1594 1595 1596 1597 1598 1599 1600 |
# File 'lib/gr.rb', line 1594 def beginprint(file_path) super(file_path) return unless block_given? yield endprint end |