DIRECT2D Print Rendering via Instructions Converter
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Display-rendering instructions, such as those using the DIRECT2D API, do not include sufficient print-specific instructions, preventing direct printing of displayable items without modifying the rendering instructions.
Innovation Solution
Converting display-rendering instructions into print-rendering instructions through a process involving a PrintRenderTarget that includes an instructions converter, which maps display-rendering instructions to print-rendering formats like EMF, WMF, SVG, or XPS, enabling printing capabilities.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If display-rendering instructions are used directly for printing, then display quality is maintained, but printing capability is lost due to insufficient print-specific instructions
Solution Approach 1:
An instructions converter is introduced as an intermediary component that translates display-rendering instructions into print-rendering instructions. This converter acts as a mediator between the display rendering system and the printing system, enabling print capability without modifying the original display instructions. The converter receives display-rendering instructions, converts them to an intermediate format, and then to print-specific instructions, thereby resolving the contradiction between maintaining display quality and enabling printing capability.
2Adaptability or versatility
If display-rendering instructions are modified to include print-specific instructions, then printing capability is enabled, but reusability of display-rendering instructions is reduced
Solution Approach 1:
The system is segmented into distinct functional components: the display-rendering instructions remain separate and unchanged, while a dedicated instructions converter handles the translation to print-specific instructions. This segmentation allows the display-rendering instructions to be reused for both display and printing purposes without modification, as the conversion process is externalized to a separate converter component that processes the instructions as needed.
3Adaptability or versatility
If a conversion process is introduced to enable printing, then printing capability is achieved, but system complexity increases
Solution Approach 1:
The instructions converter is designed to automatically perform the translation from display-rendering instructions to print-rendering instructions without requiring manual intervention or complex external processing. The converter self-manages the conversion process by internally handling the mapping between different instruction formats, thereby reducing the perceived system complexity while maintaining the ability to enable printing capability.
Data Source
AI summary
Technology described herein is directed to converting display-rendering instructions (e.g., DIRECT2D) into print-rendering instructions (e.g., EMF, WMF, XPS, and SVG). For example, a request to print an item (e.g., document) is received, the item being displayable on an output device when display-rendering instructions are executed. A print render target is created that includes an instructions converter. The display-rendering instructions are routed to the print render target. The instructions converter maps the display-rendering instructions to the print-rendering instructions, which are usable to print the item.


