Log of #ghostscript at irc.freenode.net.

 <<<Back 1 day (to 2021/02/13)Fwd 1 day (to 2021/02/15) >>>20210214 
munzx Hi everybody10:37.07 
  A quick question, is it possible to use PostScript to convert spl files ?10:38.00 
artifexirc-bot <KenSharp> munze assuming by spl files you mean Windows print spooler files (those with a .SPL extension) then the answert is 'maybe'.10:52.39 
  <KenSharp> The print subsystem creates spool files which contain the detailed instructions in the printer language of the printer you are sending the data to. Commonly that is PostScript or PCL, but it could also be Epson ESC, Zabra print language (certain kinds of thermal invoice printers) or a plain old bitmap, it just depends on the printer and the printer driver.10:54.21 
  <KenSharp> It also depends what you mean by 'convert'10:54.31 
  <KenSharp> If teh SPL file is a PostScript program then Ghostscript can render it to various image formats, or create a PDF file, or even a PXL (a flavour of PCL0 file.10:55.06 
  <KenSharp> GhostPCL can do the same for PCL input.10:56.16 
  <KenSharp> Sorry munzx^^10:56.28 
munzx thank you 11:11.28 
  as you said, we need to get the spool files and convert them to PDF OR PS files. This is required for a printing monitoring system we're building in-houese 11:12.31 
  however, the files (as you rightly explained) comes in different PDLs and hence we thought that Ghostscript might be able to assist us in parsing/converting the files 11:13.26 
  in my quick research on the matter I got to know about ghostscriptPDL and stumbled upon muPDF and thought if we could use Ghostscript different renderers to accomplish the goal 11:17.10 
artifexirc-bot <KenSharp> Well as I say it depends on the content of the spool file, which depends on the printer it was prepared for, if it was a PostScript printer then the content will be PostScript, if it was a HP PCL printer then it'll be PCL. It 'could' be PDF but its relatively unlikely. Oh the other thing it could commonly be is XPS and GhostXPS will read that.11:21.01 
  <KenSharp> MuPDF handles PDF (as does Ghostscript) comic book format, image formats, and possibly some other stuff, I may be forgetting11:21.45 
  <KenSharp> Oh, yes ePub.11:21.53 
  <KenSharp> But Windows spool files are unlikely to be any of those.11:22.04 
  <KenSharp> If you know the type of printer, then you know what format the spool files will be, if you don't know the type of printer, there's no easy way to guess11:22.48 
  <KenSharp> GhostPDL is realtviely new, but it will read XPS,PCL, PostScript, PDF and some image formats, and is capable of auto-detecting the input type (within reason)11:23.44 
  <KenSharp> You could try that.11:23.51 
  <KenSharp> Please do read the license, though it sounds like you are within the terms, and be aware that we don't usually give technical support to free users.11:24.26 
 <<<Back 1 day (to 2021/02/13)Forward 1 day (to 2021/02/15)>>> 
ghostscript.com #mupdf