Net use printer capture

G

Guest

Guest
Archived from groups: microsoft.public.windowsxp.basics (More info?)

hello,
>
> I am trying to allow a dos application to print to a network printer. When
i
> type the command:
> net use lpt1: \\computername\printsharename /persistent:yes an error
message
> is returned:
>
> System error 66 has occurred
>
> The network resource type is not correct.
>
> A WinXP Pro hosting the print share and WinXP Pros computer trying to
print
> to it. The computer printing works find in the XP environment but not from
Dos
>
> If anyone has a resolve.
>
> Pls help
>
> Thanks
 
Archived from groups: microsoft.public.windowsxp.basics (More info?)

You are substituting the 'computername' for the name of the PC on the
network and the 'printsharename' for the shared name of the printer aren't
you?
--
Cari (MS-MVP)
Printing & Imaging

In Loving Memory of our dear friend Alex Nichol MVP

"compunow" <compunow@optonline.net> wrote in message
news:%23l0xBG2QFHA.3336@TK2MSFTNGP10.phx.gbl...
> hello,
>>
>> I am trying to allow a dos application to print to a network printer.
>> When
> i
>> type the command:
>> net use lpt1: \\computername\printsharename /persistent:yes an error
> message
>> is returned:
>>
>> System error 66 has occurred
>>
>> The network resource type is not correct.
>>
>> A WinXP Pro hosting the print share and WinXP Pros computer trying to
> print
>> to it. The computer printing works find in the XP environment but not
>> from
> Dos
>>
>> If anyone has a resolve.
>>
>> Pls help
>>
>> Thanks
>
>
>
 
Archived from groups: microsoft.public.windowsxp.basics (More info?)

Yes
"Cari (MS-MVP)" <Newsgroups1@coribright.com> wrote in message
news:OaSQyT4QFHA.244@TK2MSFTNGP12.phx.gbl...
> You are substituting the 'computername' for the name of the PC on the
> network and the 'printsharename' for the shared name of the printer aren't
> you?
> --
> Cari (MS-MVP)
> Printing & Imaging
>
> In Loving Memory of our dear friend Alex Nichol MVP
>
> "compunow" <compunow@optonline.net> wrote in message
> news:%23l0xBG2QFHA.3336@TK2MSFTNGP10.phx.gbl...
> > hello,
> >>
> >> I am trying to allow a dos application to print to a network printer.
> >> When
> > i
> >> type the command:
> >> net use lpt1: \\computername\printsharename /persistent:yes an error
> > message
> >> is returned:
> >>
> >> System error 66 has occurred
> >>
> >> The network resource type is not correct.
> >>
> >> A WinXP Pro hosting the print share and WinXP Pros computer trying to
> > print
> >> to it. The computer printing works find in the XP environment but not
> >> from
> > Dos
> >>
> >> If anyone has a resolve.
> >>
> >> Pls help
> >>
> >> Thanks
> >
> >
> >
>
>
>
 
Archived from groups: microsoft.public.windowsxp.basics (More info?)

And the printer in question is attached (or mapped) to an LPT
port?http://members.shaw.ca/bsanders/printfromdos.htm
--
Cari (MS-MVP)
Printing & Imaging

In Loving Memory of our dear friend Alex Nichol MVP

"compunow" <compunow@optonline.net> wrote in message
news:%233Mk3g4QFHA.248@TK2MSFTNGP15.phx.gbl...
> Yes
> "Cari (MS-MVP)" <Newsgroups1@coribright.com> wrote in message
> news:OaSQyT4QFHA.244@TK2MSFTNGP12.phx.gbl...
>> You are substituting the 'computername' for the name of the PC on the
>> network and the 'printsharename' for the shared name of the printer
>> aren't
>> you?
>> --
>> Cari (MS-MVP)
>> Printing & Imaging
>>
>> In Loving Memory of our dear friend Alex Nichol MVP
>>
>> "compunow" <compunow@optonline.net> wrote in message
>> news:%23l0xBG2QFHA.3336@TK2MSFTNGP10.phx.gbl...
>> > hello,
>> >>
>> >> I am trying to allow a dos application to print to a network printer.
>> >> When
>> > i
>> >> type the command:
>> >> net use lpt1: \\computername\printsharename /persistent:yes an error
>> > message
>> >> is returned:
>> >>
>> >> System error 66 has occurred
>> >>
>> >> The network resource type is not correct.
>> >>
>> >> A WinXP Pro hosting the print share and WinXP Pros computer trying to
>> > print
>> >> to it. The computer printing works find in the XP environment but not
>> >> from
>> > Dos
>> >>
>> >> If anyone has a resolve.
>> >>
>> >> Pls help
>> >>
>> >> Thanks
>> >
>> >
>> >
>>
>>
>>
>
>
>
 
Archived from groups: microsoft.public.windowsxp.basics (More info?)

mapped to LPT1. This is a network printer using tcpip. The workstation is
acting as a printserver.
"Cari (MS-MVP)" <Newsgroups1@coribright.com> wrote in message
news:e3JhOH7QFHA.2348@tk2msftngp13.phx.gbl...
> And the printer in question is attached (or mapped) to an LPT
> port?http://members.shaw.ca/bsanders/printfromdos.htm
> --
> Cari (MS-MVP)
> Printing & Imaging
>
> In Loving Memory of our dear friend Alex Nichol MVP
>
> "compunow" <compunow@optonline.net> wrote in message
> news:%233Mk3g4QFHA.248@TK2MSFTNGP15.phx.gbl...
> > Yes
> > "Cari (MS-MVP)" <Newsgroups1@coribright.com> wrote in message
> > news:OaSQyT4QFHA.244@TK2MSFTNGP12.phx.gbl...
> >> You are substituting the 'computername' for the name of the PC on the
> >> network and the 'printsharename' for the shared name of the printer
> >> aren't
> >> you?
> >> --
> >> Cari (MS-MVP)
> >> Printing & Imaging
> >>
> >> In Loving Memory of our dear friend Alex Nichol MVP
> >>
> >> "compunow" <compunow@optonline.net> wrote in message
> >> news:%23l0xBG2QFHA.3336@TK2MSFTNGP10.phx.gbl...
> >> > hello,
> >> >>
> >> >> I am trying to allow a dos application to print to a network
printer.
> >> >> When
> >> > i
> >> >> type the command:
> >> >> net use lpt1: \\computername\printsharename /persistent:yes an error
> >> > message
> >> >> is returned:
> >> >>
> >> >> System error 66 has occurred
> >> >>
> >> >> The network resource type is not correct.
> >> >>
> >> >> A WinXP Pro hosting the print share and WinXP Pros computer trying
to
> >> > print
> >> >> to it. The computer printing works find in the XP environment but
not
> >> >> from
> >> > Dos
> >> >>
> >> >> If anyone has a resolve.
> >> >>
> >> >> Pls help
> >> >>
> >> >> Thanks
> >> >
> >> >
> >> >
> >>
> >>
> >>
> >
> >
> >
>
>
>