Class: PDF::Reader::PrintReceiver

### Home Classes Methods

### In Files

- lib/pdf/reader/print_receiver.rb

### Parent

Object

### Methods

- ::new
- #method_missing
- #respond_to?

### Files

- MIT-LICENSE
- README.rdoc
- TODO
- mac_expert.txt
- mac_roman.txt
- pdf_doc.txt
- standard.txt
- symbol.txt
- win_ansi.txt
- zapf_dingbats.txt
- glyphlist.txt

### Class/Module Index

Quicksearch

- PDF
- PDF::Reader
- PDF::Reader::Buffer
- PDF::Reader::CidWidths
- PDF::Reader::EncryptedPDFError
- PDF::Reader::Filter
- PDF::Reader::Filter::Ascii85
- PDF::Reader::Filter::AsciiHex
- PDF::Reader::Filter::Depredict
- PDF::Reader::Filter::Flate
- PDF::Reader::Filter::Lzw
- PDF::Reader::Filter::Null
- PDF::Reader::Filter::RunLength
- PDF::Reader::Font
- PDF::Reader::FontDescriptor
- PDF::Reader::FormXObject
- PDF::Reader::InvalidObjectError
- PDF::Reader::MalformedPDFError
- PDF::Reader::ObjectCache
- PDF::Reader::ObjectHash
- PDF::Reader::PageLayout
- PDF::Reader::PageState
- PDF::Reader::PageTextReceiver
- PDF::Reader::Parser
- PDF::Reader::PrintReceiver
- PDF::Reader::Reference
- PDF::Reader::RegisterReceiver
- PDF::Reader::ResourceMethods
- PDF::Reader::StandardSecurityHandler
- PDF::Reader::Stream
- PDF::Reader::SynchronizedCache
- PDF::Reader::TextReceiver
- PDF::Reader::TextRun
- PDF::Reader::TransformationMatrix
- PDF::Reader::UnsupportedFeatureError
- PDF::Reader::WidthCalculator
- PDF::Reader::WidthCalculator::BuiltIn
- PDF::Reader::WidthCalculator::Composite
- PDF::Reader::WidthCalculator::TrueType
- PDF::Reader::WidthCalculator::TypeOneOrThree
- PDF::Reader::WidthCalculator::TypeZero
- PDF::Reader::XRef
- AFM
- AFM::Font

No matching classes.

# PDF::Reader::PrintReceiver

A simple receiver that prints all operaters and parameters in the content stream of a single page.

### Attributes

callbacks[RW]

### Public Class Methods

new() click to toggle source

    # File lib/pdf/reader/print_receiver.rb, line 10
    def initialize
      @callbacks = []
    end

### Public Instance Methods

method_missing(methodname, *args) click to toggle source

    # File lib/pdf/reader/print_receiver.rb, line 18
    def method_missing(methodname, *args)
      puts "#{methodname} => #{args.inspect}"
    end

respond_to?(meth) click to toggle source

    # File lib/pdf/reader/print_receiver.rb, line 14
    def respond_to?(meth)
      true
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.