Jump to content

Building a printer driver package?


FuNKeR

Recommended Posts

Hi there.

I wondered, if someone had a solution for my problem.

I want to install some printer drivers (HP DJ640C, DJ840C, DJ930C, DJ940C, BIJ1100d, BIJ1200d) on a ready-to-go system.

At the moment we always need to install every driver by hand with the new printer wizard and this is not really time saving.

Is there a possibility to build a package or something, that installs the drivers alltogether? That would be great.

btw: I do not need it in an unattended installation, so there is no need to hide everything. A statusbar would be better then, so you can see, when it is finished.

btw2: I'm not a fan of AutoIt for these kind of installations then, so please don't tell me, I have to use it. There must be another way ;)

Thanks for your help.

cu

FuNKeR

Link to comment
Share on other sites


I think it's theoretically possible. However, there're so *many* models around that it'd be a hudge work. Plus, they usually come with big sized utilities softwares that'd require a separate install everytime. For some All-in-One HP printers, the "drivers" take up to 200 MB or such :/

Link to comment
Share on other sites

Bashrat, do you use compression with your pack?

I would love to have a separate printer driver package, however Windows doesn't install printers by default during Unattended Installation so it doesn't have to integrate on cd.

I toke a look at the Samsung ML-1210 drivers, they are compressed about 700 KB

Link to comment
Share on other sites

Bashrat, do you use compression with your pack?

I would love to have a separate printer driver package, however Windows doesn't install printers by default during Unattended Installation so it doesn't have to integrate on cd.

I toke a look at the Samsung ML-1210 drivers, they are compressed about 700 KB

Yes, I do.

7zip compression for Pyron's method and CAB compression for the regular method. However this CAB compression is not yet available! However, it should be released tomorrow.

Link to comment
Share on other sites

If you want to automate the process of adding printers try this:

rundll32 printui.dll,PrintUIEntry /?

It will give you a list of switches that may be helpfull (found this on google search for "unattended printer installation")

Hope it helps!

edit: just found another great rundll32 link: http://www.dx21.com/SCRIPTING/RUNDLL32/REF...E.ASP?ISF=0&P=A

Link to comment
Share on other sites

If you want to automate the process of adding printers try this:

rundll32 printui.dll,PrintUIEntry /?

It will give you a list of switches that may be helpfull (found this on google search for "unattended printer installation")

Hope it helps!

hmm... That's not quite handy: you'd have to specify which inf file, so it won't be system independant anymore ;)

Link to comment
Share on other sites

where was that 2 years ago when I had to set default printers duing syspreped ghost deployments. I ended up writeing an app to do it all i needed was :

rundll32 printui.dll,PrintUIEntry /y /n "printer1"

Thanks Ghost82

Link to comment
Share on other sites

where was that 2 years ago when I had to set default printers duing syspreped ghost deployments.  I ended up writeing an app to do it all i needed was :

rundll32 printui.dll,PrintUIEntry /y /n "printer1"

Thanks Ghost82

That command just sets a printer as default printer and renames it to printer1...

What about that app? :o

Link to comment
Share on other sites

Which is exactly what I needed to do set the default printer. The printers were already installed in the image just had to set the appropriate default. All I needed was a line in runonce, not a app and a line in runonce.

Link to comment
Share on other sites

If you want to automate the process of adding printers try this:

rundll32 printui.dll,PrintUIEntry /?

It will give you a list of switches that may be helpfull (found this on google search for "unattended printer installation")

Hope it helps!

hmm... That's not quite handy: you'd have to specify which inf file, so it won't be system independant anymore ;)

that's true, but u can possibly use this in a domain to write a script that checks the department of the user (or any other info in the domainprofile of the user) and that way identify wich printers the user(s) need.

Anyway: a Printerpack would really be a good idea as alot of modern printers are USB-Printers so windows auto-detects them and always tries to install the drivers! (there are even printers on a parallel cable that get detected by windows)

Link to comment
Share on other sites

If you want to automate the process of adding printers try this:

rundll32 printui.dll,PrintUIEntry /?

It will give you a list of switches that may be helpfull (found this on google search for "unattended printer installation")

Hope it helps!

hmm... That's not quite handy: you'd have to specify which inf file, so it won't be system independant anymore ;)

that's true, but u can possibly use this in a domain to write a script that checks the department of the user (or any other info in the domainprofile of the user) and that way identify wich printers the user(s) need.

Anyway: a Printerpack would really be a good idea as alot of modern printers are USB-Printers so windows auto-detects them and always tries to install the drivers! (there are even printers on a parallel cable that get detected by windows)

OK.

Then the DriverPack Printer will only support plug 'n play printers, untill a decent solution has been found.

Link to comment
Share on other sites

Well, all I personally need, are the drivers mentioned in my first post. I already got them and I only install them via the new printer wizard. I do not need the utilities.

The point is, that I need to use them with Win2000, not XP. Maybe this makes it a lot more difficult? :blink:

cu

FuNKeR

Link to comment
Share on other sites

I think I did not get the point :( What method do you mean though?

EDIT:

Ah, think I got it now. You meant the

"rundll32 printui.dll,PrintUIEntry /?" command. Tried it and found this "predefined" command:

rundll32 printui.dll,PrintUIEntry /if /b "Testdrucker" /f %windir%\inf\ntprint.inf /r "lpt1:" /m "AGFA-AccuSet v52.3"

This could be useful for me. I will try it with RAR-archives that execute the commands after extraction :)

I'll report, if it works.

cu

FuNKeR

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...