From 0034a96c1cf48be7f71aecc5b14f7dfc1fc9e82e Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sun, 25 Mar 2001 14:05:50 +0000 Subject: [PATCH] (MS-DOS Printing): Document the use of "net use" with networked printers. --- man/msdog.texi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/man/msdog.texi b/man/msdog.texi index 099686215de..344da4acbe0 100644 --- a/man/msdog.texi +++ b/man/msdog.texi @@ -443,6 +443,22 @@ of servers, and @samp{net view @var{server-name}} to see the names of printers @samp{Network Neighborhood} icon on your desktop, and look for machines which share their printers via the network. +@cindex @samp{net use}, and printing on MS-Windows +@cindex networked printers (MS-Windows) + If the printer doesn't appear in the output of @samp{net view}, or +if setting @code{printer-name} to the UNC share name doesn't produce a +hardcopy on that printer, you can use the @samp{net use} command to +connect a local print port such as @code{"LPT2"} to the networked +printer. For example, typing @kbd{net use LPT2: +\\joes_pc\hp4si}@footnote{ +Note that the @samp{net use} command requires the UNC share name to be +typed with the Windows-style backslashes, while the value of +@code{printer-name} can be set with either forward- or backslashes.} +causes Windows to @dfn{capture} the LPT2 port and redirect the printed +material to the printer connected to the machine @code{joes_pc}. +After this command, setting @code{printer-name} to @code{"LPT2"} +should send the printed material to the networked printer. + Some printers expect DOS codepage encoding of non-ASCII text, even though they are connected to a Windows machine which uses a different encoding for the same locale. For example, in the Latin-1 locale, DOS -- 2.39.2