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.

Holiday
Announcements

12/18/2025: New firmware updates are available.

EOS C400 - Version 1.0.4.1

EOS C80 - Version 1.0.4.1

XF605 - Version 1.0.7.1


12/15/2025: New firmware update available for EOS C50 - Version 1.0.1.1

11/20/2025: New firmware updates are available.

EOS R6 Mark III - Version 1.0.1

EOS R3 - Version 2.0.0

EOS R1 - Version 1.2.0

EOS R5 Mark II - Version 1.2.0

EOS R5 - Version 2.2.1

PowerShot G7 X Mark III - Version 1.4.0

PowerShot SX740 HS - Version 1.0.2


10/21/2025: Service Notice: To Users of the Compact Digital Camera PowerShot V1

10/15/2025: New firmware updates are available.

Speedlite EL-5 - Version 1.2.0

Speedlite EL-1 - Version 1.1.0

Speedlite Transmitter ST-E10 - Version 1.2.0


07/28/2025: Notice of Free Repair Service for the Mirrorless Camera EOS R50 (Black)

7/17/2025: New firmware updates are available.

EOS R7 - Version 1.7.1

EOS R10 - Version 1.7.0

EOS R8 - Version 1.5.0

EOS R50 - Version 1.4.0

Powershot V10 - Version 1.4.0

Powershot V1 - Version 1.1.0

EOS R50V - Version 1.1.1


05/21/2025: New firmware update available for EOS C500 Mark II - Version 1.1.5.1

02/20/2025: New firmware updates are available.

RF70-200mm F2.8 L IS USM Z - Version 1.0.6

RF24-105mm F2.8 L IS USM Z - Version 1.0.9

RF100-300mm F2.8 L IS USM - Version 1.0.8

RF50mm F1.4 L VCM - Version 1.0.2

RF24mm F1.4 L VCM - Version 1.0.3


01/22/2024: Canon Supports Disaster Relief Efforts in California
01/14/2025: Steps to resolve still image problem when using certain SanDisk SD cards with the Canon EOS R5 Mark II