'Olá' Dale and Dário, I have the same issue and i'm thinking save the files to print in a directory and delegate to operating system the communication with the printer.
On the Ubuntu, for example, the lpr sends a file to a printer and could be invoked in gemstone by System.performOnServer:. It's a bad ideia?
Thank you! Julio 2013/5/9 <[hidden email]> Send Beta mailing list submissions to |
Julio,
Using #performOnServer: is a good suggestion ... no need to complicate things unless `lpr` isn't an option:) Thanks, Dale From: "Julio Zancan" <[hidden email]> |
In reply to this post by Julio Zancan
Ciao,
I test this solution. The only problem is the answer time of the all step for printer on the device. On my system is about 15- 20 seconds. Thank, Dario
|
Ah, so you can have an `lpr` delay of 15-20 seconds ... the perform on server is blocking so that can be a bit of a problem ...
However, if you dedicate a service vm[1] to the printer device then serializing the requests isn't a problem since presumably the printer is busy too ... your seaside gems would put a print job on the service queue, commit and get out of dodge...the service vm would wait for requests to show up on the queue and run `lpr` requests... Dale [1] http://code.google.com/p/glassdb/wiki/ServiceVMExample From: "Dario Trussardi" <[hidden email]> To: "GemStone Seaside beta discussion" <[hidden email]> Sent: Monday, May 13, 2013 6:01:16 AM Subject: Re: [GS/SS Beta] Send data to a specific device into lan Ciao,
I test this solution. The only problem is the answer time of the all step for printer on the device. On my system is about 15- 20 seconds. Thank, Dario
|
<base href="x-msg://1215/">Dale,
my printing device, used for the test is : A) a printer device with specific IP link to the LAN B) or a printer link to USB port of my MacBook link to the LAN ( on the Mac run CUPS ) For mange the printer configuration on Ubuntu server , where run the GLASS, i use another CUPS server. Before use the CUPS on Ubuntu server i do some test with lpr support on it but i have some configurations problem. I'm not expert of printer configuration and i don't understand the: difference - conflict form CUPS and LPR support. Ciao, Dario
|
Dario,
I'm sorry but you've entered territory that I don't quite understand ... you lost me right after `lpr`:) Dale From: "Dario Trussardi" <[hidden email]> |
Free forum by Nabble | Edit this page |