Originally posted by: SystemAdmin
I have a Java Program which issues print jobs to the the default print
service in the operating system. I have tested my program with Windows
platform with a Printronix P5215 printer (with IBM Proprinter 6400 Driver)
and everything works fine. But when I execute my program from the AIX 5.2
platform with the same Printer, the Printing is a garbage. It seems that
the printer prints a PostScript Data stream treating as ASCII as the
printing starts with PostScript header %!PS-Adobe-3.0... . I am sure that
the Printronix P5215 is not capable of interpreting PostScript Data. What I
cant understand is why the Printer Driver issues PostScript Data stream to
the printer as the Printer Driver is well aware of its Printing
capabilities. It seems that the OS sends PostScript Data to the
PrinterDriver and which too does not recognize them and send them to the
printer without further processing. I am guessing it because when I try to
print a web Page from Netscape Navigator and redirect the printing to a
file, it will create a PostScript file. Most of the Application Layer
Programs seems to be doing so. I dont have GhostScript installed in the
AIX box. Could you please let me know am I correct on my guess of OS sends
PostScript data to the PrintDriver if the PrintJob is requested by JVM? My
Program is printing a JEDitorPane which have only HTML Formatted text
information (No Graphics). There for it should Definetely works on
Printronix P5215 printer as it is working on windows with same Printer. Do
I need to set GhostScript on my AIX box and set the print queue filters
such as ps2ascii, which is available with GhostScript?
Regards,
Varuna Gunasekera
#AIX-Forum