WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

write fault error writing device lpt1

 
   Home -> Windows Other -> MS DOS Apps RSS
Next:  Shutdown an ACPI PC in DOS-real-mode  
Author Message
jd1

External


Since: May 18, 2004
Posts: 71



(Msg. 1) Posted: Wed Feb 23, 2005 6:08 pm
Post subject: write fault error writing device lpt1
Archived from groups: microsoft>public>win95>msdosapps (more info?)

serial receipt printer.
mode com1:96,n,8,1 good
mode lpt1=com1 good
dir >com1 good (it prints)
dir >lpt1 we get the following message:
write fault error writing device lpt1 abort retry fail
lpt1 port does work because we put a parallel printer on it and it prints
fine.
in bios we tried epp epp/spp and spp. did not try ecp/epp
any ideas are appreciated.
Thank you.
Back to top
Login to vote
Jeff Richards

External


Since: Mar 14, 2004
Posts: 2462



(Msg. 2) Posted: Thu Feb 24, 2005 8:31 pm
Post subject: Re: write fault error writing device lpt1 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

The command 'mode lpt1=com1' is used to redirect output sent to logical
device lpt1 to the physical port com1, so I assume that you are using it to
force an application that is hardwired to print to lpt1 to instead print to
the receipt printer connected to the first serial port.

Therefore, whether or not the parallel printer port works, or the settings
for this port in BIOS are not relevant, as it is not being accessed with the
lpt1 print statement if lpt1 has been redirected to com1.

In your example the mode utility might be confused by the intermediate
attempt to print to com1 directly. Try the sequence
mode com1:96,n,8,1
mode lpt1=com1
dir >lpt1
and see if you still get the error. Note that you should get the message
"LPT1: redirected to COM1:" after the second command. IIRC it will also
tell you that the resident portion of MODE has been loaded.

Are you doing this from a DOS boot or from a DOS window?
--
Jeff Richards
MS MVP (Windows - Shell/User)
"jd" <jdumont@@novuscom.net> wrote in message
news:ObaQrVhGFHA.3472@TK2MSFTNGP09.phx.gbl...
> serial receipt printer.
> mode com1:96,n,8,1 good
> mode lpt1=com1 good
> dir >com1 good (it prints)
> dir >lpt1 we get the following message:
> write fault error writing device lpt1 abort retry fail
> lpt1 port does work because we put a parallel printer on it and it prints
> fine.
> in bios we tried epp epp/spp and spp. did not try ecp/epp
> any ideas are appreciated.
> Thank you.
>
>
Back to top
Login to vote
jd1

External


Since: May 18, 2004
Posts: 71



(Msg. 3) Posted: Thu Feb 24, 2005 8:31 pm
Post subject: Re: write fault error writing device lpt1 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I appreciate the reply.
pure msdos 6.22 computers
We have been around the block a few times and I am sure we tried
your suggested sequence (mode com1:96,n,8,1 first)
I am sending them a new cable to test because if we swap printers with
another dos terminal, the printer works fine. Will post the results.

"Jeff Richards" <JRichards DeleteThis @msn.com.au> wrote in message
news:ub5TROlGFHA.584@TK2MSFTNGP14.phx.gbl...
> The command 'mode lpt1=com1' is used to redirect output sent to logical
> device lpt1 to the physical port com1, so I assume that you are using it
to
> force an application that is hardwired to print to lpt1 to instead print
to
> the receipt printer connected to the first serial port.
>
> Therefore, whether or not the parallel printer port works, or the settings
> for this port in BIOS are not relevant, as it is not being accessed with
the
> lpt1 print statement if lpt1 has been redirected to com1.
>
> In your example the mode utility might be confused by the intermediate
> attempt to print to com1 directly. Try the sequence
> mode com1:96,n,8,1
> mode lpt1=com1
> dir >lpt1
> and see if you still get the error. Note that you should get the message
> "LPT1: redirected to COM1:" after the second command. IIRC it will also
> tell you that the resident portion of MODE has been loaded.
>
> Are you doing this from a DOS boot or from a DOS window?
> --
> Jeff Richards
> MS MVP (Windows - Shell/User)
> "jd" <jdumont@@novuscom.net> wrote in message
> news:ObaQrVhGFHA.3472@TK2MSFTNGP09.phx.gbl...
> > serial receipt printer.
> > mode com1:96,n,8,1 good
> > mode lpt1=com1 good
> > dir >com1 good (it prints)
> > dir >lpt1 we get the following message:
> > write fault error writing device lpt1 abort retry fail
> > lpt1 port does work because we put a parallel printer on it and it
prints
> > fine.
> > in bios we tried epp epp/spp and spp. did not try ecp/epp
> > any ideas are appreciated.
> > Thank you.
> >
> >
>
>
Back to top
Login to vote
jd1

