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 7820765
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T07:25:24+00:00 2026-06-02T07:25:24+00:00

I have no idea how to pull this one off. The problem is this,

  • 0

I have no idea how to pull this one off. The problem is this, i will try to be as accurate as possible.

I have a form on which there are several text fields (there are also a combo box and 2 radio button groups, but let’s focus on text fields) and two buttons on the bottom of the page – Save (into the db, which i know how to do) and Print form. My task is to create the pdf file (when Print is clicked) using the data that user inputed in text fields. Also, the printed pdf file should not look like bunch of random crap thrown around, but with some predefined style (with labels and tables where the data from fields will go).

Can someone give me a hint or a suggestion how to do this? I found that most people are reccomending iText library, but again, i don’t know how to use it.

And let me point out that this is offline project, so no servlet is used, if that helps in any way. Thanks a lot in advance!

  • 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-06-02T07:25:26+00:00Added an answer on June 2, 2026 at 7:25 am

    You can use Pdftk to generate the PDF from a PDF Form and fill in the fields with the fields from your form. This is how I’ve done it in the past. This way you have a nice formatted PDF with the data you need in the right places and don’t have to mess around with iText and the plethora of options to make it look just right.

    Here is a previous question on the topic
    Extract PDF form field names from a PDF form

    Hope that helps.

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

Sidebar

Related Questions

Ok, I'm stumped by this one I have no idea what's causing this problem.
I have 3 user controls, each one of which will need to pull data
Problem I have a one time use object which is a composite of several
I have no idea if this is possible, but if it is, what would
I have no idea how to describe my problem. It is the simplest way
This is probably a very simple one to be answered... I have a piece
Does anybody have any idea how I would make this shorter and less redundant:
I have a fairly simple one-to-many type join in a MySQL query. In this
Anyone have idea about how to bind Boolean in sqlite with objective - c.
I have idea to write errors from my application to the Windows Event Viewer

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.