Solved

Check Printing thru the web

Posted on 2003-10-31
4
401 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

When deciding to adopt any help desk solutions many factors should be explored before taking decisions. This will change from business to another but in general there are some kind of rule of thumb. Here are some quick tips: Do we need only ticket…
Objective of This Article In 1990’s, when I was a budding software professional, I had a lot of confusion about which stream or technology, I had to choose to build my career. In those days, I had lot of confusion like whether to choose System so…
The purpose of this video is to demonstrate how to manually back up a WordPress Database. This will be demonstrated using a Windows 8 PC. The Host used will be IPage.com Log into your Hosting account. IPage will be used for demonstration : Locat…
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…

735 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