From: Andrea Campagna Date: 2007-12-11T18:21:45+09:00 Subject: rpdf2txt Hi to all, i'm trying to make a pdf parser. This is my code and the script seems to work... require 'rpdf2txt/parser' require 'rpdf2txt/default_handler' parser = Rpdf2txt::Parser.new(File.read('filename.pdf')) output = File.open('prova.txt', 'w') handler = Rpdf2txt::SimpleHandler.new(output) parser.extract_text(handler) The problem is that the file 'prova.txt' created is empty. I've not found documentation about this library so i don't know what i'm doing wrong. Can anybody help me?? thanks in advance Andrea Campagna -- Posted via http://www.ruby-forum.com/.