The information in this article applies to:
SYMPTOMSIn Microsoft Excel, if you run a Lotus 1-2-3 macro that performs a print command across a Novell network, you receive the following error messages where <cell address> is the address of the macro's print statement followed by the error:
CAUSE
In order to print to a Novell Netware print queue, the LPT port must be
redirected (captured) to the appropriate server and print queue. Lotus 1-2-
3 requires the printer port be captured. Microsoft Windows, by default,
does not capture LPT ports. This capture must be done either at the MS-DOS
level or through your Novell login script.
Q152217 XL: Error Printing to LPT1 with 1-2-3 Print Macro in Windows WORKAROUNDTo work around this problem, use either of the following methods. Method 1Use the Novell Capture command at the MS-DOS prompt before you enter Microsoft Windows to redirect or capture a printer port to a network server.For example, the following capture statement redirects LPT1 to the server named SERVER1 and the printer queue named QUEUE1. It also turns off form-feed, banners, and disables time-outs.
After you have restarted Windows, go to the Printers dialog box in
Control Panel and connect your default printer to the port used
in the capture statement.
Method 2: In Place of the Lotus 1-2-3 Print Macro, Use the XLCALL FunctionExample:The following Lotus macro prints the selected range:
Use the following in place of the above macro statement. The
following runs a Microsoft Excel macro called Print_Macro to
print the selected range.
Microsoft provides programming examples for illustration only, without
warranty either expressed or implied, including, but not limited to, the
implied warranties of merchantability and/or fitness for a particular
purpose. This article assumes that you are familiar with the programming
language being demonstrated and the tools used to create and debug
procedures. Microsoft support professionals can help explain the functionality
of a particular procedure, but they will not modify these examples to
provide added functionality or construct procedures to meet your specific
needs. If you have limited programming experience, you may want to contact
the Microsoft fee-based consulting line at (800) 936-5200. For more
information about the support options available from Microsoft, please see
the following page on the World Wide Web:
http://www.microsoft.com/support/supportnet/overview/overview.aspMicrosoft Excel Visual Basic Macro Example:
MORE INFORMATIONThe Novell Netware Capture command redirects workstation printer output to a network print queue or file. The Capture command uses the following syntax
where:
L refers to the LPT port Additional query words: 5.00c
Keywords : xlprint xlwin |
Last Reviewed: November 9, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |