END { system('ps2pdf -dPDFSETTINGS=/prepress -dEmbedAllFonts=true -dSubsetFonts=true -dColorImageFilter=/FlateEncode -dGrayImageFilter=/FlateEncode ' . $pdf_name); }