home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / OSK / NETWORK / netpbm_docs.lzh / NETPBM / DOCS / pbmupc.1 < prev    next >
Text File  |  1996-11-18  |  2KB  |  63 lines

  1. .TH pbmupc 1 "14 March 1989"
  2. .IX pbmupc
  3. .SH NAME
  4. pbmupc - create a Universal Product Code bitmap
  5. .SH SYNOPSIS
  6. .B pbmupc
  7. .RB [ -s1 | -s2 ]
  8. .I type manufac product
  9. .SH DESCRIPTION
  10. Generates a Universal Product Code symbol.
  11. .IX "Universal Product Code"
  12. The three arguments are: a one digit product type, a five digit
  13. manufacturer code, and a five digit product code.
  14. For example, "0 72890 00011" is the code for Heineken.
  15. .IX Heineken
  16. .PP
  17. As presently configured,
  18. .I pbmupc
  19. produces a bitmap 230 bits wide and 175 bits high.
  20. The size can be altered by changing the defines at the beginning of
  21. the program, or by running the output through
  22. .I pnmenlarge
  23. or
  24. .IR pnmscale .
  25. .SH OPTIONS
  26. .PP
  27. The
  28. .B -s1
  29. and
  30. .B -s2
  31. flags select the style of UPC to generate.
  32. The default,
  33. .BR -s1 ,
  34. looks more or less like this:
  35. .nf
  36.  ||||||||||||||||
  37.  ||||||||||||||||
  38.  ||||||||||||||||
  39.  ||||||||||||||||
  40. 0||12345||67890||5
  41. .fi
  42. The other style,
  43. .BR -s2 ,
  44. puts the product type digit higher up, and
  45. doesn't display the checksum digit:
  46. .nf
  47.  ||||||||||||||||
  48.  ||||||||||||||||
  49. 0||||||||||||||||
  50.  ||||||||||||||||
  51.  ||12345||67890||
  52. .fi
  53. .SH "SEE ALSO"
  54. pbm(5)
  55. .SH AUTHOR
  56. Copyright (C) 1989 by Jef Poskanzer.
  57. .\" Permission to use, copy, modify, and distribute this software and its
  58. .\" documentation for any purpose and without fee is hereby granted, provided
  59. .\" that the above copyright notice appear in all copies and that both that
  60. .\" copyright notice and this permission notice appear in supporting
  61. .\" documentation.  This software is provided "as is" without express or
  62. .\" implied warranty.
  63.