Patent ID: 8146815

Claim:
A method for selectively printing a vertical bar code and a horizontal bar code which are approximately orthogonal to each other, comprising the steps of: displaying a bar width set-up screen including entry fields for inputting bar widths of a black thin bar, a black thick bar, a white thin bar, and a white thick bar, respectively, as to the vertical bar code, and entry fields for inputting bar widths of a black thin bar, a black thick bar, a white thin bar, and a white thick bar, respectively, as to the horizontal bar code, and storing the bar width information inputted from the bar width set-up screen in the storage, displaying the bar width set-up screen that includes a check field for setting the same values to the bar widths of corresponding bars between the horizontal bar code and the vertical bar code, setting the bar widths, in case a checkmark is placed in the check field, in such a manner that the bar widths of one bar code agree with the bar widths of the other bar code between the vertical and horizontal bar codes, storing bar width information in a storage, independently for each of the vertical and horizontal bar codes, determining, in case a bar code is printed, an orientation of the bar code as to whether the bar code is vertical or horizontal, and drawing an image of the bar code by reading out the bar width information of the bar code corresponding to the orientation as a result of determination.