Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Maxicode question
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Terry Burton  
View profile  
 More options Jan 19 2008, 9:34 am
From: "Terry Burton" <t...@terryburton.co.uk>
Date: Sat, 19 Jan 2008 14:34:22 +0000
Local: Sat, Jan 19 2008 9:34 am
Subject: Re: [postscriptbarcode] Maxicode question
On Jan 17, 2008 9:17 PM, coyotegrin <CoyoteG...@gmail.com> wrote:

> According to the Maxicode specification, mode 4 should be the one with
> 93 codewords, whereas mode 5 allows only 77 codewords.  As such, if
> I'm not mistaken the code should actually read:

> % First symbol is the mode and the remainder are the padded message
> /cws [ mode 4 eq {94} {78} ifelse {33} repeat ] def
> cws 0 mode put
> cws 1 msg maxiparse putinterval

Hi Jean-Francois,

Well spotted - it was indeed a bug in the PostScript. Your supplied
fix is not quite correct because it does not take account for mode 6
which basically operates the same as mode 4, so in fact the correct
fix is:

/cws [ mode 5 eq {78} {94} ifelse {33} repeat ] def
cws 0 mode put
cws 1 msg maxiparse putinterval

I have put the fix into trunk and tagged the new release as 2007-01-19.

Thanks again,

Tez


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.