BBAPRINT: Printing programs (2) to merge data & template.
$30-250 USD
Thanh toán khi bàn giao
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;88.76;987.00;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: 88.76
COLANOOTJE: 987.00
DAGBLADEN: YPSILON
LOREM IPSUM BLA BLA BLA
21-01-2012 16:22:49
BRIC ; 88.76 ; 987.00 ; 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).
Addition:
There is no requirement regarding the programming language as long as the source code is supplied. Obviously this is to accomodate future changes.
If you cannot bid due to your skill not being available in the project: please post a message on the clarification board to have the skill added.
ID dự án: #1254580
Về dự án
4 freelancer chào giá trung bình$234 cho công việc này
Hello We are interested to work with you on this project. We have experience of Web & Windows Application development in .Net, c#.Net, VB.Net, AJAX, CSS, HTML, Crystal Report, Java Script, Ms SQL Server. We are Thêm