HOWTO: Direct Connected Network Printers Using DLC, IPX

ID: Q115757


The information in this article applies to:


SUMMARY

Windows NT as a base system does not support printing directly to a printer with an option card, which connects the printer directly into the network using a protocol in the card. The most common protocols used are IPX and DLC.

The process that the printer goes through to print is as follows:

  1. The application begins to generate output for the targeted spooled printer.


  2. The spooler subsystem passes the data to the local print provider. If any other print providers are installed (such as through the network control panel under the Networks option), the data is passed to the additional print providers.


  3. The data is passed to the appropriate print processor.


  4. The print processor handles the data to determine what, if anything, must be done to the data to make it printable.


  5. After processing, the data returns back to the print provider.


  6. At this time, the print data is sent to the appropriate print monitor.


The key to providing support for direct connected printers is a custom print monitor. You can use the print monitor to give a printer driver more options during installation for where the print data will be directed. This is set up during installation: when selecting the port connected to the printer, you can either choose "Other" and select a print monitor already installed in the system or choose to install a new print monitor.

When the print provider is ready to send data to the print monitor, there are a set of mandatory callback functions that must be present in the monitor driver. These functions include the following: The data is transmitted to the print monitor through these callback functions. The print monitor can then transmit the data through appropriate means for the connection or protocol you want. For example, under IPX you can communicate to the card using the Sockets API, and under DLC you can communicate to the card using the AcsLan API.

More information on these functions can be found in the "Microsoft Win32 Subsystem Driver Design Guide," in section 1.4, "Print Monitors."

Additional query words: 3.10 3.50 PRINTING MONITOR IPX


Keywords          : kbNTOS310 kbNTOS350 kbNTOS351 kbSDKWin32 kbDSupport 
Version           : winnt:3.1,3.5,3.51
Platform          : winnt 
Issue type        : kbhowto 

Last Reviewed: July 7, 1999