Sha256: 602db05512c787a42c7f2ae4dfc3070e3a71f5e104fec053ad46fc6912471a91
Contents?: true
Size: 465 Bytes
Versions: 21
Compression:
Stored size: 465 Bytes
Contents
#!/usr/bin/env ruby require 'rubygems' $LOAD_PATH.unshift(File.dirname(__FILE__) + "/../lib") require 'pdf/reader' receiver = PDF::Reader::PrintReceiver.new if ARGV.empty? browser = PDF::Reader.new($stdin) else browser = PDF::Reader.new(ARGV[0]) end browser.pages.each do |page| puts puts "********************************" puts "page #{page.number}" puts page.attributes.inspect puts "********************************" page.walk(receiver) end
Version data entries
21 entries across 20 versions & 3 rubygems
Version | Path |
---|---|
pdf-reader-1.0.0.beta1 | bin/pdf_callbacks |