ON 20100603@3:14:14 AM at page: On a web page you were interested in at: http://www.sxlist.com/techref/language/pcl/index.htm#40332.1348726852 Goran Tomic[GT-goran-] See also: /techref/language/pcl/index.htm

Hi, guys. My first time asking, please don't shoot me for nubishness.

I am parsing some PCL5 and I ran into some peculiar stuff:

1) embeded data with no command preceding it, usually hex 20es, like: "1b 2a 70 38 39 32 58 25 26 27 28 29 27 24 2a 2b 29" - here you can see a horisontal cursor movement command, but right after x58 I get a string of 20es, related apparently to nothing.
What is this stuff and is there a way to predict it lengthwise? My guess was content to be drawn right after a movement, but I would like to predict it's appearance to parse it properly.

2) Sometimes I get a x0d byte at the end of embeded data, like so: "1b 2a 76 36 57 00 01 08 08 08 08 0d"
Sometimes it's on the end of unpredicted data I mentioned in 1), like so: "1b 2a 70 31 38 33 32 58 29 27 24 2e 2f 30 24 0d"
It appears other places too, like right after exit from PJL and entrance to PCL following the x0a(newline) byte, like so(PJL is ascii for clarity): "@PJL ENTER LANGUAGE=PCL 0a 0d".
What is this byte for and can I predict it's appearance?

ON 20100603@3:30:59 AM at page: On a web page you were interested in at: http://www.sxlist.com/techref/language/pcl/index.htm#40332.1465046296 Goran Tomic[GT-goran-] Questions: Hi, guys. My first time asking, please don't shoot me for nubishness.

I am parsing some PCL5 and I ran into some peculiar stuff:

1) embeded data with no command preceding it, usually hex 20es, like: "1b 2a 70 38 39 32 58 25 26 27 28 29 27 24 2a 2b 29" - here you can see a horisontal cursor movement command, but right after x58 I get a string of 20es, related apparently to nothing.
What is this stuff and is there a way to predict it lengthwise? My guess was content to be drawn right after a movement, but I would like to predict it's appearance to parse it properly.

2) Sometimes I get a x0d byte at the end of embeded data, like so: "1b 2a 76 36 57 00 01 08 08 08 08 0d"
Sometimes it's on the end of unpredicted data I mentioned in 1), like so: "1b 2a 70 31 38 33 32 58 29 27 24 2e 2f 30 24 0d"
It appears other places too, like right after exit from PJL and entrance to PCL following the x0a(newline) byte, like so(PJL is ascii for clarity): "@PJL ENTER LANGUAGE=PCL 0a 0d".
What is this byte for and can I predict it's appearance? ON 20100610@6:03:24 PM at page: On a web page you were interested in at: http://www.sxlist.com/language/pcl/index.htm#40332.0928240741 James Newton[JMN-EFP-786] Published and replied to post 40332.0928240741 by mail |Insert 'x0d is a carriage return. The stuff in the 20's are ASCII control characters. See: ASCII' at: '' mail@goran.dk asks:

I got the following sequences in a PCL 5 file (hex): "1b 2a 70 35 31 38 58 22 23 24 25" "2a 70 34 34 37 58 20 21 0d" <--- this one has a mysterious x0d at the end. Now I can perfectly well see the movement on the X axis, but I have no idea what the data that comes after x58 is. The value inside the command is all about movement and it doesn't fit length of embeded data (as it should with proper embeded data), so I can't predict the data that comes after it. Also the data is not conclusively in the hex 20es, as you can see in the second example. What is this data and how can I predict it? I also have the mysterious x0d appearing at the end of random stuff, like right after some imbeded data - totally unpredictable: "2a 76 36 57 00 01 08 08 08 08 0d" Here I read 6 pieces of data and then I get hit by a x0d - what is this?
|Delete 'P-' before: '' but after: 'mail@goran.dk asks:
I got the following sequences in a PCL 5 file (hex): "1b 2a 70 35 31 38 58 22 23 24 25" "2a 70 34 34 37 58 20 21 0d" <--- this one has a mysterious x0d at the end. Now I can perfectly well see the movement on the X axis, but I have no idea what the data that comes after x58 is. The value inside the command is all about movement and it doesn't fit length of embeded data (as it should with proper embeded data), so I can't predict the data that comes after it. Also the data is not conclusively in the hex 20es, as you can see in the second example. What is this data and how can I predict it? I also have the mysterious x0d appearing at the end of random stuff, like right after some imbeded data - totally unpredictable: "2a 76 36 57 00 01 08 08 08 08 0d" Here I read 6 pieces of data and then I get hit by a x0d - what is this?
  • ' ON 20100610@6:05:51 PM at page: On a web page you were interested in at: http://www.sxlist.com/techref/language/pcl/index.htm# James Newton[JMN-EFP-786] edited the page. Difference: http://www.sxlist.com/techref/diff.asp?url=H:\techref\language\pcl\index.htm&version=19 ON 20100610@6:06:44 PM at page: On a web page you were interested in at: http://www.sxlist.com/techref/language/pcl/index.htm# James Newton[JMN-EFP-786] edited the page. Difference: http://www.sxlist.com/techref/diff.asp?url=H:\techref\language\pcl\index.htm&version=20 ON 20100610@6:12:31 PM at page: On a web page you were interested in at: http://www.piclist.com/language/pcl/index.htm#40337.2697569444 James Newton[JMN-EFP-786] removed post 40337.2697569444 |Delete ' how to compress by using codes
  • '