I have files that already have print formatting in them. Copying to
LPT1 works fine if I have a local printer. But I'm not able to get
them to a network printer because the COPY command won't copy to a tcp
address and if you try to drop it on a printer icon in NT, nt wants an
application to start the job with.
Try assigning the IP address a name in your hosts file..
From the NT Workstation Resource Guide:
Microsoft TCP/IP can be configured to search HOSTS (the local host
table file) for mappings of remote host names to IP addresses. The
HOSTS file format is the same as the format for host tables in the 4.3
Berkeley Software Distribution (BSD) UNIX /etc/hosts file. For
example, the entry for a computer with an address of 192.102.73.6 and
a host name of mfg1.widgets.com looks like this:
192.102.73.6 mfg1.widgets.com
You can create the file by using a text editor ž for example, Notepad
ž to create, and change the HOSTS file because it is a simple text
file. (An example of the HOSTS format is provided in the file named
HOSTS.sam in the Windows NT %systemroot%
\System32\Drivers\Etc directory. This is only an example file; do not
use this file as the primary HOSTS file.)Edit the sample HOSTS file
(created when you install TCP/IP) to include remote host names and IP
addresses for each computer with which you will communicate.
email replies can be sent to
rogerp@nospam
(change nospam to city-net.com)
Good Luck
--
--------------------------------------------------------------------
| EMail ro...@ttelmah.demon.co.uk http://www.ttelmah.demon.co.uk/ |
| A beard! A beard! cried Fly Nicholas.'By God, that's a good one!'|
| (Chaucer) |
- Jorge
Rog <nos...@spam.be.gone> wrote in article
<33fb0649...@206.102.128.2>...
> On Tue, 19 Aug 1997 19:06:50 GMT, star...@concentric.net (Albert
> Howard) wrote:
>
after tcpip printing is configured, do the following from dos prompt.
lpr -S ip address of printer -P ip address of printer -ol filename
WM
>use lpr, type lpr /? for the correct statements, if it is not installed,
>then you need to install TCP/IP printing.
>
>- Jorge
>
>Rog <nos...@spam.be.gone> wrote in article
><33fb0649...@206.102.128.2>...
>> On Tue, 19 Aug 1997 19:06:50 GMT, star...@concentric.net (Albert
>> Howard) wrote:
>>
>> >With windows nt, how does one redirect LPT1 to a network printer?
>> >This is a TCP printer and the only address I have for it is
>> >10.10.10.60:LP. NET USE does not recognize this, but this is the only
>> >address I have.
>>
Hope this helps...
Lucien
+----------------------------------------------------------+
| If the purpose of feet is to walk and run, and the |
| purpose of painting is to make signs, then ballet and |
| Rembrandt are equally useless. |
| All art springs from the non-obvious use of tools. |
+----------------------------------------------------------+
Gerard
-----
Dr. Gerard Farrell
Manchester Scientific Instruments Ltd
Campus Ventures Centre, University of Manchester
Oxford Rd, Manchester M13 9PL, UK
Tel: +44 161 934 0004 | E-mail: ger...@msi.campus-ventures.co.uk
Fax: +44 161 273 5111 | WWW: http://msi.campus-ventures.co.uk
Albert Howard wrote in article <33f9edf3...@news.concentric.net>...
>With windows nt, how does one redirect LPT1 to a network printer?
>This is a TCP printer and the only address I have for it is
>10.10.10.60:LP. NET USE does not recognize this, but this is the only
>address I have.
>
Assuming you have adminsitrator rights, log into the local PC you want to
run the print job from. In Print Manager, "Create" a printer using port
"Other" "LPR" and in the 2 available fields type in the IP address of the
printer. Choose "OK." Share the printer on the network by selecting that
option. Give the printer a sharename in the specified field (ie: HP4MV1,
HP4MV2, etc...) Go to a DOS window. Type "NET USE LPT1 \\< your
computername >\< the sharename you created >. This will redirect the
output of a DOS program normally looking for LPT1 to the network
sharename of the printer and send the job to the printer's IP address via
LPR port. Good Luck.
-------------------==== Posted via Deja News ====-----------------------
http://www.dejanews.com/ Search, Read, Post to Usenet
I run an OS/2 system and an NT system. I can use "NET USE LPT3:"to easily
connect my shared OS/2 printer to my NT Workstation on a logical NT LPT3
port. Works great. What I want to know is how can I get the equivilant
functionallity of "NET USE LPT3:" from my GUI NT interface. When I use the
"normal" methos of pointing and clicking and adding a network printer, I am
unable to remap LPT3 to be the output. It works fine, and prints to a "LAN
TCP/IP" port. However some DOS apps require the use of LPT?: to work.
Ideas?
Thanks,
-Frank