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

  • Home
  • SEARCH
  • 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 7826865
In Process

The Archive Base Latest Questions

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

I have to send to user a e-ticket. The e-ticket is information about event,

  • 0

I have to send to user a e-ticket. The e-ticket is information about event, schedule, row, place, barcode and other information.
I have two way:
1. Create html markup, fill all fields, generate pdf file from html and send user in mail attachments.
2. A desinger create template file in pdf format. And, I open it, fill information and send user.

I have never worked with pdf and I need to you advice. What way is the simply and less wasteful (in sense of load of the server, etc.)?

Thanks.

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

    For my experience, you have pros and cons in both solutions:

    Solution 1:

    PROS: once you find out a good library for making the HTML->PDF conversion, you have a pretty flexible solution, given that you just have to change your HTML markup (pretty simple operation) to obtain a new PDF layout.

    CONS: the operation of converting HTML 2 PDF can be CPU consuming (depend on the size and complexity of your HTML markup) and you’re gonna bind your solution to a 3rd party component

    TIP: you could use http://www.html-to-pdf.net/

    Solution 2:

    PROS: it’ll need very low resource to couple toghether the layout and the data you need to put on it; morever you’ll only need a free library (iText.Net) that is considered to be the standard library to manipulate PDF documets.

    CONS: it won’t be that flexible, ’cause you need to modify both the pdf layout and the code to fill it, in order to have a new e-ticket.

    Conclusion

    So, if you are planning to hange the layout of your e-tickets very frequently, go with the first one, otherwise, I’d choose the second option.

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

Sidebar

Related Questions

I have one simple app that suppose to get information from user and send
i have form with user data to input and javascript ajax to send information
How can i send notification to user about accepting the work item? i have
I have a application need send user's location information to server. With setting Required
I have make a messaging system in which user can send messages to each
I have a page (A) and a user control and I want to send
Ok I have noticed in the android softkeyboard when the user wants to send
I have two models Ticket and TicketComment , the TicketComment is a child of
I have to send User-agent to the server from my app. Mozilla/4.0 (compatible; MSIE
I have this requirement: From my application I send a user an email link

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.