• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 247
  • Last Modified:

Any idea what language this is?

Here is some sample of a file that I have...

I  7.0 c$lpi  12.0 c$cpi  /Courier 0 c$fnt  C$LMAR C$TMAR moveto  01 c$sl  c$nl  01 c$nl  01 c$nl  01 c$nl  01 c$nl  01 c$nl  01 c$sl  c$nl  

This file is sent directly to the printer, similar to a
Postscript file, however it is not Postscript.  I need
to know if anyone has seen this before and can tell me
what language it is in?  
1 Solution
Asta CuCommented:
Looks like printer commands to me, lpi, lines per inch - cpi, characters per inch, specific fonts and control points for the printer.  Could it be PCL?
Lookd like PCL to me, but not sure.

ryanmasonAuthor Commented:
No, it's not PCL.
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Asta CuCommented:
or possibly PCL5?
Asta CuCommented:
ATM?  If not, I give up, searched extensively multiple computers and internet, no hits.  What is this file?  Is 7.0 a version of a related app generating these printer command sequences?
Can you tell us what type of printer you are sending this file?  I suspect this is a proprietary format for this printer.

ryanmasonAuthor Commented:
Sorry but I don't have much more information on this file.  
We're having trouble getting answers from the client, that's
why I posted it here.  I was hoping that the commands would
look familiar to someone but they haven't so far.  I'm starting
to think now that it just may be a custom program that's creating and interpreting these codes.  I actually started trying to convert it code by code (since it's obvious what
each code does) and it's working.  

If anyone happens to know exactly what this code is then let
me know, if not then I'll consider this closed.  Thanks to
those who responded.

PostScript is a language which allows a "macro" to be defined.
So, each command, above, could be a call to invoke a macro.
It is mostly a printer job language (PJL).

Try checking which printer it is being sent to, if it is a HP printer like HP LaserJet 5Si Mx, etc it is bound to be PJL.

This question was awarded, but never cleared due to the JSP-500 errors of that time.  It was "stuck" against userID -1 versus the intended expert whom you awarded.  This corrects the problem and the expert will now receive these points; points verified.

Please click on your Member Profile and select "View Question History" to navigate through any open or locked questions you may have to update and finalize them.  If you are an EE Pro user, you can also choose Power Search to find all your open questions.

This is the Community Support link, if help is needed, along with the link to All Topics which reflects many TAs recently added.  Also in the Community Support link is a question on how experts can help, if they wish, on the cleaning of old and abandoned questions.

Thank you,
Moderator @ Experts Exchange
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now