On Friday 01 February 2008, Grant wrote: > I'm currently processing orders one by one and I'd like to increase > automation. I'm currently submitting an order number from my > desktop to my server via firefox, and manually opening and printing > the resultant receipt and shipping label. How would you guys > suggest I set this up to batch so that I can process all orders > with one click and have the resultant receipts and shipping labels > print > automatically, all at once? The printing part is what I'm having > difficulty conceptualizing because I do all of my programming on > the server side and the printing needs to happen on the client > side. Not sure how to get those two working together. Both > systems run Gentoo.
Printing always on the same client? That's easy. CUPS can print over the network. Configure a queue for that client on the server. If printing is supposed to happen on a variety of clients, that's a wee bit more complex. Configure a queue for each client. Now you must use some middleware (cgi, php, ...) on the server that figures out from which client (IP) the request has come. Use the appropriate queue. Shouldn't be too difficult. Uwe -- Informal Linux Group Namibia: http://www.linux.org.na/ SysEx (Pty) Ltd.: http://www.SysEx.com.na/ -- gentoo-user@lists.gentoo.org mailing list