Solved

Check Printing thru the web

Posted on 2003-10-31
4
402 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

Now that Expression Web 4.0 (http://www.microsoft.com/expression/products/Upgrade.aspx) is free if you buy or have the full version of Expression Web 3.0, now is the best time to  migrate from FrontPage to Expression Web (http://www.frontpage-to-exp…
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 add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…

734 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