Hello,

We have an Altek TTP-343 labelprinter and want to print labels which are 
created by Tryton. We have created an odt-report with the dimensions of the 
label, print it to a PDF and then to the labelprinter. Unfortunally printing 
didn't work and even printing from other programs failed. Except ofcourse the 
labelprinter software itself.

The nice thing about the printing software is that we can use Python to start 
the programm in the background, open labels, change variables and print the 
label. For us this is the way to go.

So there are two ways to print the labels:
1. create a Python-application with gui which login to Tryton, get the data and 
userinput and print the label
2. create a plugin in the Tryton-client to print the label

Our preferred way it to use 2. because less work needs to be done on the 
gui-side and there is one application which does all the work.

But the question remains: Is it possible? and if so, how can we execute a 
plugin-command from the client? So a user clicks on the (new?) print button and 
in the background the labelsoftware is started, a predefined label with 
variables is opened (just like a odt-report) and filled in with the data the 
plugin got from the Tryton-client.




-- 
You received this message because you are subscribed to the Google Groups 
"tryton-dev" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton-dev/91fa3953-f46c-4594-b53b-266b1fe679a6%40googlegroups.com.

Reply via email to