Net Framework V4 and Print Feature Script
#26
Posted 05 May 2012 - 07:54 PM
Dear MedEvil as the Printer script has no instructions or procedures inside, could point me out how should I test the printer script? I have used the older version 8 (I will try the new one right now...) and tryed to add a printer without success. I manually started spool.exe as you've mentioned before. Is that so or is there a more complex procedure to test the script?
You have mentioned before that LPT's ports could be seen, but I have a USB printer and it could not find it too.
Best regards,
Aeolis
#27
Posted 05 May 2012 - 09:17 PM
Spooler service still needs to be started by hand. (I don't touch that, as i have no idea, how Ludovici has planed for the script to work.)
The new script copies the 2 files, acording to your findings and should hopefully give you more things working than before.
If not, you could try stoping the spooler service and copy the 2 files to pt-BR and try again.
For me printing to XPS worked fine and printing to LPT is not possible, cause the option is missing.
I however hoped, that a USB-Printer would work, as it does not require this specific dialog to work.
#28
Posted 06 May 2012 - 03:12 PM
MedEvil, your latest modified version worked with no errors. Unfortunately, I have no success adding my USB printer (actually it is a all-in-one printer - HP F4480). We really need more testers.
Best regards,
Aeolis
#29
Posted 06 May 2012 - 03:47 PM
Couldn't agree more.We really need more testers.
Two questions though.
Did you install the printer driver on PE before starting the spooler service and what has device manager to say about the driver?
At least the printer should show up as being ok.
#30
Posted 06 May 2012 - 04:22 PM
I have only tried the 'Print.script V8 Aeolis-Test-Version'. I have an HP-4180 AIO USB Printer/Scanner. The HP Setup routine is too big to install to Win7PE (@550 MB). I have updated the printer drivers through fully installed Win7 update, then backed them up and added them to Win7PE_SE.
Always have two printer related devices not functiong correctly using Win7PE. I can manually start the print spooler. Win7PE's driver update is not working through 'Devices and Printers', nor is troubleshooting.
Edited by sLiM, 06 May 2012 - 04:23 PM.
#31
Posted 06 May 2012 - 05:09 PM
- enable in Win7PE_SE the drivers\Driver Package Installer.script
- make sure the "Driver from Win7 Host OS" is enabled, for wherever you like the link to see
- check that in Win7PE_SE\Build\2.Shell&Config "FBWF cache size" is set at least to 256MB.
- build a Win7PE_SE which uses the same (32/64Bit) as the one installed on your computer
- when your PE has booted up, run "Driver from Win7 Host OS". This will take a while.
- check in Device Manager, everything should work fine, hopefully including your printer
- start spooler service
- check "Devices and Printers"
- try printing
The above tutorial is only for USB-Printers!
LPT, COM, Network and file printer require a different way to install, which is definitly broken at the moment.
#32
Posted 06 May 2012 - 05:13 PM
MedEvil, I have not installed my printer drivers in PE. I have used the Device Manager "Add driver" dialog. It found my driver .inf file detected my F4480 hardware, but during the installation process the driver update dialog came up with a message saying it found the right driver, but there was a problem during installation because of a class is missing.
Best regards,
Aeolis
#33
Posted 06 May 2012 - 05:24 PM
If one get's this error message, it sometimes helps to simply install the driver again.
Worked for my USB-Cam, before i managed to add the missing class to the script.
#34
Posted 06 May 2012 - 06:31 PM
MedEvil, after a few tries to install my printer using the "add driver" inside the device manager I had this:
Image 1.jpg 322.66KB 29 downloads
I hope it helps.
Best regards,
Aeolis
#35
Posted 06 May 2012 - 07:32 PM
For the other errors, could you do me the favor and translate the devices for me?
I would also be interested in the error code of the printer.
#36
Posted 06 May 2012 - 08:12 PM
But i'm a little startled, how many devices does your AIO printer contain?
I count 5 errors.
1 is the scanner, 1 is the printer, what are the other 3?
#37
Posted 06 May 2012 - 09:25 PM
The other errors are always there. They are not related to the printer. My printer has the printer driver, the scanner driver and the DOT4USB driver.
Best regards,
Aeolis
#38
Posted 06 May 2012 - 10:09 PM
Seems something very basic is missing or printer spooler needs to be running for install of printer drivers too.
#39
Posted 06 May 2012 - 10:58 PM
MedEvil, I have tried to do the install process with spooler service running and it made no difference, at least here. Well, I don't know if it helps, but I have made two snapshot using DeviceManager from NirSoft, one from my installed Win7 (64 bit) and one from my PE (Win7 32 bit) after the printer drivers installation. They're here:
Installed Win7: WorkPC.html 336.48KB 5 downloads
PE build: PEPC.html 194.88KB 4 downloads
Best regards,
Aeolis
#40
Posted 07 May 2012 - 03:33 AM
Using your outline for testing:
1) & 2) Done
3). FBWF already set to 512
4). Done
5). I run full Win7 from VHD so, I have to choose either .iso or .vhd at boot time. Even though my Win7 PE offers " Driver from Win7 Host OS" it cannot find Host OS.
6). After running "pnputil all" Device Manager shows problems with one printer related device. It complained that sti_ci.dll needed to be in system32 folder. I located it and manually copied it to X:\windows\system32 folder, hit scan hardware and the .dll error seems to have been corrected. Now the problem device has been relocated under the heading "unknown".
http://www.mediafire...cdb6hih49wa1aae
http://www.mediafire...cvicmdnvlruiupx
http://www.mediafire...7dr4szvgt3l7ywr
7). Spooler service starts manually
8). Devices and Printers (HP 4180) still has yellow triangle, not functioning.
9). Close, but not printing yet.
#41
Posted 07 May 2012 - 06:38 PM
I have tested the printer function with a network printer xerox on chinese pe
I will check the usb printer error, i think it's one problem from registry or maybe a second files as spooler.exe in the script, but which ?
#42
Posted 07 May 2012 - 07:10 PM
USB-Printer install fails due to some mysterious problem, LPT, COM and Network Printer fail becuase the install dialog does not offer to select any default port or create a new one.
Hope this helps pinpointing the problem.
#44
Posted 08 May 2012 - 04:32 PM
#45
Posted 08 May 2012 - 05:21 PM
Ludovici, please upload the script somewhere else, Mediafire seems to have problems
Sorry i can't, or have you a upload example for me
Script V10 with error "USB-Printer install fails due to some mysterious problem, LPT, COM and Network Printer fail becuase the install dialog does not offer to select any default port or create a new one." resolved
http://www.mediafire...uvjkc2cde7mj5ym
If anybody know also how start a service with command NET START [service] at the start of winpe ?
In winpeshell.ini for example
#46
Posted 08 May 2012 - 05:51 PM
Do you wanna know, how to write the command into the winpeshell.ini or does that not start the service?
Also, does the service need to be started after something specific, or does it just need to be started any time during boot?
#47
Posted 08 May 2012 - 06:08 PM
just need to be started any time during boot
#48
Posted 08 May 2012 - 07:06 PM
TXTAddLine,%TargetDir%\windows\system32\winpeshl.ini,"#$qsc start Service #$q",Append
#50
Posted 08 May 2012 - 11:00 PM
hidenowait|Start Spooler service|X:Program Filesnet.exe start Spooler
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users