Microsoft KB Archive/59995

Word: Printing with a Novell Nondedicated Server

PSS ID Number: Q59995 Article last modified on 04-16-1996

3.00n 3.10n 3.11n 4.00n 5.00 5.50 6.00

MS-DOS

= SUMMARY =

A patch is available from Novell to allow you to print through Microsoft products to printers attached to a Novell nondedicated server. NetWare versions prior to NetWare 386 that run nondedicated servers require this patch to print to a network printer (unless a printer VAP is purchased, such as PRINTVAP, LANSPOOL, or QMAP, which allows network printers to be attached to workstations).

The patch can be downloaded from Novell’s Netwire Forum on CompuServe. The file is located in Novell Software Library #3 and is archived as PRFIX.ARC. If you have other question regarding this problem, contact Novell Technical Support at 1-800-NETWARE (1-800-638-9273).

This information applies to Microsoft Word for MS-DOS versions 3.0n, 3.1n, 3.11n, 4.0n, 5.0, and 5.5.

= MORE INFORMATION =

The following information will help you correct some possible problems with using spooled printers from a Novell nondedicated server.

The problems occur when printing to a printer from the server using Basic, or a compiled Basic program, or a program compiled in one of several other languages. From MS-DOS, you may be able to copy to a file, but the error occurs only from within the program.

Up to three parallel printers can be supported under MS-DOS and Novell. The port addresses used by MS-DOS are located at memory locations 408-40F. Each address is 2 bytes long; so there is room for four printers, but only three are supported. If you want to use three printers, one of the printer ports must be on a monochrome card.

Location    Address       Address of Port     with          without Printer Address Mono Card Mono Card ——- ——- ——— ———

LPT1: 0000:0408 3BC 378 LPT2: 0000:040A 378 278 LPT3: 0000:040C 278 N/A

This problem may also occur if trying to print to a nonspooled printer on the server that has some of the printers spooled. Note that Novell and MS-DOS number the printers differently. In this case, you may have to use DEBUG to modify the address sent to a given port to solve your particular problem.

In a test on a computer with three printers, MS-DOS and Novell swapped LPT1: and LPT2: (one adds from right to left, the other from left to right). If you are using only spooled printers, then the addresses entered into those locations do not matter, as long as they are nonzero (in the manner of the original PRFIX).

The following three programs will correct either printer port 1, 2, or 3. The old PRFIX.COM file only corrected printer port 1. The assembly language listings are shown below in case you need to modify the addresses, or combine all three into one program.

LPT1: LPT2: LPT3: PR1FIX PR2FIX PR3FIX —— —— ——

PUSH DS PUSH DS PUSH DS MOV AX,0000 MOV AX,0000 MOV AX,0000 MOV DS,AX MOV DS,AX MOV DS,AX MOV BL,BC MOV BL,78 MOV BL,78 MOV [0408],BL MOV [040A],BL MOV [040C],BL MOV BL,03 MOV BL,03 MOV BL,02 MOV [0409],BL MOV [040B],BL MOV [040D],BL POP DS POP DS POP DS INT 20 INT 20 INT 20

Potential Application Error Messages

 * Error in reading device LPTX:
 * Cannot write file to LPTX:
 * Port Not Valid:

Disk Contents
PRFIX.TXT - Text file containing instructions for PRFIX patch PR1FIX.COM - Patch for Novell nondedicated server port LPT1 PR2FIX.COM - Patch for Novell nondedicated server port LPT2 PR3FIX.COM - Patch for Novell nondedicated server port LPT3

Disclaimer
Documentation is provided courtesy of Jacobsen Consulting, Fort St. John, B.C., through a redistribution agreement with Novell, Incorporated. Patches are provided through the courtesy of Novell. Microsoft is not liable for any problem resulting from the above mentioned patches, nor will they provide support for them. If you have any problems with the patch, DO NOT contact Microsoft; instead, contact Novell Technical Support at 1-800-NETWARE (1-800-638-9273).

KBCategory: kbother kbnetwork kb3rdparty KBSubcategory: Additional reference words: 3.00n 3.10n 3.11n 4.00n 5.00 5.50

=
================================================================ Copyright Microsoft Corporation 1996.