29. A method in a web browser on a data processing system for processing a document, the method comprising: receiving a first web document; receiving a request to change a font attribute within the first document; receiving a request to display page break indicators within the first web document; identifying page break information for the first web document for an output device; and creating in the web browser a second web document from the first web document, wherein virtual font indicators are inserted into the second web document before and after text within the second web document, wherein at least one virtual page break indicator is inserted into the second web document, in response to the page break information, to indicate the location of page breaks, wherein the first web document and the second web document are markup language documents, and wherein identifying the page break information comprises identifying a location of the page break based on page setup information, document formatting information, and document content.
41. The method of claim 29 , wherein the device driver is a printer driver.