DX encoding
DX (Digital indeX) encoding is an ANSI and I3A standard, originally introduced by Kodak in March 1983, for marking 135 and APS photographic film and film cartridges. It has several parts, a latent image DX film edge barcode on the film below the sprocket holes, a code on the cartridge used by automatic cameras, and a barcode on the cartridge read by photo-finishing machines.
DX cartridge barcode
Next to the film exit lip is an Interleaved 2 of 5 barcode and a printed number. The 6 digits represent the I3A assigned DX number (middle 4 digits), the number of exposures (last digit) and a proprietary manufacturer's code (first digit). The DX number identifies the manufacturer, film type, and by inference, the necessary developing process type. This is used by automatic photo-finishing machines to correctly process the exposed film. (Kodak US patent 4965628)
DX film edge barcode
Below the sprockets under each frame of 135 film is the DX film edge barcode. The barcode is invisible until the film has been developed. It is optically imprinted as a latent image during manufacturing. They are used by photo finishers to identify and align each frame for printing. It consists of two parallel linear barcodes, one for a synchronizing clock, and the other encoding film data such as type, manufacturer and frame number.(Kodak US patent 4965628)