old-www/HOWTO/IPX-HOWTO-11.html

49 lines
1.9 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
<TITLE>Linux IPX-HOWTO: Configuring your Linux machine as a Novell Print Client.</TITLE>
<LINK HREF="IPX-HOWTO-12.html" REL=next>
<LINK HREF="IPX-HOWTO-10.html" REL=previous>
<LINK HREF="IPX-HOWTO.html#toc11" REL=contents>
</HEAD>
<BODY>
<A HREF="IPX-HOWTO-12.html">Next</A>
<A HREF="IPX-HOWTO-10.html">Previous</A>
<A HREF="IPX-HOWTO.html#toc11">Contents</A>
<HR>
<H2><A NAME="s11">11. Configuring your Linux machine as a Novell Print Client.</A></H2>
<P>The <EM>ncpfs</EM> package includes two small programs that allow you to handle
printing from you Linux machine to a printer attached to a Novell print server.
The <EM>nprint</EM> command allows you to print to a file to a NetWare print
queue. The <EM>pqlist</EM> command allows you the list the available print
queues on a NetWare server.
<P>To obtain and install these commands just follow the instructions relating to
the NCP client described earlier.
<P>Both commands require that you supply username and
password so you might normally consider building some shell scripts to make
the task of printing easier.
<P>An example might look like:
<BLOCKQUOTE><CODE>
<PRE>
# pqlist -S ACCT_FS01 -U guest -n
# nprint -S ACCT_FS01 -q LASER -U guest -n filename.txt
</PRE>
</CODE></BLOCKQUOTE>
The login syntax is similar to the <EM>ncpmount</EM> command. The examples
above assume that fileserver <CODE>ACCT_FS01</CODE> has a <CODE>guest</CODE> account
with no password, that a print queue called <CODE>LASER</CODE> exists and that
<CODE>guest</CODE> is allowed to print to it.
<P>On my Linux boxen I have a short shell script for each Novell printer. This
can then be used as a print filter to allow printing using the standard
Linux spooler.
<P>
<HR>
<A HREF="IPX-HOWTO-12.html">Next</A>
<A HREF="IPX-HOWTO-10.html">Previous</A>
<A HREF="IPX-HOWTO.html#toc11">Contents</A>
</BODY>
</HTML>