Topic: I need a Plugin Microsoft Printer To PDF  (Read 1958 times)

Re: I need a script Microsoft Printer To PDF
« Reply #20 on: December 09, 2019, 12:50:34 PM »

James

  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Dec 2017
  • Posts: 2272
Hi

I agree, for myself, I have no need to print from any PE at all. But the interest from some members, just got me curious why it was proving such a problem for a long time !

Yup, but it has also shown little interest by the members of this forum... except for 2

Re: I need a script Microsoft Printer To PDF
« Reply #21 on: December 09, 2019, 02:13:05 PM »

slore

  • WimBuilder
  • Sr. Chef
  • ****
  • Date Registered: Jun 2016
  • Posts: 664
Here are my results..

Processing inf :            usbprint.inf
Adding the driver package failed : The system cannot find the file specified.


Total attempted:              1
Number successfully imported: 0

DrvLoad: Unable to load X:\windows\inf\printqueue.inf (Error 0x80070002).

I don't know what you did, you did some things else as I said, or you used the ISO is different than I tested.
Here is a 4 minutes English Gif demonstration with the offical en_windows_10_consumer_editions_version_1903_updated_sept_2019_x86_dvd_f9bffbf9.iso.
(It tested with v1903~19037.1.191202-1231.VB_RELEASE_CLIENTPRO_OEMRET_X64FRE_ZH-CN.ISO)

50s for building ...
rest for waiting and testing ...

You needn't to wait them be showed in Device and Printers control panel, The printers will work as the information message.
« Last Edit: December 09, 2019, 02:30:04 PM by slore »

Re: I need a script Microsoft Printer To PDF
« Reply #22 on: December 09, 2019, 03:21:00 PM »

James

  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Dec 2017
  • Posts: 2272
Slore, Thanks for the video of YOUR revision of Win10XPE working with Printer Support....
We had no doubt that it works with your Builder...

I posted the driver error messages and my target files....
I do not know what I did wrong either...
As Both the "usbprint.inf & printqueue.inf"  files exist and so does the usbprint.sys.
We have not been able to get it to work with Our Builder..
« Last Edit: December 09, 2019, 03:46:39 PM by James »

Re: I need a script Microsoft Printer To PDF
« Reply #23 on: December 09, 2019, 04:24:04 PM »

slore

  • WimBuilder
  • Sr. Chef
  • ****
  • Date Registered: Jun 2016
  • Posts: 664
Well, select the test\boot.wim, uncheck the "Shell" component, you will get the only files be added for this feature by WimBuilder2 in 15 seconds.
Or use the default build, and dir /b /s to get the file list, or ...

wimlist.bat
Code: [Select]
set "PATH=D:\Dev\WimBuilder2\bin\x86;%PATH%"
wimlib-imagex.exe dir "%~1" 1 --path=\Windows\System32\ >"%~1.sys.list.txt"
wimlib-imagex.exe dir "%~1" 1 --path=\Windows\System32\Drivers >"%~1.drv.list.txt"
pause

get the files of both builders, and see what is different.

Make thing be easy, you create the same base components:
Quote
WIN10XPE(WinBuilder) -
  Build Core - Shell: Explorer.exe
  Display Drivers

OFF all others option.

Quote
Re:WIN10XPE(WimBuilder2) -
   Components -
             -  MMC
             -  DWM
     - Shell: Explorer.exe
   
 (Use default preset, and uncheck IME, VC++Runtime)

Then
+DevicePrinterSupport_XPE.script (WinBuilder)
+Device and Printers (WimBuilder2)

to check the diff.

For WimBuilder2, you needs to check what added by
   main.bat
   last.bat
« Last Edit: December 09, 2019, 04:28:23 PM by slore »

Re: I need a script Microsoft Printer To PDF
« Reply #24 on: December 09, 2019, 04:40:11 PM »

James

  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Dec 2017
  • Posts: 2272
already have your extraction.log from your printer support...
already have the patched files spoolsv...
already have your registry setting....
already have your printer installation batch...

Not enough interest in "Print" to chase down any "Registry & Base Project" differences...

Re: I need a script Microsoft Printer To PDF
« Reply #25 on: December 10, 2019, 10:12:55 AM »

sharp

  • Jr. Chef
  • **
  • Date Registered: Jun 2019
  • Posts: 76
Hi James
I have tested your early printer pluigin and I have written about it to you.
Today I saw your message that you have updated it but there is no link
in plugin page.
Please update the link
Best Regards

Re: I need a script Microsoft Printer To PDF
« Reply #26 on: December 10, 2019, 01:24:20 PM »

James

  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Dec 2017
  • Posts: 2272
Sharp, it really would not matter, as the two required drivers do not load properly.

Re: I need a script Microsoft Printer To PDF
« Reply #27 on: December 10, 2019, 02:00:26 PM »

sharp

  • Jr. Chef
  • **
  • Date Registered: Jun 2019
  • Posts: 76
Hi James (again) :lol:
The link for devices&printer plugin doesn't work.
You can test it yourself http://theoven.org/index.php?topic=2607.msg28500#msg28500
Will you please send your last updated printer plugin, or make the link work?
Best regards.

Re: I need a script Microsoft Printer To PDF
« Reply #28 on: December 10, 2019, 02:22:10 PM »

James

  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Dec 2017
  • Posts: 2272
Sharp,
Thank You for your feedback and contributions to the Projects...
This forum relies on Contributions from it's members...
My contribution was pulled, as non working due to a Driver Loading issue..
I also have no interest in contributing to demands...

Currently there is no interest in developing a "Print" feature for the Win10XPE Project and at this point I would also assume the PESE Project
Slore's WimBuilder2 Project has implemented the "Print" feature and a link was provided in an above post to his project download.. Please feel free to test his project..
« Last Edit: December 10, 2019, 02:30:54 PM by James »

Re: I need a script Microsoft Printer To PDF
« Reply #29 on: December 11, 2019, 04:54:23 PM »

Jon_2030

  • Chef
  • ***
  • Date Registered: Jun 2018
  • Posts: 123
Error adding a printer
Show this message


Re: I need a script Microsoft Printer To PDF
« Reply #30 on: December 11, 2019, 04:57:21 PM »

Jon_2030

  • Chef
  • ***
  • Date Registered: Jun 2018
  • Posts: 123
Please explain adding the script
I am a beginner
Thank you for your attention
Best Regards

Re: I need a Plugin Microsoft Printer To PDF
« Reply #31 on: December 15, 2019, 02:47:26 PM »

Jon_2030

  • Chef
  • ***
  • Date Registered: Jun 2018
  • Posts: 123
Please explain the method
The experiment did not work for me

Re: I need a Plugin Microsoft Printer To PDF
« Reply #32 on: December 15, 2019, 03:21:21 PM »

0scar

  • Code Baker
  • Chef
  • ***
  • Date Registered: Jan 2013
  • Posts: 309
Printer support plugin prints fine to .prn. Then you may rename .prn to .pdf, I do not notice any difference between with actual pdf files but the files size.
http://theoven.org/index.php?topic=2607.msg28500#msg28500


BTW, there exists a Virtual Printer which works installed in XPE, but I have failed to make a plugin for it.
http://www.go2pdf.com/download.html

Re: I need a Plugin Microsoft Printer To PDF
« Reply #33 on: December 15, 2019, 05:05:44 PM »

James

  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Dec 2017
  • Posts: 2272
Thanks Oscar for the Feedback....

Re: I need a Plugin Microsoft Printer To PDF
« Reply #34 on: December 15, 2019, 05:13:10 PM »

Jon_2030

  • Chef
  • ***
  • Date Registered: Jun 2018
  • Posts: 123
Thanks to everyone who helped me
Best Regards

 :thumbsup:
« Last Edit: December 15, 2019, 05:14:03 PM by Jon_2030 »

Re: I need a Plugin Microsoft Printer To PDF
« Reply #35 on: December 15, 2019, 06:35:54 PM »

James

  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Dec 2017
  • Posts: 2272
Sharp & Jon,
Please feedback with your results on XPE....

Re: I need a Plugin Microsoft Printer To PDF
« Reply #36 on: December 16, 2019, 08:17:18 AM »

sharp

  • Jr. Chef
  • **
  • Date Registered: Jun 2019
  • Posts: 76
I have just saw the post and updated plugin. I'm impatient to test it, but now I'm a little busy.
I'll test it as soon as possible and share the results.
« Last Edit: December 16, 2019, 08:40:46 AM by sharp »

Re: I need a Plugin Microsoft Printer To PDF
« Reply #37 on: December 17, 2019, 08:30:55 AM »

sharp

  • Jr. Chef
  • **
  • Date Registered: Jun 2019
  • Posts: 76
First of all thanks to everyone who helped and wrote printer plugin
I've tested it, like Oscar said it doesn't actually print to pdf, but to prn.
And it doesn't matter, you can change the extension.
After booting, I just install usb printer support drivers and I could able to get result from a real printer.
Many thanks to KYHI for writing the plugin, and Slore who actually has written working plugin for his project.
And of course thanks to James who really takes care of printer problem and share the script.
Here is usb printer drivers which I installed after booting. In fact these files are added by the script but somehow you have to install it manually after boot process.
Best Regards
PS. You have to check switch to Admin checkbox, otherwise nothing happens when you boot to PE.
« Last Edit: December 17, 2019, 08:41:28 AM by sharp »

Re: I need a Plugin Microsoft Printer To PDF
« Reply #38 on: December 17, 2019, 12:55:16 PM »

APT

  • Grand Chef
  • *****
  • winpe enthusiast
  • Location: UK
  • Date Registered: Nov 2012
  • Posts: 1150
Hi

Well, if we are giving thanks, then dont forget to add noelBlanc to the list for his considerable contributions as well, albeit a while ago initially :thumbsup:
as well as the patch in slore's Wimbuilder2 - both invaluable help I believe


« Last Edit: December 17, 2019, 12:58:21 PM by APT »

Re: I need a Plugin Microsoft Printer To PDF
« Reply #39 on: December 17, 2019, 03:52:09 PM »

noelBlanc

  • Chef
  • ***
  • Date Registered: Dec 2013
  • Posts: 266
APT : Thank you so much.
I am very sensitive to this mark of attention to me.
I stay in the shadows because my English is very bad.
Kind regards

 

Powered by EzPortal