Solved

Check Printing thru the web

Posted on 2003-10-31
4
395 Views
Last Modified: 2010-04-07
Currently our application does everything thru the web, but check writing.
We currently do checks thru a client server program.

The client server program allows us to run a batch of checks directly to the printer and controlling when a user prints a check twice.
The checks are not preprinted forms, they are completely created on laser printers, with signatures if under a certain amount.

We would like to replace the check program with a web based solution.
A pdf created on the server, and then downloaded is a possible solution, but how would we disallow multiple prints?

We would like to know what solutions are available for this?

Thanks
0
Comment
Question by:riskvision
  • 2
4 Comments
 

Expert Comment

by:a2tech
ID: 9658846
When you speak of your current application, do you mean one that you purchased "off the shelf" or one that you had written for you? If so, the main problem you might have is integration between the two systems so that you can pass the data to the check writing program.

A web-based program, such as one written in PHP, can perform the functions you indicate. It can keep track of checks and how many times they are printed. You would have to pay a developer to write the programs. Also, you need aplace to host it, either on an intranet server, or the internet with added security. Remember to add these additional costs in to your business model for the job.

I mentioned PHP because it can be used to generate PDF's. Also, it can pull data from and manipulate database; much like your client server program.

0
 

Author Comment

by:riskvision
ID: 9659475
Thank you for your information, but we are looking for technical examples and information on how we can develop this function, preferably in ASP. But since you seem to have knowledge in PHP, please explain in detail how you would accomplish what you stated above.  Thanks in advance.
0
 
LVL 1

Accepted Solution

by:
adanv1 earned 250 total points
ID: 9832982
In PHP to make sure something isn't done twice you should use a simple IF statement and a MySQL database (unless a text file is all you would do).

The PHP Code would look something like this:

<?php

// Connect to your MySQL Database //
// MySQL Available Here: //
// http://www.mysql.com //
$dbusername="your_mysql_username";
$dbpassword="your_mysql_password";
$database="your_database_name";
$connect_to_database = mysql_connect("localhost", "$usernam", "$pass") or die("Invalid server or user."); mysql_select_db("$db", $conn);

$result = mysql_query("select printed_times from print_counts WHERE check_num='$num'"); // you'll have to set the $num var to the check ID
$run_check_printed = mysql_result($result, 0);


if($run_check_printed==1){
echo"Sorry, this check has been printed more than once.";
} else{
// print the check
// more php can be found at:
// http://www.php.net
// or by searching with www.google.com
} // end of the else statement

?>

That's the bases of the code you would want to use. You will need a server that supports PHP ( http://www.php.net ) and a MySQL Database ( http://www.mysql.com ) unless you want to use a text file and store the printed numbers in that. I hope this helps, and happy thanksgiving!

0
 

Author Comment

by:riskvision
ID: 9878249
Thanks a lot, I haven't tried it yet, but I did find more information about writing directly to the printer, from within PHP on www.php.net.

IF PHP does write directly to the printer, then this will work.

Thanks
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

This article provides a case study on how our local youth baseball league deployed a new website, including the platform selection, implementation and benefits to the league.
Introduction In this tutorial, I'll explain how to create an animated progress meter in a wireframe prototype developed using Axure RP 7.0 - a leading prototyping tool for designing web sites and software. (For more information about Axure and gett…
The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Click on Too…
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now