IRC Logs

Log of #ghostscript at irc.freenode.net.

Search:
 <<<Back 1 day (to 2016/09/11)20160912 
deekej hey guys :) is there any official date on ghostscript-9.20 release yet? :)11:27.48 
Robin_Watts deekej: No official date.11:31.04 
deekej okay, thanks :)11:31.18 
Robin_Watts But we would hope to get it out by the end of september normally.11:31.18 
deekej that seems like a good timing for me :)11:31.36 
Robin_Watts This year, one of our staff members has left, which means testing might take a bit longer, but we're still trying to hold to the 'release in september' plan.11:31.56 
deekej np :)11:32.19 
KlausedSource hey everyone, i have a canon printer (A1). I printed a file and used the method "print to file" in the driver (on windows). the file is called *.prn. I tried using the pcl6 component from GhostPDL to convert this to pdf (for tests). it didn't work. the file itself (the prn one) is thousands of lines full of binary gibberish. all i can read is the first few lines: https://bpaste.net/show/9a1f03da325614:49.01 
  in the end i want to use the WxH and number of pages to use them for accounting. Is there any way i can get this information from a file like this?14:49.38 
kens Well, PCL *is* binary gibberish, what else were you expecting ?14:49.55 
  WHen you say 'it didn't work' what exactly do you mean ? Gave an error, produced something you think is incorrect, something else ?14:50.29 
  What version of GhostPDL are you using, and where did you get it ? ON what OS ?14:50.49 
  Rahter than post a screenshot. Put the file (a nice simple one) on a public URL somewhere (DropBox works) and post the URL here, then we cna look at it14:51.38 
KlausedSource kens, i use ghostscript 9.15 on gentoo linux (installed via the distros package manager). and downloaded ghostpdl 9.15 from ghostscript.com14:53.16 
kens Well, that's a 2 year old version of GhostPDL then, you should try 9.19 which is the current release (soon to be superseded by 9.20)14:53.56 
Robin_Watts KlausedSource: In theory, you can run the pcl file through gpcl6 using -sDEVICE=bbox and it'll give you the answers you need.14:54.43 
KlausedSource kens, https://serilda.servebeer.com/owncloud/index.php/s/3Bgjs6XaF2dpu1m14:55.01 
  password is prn14:55.07 
kens Looks to me like it has a bunch of crap on the front of the file. Possibly something canon-specific14:56.08 
kens goes delving14:56.26 
KlausedSource kens, i tried converting it to pdf with -sDevice=pdfwrite and -sOutputFile=blabla.pdf14:56.58 
kens going to need a minute to rebuild Ghostpdl14:57.02 
Robin_Watts Ignore everything up to the first @PJL ?14:57.03 
kens No its not that simeple I think14:57.10 
  Give me a second till this builds14:57.17 
KlausedSource when i did this it kept prompting "finished page {1,2,3,4,5,6, and so on} press enter to continue" although the document only had 10 pages14:58.03 
kens PCL is a funny language14:58.19 
  If it doesn't think you are sending PCL data, then it treats it as text14:58.30 
  And prints that. So if you send (for example) a PDF file to it by mistake, it will print the contents of the file14:58.53 
  THis often leads to lengthy printouts of complete nonsense14:59.04 
chrisl Whatever is in that file, I don't think it is compatible with the HP PCL printer(s) we emulate14:59.09 
kens Its certainly very strange looking14:59.33 
  It uses PJL, but not (apparently) PCL14:59.41 
  I'm forced to guess this is a Canon-specific language14:59.55 
chrisl The PJL doesn't specify a PDL to switch to, which I think it ought to15:00.10 
kens I don't think it has to if the following is PCL15:00.22 
  Because HP pritners assume that he default language is PCL.15:00.38 
HenryStiles Had a quck look ... I'd guess a proprieary pcl dialect 15:00.52 
kens Though it is, obviously, still good practice to do so15:00.53 
  HenryStiles : yeah that's what we are thinking15:01.02 
Robin_Watts KalusedSource: Really? Canon not HP ?15:01.56 
kens KlausedSource : There's no way we can deal with this, its not PCL.15:02.12 
KlausedSource Robin_Watts, yes it is a canon15:02.16 
Robin_Watts Which canon?15:02.26 
kens But the driver is using what 'looks like' a Canon-specific language, not PCL15:02.34 
  So we can't interpret it15:02.40 
  You'll need to use a different printer, or a different emulation of htat printer15:02.54 
KlausedSource Robin_Watts, imageprograf ipf605.15:03.17 
  - the .15:03.22 
Robin_Watts Those support GARO or HP-GL2 apparently.15:03.31 
  We don't support GARO.15:03.47 
kens Indeed15:03.52 
  And neither of them is PCL15:03.57 
KlausedSource so there is no way to achieve what i am looking for with this printer?15:04.19 
Robin_Watts We *might* support some HP-GL/2 stuff as part of PCL, but I'd not want to rely on it. HenryStiles would know more.15:04.26 
kens The spec sheet I see here says Language : GARTO (Canon proprietary)15:04.28 
Robin_Watts KlausedSource: Not using an unmodified gs, no.15:04.41 
  (or gpcl6)15:04.51 
kens We do support HP-GL/2, but its not PCL. And there's no way we can support an unpublished proprietary language from Canon15:05.02 
KlausedSource so unless I hack into canon and download their proprietary spec and implement this in gs i can't use it right?15:05.23 
kens If you think you can do that, then go ahead :-)15:05.37 
KlausedSource kk np thx for your help guys15:05.48 
kens Ghostscrtip and GhostPCL can't support languages other than PostScript, PDF, PCL, PXL, XPS15:06.01 
HenryStiles KlausedSource: for what it's worth I would bet the embedded raster in that file is jbig.15:07.07 
kens Apparently GARO = Graphics Arts language with Raster Operations15:07.41 
HenryStiles maybe not with a color priniter, not sure15:07.58 
kens HenryStiles : *some* of it is 'PCL-like'15:09.57 
HenryStiles kens: yeah I've seen a lot of files where the basic PCL raster commands are used to support a proprietary or non supported raster format.15:11.38 
kens Well, the 0xCd 0xCA construct looks like its introducing some non-PCL commands. BU who knows fo saure ?......15:12.18 
 Forward 1 day (to 2016/09/13)>>> 
ghostscript.com
Search: