Tsplus 9.6 Virtual Printer Case with Java Printing

Get help with troubleshooting issues
Post Reply
ratoque
Posts: 36
Joined: Wed Oct 19, 2016 11:28 pm

Tsplus 9.6 Virtual Printer Case with Java Printing

Post by ratoque » Tue Dec 06, 2016 11:06 pm

Tsplus 9.6 Virtual Printer Case with Java Printing
Server: windows server 2012 R2 Tsplus 9.6 Java 64 Bits last one
Client: Linux with Mozilla.
Print fine from any windows normal local application
The issue is with a application that use Java administration Printer, please see below: Clipboard01.jpg
When the preview is shown there is nothing: Clipboard02.jpg
However if I select print to a file and save the file this file have the data to print: Clipboard03.jpg
Finally if I try to print the .prn saved the print is fine:
Cloud you please to help us.
Attachments
Clipboard03.jpg
Clipboard02.jpg
Clipboard01.jpg

juwagn
Site Admin
Posts: 239
Joined: Wed Oct 15, 2014 8:25 pm

Re: Tsplus 9.6 Virtual Printer Case with Java Printing

Post by juwagn » Thu Dec 08, 2016 4:45 pm

Hello,

I have checked online printing with Java applet to see if Java is able to print correctly.
https://www.qoppa.com/files/pdfprint/demo/applet.html

The result succeed, so primarily I assume there is no issue when printing from Java application.
Like it looks by you that was the output result of PostScript to PDF conversion since the file was generated and sent to browser. If your application uses RAW printing then you should be aware that RAW printing formats are unsupported.
There is huge amount of printer drivers or applications that reuse own specific made format that I for sure can not know, mostly such formats are not even open to the world but even if they would be known, I wouldn't implement since it would exhaust the dimensions of programming effort.
Also go sure your application is able to print in PostScript format.
Theoretically if you can convert your print format to PDF by own skills I can help you to bring it together with html5 client.
As example when getting RAW file from printer instead to send it to PostScript to PDF converter (that doesn't support RAW format) you could reroute it to your specific application that will convert this RAW format to PDF file before sending to browser.
But if you can't do that, I couldn't help you too.
TSplus HTML5 and Java web engineer

ratoque
Posts: 36
Joined: Wed Oct 19, 2016 11:28 pm

Re: Tsplus 9.6 Virtual Printer Case with Java Printing

Post by ratoque » Mon Dec 26, 2016 8:45 pm

Hello I still with the problem, I would like to explore solutions, the issue is that the application is sending text, please review the video ( https://youtu.be/mnWnFA0ypWM ) with the type of printing, as you see, so I dont know if there is a conflicto in the server with the Java of TSPLUS (64 bit) and the applicattion (Java 32), any ideas?

Thanks a lot in advance.

juwagn
Site Admin
Posts: 239
Joined: Wed Oct 15, 2014 8:25 pm

Re: Tsplus 9.6 Virtual Printer Case with Java Printing

Post by juwagn » Tue Dec 27, 2016 12:42 pm

Hello,

according to video you printed text, text was converted to pdf format and this pdf was correctly displayed by FireFox.
After I have zero influence how FireFox or your printer prints it.
TSplus HTML5 and Java web engineer

ratoque
Posts: 36
Joined: Wed Oct 19, 2016 11:28 pm

Re: Tsplus 9.6 Virtual Printer Case with Java Printing

Post by ratoque » Tue Dec 27, 2016 1:16 pm

May be i did not be clear, this text file is .prn file generated in the java printer this is to show what kind of ptinting is. The issue is when from java printing I use the ubiversal printer nothing is shown, how ever the text information to print is as the video show.

I would like to review it in a remote sesión I will contact you by email as you suggested.

juwagn
Site Admin
Posts: 239
Joined: Wed Oct 15, 2014 8:25 pm

Re: Tsplus 9.6 Virtual Printer Case with Java Printing

Post by juwagn » Tue Dec 27, 2016 3:00 pm

Also you printed inside session to textual prn file and then printed this file as text to printer with preview.
Since prn files content does not start with
%!PS
I assume that is raw format and can not be converted to pdf file as is and therfore I can't help you with raw format here.
If your client would be windows machine an not linux like in video, i could possibly try the way via external tool with direct print, but since you use linux this direct printing way is not possible there.
TSplus HTML5 and Java web engineer

ratoque
Posts: 36
Joined: Wed Oct 19, 2016 11:28 pm

Re: Tsplus 9.6 Virtual Printer Case with Java Printing

Post by ratoque » Tue Dec 27, 2016 5:12 pm

Thanks for your answer, then how the application must print in order to be compatible with the Virtual and Universal Printer in a client Linux Envirement?

This is very important for me they need a solution to have a server farm with 4 o 5 servers.

Thansks,

juwagn
Site Admin
Posts: 239
Joined: Wed Oct 15, 2014 8:25 pm

Re: Tsplus 9.6 Virtual Printer Case with Java Printing

Post by juwagn » Tue Dec 27, 2016 8:44 pm

Hello,

the printer uses windows default post-script driver for converting (additionally it could reuse xps or plc6 driver) and depending on default format of such driver you get output as postscript (or xps/plc if used xps/plc6 drivers)
But that works as long you do not send print in raw format, by printing in raw format you override the driver and send this file directly in such format that can not be converted to pdf file and as result can not be displayed by browsers pdf plugin.
If you want still to send the print in raw format then go sure you convert it before to postscript format (or xps/plc6 but this would require to install on rdp server different converting program) or if you know how, you could convert it into pdf format and send it directly to pdf remote printer in raw format as pdf file, that would work too.
TSplus HTML5 and Java web engineer

Post Reply