Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7049793
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T03:03:53+00:00 2026-05-28T03:03:53+00:00

I need to both read in and write pdf files and in some cases

  • 0

I need to both read in and write pdf files and in some cases merge a pdf I have with the one I need to read in. I attempted to do this with the pdf-reader gem and the prawn gem.

The pdf-reader gem doesn’t seem to allow straight copying of a file, but instead just pulling text out of files without formatting or images unless you write them in seperately. And even then it only pulls out pieces of files and skips others. Anything else out there for ruby ?

Edit: To be more specific, in some cases I need an exact copy of the pdf, and in others I will need to overlay the copy of one on top of the copy of another. Neither pdf-reader or docsplit seem to be able to make a copy (read in text/formatting/images/fonts etc).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T03:03:54+00:00Added an answer on May 28, 2026 at 3:03 am

    After playing around a lot I found this question: overlay one pdf or ps file on top of another

    Seems that pdftk is as good as its going to get.

    Rails has a gem for this but it looks like it doesn’t support overlay: http://pdf-toolkit.rubyforge.org/

    EDIT: Looks like a much better gem is out there but unpublished that supports overlay: https://github.com/tcocca/active_pdftk

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have several domain objects which need to support both read-only and read-write modes;
I have a app that needs to be both read and write compatible with
I implement game server where I need to both read and write. So I
I have a table in which I need both the values to be primary
I have a parent and child class that both need to implement IDisposable .
Suppose you have two seperate ASP.NET Web Application projects that both need to use
I have a number of reports that need to be both run separately and
I need my parent and child process to both be able to read and
Im currently working on a java program and I need to read/write to the
Why do we need both using namespace and include directives in C++ programs? For

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.