Each individual pixel is made up of a series of numbers that describe its intensity and tonal values. These descriptions can then be exported into image editing software. The reflected light from this moving strip is reflected by mirrors into a lens that consenses it and beams it down onto the CCD array. If the alignment of your image is off, move the original in the same direction that it appears to be leaning to correct it. Scanner ppi and printer ppi are not the same.
Scanners treat an image as an array of pixels.
The value of each captured pixel represents one of many shades of gray or several millions of colors. Scanner pixels and printer dots are very different animals. Then convert to Bitmap. Dye-sublimation printers have a hard time creating the sharp edges you need for texts and drawings. For both color and grayscale images, your scanning mode should be RGB color because grayscale images turn out better if you collect the color information in the scan and then convert to Grayscale.