We have migrated the Application from Solaris to Linux,We would print the file from application by executing the below command.
Example: lp -d 10.220.230.80:MB000155 -c /usr/bin/prc_Test2.prc
From java end, we are exporting the print file in pcl format and while calling the print command, solaris convert the file from pcl to post script format before sending it to print server. now problem is linux did not convert the file. So Application unable to print the file successfully.

We would like to export the print file as post script format from application to get the print functionality works. Please let us know the possiblity in java end.

or is there any command in linux with above required property.

regards,
siva