Tom's Hardware > Forum > Windows XP > Windows XP General Discussion > Add Network Printer using rundll32

Add Network Printer using rundll32

Forum Windows XP : Windows XP General Discussion - Add Network Printer using rundll32

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

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

 

Hi all,

i am trying to add printer for all users by using the
rundll32 command.

===========================================================
printui.dll,PrintUIEntry /if /b "HP Laser
Jet 3300 Series PCL 6" /c\\printserver \f "%windir%
\inf\ntprint.inf" /r "\\IC5\HP LaserJ
et 3300 Series PCL 6" /m "HP LaserJet 3300 Series PCL 6"
===========================================================

But it doesn't work. Our print server is
named "printserver". It always say my argument is
invalid. The shared printer name is "HP Laser Jet 3300
Series PCL 6".

Can anyone tell me what wrong with my syntax?

Thanks in advance!

Sponsored Links
Register or log in to remove.
- 0 +

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

 

Hi All,

I found the error in the previous post i got the "/f"
as "\f" but now i got a different error, it is saying that
it can't find the right version of driver for the printer,
which is quite strange, because if i run the add printer
wizard, i don't have any problem adding the printer.

I have tried the following with the "\v" but it still
doesn't work.
======================================================
printui.dll,PrintUIEntry /if /b "HP Laser
Jet 3300 Series PCL 6" /c\\printserver \f "%windir%
\inf\ntprint.inf" /r "\\IC5\HP LaserJet 3300 Series PCL
6" /m "HP LaserJet 3300 Series PCL 6" \v "windows 2000"
=====================================================

Any ideas?


>-----Original Message-----
>Hi all,
>
>i am trying to add printer for all users by using the
>rundll32 command.
>
>==========================================================
=
>printui.dll,PrintUIEntry /if /b "HP Laser
>Jet 3300 Series PCL 6" /c\\printserver \f "%windir%
>\inf\ntprint.inf" /r "\\IC5\HP LaserJ
>et 3300 Series PCL 6" /m "HP LaserJet 3300 Series PCL 6"
>==========================================================
=
>
>But it doesn't work. Our print server is
>named "printserver". It always say my argument is
>invalid. The shared printer name is "HP Laser Jet 3300
>Series PCL 6".
>
>Can anyone tell me what wrong with my syntax?
>
>Thanks in advance!
>
>
>.
>

Reply to ken

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

 

See http://members.shaw.ca/bsanders/Ne [...] Users.htm.

If the printer is shared from another computer, you don't need or want to
specify all the details about drivers and so on. The required information
will be fetched from the print server computer.

Bruce Sanderson Printing MVP
--
ªzvÜá
"Ken" <anonymous@discussions.microsoft.com> wrote in message
news:409e01c4a459$90907f50$a601280a@phx.gbl...
> Hi All,
>
> I found the error in the previous post i got the "/f"
> as "\f" but now i got a different error, it is saying that
> it can't find the right version of driver for the printer,
> which is quite strange, because if i run the add printer
> wizard, i don't have any problem adding the printer.
>
> I have tried the following with the "\v" but it still
> doesn't work.
> ======================================================
> printui.dll,PrintUIEntry /if /b "HP Laser
> Jet 3300 Series PCL 6" /c\\printserver \f "%windir%
> \inf\ntprint.inf" /r "\\IC5\HP LaserJet 3300 Series PCL
> 6" /m "HP LaserJet 3300 Series PCL 6" \v "windows 2000"
> =====================================================
>
> Any ideas?
>
>
>>-----Original Message-----
>>Hi all,
>>
>>i am trying to add printer for all users by using the
>>rundll32 command.
>>
>>==========================================================
> =
>>printui.dll,PrintUIEntry /if /b "HP Laser
>>Jet 3300 Series PCL 6" /c\\printserver \f "%windir%
>>\inf\ntprint.inf" /r "\\IC5\HP LaserJ
>>et 3300 Series PCL 6" /m "HP LaserJet 3300 Series PCL 6"
>>==========================================================
> =
>>
>>But it doesn't work. Our print server is
>>named "printserver". It always say my argument is
>>invalid. The shared printer name is "HP Laser Jet 3300
>>Series PCL 6".
>>
>>Can anyone tell me what wrong with my syntax?
>>
>>Thanks in advance!
>>
>>
>>.
>>

Reply to Anonymous
Tom's Hardware > Forum > Windows XP > Windows XP General Discussion > Add Network Printer using rundll32
Go to:

There are 589 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them
  • 01:00 Conrad925 won the Freshman badge
  • 01:00 skythra won the Freshman badge
  • 01:00 Ckaz won the Freshman badge
  • 01:00 james59 won the Uniformed badge
  • 01:00 snarl won the Uniformed badge
  • 01:00 patlabor44 won the Uniformed badge
  • 01:00 Kiren won the Uniformed badge
  • 01:00 WookinPaNub won the Uniformed badge
  • 01:00 kwadams won the Uniformed badge
  • 21:57 brockh won the Sophmore badge