Abstract: A document scanner method and apparatus is provided which allows for the detection of the presence and size of a document to be scanned. The scanner is also able to determine whether the document being scanned is skewed. The document scanner includes an automatic document feeder (ADF), which includes a light pipe. The light pipe on the ADF redirects light from a light source to extra CCD pixels in a CCD array. Accordingly, when a document is present, the document will come between the light pipe and the light source and the extra CCD pixels in the CCD array will not detect light. When this occurs, a controller will determine that a document is present and will send commands to the ADF to feed the document forward and to the scanner to begin the scanning process. Similarly, other light pipes along the document scan path redirect light to extra CCD pixels of the CCD array and permit document size and document skew to be determined.