IPP> How does this ABNF look for the Media Size Self Describi ng Name?

IPP> How does this ABNF look for the Media Size Self Describi ng Name?

Bergman, Ron Ron.Bergman at Hitachi-hkis.com
Fri May 4 16:22:53 EDT 2001


Tom,

I agree.  My point was to cover it in the ABNF but not include a lengthy
discussion.  The ABNF appears to be satisfactory.

	Ron

-----Original Message-----
From: Hastings, Tom N [mailto:hastings at cp10.es.xerox.com]
Sent: Friday, May 04, 2001 12:08 PM
To: Bergman, Ron
Cc: ipp (E-mail)
Subject: RE: IPP> How does this ABNF look for the Media Size Self
Describi ng Name?


Ron,

Don was the person that brought up the point of clarification about how to
represent a dimension that was less than 1 at Portland which I captured in
the minutes.  Otherwise, there could be two forms:

  0.nnn
  .nnn

I agree that less than 1 inch (and less than 1 mm) is hardly useful, but we
should cover that case, especially, for the custom case.  And more
importantly, we certainly don't want to allow other leading zeros though,
such as 08.5x011in

The whole idea is that a recipient just does a string match to recognize a
name, not a conversion to numbers and a compare.  So names have a canonical
syntax for all values.

Tom

-----Original Message-----
From: Bergman, Ron [mailto:Ron.Bergman at Hitachi-hkis.com]
Sent: Thursday, May 03, 2001 18:19
To: 'Hastings, Tom N'; ipp (E-mail)
Subject: RE: IPP> How does this ABNF look for the Media Size Self
Describi ng Name?


Tom,

It is hard to imagine a doument less than an inch wide let alone less than a
millimeter wide.  Maybe in a special label printer, but is this class of
device going to make use of this standard?  Most printers would have many
such labels on a single sheet.  But as long as a description of this
situation is not required, it can remain in the ABNF.

Also, in response to Don Wright's email, I have proposed that the "x" be
changed to a "-".

	Ron

-----Original Message-----
From: Hastings, Tom N [mailto:hastings at cp10.es.xerox.com]
Sent: Thursday, May 03, 2001 3:22 PM
To: ipp (E-mail)
Subject: IPP> How does this ABNF look for the Media Size Self Describing
Name?


How does this ABNF look for the Media Size Self Describing Name?

We agreed in Portland that if a size was ever smaller than an inch or a mm,
the it would have a single zero for the integer part.  Otherwise, the
integer part is without leading zeros.  Also the fraction part, if present,
has no trailing zeros.  I left the prefix as a separate token because we
probably want to mention it in the text as a separate section:

5.1.1   prefix   This string part is present to indicate the name space or
jurisdiction for the size name in order to prevent name clashes.  Examples
include "na" for North America, "iso" for the International Standards
Organization, etc. 
 

Thanks,
Tom

   media-size-self-describing-name = size-name "_" short-dim "x" long-dim
units
   size-name = prefix "-" lowalpha *( lowalpha | digit | "-" )
   prefix = lowalpha *lowalpha
   short-dim = dim
   long-dim = dim
   units = "in" | "mm"
   dim = integer-part [fraction-part] | "0" fraction-part
   integer-part = non-zero-digit *digit
   fraction-part = "." *digit non-zero-digit
   lowalpha = "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" |
              "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" |
              "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z"
   non-zero-digit = "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9"
   digit    = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9"



More information about the Ipp mailing list