This document provides instructions for a program that takes in information about lettuce - the variety, location ID, and harvest date - and outputs a barcode string. The program prompts the user to input the three pieces of information. It then extracts elements from each input to include in the barcode format: the first 3 letters of the variety in uppercase, the first and last letters of the month from the date with the first uppercase and last lowercase, the field ID and farm ID from the location ID, separated by hyphens.