Printing to certain printers through winprint.exe can cause the printer to eject lots of blank pages, rather than the desired APPX OUTPUT file. This can be caused by the printer driver not knowing from NT's Forms database the page size of the current form, and returning a form length of zero to winprint.exe. This can be diagnosed by setting the environment variable WINPRINT_DEBUG=C:\winprint.txt from the DOS command prompt, then manually running winprint against an APPX generated printfile.
To override the NT form length, enter into your APPX FORM table's FORM CONTROL attribute: -form_id=Letter
A complete list of valid form_ids can be seen by clicking on winprint.exe from Windows Explorer.
|