home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / utilities / utilsf / lazyprint / !LazyPrint / CSVInstr < prev    next >
Encoding:
Text File  |  1996-02-23  |  1.3 KB  |  25 lines

  1.                 Converting a CSV file to labels for printing
  2.                               in !LazyPrint.
  3.  
  4.      To print labels requires the text file to be in exactly the correct
  5. format with a fixed number of lines per label and a maximum width to avoid
  6. printing over label gaps.
  7.  
  8.      The program 'CSV2Labels' takes a file with, for instance, names and
  9. addresses where each part of the entry is separated by commas and the
  10. entries are separated with a newline. The entries may be enclosed in quotes
  11. thus allowing commas inside them. This is 'Comma Separated Variables'
  12. format, which is available from most database programs. For example:
  13.  
  14. "A.N.Other","","123 4th Street","","Anytown","County, CT99 A12"
  15. "E.T.Cetera","Nonentity","High Street","Village","Town","County, XY7 X89"
  16.  
  17.     In these two examples the parts of the entries were set up expecting a
  18. name and 5 parts to the address. Not all 6 parts are always used, some being
  19. left blank (either two adjacent commas or a pair of quotes with nothing in
  20. between).
  21.  
  22.     To run the program, simply double-click on your CSV file (which must be
  23. of type DFE) and two little windows will appear; in the top one enter the
  24. number of lines per label and the maximum number of characters per line. The
  25. second is a standard 'Save as:' window for saving the output text file.