[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] Preparing Orders
On Fri, 2002-12-13 at 18:38, Michael Stearne wrote:
> I would use
> UPS's WorldShip program, but it is a Windows GUI application. I would,
> one, like to not rely on a Windows workstation and, two, do everything
> transparently to the worker.
>
> The idea is to have 2 buttons on a view order page.
>
> One button that says "Print shipping label for this order". That would
> call an external Perl script, make the interaction with the XML
> interface to UPS, parse the returned data,create a PDF, and send the PDF
> to the printer via lpr.
>
> The second button would also call an external script, query the DB for
> this order, create a PDF for this order (probably using an HTMLDOC
> http://easysw.com/htmldoc) template and send that packing slip to the
> printer also.
I did this (pretty much the same) with a couple of PHP pages. Then
'buttons' can just submit forms that can do pretty much anything. Also,
this is a lot more malleable than a client-side app, because it can be
done from anywhere with access to that web page.
--
-------------------------------------------
| Caleb Phillips |
| The Studio Resource |
| IT Specialist |
| |
| Handcrafted for you in Ximian Evolution |
-------------------------------------------