Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Import class in TOS for Data Integration

Hello,

I want to print data without any transformation directly on a label printer. To do that, I'm using the component TSystem with the command print /d: ...

I think I could improve my program by using java code, for example objects from java.awt.print.

How can I do that ?

 

Ben

 

Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hi
This is a Java development question, maybe you can ask for help on related Java forums? Once you have the java code, you have two ways to add java code in Talend Studio.
1. User routine
2. tLibraryLoad(import external jar)+tJava or tJavaRow component

Regards
Shong

View solution in original post

4 Replies
Anonymous
Not applicable
Author

Hi Ben
Maybe you can try to create a user routine and write your java code, import external jars if needed, and then call it in the job. To do it:
In Repository, click the Code node, then Routines, then right-click on Routines and select the Create routine option to create a user routine.

Regards
Shong
Anonymous
Not applicable
Author

Hi Shong,

Thank you for your answer.

I don't want to make what it has already been done by other (better than me).

I have seen that I can add module in the window 'Modules'.

How can I find which module I need ?

=> I want to print a data flow on a network label printer,

using javax.print ?

 

Ben

Anonymous
Not applicable
Author

Any idea which jar module I have to add in Talend to print to print data stream as it is ?
Ben
Anonymous
Not applicable
Author

Hi
This is a Java development question, maybe you can ask for help on related Java forums? Once you have the java code, you have two ways to add java code in Talend Studio.
1. User routine
2. tLibraryLoad(import external jar)+tJava or tJavaRow component

Regards
Shong