Discussion Locked

How printer recogns no. of pages in Doc.

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hello

I want to Know how does printer know numbers of Total Pages to Print.

Also Please explain Procedure which computer and printer Follow to communicate with each other to do the printing Job.
i.e. is this an O.S. feature or Printer Software.

Thanking You

Regards
Arati

5 replies

by thechas

Usually, neither the OS, nor the Printer driver.
Most of the time, the source of the number of pages is the application that creates the print job.

If you are using a word processor, it paginates the document, and creates temorary form feed commands that are sent to the printer at the end of each page.
(It's the same for most other softwar packages.)

The printer driver works with Windows (or other OS) to create a spool file with all the coded data for the print job.

The spool file isfed to the printer buffer, and the printer prints untill it runs the buffer empty, or gets a command to stop the print job.

Chas

by rrv

For example if you are in Excel, you can find the number of pages to be printed using a macro. That would be
ExecuteExcel4Macro("Get.Document(50)")

this will return you the number of pages to be printed.

RV

This discussion is closed to new replies.