Closed

BBAPRINT: Printing programs (2) to merge data & template.

This project was awarded to wildest for $200 USD.

Get free quotes for a project like this
Employer working
Awarded to:
Project Budget
$30 - $250 USD
Total Bids
4
Project Description

PROJECT: BBA-PRINT

Description:
Required are two programs that will merge the current date, current time and 4 (four) data elements with a predefined template and then send the merged document to the windows default printer. One program will take the data elements from a txt/csv file. The other program will take the data elements from user input.

The programs will have a simple GUI.
The programs will be windows executeables.
The source code of the programs will be included.


1. There will be two programs:
- FRONTPRINT
- BACKPRINT

1.1. Working of FRONTPRINT

- The program will take input from a text file.
- The program will use a template file for formatting the printout.
- The text file will hold data in CSV format.
- The records will have the following data:
o DAYNUMBER (DD);HOUR (HH);DATA1;DATA2;DATA3;DATA4;X
o Eg:
o 21;16;BRIC;[url removed, login to view];[url removed, login to view];YPSILON;X
- When the program is started it will:
• Check the current date (DD-MM-YYYY) and time (HH:MM:SS) and hold it in memory to print.
• Locate in the text file the record for the saved DD and HH.
• If no data is found: display dialog “No data found!” with an OK button which will exit the program when clicked.
• Merge the date, time, data1, data2, data3 and data4 with the template file.
• Send the merged data to the windows default printer.
• Display dialog “Data sent to printer.” with an OK button which will exit the program when clicked.
- The printing will be ‘on-the-fly’ meaning that the printed data will NOT be saved!

1.2. Working of BACKPRINT

- The program will take input from the user thru the GUI.
- The program will use a template file for formatting the printout.
- The GUI will have 5 fields:
o Date / Time: current, system, date & time; must be changeable.
o Data1: text, 8 characters, blank on startup.
o Data2: text, 8 characters, blank on startup.
o Data3: text, 8 characters, blank on startup.
o Data4: text, 8 characters, blank on startup.
o OK button: merge the inputs with the template, send the merged data to the windows default printer and the exit the program.
o CANCEL: exit the program.
- The printing will be ‘on-the-fly’ meaning that the printed data will NOT be saved!

2. Template file

The template file can look like this:

TEMPLATE-TEMPLATE-TEMPLATE-TEMPLATE-

HELLO WORLD!

DATE: **DATETIME**

NOW HERE ARE YOUR DATA:

APENOOTJE: **DATA1**

BEUKENOOTJE: **DATA2**

COLANOOTJE: **DATA3**

DAGBLADEN: **DATA4**




LOREM IPSUM BLA BLA BLA

**DATETIME**
**DATA1** ; **DATA2** ; **DATA3** ; **DATA4**

If the template was used with the sample data above and the date would be 21-01-2012 16:22:49 then the printout would look like this:


TEMPLATE-TEMPLATE-TEMPLATE-TEMPLATE-

HELLO WORLD!

DATE: 21-01-2012 16:22:49

NOW HERE ARE YOUR DATA:

APENOOTJE: BRIC

BEUKENOOTJE: [url removed, login to view]

COLANOOTJE: [url removed, login to view]

DAGBLADEN: YPSILON




LOREM IPSUM BLA BLA BLA

21-01-2012 16:22:49
BRIC ; [url removed, login to view] ; [url removed, login to view] ; YPSILON


The **XXXX** in the template file are for example; the programmer should advise the proper delimiter for the placeholders.
The location of the template file will be the same directory as the programs.
The name of the template file will be fixed (hardcoded).

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online