cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Unexpected binary sequences in Postscript generated by Canon printer driver

TimWoodward
Apprentice

We are having issues with the Postscript code generated by the "Canon iR-ADV C5235/5240 PS3" printer driver. We print a test document (3 A4 pages of Lorem Ipsum text) and get the following Postscript output in the Windows spool directory:

 

http://files.etvdzs.info/original.ps

 

We have tried various Postscript viewers/converters, and they are unable to handle this file. The reason is that the file contains sections of binary data at the beginning and end, and also the following byte sequence at position 0x1060b:

 

cd ca 10 02 00 1a 00 01 82 6f ff ff 00 00 00 00 00 00 00 00 01

 

If we remove these three binary sequences, we get the resulting file, which works fine in most Postscript viewers/converters we have tried:

 

http://files.etvdzs.info/cleaned.ps

 

Has anybody else encountered similar issues with Canon printer drivers? Does anybody know what these binary sequences signify, or what format they are in?

2 REPLIES 2

Stephen
Moderator
Moderator

Hi TimWoodward!


Welcome to The Canon Forums, and thank you for your inquiry!

We appreciate your participation, however we need to let you know that the Canon Forum is hosted and moderated within the United States by Canon USA. We are only able to provide support for Canon products manufactured for and used within the US market.

If you live outside the United States, please click here and select your country or region for your support needs.

Feel free to discuss Canon products sold outside of the United States, but please be aware that you will not receive support directly from Canon USA.


Also, Canon USA does not provide direct support for imageRUNNER series products, but your dealer will be able to help you! If you don't have a dealer, please contact your local support group (in the US at 1-800-OK CANON) to have a dealer assigned to you in your area!

TimWoodward
Apprentice

Just to answer my own question:

 

The binary sequences are CPCA codes. One can download documentation about the data structures used in CPCA after registering here:

 

https://www.developersupport.canon.com/user/register

 

It is then reasonably straightforward to write a program that strips the CPCA codes out of the file. The file can then be loaded successfully by 3rd-party Postscript viewers/converters.

Announcements