PC Review


Reply
 
 
=?Utf-8?B?RGF2ZSBHLg==?=
Guest
Posts: n/a
 
      20th Jul 2007
Within the last few weeks I have had a couple of occasions at different
locations on different Windows XPP systems where I wanted to test printing to
lpt1 from a command prompt by using the dir > lpt1 command. This command no
longer works. The result I get is the message "The system cannot find the
file specified."
"Dir > c:\filename.txt" works but Dir > LPTx (or PRN) does not.

Though I rarely need to, I occasionally need to test "DOS" printing (I have
several clients still using DOS applications) to troubleshoot problems and
this command has always been a quick easy test.

Anybody know why it no longer works? Is there a fix to get this
functionality back?

Or is there another easy way to test "DOS" printing.
 
Reply With Quote
 
 
 
 
Pegasus \(MVP\)
Guest
Posts: n/a
 
      20th Jul 2007

"Dave G." <Dave G.@discussions.microsoft.com> wrote in message
news:013CA577-40EC-495C-B285-(E-Mail Removed)...
> Within the last few weeks I have had a couple of occasions at different
> locations on different Windows XPP systems where I wanted to test printing
> to
> lpt1 from a command prompt by using the dir > lpt1 command. This command
> no
> longer works. The result I get is the message "The system cannot find the
> file specified."
> "Dir > c:\filename.txt" works but Dir > LPTx (or PRN) does not.
>
> Though I rarely need to, I occasionally need to test "DOS" printing (I
> have
> several clients still using DOS applications) to troubleshoot problems and
> this command has always been a quick easy test.
>
> Anybody know why it no longer works? Is there a fix to get this
> functionality back?
>
> Or is there another easy way to test "DOS" printing.


Create a printer share, then link it to LPT1: like so:

net use LPT1: \\%ComputerName%\PrinterShareName


 
Reply With Quote
 
Patrick Keenan
Guest
Posts: n/a
 
      20th Jul 2007
"Dave G." <Dave G.@discussions.microsoft.com> wrote in message
news:013CA577-40EC-495C-B285-(E-Mail Removed)...
> Within the last few weeks I have had a couple of occasions at different
> locations on different Windows XPP systems where I wanted to test printing
> to
> lpt1 from a command prompt by using the dir > lpt1 command. This command
> no
> longer works. The result I get is the message "The system cannot find the
> file specified."
> "Dir > c:\filename.txt" works but Dir > LPTx (or PRN) does not.
>
> Though I rarely need to, I occasionally need to test "DOS" printing (I
> have
> several clients still using DOS applications) to troubleshoot problems and
> this command has always been a quick easy test.
>
> Anybody know why it no longer works? Is there a fix to get this
> functionality back?
>
> Or is there another easy way to test "DOS" printing.


If it's actually a USB printer, you might need to verify that the printer
actually is on an LPT port. You may need to use a DOS to USB utility - or
put the USB printer on another system, share it, then use the NET USE
command to redirect the local LPT port to the network printer.

I have a client running a Paradox/DOS sales system, now on XP Pro systems.
Using XP gives the Paradox app access to all the network shares, as long as
they are configured with NET USE (and aren't local resources). However,
if you accidentally map the local printer to a network share, it stops
working. So, the command files for NET USE have to be slightly different
on each system.

HTH
-pk


 
Reply With Quote
 
Terry R.
Guest
Posts: n/a
 
      20th Jul 2007
On 7/20/2007 2:00 PM On a whim, Dave G. pounded out on the keyboard

> Within the last few weeks I have had a couple of occasions at different
> locations on different Windows XPP systems where I wanted to test printing to
> lpt1 from a command prompt by using the dir > lpt1 command. This command no
> longer works. The result I get is the message "The system cannot find the
> file specified."
> "Dir > c:\filename.txt" works but Dir > LPTx (or PRN) does not.
>
> Though I rarely need to, I occasionally need to test "DOS" printing (I have
> several clients still using DOS applications) to troubleshoot problems and
> this command has always been a quick easy test.
>
> Anybody know why it no longer works? Is there a fix to get this
> functionality back?
>
> Or is there another easy way to test "DOS" printing.


Hi Dave,

Do you use the PRINT command? print c:\file.txt /c /d:lpt1
or COPY command? copy c:\windows\mouse.txt lpt1 /b


--
Terry R.

***Reply Note***
Anti-spam measures are included in my email address.
Delete NOSPAM from the email address after clicking Reply.
 
Reply With Quote
 
=?Utf-8?B?RGF2ZSBHLg==?=
Guest
Posts: n/a
 
      21st Jul 2007
Thanks Terry, I'll try those commands.

As to the other responses:
Pegasus - I've frequntly use the net use but that redirects anything sent
to lpt1 to a shared printer. You still have to direct the print output to
LPT1 and that is what fails in this specific situation.
Patrick - I am dealing stricly with a parallel printer, physically
connected to LPT1.

Anybody know why or when the simple "dir > lpt1" command stopped working?

"Terry R." wrote:

> On 7/20/2007 2:00 PM On a whim, Dave G. pounded out on the keyboard
>
> > Within the last few weeks I have had a couple of occasions at different
> > locations on different Windows XPP systems where I wanted to test printing to
> > lpt1 from a command prompt by using the dir > lpt1 command. This command no
> > longer works. The result I get is the message "The system cannot find the
> > file specified."
> > "Dir > c:\filename.txt" works but Dir > LPTx (or PRN) does not.
> >
> > Though I rarely need to, I occasionally need to test "DOS" printing (I have
> > several clients still using DOS applications) to troubleshoot problems and
> > this command has always been a quick easy test.
> >
> > Anybody know why it no longer works? Is there a fix to get this
> > functionality back?
> >
> > Or is there another easy way to test "DOS" printing.

>
> Hi Dave,
>
> Do you use the PRINT command? print c:\file.txt /c /d:lpt1
> or COPY command? copy c:\windows\mouse.txt lpt1 /b
>
>
> --
> Terry R.
>
> ***Reply Note***
> Anti-spam measures are included in my email address.
> Delete NOSPAM from the email address after clicking Reply.
>

 
Reply With Quote
 
Terry R.
Guest
Posts: n/a
 
      22nd Jul 2007
On 7/20/2007 4:08 PM On a whim, Dave G. pounded out on the keyboard

> Thanks Terry, I'll try those commands.
>
> As to the other responses:
> Pegasus - I've frequntly use the net use but that redirects anything sent
> to lpt1 to a shared printer. You still have to direct the print output to
> LPT1 and that is what fails in this specific situation.
> Patrick - I am dealing stricly with a parallel printer, physically
> connected to LPT1.
>
> Anybody know why or when the simple "dir > lpt1" command stopped working?
>
> "Terry R." wrote:
>
>> On 7/20/2007 2:00 PM On a whim, Dave G. pounded out on the keyboard
>>
>>> Within the last few weeks I have had a couple of occasions at different
>>> locations on different Windows XPP systems where I wanted to test printing to
>>> lpt1 from a command prompt by using the dir > lpt1 command. This command no
>>> longer works. The result I get is the message "The system cannot find the
>>> file specified."
>>> "Dir > c:\filename.txt" works but Dir > LPTx (or PRN) does not.
>>>
>>> Though I rarely need to, I occasionally need to test "DOS" printing (I have
>>> several clients still using DOS applications) to troubleshoot problems and
>>> this command has always been a quick easy test.
>>>
>>> Anybody know why it no longer works? Is there a fix to get this
>>> functionality back?
>>>
>>> Or is there another easy way to test "DOS" printing.

>> Hi Dave,
>>
>> Do you use the PRINT command? print c:\file.txt /c /d:lpt1
>> or COPY command? copy c:\windows\mouse.txt lpt1 /b
>>
>>


Maybe this will help shed some light on it:
http://support.microsoft.com/kb/314085

--
Terry R.

***Reply Note***
Anti-spam measures are included in my email address.
Delete NOSPAM from the email address after clicking Reply.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble printing to LPT1 using Overlapped I/O when windows is already using LPT1.. tbumbarger@gmail.com Windows XP Print / Fax 0 23rd Aug 2007 10:31 PM
Trouble printing to LPT1 using Overlapped I/O when windows is already using LPT1 tbumbarger@gmail.com Printers 0 23rd Aug 2007 10:29 PM
LPT1 Craig Stangland Windows XP Print / Fax 1 12th Dec 2003 03:12 AM
XP direct to LPT1 port and a Windows defined printer for LPT1 Windows XP Print / Fax 0 24th Nov 2003 10:47 PM
No LPT1 Tel Printers 6 22nd Jul 2003 11:15 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:14 PM.