External


Since: May 18, 2004
Posts: 71



(Msg. 4) Posted: Fri Feb 25, 2005 11:09 am
Post subject: Re: write fault error writing device lpt1 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Shipped a new null modem cable and still get the
"write fault error writing device lpt1 abort retry fail"
when doing a dir >lpt1
Thanks anyways... if something comes up I will post.

"jd" <jdumont@@novuscom.net> wrote in message
news:OlYrhHrGFHA.3612@TK2MSFTNGP09.phx.gbl...
> I appreciate the reply.
> pure msdos 6.22 computers
> We have been around the block a few times and I am sure we tried
> your suggested sequence (mode com1:96,n,8,1 first)
> I am sending them a new cable to test because if we swap printers with
> another dos terminal, the printer works fine. Will post the results.
>
> "Jeff Richards" <JRichards DeleteThis @msn.com.au> wrote in message
> news:ub5TROlGFHA.584@TK2MSFTNGP14.phx.gbl...
> > The command 'mode lpt1=com1' is used to redirect output sent to logical
> > device lpt1 to the physical port com1, so I assume that you are using it
> to
> > force an application that is hardwired to print to lpt1 to instead print
> to
> > the receipt printer connected to the first serial port.
> >
> > Therefore, whether or not the parallel printer port works, or the
settings
> > for this port in BIOS are not relevant, as it is not being accessed with
> the
> > lpt1 print statement if lpt1 has been redirected to com1.
> >
> > In your example the mode utility might be confused by the intermediate
> > attempt to print to com1 directly. Try the sequence
> > mode com1:96,n,8,1
> > mode lpt1=com1
> > dir >lpt1
> > and see if you still get the error. Note that you should get the message
> > "LPT1: redirected to COM1:" after the second command. IIRC it will also
> > tell you that the resident portion of MODE has been loaded.
> >
> > Are you doing this from a DOS boot or from a DOS window?
> > --
> > Jeff Richards
> > MS MVP (Windows - Shell/User)
> > "jd" <jdumont@@novuscom.net> wrote in message
> > news:ObaQrVhGFHA.3472@TK2MSFTNGP09.phx.gbl...
> > > serial receipt printer.
> > > mode com1:96,n,8,1 good
> > > mode lpt1=com1 good
> > > dir >com1 good (it prints)
> > > dir >lpt1 we get the following message:
> > > write fault error writing device lpt1 abort retry fail
> > > lpt1 port does work because we put a parallel printer on it and it
> prints
> > > fine.
> > > in bios we tried epp epp/spp and spp. did not try ecp/epp
> > > any ideas are appreciated.
> > > Thank you.
> > >
> > >
> >
> >
>
>
Back to top
Login to vote
Jeff Richards

External


Since: Mar 14, 2004
Posts: 2462



(Msg. 5) Posted: Sat Feb 26, 2005 11:38 am
Post subject: Re: write fault error writing device lpt1 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Replace MODE.COM with a known-good copy. If you have to use a null modem
cable then there may be insufficient wiring at either end to ensure proper
communication. Do you have a reference to the wiring that the printer
needs? The PC end typically needs CTS set (eg from RTS) and DSR and DCD set
(eg from DTR).

See:
http://ldp.rtin.bz/HOWTO/Serial-HOWTO-20.htmlhttp://www.pccompci.com/cable.html
http://docs.hp.com/en/J2771-90011/apbs07.html

If the handshake signals are the problem then why this would be different
between referencing it as COM1 and referencing it as a redirected LPT1 I
have no idea. It might be to do with MODE trying to use some of the serial
lines to get information that is available on the parallel port, such as
paper out.
--
Jeff Richards
MS MVP (Windows - Shell/User)
"jd" <jdumont@@novuscom.net> wrote in message
news:OmLDwx2GFHA.3316@TK2MSFTNGP14.phx.gbl...
> Shipped a new null modem cable and still get the
> "write fault error writing device lpt1 abort retry fail"
> when doing a dir >lpt1
> Thanks anyways... if something comes up I will post.
>
> "jd" <jdumont@@novuscom.net> wrote in message
> news:OlYrhHrGFHA.3612@TK2MSFTNGP09.phx.gbl...
>> I appreciate the reply.
>> pure msdos 6.22 computers
>> We have been around the block a few times and I am sure we tried
>> your suggested sequence (mode com1:96,n,8,1 first)
>> I am sending them a new cable to test because if we swap printers with
>> another dos terminal, the printer works fine. Will post the results.
>>
>> "Jeff Richards" <JRichards.RemoveThis@msn.com.au> wrote in message
>> news:ub5TROlGFHA.584@TK2MSFTNGP14.phx.gbl...
>> > The command 'mode lpt1=com1' is used to redirect output sent to logical
>> > device lpt1 to the physical port com1, so I assume that you are using
>> > it
>> to
>> > force an application that is hardwired to print to lpt1 to instead
>> > print
>> to
>> > the receipt printer connected to the first serial port.
>> >
>> > Therefore, whether or not the parallel printer port works, or the
> settings
>> > for this port in BIOS are not relevant, as it is not being accessed
>> > with
>> the
>> > lpt1 print statement if lpt1 has been redirected to com1.
>> >
>> > In your example the mode utility might be confused by the intermediate
>> > attempt to print to com1 directly. Try the sequence
>> > mode com1:96,n,8,1
>> > mode lpt1=com1
>> > dir >lpt1
>> > and see if you still get the error. Note that you should get the
>> > message
>> > "LPT1: redirected to COM1:" after the second command. IIRC it will
>> > also
>> > tell you that the resident portion of MODE has been loaded.
>> >
>> > Are you doing this from a DOS boot or from a DOS window?
>> > --
>> > Jeff Richards
>> > MS MVP (Windows - Shell/User)
>> > "jd" <jdumont@@novuscom.net> wrote in message
>> > news:ObaQrVhGFHA.3472@TK2MSFTNGP09.phx.gbl...
>> > > serial receipt printer.
>> > > mode com1:96,n,8,1 good
>> > > mode lpt1=com1 good
>> > > dir >com1 good (it prints)
>> > > dir >lpt1 we get the following message:
>> > > write fault error writing device lpt1 abort retry fail
>> > > lpt1 port does work because we put a parallel printer on it and it
>> prints
>> > > fine.
>> > > in bios we tried epp epp/spp and spp. did not try ecp/epp
>> > > any ideas are appreciated.
>> > > Thank you.
>> > >
>> > >
>> >
>> >
>>
>>
>
>
Back to top
Login to vote
jd1

External


Since: May 18, 2004
Posts: 71



(Msg. 6) Posted: Sun Feb 27, 2005 12:15 am
Post subject: Re: write fault error writing device lpt1 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thanks. I wasn't going to go that far but did consider a full scandisk and
copy dos\*.* from another terminal. Retail computers can't be down for very
long and the manager ordered a parallel printer from head office. It still
bugs me and will ask them if I can test out your theories when I am in town.
Will post the results.

