Discussion Locked

How does the Printer Queue windows get t

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

Hows does the printer queue window get the number of pages information from the print job...

And how do I get this information? (API wise)

3 replies

by cscnet

The driver interprets the number of pages from the code sent by the software with the print command (automatic page breaks or user defined page breaks and so on). If you have to use a compatable windows driver, instead of the oem you sometimes run into problems with this. Sometimes the driver decides (often seen by printing from internet explorer). If you ever try to get a dos program to print payroll checks on a windows printer, you get a good work over on this. To illustrate this. Try printing from dos prompt with no TSR drivers using a continuous form printer. Find a good size directory and type "dir > lpt1". Unless the printer has prom for use to define page breaks, you will get one big page. Whether it fits or not the printer doesn't seperate pages.

To find info on this look for OS & Driver architecture, i suppose.

This discussion is closed to new replies.