It has been a while since I did this in Novell, But check out the set printer to command. I remember this command was a stickler for all the rules. Make sure you do everything right. If this does not work, there is a way to change the default printer in the Windows enviroment to a Novel Print queue. Then all you have to do is issue the print command.
SET PRINTER TO
[\\<machine name> \<printer name> = <dest>]
or
SET PRINTER TO
[\\SPOOLER [\N] [\F=<expN>] [\B=<banner>] [\C=<expN>] [\P=<expN>]]
[\S=<server>]
[\Q=<queue>]
\\<machine name>\<printername> = <dest>
The first format of the network SET PRINTER command spools printer output to a network printer. <machine name> is the network name assigned to your workstation. This name is assigned by the network administrator and must be unique. <printer name> is a name assigned to the printer and is also assigned by the network administrator. LPT1, LPT2 or LPT3 is used to identify the destination (<dest>) of the installed printer.
The second format of the network SET PRINTER command is specifically designed for printing under Novell Advanced Netware version 2.00 or later.
\\SPOOLER
Although SPOOLER must be included for compatibility, it is ignored. Any character string can be substituted. When using the options below, don't include any space between the clauses.
\N
Include this clause to suppress printing a banner page (No Banner).
\F = <expN>
This clause specifies the form number <expN> (0 through 255) that the output is printed on. This option is useful for producing different types of printed output, such as checks, invoices, letters, and so on.
\B = <banner>
This clause specifies the heading that is printed on the banner page. <banner> can contain up to 12 characters. The default heading is your network user name.
\C = <expN>
This clause specifies the number of copies (1 through 255) queued to a network printer. The default is 1.
\P = <expN>
This clause specifies the network printer where output is sent. <expN> is a number assigned to the printer by the network. The default is 0.
\S = <server>
This clause specifies the network server to which the printer is attached. <server> shouldn't be a character string (that is, it shouldn't be surrounded by quotation marks).
\Q = <queue>
This clause specifies the queue name assigned to the printer you send output to. <queue> shouldn't be a character string (that is, it shouldn't be surrounded by quotation marks). David W. Grewe
Dave@internationalbid.com
ICQ VFP ActiveList #46145644