Create C++ program (for Windows) to extract text from a printer file. The file consists of output from another application that has been printed to a file instead of to the printer. The file is intended for a laser printer and contains PCL (HP’s Printer Control Language), several downloaded fonts, and the text that is printed. You can see the data that needs to be extracted by printing the files (just copy them to a laser printer). As far as I can tell the file only contains text, fonts, and PCL codes. I don’t believe there are any graphics. The program needs to extract the text, as it would be printed, ignoring fonts and formatting, and give the location of each line of text on the page. If it’s easier, the files can be supplied in .pdf format instead of PCL. What is being printed to the files consists of a series of text forms. Each form has had some data filled into some of the blanks on the form using a different font than the form itself. This program needs to: a) extract the data, and b) Specify it’s location on the form if it were printed (use 600 dpi units). c) If possible, the font size used to print it. I need the location so that I can differentiate one piece of data from the next. I also need the form text, but only so that I can tell which form has been printed to the file. I need the font size (if possible) to help differentiate data from form text. The program you create must be able to extract all the data that has been entered on the form. Here is a sample of your program’s output: Text 0: “Please enter your name:??, starts at: 816X 4212Y, 8pt Text 1: “John Doe??, starts at 1850X 4212Y, 10pt Text 2: “Please enter your phone number??, starts at: 816X 5212Y, 8pt Text 3: “802-785-2993??, starts at: 2880X, 5212Y … Text n: “End of form (page break or form feed)?? The output can be stored in an array or list (list preferred since you won’t always know the amount of data), and saved to disk. The program itself can be an exe or dll (dll preferred). Either way, give an example of how to run it including parameters or calling methods and parameter lists. At least one parameter will be the name of the printer file to be parsed. The code must be written in C++ with a project file for Visual C++ 6.0. It must be designed to run on Win98, ME, 2000 and XP.
The code must be written in C++ and include a project file for Visual C++ 6.0. It must be working and fully functional as described in the description above, and tested on the sample files located at [url removed, login to view] I will receive the source code which will be well structured and commented appropriately so that I can maintain it and modify it. I will own the rights to the source code when you’ve been paid. Understand, however, that I will probably hire you to maintain it if you’re available. Take a look at one of these files before you bid. The fonts don’t use standard character mapping. In other words, the letter ‘A’ is not equal to 41h. This is so the fonts can be smaller and take up less space in the file. This means you will have to figure out the font character mapping. If you have further questions about the requirements for this project, email me. You can download sample files to be parsed here: [url removed, login to view] Complete copyrights to all work purchased.
Win98, ME, 2000, XP
## Deadline information
Timezone is EST