Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Strange PCL output by Canon iR-ADV C5235/5240 PCL6 printer driver

16 Sep 2013   #1

Windows 7 Ultimate x64
Strange PCL output by Canon iR-ADV C5235/5240 PCL6 printer driver

In our software we need to be able to convert SPL files which printer drivers write to the C:\Windows\System32\spool\PRINTERS folder to PDF files. For SPL files in PCL format we perform this conversion using pcltool.exe from VeryPDF, which mostly works fine. However we are having trouble with SPL files generated by the printer driver "Canon iR-ADV C5235/5240 PCL6". As an example, the following file results from printing out a single page in notepad with the word "something" on it:

Converting 00025.spl using pcltool.exe results in a 70-page PDF with a row of garbage characters at the top of each page. Attempting to open 00025.spl using other PCL viewers gives similar results. We asked VeryPDF and they told us it is not a valid PCL file.

So I did some more research and found out that the SPL files contain CPCA codes, as mentioned in the following post:

[WinPrnDev] Re: Canon PCL XL - winprndev - FreeLists

I then implemented a program to remove CPCA codes from spool files. Running this program on 00025.spl gives the following file:

Unfortunately, attempting to view/convert 00025.cleaned.SPL gives similarly unusable results as with 00025.SPL.

Can anybody tell me exactly what is wrong with this file? Is there some other way of converting spool files generated by the "Canon iR-ADV C5235/5240 PCL6" to standard PCL that can be understood by 3rd-party viewers/converters such as VeryPDF's pcltool.exe? Alternatively, is there a way to configure this printer driver so that it outputs standard PCL?

P.S. The program I wrote does successfully convert spool files generated by the printer drivers "Canon iR-ADV C5235/5240 PCL5c" and "Canon iR-ADV C5235/5240 PS3" to valid PCL and Postscript respectively, so I don't think it is a simple matter of the program not working.

My System SpecsSystem Spec


 Strange PCL output by Canon iR-ADV C5235/5240 PCL6 printer driver

Thread Tools

Similar help and support threads for2: Strange PCL output by Canon iR-ADV C5235/5240 PCL6 printer driver
Thread Forum
BCJ - 4000 Canon printer driver needed Drivers
Canon printer driver installation Drivers
Canon MX870 Printer - Driver Issues Drivers
Driver needed for Canon LBP2900 printer Drivers
Canon x64 Win7 printer driver for d761 Drivers
Window 7 driver for canon printer IR C3100 Drivers
Canon S520 printer driver Drivers

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 05:34 AM.
Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33