Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Oct 2002
    Thanked 0 Times in 0 Posts

    Printing and Posting

    Hi Guy's.

    I have a form that when submitted will insert all the data into a table.

    My question: Is it possible to submit the form to the database and at the same time physically print to printer?

    I hope this is not a stoooopied question.


  • #2
    Senior Coder
    Join Date
    Jul 2011
    Thanked 171 Times in 171 Posts
    Who's printer? Your printer?

    It appears to be possible - http://my.php.net/manual/en/ref.printer.php - but I don't really know. It would be significantly easier if the server had access to this network printer, but I'm guessing it wont. I'm really not sure how you would go about printing on a different network printer, if that is even possible, but hopefully that man page will at least give you a start.

    I'm not really sure why you would want to anyway, to be honest . Sounds like a waste of environmental resources lol for the simple reason that you have an online, 'cloud' of data anyway. It would be a better solution to maybe get the processing script to parse the information into a pdf file, then send it to you by email? That way you can choose to print it at home, if it's needed.
    Last edited by BluePanther; 08-22-2011 at 09:20 AM.

  • Users who have thanked BluePanther for this post:

    Dingbat (08-22-2011)


    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts