Thanks for the help. I didn't think of the form feed control codes. It works now.
@jlasman: I'm making a PCL Viewer like PageTech, RedTitan, SwiftView. With more possibilities.
http://www17.zippyshare.com/v/26581354/file.html
this is the print stream. There should be 4 pages. Hope you can help me find when the pages are ejected.
Hi,
In most cases the page is ejected when the cursor moves beyond the printable area, am I right?
I have a .prn file with PCL5 and the cursor moves to halfway the page, then HPGL is used to move the cursus further down, but not beyond the printable area...
How do I know when the paga is ejected?
I have the TrueType glyph data field of a character descripter for TrueType Fonts.
This is represented as decimal numbers
ex: 02092255237363320205664766311923...106401766432156631
I am able to render bitmapped characters (with different compression methods). Their description is simple. 1 for...
Thanks for the fast reply.
I'm aware of the different tables in e TrueType file.
In the character descripter/date is a field "Glyph ID".
When I lookup that Glyph ID in the cmap table in the TrueType font tile, I can get the character code.
It would be much easier if there was a way to know...
Hi,
I'm trying to create a pcl viewer.
I got stuck with the TrueType Characters.
What exactly contains a character's glyph data?
How do I interpret this value?
I can't find much information in the "PCL 5e Technical Reference Manual"
Thanks in advance
It works perfect with a BinaryReader. I got all PJL, PCL and HPGL/2 commands now.
Now I will try to execute the commands to render the page. Any suggestions?
Thanks,
The problem is that i'm not using the correct reader to read the file in c#.
I used a StreamReader's BaseStream to read the bytes. Now changing my application to use a BinaryReader :-)
Hi,
I'm writing a program to view all the PCL Commands of a pcl file.
It works good so far except when it encounters the following
example:
<ESC>*b0M
<ESC>*b0WSystem.Byte[]
<ESC>*b2M
<ESC>*b6WSystem.Byte[]
� ��
<ESC>*b2M
When a compression method is set (<ESC>*b#M). It starts to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.