Difference between revisions of "Printing"
Colin Finck (talk | contribs) m (→Current Status and Roadmap) |
Colin Finck (talk | contribs) (→Current Status and Roadmap: Marshall* is implemented now) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 18: | Line 18: | ||
[[File:Symbol support vote.png]] Implements EnumMonitors for enumerating the available port monitors<br> | [[File:Symbol support vote.png]] Implements EnumMonitors for enumerating the available port monitors<br> | ||
[[File:Symbol support vote.png]] Implements EnumPrintProcessorDatatypes for enumerating the datatypes of a Print Processor associated to a Printer<br> | [[File:Symbol support vote.png]] Implements EnumPrintProcessorDatatypes for enumerating the datatypes of a Print Processor associated to a Printer<br> | ||
− | [[File:Symbol | + | [[File:Symbol support vote.png]] Implements getting and setting the default printer (GetDefaultPrinter/SetDefaultPrinter)<br> |
+ | [[File:Symbol support vote.png]] Implements support for storing and getting additional printer data (GetPrinterData(Ex), SetPrinterData(Ex))<br> | ||
[[File:Symbol oppose vote.png]] Needs fully working GetPrinter/SetPrinter implementation for altering a printer's parameters<br> | [[File:Symbol oppose vote.png]] Needs fully working GetPrinter/SetPrinter implementation for altering a printer's parameters<br> | ||
[[File:Symbol oppose vote.png]] Needs support for adding and deleting Printer Drivers (AddPrinterDriver(Ex), DeletePrinterDriver(Ex))<br> | [[File:Symbol oppose vote.png]] Needs support for adding and deleting Printer Drivers (AddPrinterDriver(Ex), DeletePrinterDriver(Ex))<br> | ||
[[File:Symbol oppose vote.png]] Needs support for handling forms (aka paper sizes, AddForm, DeleteForm, EnumForms)<br> | [[File:Symbol oppose vote.png]] Needs support for handling forms (aka paper sizes, AddForm, DeleteForm, EnumForms)<br> | ||
[[File:Symbol oppose vote.png]] Needs support for managing ports (AddPort(Ex), DeletePort, SetPort)<br> | [[File:Symbol oppose vote.png]] Needs support for managing ports (AddPort(Ex), DeletePort, SetPort)<br> | ||
+ | [[File:Symbol oppose vote.png]] Needs an implementation of the DocumentProperties API<br> | ||
[[File:Symbol oppose vote.png]] Needs support for adding and deleting connections to shared printers (AddPrinterConnection, DeletePrinterConnection)<br> | [[File:Symbol oppose vote.png]] Needs support for adding and deleting connections to shared printers (AddPrinterConnection, DeletePrinterConnection)<br> | ||
[[File:Symbol oppose vote.png]] Needs support for Printer Change Notifications<br> | [[File:Symbol oppose vote.png]] Needs support for Printer Change Notifications<br> | ||
Line 35: | Line 37: | ||
'''Component used by spoolsv.exe to determine the Print Provider(s) that shall handle a call'''<br> | '''Component used by spoolsv.exe to determine the Print Provider(s) that shall handle a call'''<br> | ||
[[File:Symbol support vote.png]] Forwards calls to one or multiple Print Providers. Evolves together with the other components.<br> | [[File:Symbol support vote.png]] Forwards calls to one or multiple Print Providers. Evolves together with the other components.<br> | ||
− | [[File:Symbol | + | [[File:Symbol support vote.png]] Provides helper APIs (like Marshall* and PackStrings) to assist the development of all Printing components. |
|- | |- | ||
! colspan="2"| Print Providers | ! colspan="2"| Print Providers | ||
Line 41: | Line 43: | ||
| localspl.dll || | | localspl.dll || | ||
'''Manages all local printers and their queues. Most of the fun happens here!'''<br> | '''Manages all local printers and their queues. Most of the fun happens here!'''<br> | ||
+ | Available WDK Samples: pp<br> | ||
This component evolves together with the other components and the ToDo list is mostly the same as for winspool.drv. | This component evolves together with the other components and the ToDo list is mostly the same as for winspool.drv. | ||
|- | |- | ||
Line 57: | Line 60: | ||
Available WDK Samples: localmon<br> | Available WDK Samples: localmon<br> | ||
[[File:Symbol support vote.png]] Fully implements support for COM, LPT and FILE ports<br> | [[File:Symbol support vote.png]] Fully implements support for COM, LPT and FILE ports<br> | ||
+ | [[File:Symbol support vote.png]] The ReactOS implementation can be used as a drop-in replacement for the Windows counterpart<br> | ||
[[File:Symbol oppose vote.png]] Original Windows Local Port Monitor also implements support for IrDA Printers, but I don't think this has any priority | [[File:Symbol oppose vote.png]] Original Windows Local Port Monitor also implements support for IrDA Printers, but I don't think this has any priority | ||
|- | |- | ||
| pjlmon.dll || | | pjlmon.dll || | ||
'''Language Monitor for interpreting and acting according to the HP PJL (Printer Job Language)'''<br> | '''Language Monitor for interpreting and acting according to the HP PJL (Printer Job Language)'''<br> | ||
+ | Available WDK Samples: pjlmon<br> | ||
[[File:Symbol oppose vote.png]] Entirely unimplemented, not sure if still needed | [[File:Symbol oppose vote.png]] Entirely unimplemented, not sure if still needed | ||
|- | |- | ||
Line 75: | Line 80: | ||
| winprint.dll || | | winprint.dll || | ||
'''Alters the print job data to perform a datatype conversion to RAW or apply job-specific settings'''<br> | '''Alters the print job data to perform a datatype conversion to RAW or apply job-specific settings'''<br> | ||
− | Available WDK Samples: GenPrint<br> | + | Available WDK Samples: GenPrint / winprint (NT4 DDK)<br> |
[[File:Symbol support vote.png]] Supports the RAW datatype and forwards data without any modification.<br> | [[File:Symbol support vote.png]] Supports the RAW datatype and forwards data without any modification.<br> | ||
− | [[File:Symbol oppose vote.png]] Needs to support TEXT and multiple versions of EMF. | + | [[File:Symbol oppose vote.png]] Needs to support TEXT and multiple versions of EMF.<br> |
− | [[File:Symbol oppose vote.png]] Needs to support Multiple Copies, Collation, Reverse Printing, Duplex Printing, and N-up Printing. | + | [[File:Symbol oppose vote.png]] Needs to support Multiple Copies, Collation, Reverse Printing, Duplex Printing, and N-up Printing.<br> |
|- | |- | ||
! colspan="2"| GDI DDI Printer Drivers | ! colspan="2"| GDI DDI Printer Drivers | ||
|- | |- | ||
− | | | + | | pscript5.dll<br>ps5ui.dll || |
− | '''Implements the | + | '''Implements a generic driver for PostScript printers and serves as the base for every PDF Printer out there'''<br> |
+ | Available WDK Samples: psprint (NT4 DDK only!)<br> | ||
+ | WINE also has a "wineps.drv", but it is based on a WINE-proprietary interface<br> | ||
[[File:Symbol oppose vote.png]] Entirely unimplemented | [[File:Symbol oppose vote.png]] Entirely unimplemented | ||
|- | |- | ||
− | | unidrvui.dll || | + | | unidrv.dll<br>unidrvui.dll || |
− | ''' | + | '''Implements the User-Mode v3 Printer Driver Model, used by every such driver to assist converting GDI calls to the printer language'''<br> |
[[File:Symbol oppose vote.png]] Entirely unimplemented | [[File:Symbol oppose vote.png]] Entirely unimplemented | ||
|- | |- | ||
− | | tty.dll || | + | | tty.dll<br>ttyui.dll || |
'''Implements the Generic / Text-Only Printer Driver'''<br> | '''Implements the Generic / Text-Only Printer Driver'''<br> | ||
Available WDK Samples: tty, msplot<br> | Available WDK Samples: tty, msplot<br> | ||
Line 104: | Line 111: | ||
|- | |- | ||
| ntprint.dll<br>ntprint.exe || | | ntprint.dll<br>ntprint.exe || | ||
− | ''' | + | '''Used for installing the Printer Driver Class'''<br> |
[[File:Symbol oppose vote.png]] Entirely unimplemented | [[File:Symbol oppose vote.png]] Entirely unimplemented | ||
|- | |- |
Latest revision as of 11:54, 13 February 2018
ReactOS Trunk has first Printing Support since the "colins-printing-for-freedom" branch has been merged in r73039 on October 26, 2016.
This page shall track all involved components, their current status and the next steps that need to be done. Many components still need research, so your help is welcome!
Contacts
Current Status and Roadmap
Resources
- The DDK has some nice diagrams to illustrate what goes on and also some samples.
- Feng Yuan's book: "Windows Graphics Programming: Win32 GDI and DirectDraw"
- CEPS (Cisco enterprise print system)
- Print Devices Reference
- Windows printing architecture
- Printing and print spooler
- Printing – Architecture and Driver Support
- Introduction to Print Providers
- More printing architecture
- Windows 2000 Print Services
- Printer graphics dll
- LPRng, Berkeley based LPR print spooler
- ReactOS printing for the first time! 2015/07/25 by Colin Finck