Skip to content

Commit 5b54649

Browse files
authored
Merge pull request #884 from binford2k/ticket/880/pdfkit_broken
Fix PDFkit printing
2 parents fe5ea56 + 49eb162 commit 5b54649

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/showoff_utils.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ def self.default_style?(style, dir = '.')
568568
end
569569

570570
def self.showoff_pdf_options(dir = '.')
571-
opts = get_config_option(dir, 'pdf_options', {:page_size => 'Letter', :orientation => 'Landscape'})
571+
opts = get_config_option(dir, 'pdf_options', {:page_size => 'Letter', :orientation => 'Landscape', :print_media_type => true})
572572
Hash[opts.map {|k, v| [k.to_sym, v]}] # keys must be symbols
573573
end
574574

0 commit comments

Comments
 (0)