I have an application that displays the JFrame with graphics to be printed when I run the application from the command line The printing process works fine. However, if this application is implemented by another application, then the printing process does not work and the mugramfix () of printjobe range gets zero.
Can anyone have any reason for this idea?
- Is it implemented by a service or a process that is not connected to an X session?
I have used the same problem with Java graphic / print manipulation if the process is not connected to any graphical desktop session (X server).
There is a solution to run the process associated with only one graphical session, I did not find any other alternative solution.
Comments
Post a Comment