
How can API be used to change Tray to Form assignments?
How can the Windows API be used to change Tray to Form assignments without a
dialog box.
Our network uses custom NT form types (ie. Letterhead 1, 2, 3...) with "Hold
for mismatched documents" selected. The documents will hold, but you have
to use the printers properties box on an NT box to change the Tray to Form
assignment in the Device Settings tab.
One of our proposed solutions is to write a 3 tier app that will allow
remote control of the print queue. However, VB's printer object is
insufficient and I can't get it working using the API.
There is a PrinterProperties function but this uses a dialog box. There is
a DocumentProperties function which didn't change the current printer
properties in order to allow the held documents to print.
Any ideas out there? Or does anyone know of any OCX's or 3rd party software
that will accomplish these goals? The software must run on Windows 95.