Spooler for tickets

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Spooler for tickets

GLASS mailing list
Ciao,

        i have GLASS application for print some tickets on specific printers devices.

        I do it opening the specific TCP/IP connection on the device, and send data to print to it.

        Because i have some application users i manage a semaphore on each printer device.

        But it's not enough.

        When one printer device is offline the user application session get complicated ( the session on printer device offline      block other session  )

        I need to simulated a spoller for the printer device so the application session go on in any case.

        If a printer device is offline the relative spooler manage this problematic, but the application session  is right terminate.

        How can I implement a spooler into GLASS?

        Spooler on blocks with the code to print specific tickets?

        How i can create a loop for manage the spooler ?

        Someone with ideas about it?

        Thanks,

                Dario
_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: Spooler for tickets

GLASS mailing list

a) Whenever you create a print job put it into an RcQueue object.

b) Create a topaz script/server process, which tries to read the print job and does the printing


Marten


Trussardi Dario Romano via Glass hat am 25. Januar 2018 um 13:16 geschrieben:


Ciao,

i have GLASS application for print some tickets on specific printers devices.

I do it opening the specific TCP/IP connection on the device, and send data to print to it.

Because i have some application users i manage a semaphore on each printer device.

But it's not enough.

When one printer device is offline the user application session get complicated ( the session on printer device offline block other session )

I need to simulated a spoller for the printer device so the application session go on in any case.

If a printer device is offline the relative spooler manage this problematic, but the application session is right terminate.

How can I implement a spooler into GLASS?

Spooler on blocks with the code to print specific tickets?

How i can create a loop for manage the spooler ?

Someone with ideas about it?

Thanks,

Dario
_______________________________________________
Glass mailing list
[hidden email].com
http://lists.gemtalksystems.com/mailman/listinfo/glass

_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass