Showing posts with label Portable Document Format. Show all posts
Showing posts with label Portable Document Format. Show all posts

Monday, May 27, 2013

How to Silently Print Pdfs using Adobe Reader and C# - CodeProject

Deutsch: Logo des Adobe Portable Document Format
Deutsch: Logo des Adobe Portable Document Format (Photo credit: Wikipedia)
Here is an article about how to give a C# program the ability to print PDF files using Adobe Reader.  

How to Silently Print Pdfs using Adobe Reader and C# - CodeProject
Enhanced by Zemanta

Thursday, February 10, 2011

OCR Terminal: Online OCR - Convert PDF to Word, JPEG to Word

Here is a great service for applying OCR to files on the fly. Ever scanned a document and then wanted to turn the PDF into an editable file? Sure you have! OCR Terminal allows you to convert scanned PDFs and JPEGs into editable Word, text, PDFs, and RTFs files by simply uploading it to a website and then downloading the results to your local hard drive. It really Works! All you have to do is sign up and you get to convert 20 pages for free with the option of purchasing additional pages!!!

OCR Terminal: Online OCR - Convert PDF to Word, JPEG to Word
Enhanced by Zemanta

Wednesday, December 15, 2010

Best fit of text length while printing PDF templates - CodeProject

Introduction to the article:

In one of my projects we are using PDF templates for the generating the PDF files. Like we create a template first with the textboxes on it and later we can use the template with filling the dynamic data and saving the resulting file. The issue was with the dynamic data not fitting in to the textboxes when the data from database is in Capital Letters. As we were not using the mono spaced fonts like courier. Mono spaced font takes equal number of points while printing on screen or paper say 8X12 pixels for all characters it may be ‘I’ or ‘W’. But non mono spaced font will take different width for different characters to save space, like ‘I’(may be say 3 pixels) will take less width on paper or screen than ‘W’(say 12pixels). And also capital letters take more width than small case. Got it?
There are more than 10 textboxes on my PDF for a paragraph like content to show on the PDF to look like lines of running text. Initially I set the line length to some 100 characters for each line in my code like if the text to show is 400 characters I was displaying in 4 lines. My issue was it is giving space on right side of the PDF textbox when text is in small letters. Then I increased number of characters to show from 100 to 120. Then the issue was with the uppercase text it was concatenated as the textbox width on the PDF form is limited and cannot increase.
The solution is to calculate the best fit of text length at runtime instead hard coding to 100 or 120. When the text is in uppercase the length can be calculated to 90 or so. And when the text is in lower case the length can be 120 characters.


Best fit of text length while printing PDF templates - CodeProject
Enhanced by Zemanta

Tuesday, November 16, 2010

How Gmail helps you create eBook, Magazine or Blog Archives easily? | Knowliz

Gmail docs can be used to turn your e-mails or blogs into an eBook/Magazine.
Steps:
  1. Open the email newsletter(s) you want to create eBook/Magazine from.
  2. Click on ‘Create a Document’ link in the sidebar.
  3. The Google document is created in new window from the email you selected.
  4. Remove the unnecessary links, text, advertisements, extra space and useless frames to get rid of the clutter.
  5. Add headers, footers etc. to make it more professional.
  6. Rename the file to suit your ebook/magazine requirement.
  7. Save the document.
  8. Download the file as pdf and/or Word document to circulate it as eBook.
  9. You may even want to upload this pdf file to your own server to keep a backup or all your newsletters.
  10. Repeat these steps to create an ebook of all the popular posts of your blog and compile them together to create a big ebook.
  11. Similar steps are required if you want to create Monthly newsletter or Monthly archive of your blog posts so that your readers can download them as pdf to read it offline.
  12. This ebook you can promote on your blog and provide to your readers for free (if you want).
How Gmail helps you create eBook, Magazine or Blog Archives easily? | Knowliz
Enhanced by Zemanta