PC Review


Reply
Thread Tools Rate Thread

Add Network Printer using rundll32

 
 
ken
Guest
Posts: n/a
 
      27th Sep 2004
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 With Quote
 
 
 
 
Ken
Guest
Posts: n/a
 
      27th Sep 2004
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 With Quote
 
Bruce Sanderson
Guest
Posts: n/a
 
      28th Sep 2004
See http://members.shaw.ca/bsanders/NetPrinterAllUsers.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" <(E-Mail Removed)> wrote in message
news:409e01c4a459$90907f50$(E-Mail Removed)...
> 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 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
rundll32 PrintUI silently map network printer? Jeremy Sun Microsoft Windows 2000 Printing 0 29th Mar 2006 06:52 AM
adding printer using rundll32 David K Windows XP Print / Fax 0 24th Oct 2005 07:23 PM
rundll32 printer command runs...but no printer! =?Utf-8?B?RmFicnVzc2lv?= Microsoft Windows 2000 Active Directory 2 21st Apr 2005 05:38 AM
Rundll32.exe and printer =?Utf-8?B?THlueA==?= Windows XP Print / Fax 0 6th Jul 2004 10:08 AM
HP 5150 Printer RunDLL32 Error nickurat Windows XP Hardware 0 8th Dec 2003 08:42 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:05 AM.