Patent ID: 7461917

Claim:
A method for printing bars in a bar code with an inkjet printer, comprising: computing a print resolution for printing a first bar according to the equation First Print Resolution=(First Bar Width−Dot Size)+(First Number of Dots−1) where First Bar Width is a desired width of the first bar, Dot Size is the nominal diameter of each ink dot and First Number of Dots is the number of ink dots to be printed across the width of the first bar; adjusting a spacing between ink dots across the width of the first bar based on the computed first print resolution; computing a position of a first ink dot in a second bar according to the equation First Dot Position=Last Dot Position+Bar Spacing+Dot Size where Last Dot Position is the position of the center of the last ink dot in the first bar and Bar Spacing is the distance between the first and second bars; adjusting a timing of a firing pulse for ejecting an ink drop for the first ink dot to position the first ink dot at the computed position; computing a second print resolution for printing the second bar according to the equation Second Print Resolution=(Second Bar Width−Dot Size)+(Second Number of Dots−1) where Second Bar Width is a desired width of the second bar, Dot Size is the nominal diameter of each ink dot and Second Number of Dots is the number of ink dots to be printed across the width of the second bar; adjusting a spacing between ink dots across the width of the second bar based on the computed second print resolution; printing the first bar; and printing the second bar.