"Jeff Richards" <JRichards RemoveThis @msn.com.au> wrote in message
news:umJJWt5GFHA.1396@TK2MSFTNGP10.phx.gbl...
> Replace MODE.COM with a known-good copy. If you have to use a null modem
> cable then there may be insufficient wiring at either end to ensure proper
> communication. Do you have a reference to the wiring that the printer
> needs? The PC end typically needs CTS set (eg from RTS) and DSR and DCD
set
> (eg from DTR).
>
> See:
>
http://ldp.rtin.bz/HOWTO/Serial-HOWTO-20.htmlhttp://www.pccompci.com/cable.html
> http://docs.hp.com/en/J2771-90011/apbs07.html
>
> If the handshake signals are the problem then why this would be different
> between referencing it as COM1 and referencing it as a redirected LPT1 I
> have no idea. It might be to do with MODE trying to use some of the serial
> lines to get information that is available on the parallel port, such as
> paper out.
> --
> Jeff Richards
> MS MVP (Windows - Shell/User)
> "jd" <jdumont@@novuscom.net> wrote in message
> news:OmLDwx2GFHA.3316@TK2MSFTNGP14.phx.gbl...
> > Shipped a new null modem cable and still get the
> > "write fault error writing device lpt1 abort retry fail"
> > when doing a dir >lpt1
> > Thanks anyways... if something comes up I will post.
> >
> > "jd" <jdumont@@novuscom.net> wrote in message
> > news:OlYrhHrGFHA.3612@TK2MSFTNGP09.phx.gbl...
> >> I appreciate the reply.
> >> pure msdos 6.22 computers
> >> We have been around the block a few times and I am sure we tried
> >> your suggested sequence (mode com1:96,n,8,1 first)
> >> I am sending them a new cable to test because if we swap printers with
> >> another dos terminal, the printer works fine. Will post the results.
> >>
> >> "Jeff Richards" <JRichards RemoveThis @msn.com.au> wrote in message
> >> news:ub5TROlGFHA.584@TK2MSFTNGP14.phx.gbl...
> >> > The command 'mode lpt1=com1' is used to redirect output sent to
logical
> >> > device lpt1 to the physical port com1, so I assume that you are using
> >> > it
> >> to
> >> > force an application that is hardwired to print to lpt1 to instead
> >> > print
> >> to
> >> > the receipt printer connected to the first serial port.
> >> >
> >> > Therefore, whether or not the parallel printer port works, or the
> > settings
> >> > for this port in BIOS are not relevant, as it is not being accessed
> >> > with
> >> the
> >> > lpt1 print statement if lpt1 has been redirected to com1.
> >> >
> >> > In your example the mode utility might be confused by the
intermediate
> >> > attempt to print to com1 directly. Try the sequence
> >> > mode com1:96,n,8,1
> >> > mode lpt1=com1
> >> > dir >lpt1
> >> > and see if you still get the error. Note that you should get the
> >> > message
> >> > "LPT1: redirected to COM1:" after the second command. IIRC it will
> >> > also
> >> > tell you that the resident portion of MODE has been loaded.
> >> >
> >> > Are you doing this from a DOS boot or from a DOS window?
> >> > --
> >> > Jeff Richards
> >> > MS MVP (Windows - Shell/User)
> >> > "jd" <jdumont@@novuscom.net> wrote in message
> >> > news:ObaQrVhGFHA.3472@TK2MSFTNGP09.phx.gbl...
> >> > > serial receipt printer.
> >> > > mode com1:96,n,8,1 good
> >> > > mode lpt1=com1 good
> >> > > dir >com1 good (it prints)
> >> > > dir >lpt1 we get the following message:
> >> > > write fault error writing device lpt1 abort retry fail
> >> > > lpt1 port does work because we put a parallel printer on it and it
> >> prints
> >> > > fine.
> >> > > in bios we tried epp epp/spp and spp. did not try ecp/epp
> >> > > any ideas are appreciated.
> >> > > Thank you.
> >> > >
> >> > >
> >> >
> >> >
> >>
> >>
> >
> >
>
>
Back to top
Login to vote
Display posts from previous:   
       Home -> Windows Other -> MS DOS Apps All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum
Categories:
 Windows XP
 Windows Vista
  Windows Other
 Office
 Office Other
 Security
 WinRAR
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET