[nycphp-talk] printing orders to a printer
Rob Marscher
rmarscher at beaffinitive.com
Tue Sep 17 11:58:42 EDT 2013
On Mon, Sep 16, 2013 at 9:32 PM, selyah <selyah1 at yahoo.com> wrote:
> Hi everyone:
> I am redesigning a website for a pizza shop and one of the criteria is to
> have the orders that are placed on the to be printed on a printer (or fax
> machine) when an order is placed.
> I understand that a printing protocol can be used, but wanted to know if
> there are any other ideas of ways of setting this up.
> I have never done something like this before and not sure how to approach
> it.
> thanks in advance
>
If you wanted to go down the route of sending a fax, you could try a web
service that does it:
http://www.interfax.net/en/dev
https://www.phaxio.com
The advantage is that it could be done from a web server without needing to
integrate with anything on-site.
I built an ordering app though and the owners log into a page that shows
the current orders. They hit a button that users window.print to print out
all of the pending orders and updates them in the database as having been
printed. So next time when they print or reload the page, it doesn't print
the same orders again. You can even use css page-break-after to separate
orders into different pages.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20130917/ab66bf47/attachment.html>
More information about the talk
mailing list