Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

escape codes for Canon 5255 printer

Posted on 2014-03-25
8
Medium Priority
?
1,485 Views
Last Modified: 2016-03-15
My office used to have a couple of Canon 3200 printers and we have an old ERP program that we would send a printer escape code to and it printed out reports from the ERP system in landscape. This was the string we sent:

  ~E&l1o8d0L~E(s13h3b      

I replaced those 2 old Canons with 2 new Canon ImageRunner Advance C5255 printers and that same code gives an error at the printer (something like "unsupported file format").

I think  0o = portrait and 1o = landscape, and 6d = 6 lines per inch and 8d = 8 lines per inch. I need to find an escape code that will work for these new printers. Thanks in advance for any help anyone can offer.
0
Comment
Question by:WDShelly
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
8 Comments
 
LVL 16

Expert Comment

by:DansDadUK
ID: 39954023
With the assumption that your "~E" place-holder is intended to represent the Escape control-code character (the character with decimal code 27, or hexadecimal 1B), then your sequences have the following interpretation when considered as PCL5 escape sequences.

Offset         Type                   Sequence          Description
-------------  ---------------------  ----------------  ----------------------------------------------------

0000000000     PCL Parameterised      <Esc>&l1o         Orientation: Landscape
0000000005                                   8d         Line Spacing (8 lines-per-inch)
0000000007                                   0L         Perforation Skip: Disable
0000000009     PCL Parameterised      <Esc>(s13h        Primary Font: Pitch (13 characters per inch)
0000000015                                   3B         Primary Font: Stroke Weight: Bold

Open in new window

Attached is a file containing the referenced PCL sequences.

Note:
If your printer does  not support PCL5, then these sequences may be ignored, or may cause errors to be reported. Perhaps your new printer needs an add-on in order to support PCL5?
I've corrected the termination character (which should be upper-case) of the last sequence to be "B" rather than "b".
This font selection sequence will only work as expected if the current font (as selected via another escape sequence, or as per the default set on the printer control panel) is a fixed-pitch font (Courier, Letter Gothic) rather than a proportionally-spaced font (most of the rest e.g. Arial, Times New Roman).
snippet.prn
0
 
LVL 16

Accepted Solution

by:
DansDadUK earned 2000 total points
ID: 39954036
The specification (see http://www.canon.co.uk/For_Work/Products/Office_Print_Copy_Solutions/Office_Colour_Printers/iR_ADV_C5255/ ) of your Canon ImageRunner Advance C5255 printers shows the supported Page Description Languages as:

UFRII (Standard)
PCL5e/6 (Standard for iR-ADV C5235i/5240i/5250i/5255i, optional for iR-ADV C5250/5255 with PCL PRINTER KIT-AR1)
Adobe PostScript Level 3 (Standard for iR-ADV C5250i/5255i, optional for iR-ADV C5235i/5240i/5250/5255 with PS PRINTER KIT-AR1)
0
 

Author Comment

by:WDShelly
ID: 39954142
Thank you, DansDadUK. I'll try your code soon.
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Author Comment

by:WDShelly
ID: 39954556
I'm starting to think that we don't have PCL on this printer. It can handle PostScript and Canon's UFR II and can direct print jpegs and other formats, but the config does not show any PCL compatibility. I'm working with Canon on this and will definitely follow up when I know more and I will certainly award points when I know more. This may take 2 weeks since I'll be out of town soon...
0
 

Author Comment

by:WDShelly
ID: 39960324
DansDadUK,

I'm going to award you points right now while I wait for Canon to come onsite and enable PCL. I don't want you to have to wait to be rewarded for your input.
0
 

Author Closing Comment

by:WDShelly
ID: 39960329
As I wrote in the ticket, I want to reward you now while I'm waiting for Canon to come and enable PCL on these printers.
0
 
LVL 16

Expert Comment

by:DansDadUK
ID: 39960338
Thank you. I hope all goes well.
0
 

Expert Comment

by:JohnnyObbq
ID: 41509137
I know this is an old link, but would your ERP software be SyteLine by chance? We just purchased a Canon ir-Adv-C5255 and had the same issue. The UFRII does not work so we had to get the PCL6 driver. I am still having some issues with printing. I can get a page to rotate landscape but when I try to condense the text it does not work. Any thoughts would be appreciated.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to solve seemingly unsolvable printer issues. Users sometimes run into printing issues where all the normal steps do not seem to work. Well the steps below can show users how to take one extra step beyond the normal steps needed to remove old…
When I recently replaced my image transfer kit on my office HP color laserjet 5550dn printer, I had a slight problem.  The left bracket that holds the transfer kit got stuck in the upright locked position instead of being at a 45 degree angle facing…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses

609 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question