Memory, information processing device, and printing method
By executing the support program in the information processing device to generate specific data for printing object images, the problem of inconvenient setting of printing parameters in the OS standard general printing program is solved, and the synthesis and processing of printing object images in the general printing program is realized. Improved user experience and functional support.
Patent Information
- Application Number
- CN202080021508.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-03-28
- Filing Date
- 2020-02-17
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2040-02-17
AI Technical Summary
In a universal printing program based on OS standards, users lack support for the settings items inherent in the printer or printer driver when selecting printing parameters, resulting in inconvenient user experience.
By executing a support program in the information processing device, the program generates specific data for synthesis and processing of the image of the printing object when receiving the printing instructions. The support program can perform inherent functions in the printer or support program in a general printing program. , for example, watermark settings.
It realizes specific synthesis processing of printed object images in a general printing program, enhancing user flexibility and functional support for printing parameters.
Smart Images

Figure CN113574499B_ABST
Abstract
Description
Technical Field
[0001] The technical field disclosed in this specification relates to a support program, an information processing device, and a printing method that support control of a printer. Background Art
[0002] As a technology for controlling a printer from an information processing device such as a personal computer, the following structure is widely known: a printer driver is installed in the information processing device, print data is generated by the printer driver, and the print data is sent to the printer (for example, Japanese Patent Publication No. 2017-134718). The printer driver is provided by the manufacturer of the printer, corresponds to various functions of the printer, and can fully utilize the printer.
[0003] Technical problem to be solved by the invention
[0004] In recent years, a technology for controlling a printer by a universal printing program that is standardly installed in an operating system (OS) without using the above-mentioned printer driver has become practical. In this technology, when the OS detects a printer, the printer is associated with the universal printing program that is standard for the OS, and thereafter, when a print instruction for the printer is received, printing based on the universal printing program that is standard for the OS can be performed without using a printer driver.
[0005] However, in printing based on the universal printing program of the OS standard, when selecting printing parameters, the setting items that can be selected are general setting items registered in the universal printing program of the OS standard. Therefore, the setting items inherent to the printer or printer driver are not supported, which is inconvenient for users and there is room for improvement. Summary of the invention
[0006] This specification discloses a technology for realizing a composite process of composite a specific object onto an image to be printed based on a print instruction in an information processing device in which a general-purpose print program in accordance with an OS is installed.
[0007] Technical means for solving technical problems
[0008] A support program implemented for the purpose of solving the above-mentioned problems can be executed by a computer of an information processing device and corresponds to a printer connected to the above-mentioned information processing device. The support program is characterized in that, when a printing instruction for causing the printer to print an image is given to a general printing program pre-installed in the operating system of the information processing device, the computer is caused to execute an acceptance process, and the setting of printing parameters for the printing instruction is accepted to the acceptance process, and the setting items of the printing parameters include a setting for synthesizing processing of synthesizing a specific object on an image that becomes a printing object based on the printing instruction. When the setting of the synthesizing processing is accepted in the acceptance process, the computer is further caused to execute a generation process, and specific data is generated in the generation process. The specific data is used to perform the synthesizing processing on the data generated by the printing program corresponding to the image that becomes the printing object.
[0009] The support program of the above structure accepts the setting of the composite processing of composite a specific object on the image of the printing object when printing based on the universal printing program. When the setting of the composite processing is accepted, the support program generates specific data inherent to the composite processing. Therefore, according to the support program, when printing is performed via the universal printing program, the composite processing, which is a function inherent to the printer or the support program, can be executed.
[0010] A control method, a computer program, and a computer-readable storage medium storing the computer program for realizing the functions of the above-mentioned device are also novel and useful.
[0011] Effects of the Invention
[0012] According to the technology disclosed in this specification, a technology is realized for realizing composite processing of composite a specific object onto an image to be printed based on a print instruction in an information processing device in which a general-purpose print program in accordance with an OS is installed. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 This is a block diagram showing the electrical configuration of the printing system according to the first embodiment.
[0014] Figure 2 This is a sequence diagram showing an example of the sequence of operations performed by each program.
[0015] Figure 3 This is a UI diagram showing an example of a print parameter editing screen.
[0016] Figure 4 This is a schematic diagram showing an example of watermark printing.
[0017] Figure 5 It is a schematic diagram of the process of synthesizing an image.
[0018] Figure 6 This is a sequence diagram showing an example of the sequence of operations of each program according to the second embodiment. DETAILED DESCRIPTION
[0019] (First Embodiment)
[0020] Below, while referring to the attached Figure 1 The present invention discloses an embodiment of a printing system including a personal computer (hereinafter referred to as a "PC") and a printer.
[0021] exist Figure 1 An example of the structure of a printing system that executes the program of this method is shown in FIG. Figure 1 The system shown includes a PC 1, a printer 2, and a printer 3. The PC 1 is an example of an information processing device. The printers 2 and 3 are devices having a printing function and can communicate with the PC 1 via local communication or network communication. In addition, a plurality of printers 2 may be connected to the PC 1.
[0022] For example Figure 1 As shown, the PC 1 includes a controller 10 , a user interface (hereinafter referred to as “UI”) 20 , and a communication interface (hereinafter referred to as “communication IF”) 30 . The UI 20 and the communication IF 30 are electrically connected to the controller 10 .
[0023] The UI 20 includes hardware for displaying various displays and accepting user instruction inputs. The UI 20 may be a touch panel having both display functions and input acceptance functions, or a combination of a display having a display function and a keyboard and a mouse having an input acceptance function.
[0024] The communication IF 30 includes hardware for communicating with the printer 2 and the printer 3 and hardware for accessing the network. The communication IF 30 may also include a plurality of interfaces with different communication methods. The communication methods include network communication and USB communication. In addition, wired communication or wireless communication may be used.
[0025] The controller 10 includes a CPU 11 and a memory 12. The CPU 11 is an example of a computer. The memory 12 includes a ROM, a RAM, a nonvolatile memory, and a buffer of the CPU 11, and stores programs such as various application programs (hereinafter referred to as "applications"), various data, etc. In addition, in this specification, the details of the memory are not distinguished. The CPU 11 executes various processes according to the programs read from the memory 12 and based on the instructions of the user. In addition, Figure 1The controller 10 in the description is a general term for hardware and software for controlling the PC 1 , and is not limited to representing a single piece of hardware actually existing in the PC 1 .
[0026] An example of the memory 12 may also be a computer-readable storage medium. A computer-readable storage medium refers to a non-transitory medium. In addition to the above examples, non-transitory media also include recording media such as CD-ROMs and DVD-ROMs. In addition, non-transitory media are also tangible media. On the other hand, an electrical signal that transmits a program downloaded from a server on the Internet is a type of computer-readable medium, i.e., a computer-readable signal medium, but is not included in a non-transitory computer-readable storage medium.
[0027] For example Figure 1 As shown, the memory 12 stores an operating system (hereinafter referred to as "OS") 21 including a universal printing program 41, an auxiliary program 42, and an editing application 43. The auxiliary program 42 is an example of a support program. The auxiliary program 42 is, for example, a hardware support application (abbreviated as HSA) created by a printer manufacturer based on specifications disclosed by Microsoft Corporation. OS21 is, for example, Microsoft Windows (registered trademark), MacOS (registered trademark), and Linux (registered trademark). In addition, in addition to the illustrated contents, the memory 12 also stores various data including information about the connected printer, various programs such as a browser, etc.
[0028] The universal printing program 41 is an application for executing printing by the PC 1 using various printers such as the printer 2, and is an OS standard printing program preinstalled in the OS 21. The universal printing program 41 of this embodiment is a program for generating print data that can be supported by the printer based on the image data to be printed.
[0029] The universal printing program 41 is a universal application that can be applied to a plurality of models of printers provided by the manufacturers of each printer, and is a program that enables each printer to perform common operations in each model. Alternatively, the universal printing program 41 may be a program provided by the manufacturers of each printer to the manufacturer of OS21 in order to be pre-installed in OS21, such as a type of printer driver provided in order to be pre-installed in OS21.
[0030] The auxiliary program 42 is a program that executes processing based on instructions from the OS 21 when the universal printing program 41 is started, and is an application that supports the control of the target hardware, such as the printer 2. The auxiliary program 42 is started, for example, by the universal printing program 41. The auxiliary program 42 is a program prepared by the manufacturer of the printer 2, etc. according to the type of printer. For example, an auxiliary program 42 for an inkjet printer and an auxiliary program 42 for a laser printer are prepared. The auxiliary program 42 is not limited to the type of printer, and there may be an auxiliary program 42 prepared according to the model of the printer or according to the series of the model of the printer.
[0031] The printer manufacturer registers the auxiliary program 42 in the platform provided by the manufacturer of the OS 21 in the order specified by the manufacturer of the OS 21. When the PC 1 is newly connected to the printer 2 and the auxiliary program 42 corresponding to the printer 2 is registered in the platform, the OS 21 downloads the auxiliary program 42 from the server storing the auxiliary program 42 and installs it in the PC 1.
[0032] Then, OS21 stores the identification information of the installed auxiliary program 42 in correspondence with the printer information of the newly connected printer in the memory 12. In the PC 1 to which multiple models of printers are connected, auxiliary programs corresponding to the types of the models are installed, and information that corresponds to each printer and each auxiliary program is stored in the memory 12. That is, in the memory 12, as the printer information of each printer connected to the PC 1, the information of the corresponding auxiliary program 42 is stored together with the model information and access information of the printer.
[0033] The editing application 43 is, for example, an application for creating and editing image data or document data. The editing application 43 is, for example, Microsoft Word (registered trademark) or PowerPoint (registered trademark). Alternatively, the editing application 43 may be an application provided by the manufacturer of the printer 2 or the printer 3. The editing application 43 receives user operations including instructions for causing the printer 2 to perform a predetermined action. Specifically, the editing application 43 receives, for example, selection of an image to be printed, setting of printing parameters, and printing instructions for causing the printer 2 to execute printing, via the UI 20.
[0034] In addition, the processing of the embodiment and each processing step of the sequence diagram basically represent the processing of the CPU 11 according to the command described in the auxiliary program 42 or the like. That is, the processing such as "judgment", "extraction", "selection", "calculation", "determination", "determination", "obtaining", "acceptance", "control" in the following description represent the processing of the CPU 11. The processing of the CPU 11 also includes the hardware control using the API of the OS 21. In this specification, the detailed description of the OS 21 is omitted and the actions of each program are described. That is, in the following description, the description of the content such as "Program B controls hardware C" can also mean "Program B uses the API of the OS 21 to control hardware C". In addition, sometimes the processing of the CPU 11 according to the command described in the program is recorded with an omitted statement. For example, sometimes the program is omitted and recorded as "performed by the CPU 11". In addition, sometimes the processing of the CPU 11 according to the command described in the program is recorded with a statement omitting the CPU as "performed by the program A".
[0035] In addition, "obtain" is used in the concept of not necessarily requesting. That is, the process of CPU11 receiving data without requesting is also included in the concept of "CPU11 obtaining data". In addition, the "data" in this specification is represented by a bit column that can be read by a computer. Moreover, data with the same essential meaning and different formats are treated as the same data. The same also applies to "information" in this specification. In addition, "request" and "instruction" are concepts that indicate the output of information indicating a request and information indicating an instruction to an object. In addition, information indicating a request and information indicating an instruction are also simply recorded as "request" and "instruction".
[0036] In addition, the process of CPU 11 determining whether information A represents event B is sometimes conceptually described as "based on information A, determine whether it is event B". The process of CPU 11 determining whether information A represents event B or event C is sometimes conceptually described as "based on information A, determine whether it is event B or event C".
[0037] Next, refer to Figure 2 The sequence diagram of the embodiment of the present invention describes an example of the structure of the auxiliary program 42 and an example of the printing sequence including the actions of the auxiliary program 42. The auxiliary program 42 is a program that is executed by the universal printing program 41 when a printing instruction to print using the universal printing program 41 is received via the editing application 43 or the like in a state where the printer corresponding to the auxiliary program 42 is specified. The following describes a case where the PC 1 receives an instruction to print in the printer 2 via the universal printing program 41 using the editing application 43 via the UI 20, for example, in a state where the image data to be printed is specified, and the auxiliary program 42 corresponding to the model type of the printer 2 is installed in the PC 1.
[0038] First, the editing application 43 receives the designation of an image to be printed and the input of an instruction to execute printing via the UI 20 (arrow A). The image displayed by the editing application 43 is an example of an image to be printed. The editing application 43 displays, for example, a document edited by the editing application 43 or a photo read by the editing application 43 as an image. The editing application 43 displays, for example, a print setting screen while displaying an image, and receives settings for print parameters. Furthermore, if the editing application 43 receives the printing instruction, it transmits a print execution notification indicating the contents of the received printing instruction to the OS 21. In addition, in Figure 2 In the figure, the operation of OS21 is omitted.
[0039] When receiving the print execution notification using the universal print program 41, the OS 21 executes the universal print program 41 and transmits the print execution notification to the universal print program 41 (arrow B). The universal print program 41 can use the print execution notification to obtain various information included in the print instruction, such as information indicating the printer to be printed, information indicating the print parameters set by the application, information indicating the image data to be printed, and information identifying the user who instructed the printing. In addition, as described later, this information can also be used in the auxiliary program 42.
[0040] The universal printing program 41 generates intermediate image data by converting the format of the image data included in the print execution notification into the format of intermediate image data, and generates a print job including the intermediate image data (arrow C). The image data included in the editing application 43 is of various types, and the universal printing program 41 converts the received image data into intermediate image data suitable for generating print data. In addition, as long as the image data included in the print execution notification is data suitable for generating print data, the generation of intermediate image data may be omitted and the intermediate image data may be directly used. The intermediate image data is, for example, XPS data.
[0041] Furthermore, the universal printing program 41 determines the printer designated as the device to execute printing based on the information included in the print execution notification. For example, when the printer 2 is designated, the universal printing program 41 determines the model of the printer 2 based on the printer model information included in the printer information stored in the memory 12. Furthermore, the auxiliary program 42 corresponding to the printer 2 designated by the print instruction is stored in the memory 12, so the universal printing program 41 outputs an execution command for the processing of the auxiliary program 42 to cause the auxiliary program 42 to operate (arrow D).
[0042] When the auxiliary program 42 acquires the intermediate image data (arrow D) according to the execution command, it causes the UI 20 to display a print parameter editing screen for accepting the setting of the print parameters, and accepts the setting of the print parameters (arrow E). Arrow E is an example of the acceptance process.
[0043] Among the printing parameters, there are general parameters that the general printing program 41 can correspond to and inherent parameters that the general printing program 41 cannot correspond to. General parameters include paper size, color / monochrome settings, etc., for example. Intrinsic parameters include watermark settings, for example. A watermark refers to an image that is synthesized and printed on the image of the printing object at a specified concentration, such as an image added to prevent information leakage (for example, a mark such as a confidentiality mark), text such as COPY, etc. The concentration can also be changed arbitrarily. The auxiliary program 42 can accept only inherent parameters in the printing parameter editing screen, or can accept both inherent parameters and general parameters.
[0044] For example, Figure 3 As shown, when watermark is selected from the extended functions of the print parameter editing screen D1, the auxiliary program 42 causes the UI 20 to display a watermark setting screen DA1. The watermark setting screen DA1 includes check boxes C10 and C14, a watermark selection field B10, a watermark setting field B12, an OK button A14, and an edit button A12.
[0045] When the check box C10 is unchecked, the watermark is not printed. When it is checked, for example Figure 4 As shown, the watermark G2 is set to be printed. If the check box C14 is checked, the watermark G2 is set to be printed in outline text. Outline text is text that is printed with the edges trimmed and without filling in the center.
[0046] The watermark selection column B10 can selectively display watermarks registered in the auxiliary program 42. If the edit button A12 is operated, a watermark editing screen (not shown) is displayed, and the auxiliary program 42 can edit the watermark selected in the watermark selection column B10 via the watermark editing screen. In the watermark editing screen (not shown), for example, the display content, font, color, location within the image of the printing object, size, tilt, watermark configuration surface, etc. of the watermark can be set. In addition, in the watermark editing screen (not shown), the concentration when printing the watermark can be set. The lower the setting value of the concentration, the thinner the watermark is printed. The watermark setting column B12 is a column for selecting the pages on which the watermark is to be printed. For example, if all pages are selected, then Figure 4 As shown in (d), when 2-in-1 printing is performed, one watermark G2 is also printed on each page.
[0047] In addition, if Figure 4As shown in (c), when 2in1 printing is performed, it is also possible to set a watermark G2 to be synthesized and printed on one page. In addition, for example, when multiple watermarks are arranged on one page, the settings related to the watermarks can be made independently. In addition, the setting of the watermark is an example of the setting of the synthesis process, and the watermark G2 is an example of a specific object.
[0048] When the OK button A14 is operated via the UI 20 , the auxiliary program 42 receives the printing parameters input via the UI 20 and stores them in the memory 12 .
[0049] In addition, in the watermark setting, there is a first setting for implementing the watermark by changing the content of the intermediate image data (for example, changing the content of the intermediate image data in XPS format), and a second setting for implementing the watermark using a method different from changing the content of the intermediate image data.
[0050] Specifically, for example Figure 4 As shown in (a), the first setting is the setting when the watermark G2 is printed using standard text. For example, the first setting is a value such as "arrange at the front of the image to be printed" in the watermark arrangement plane, a value such as "arrange standard text" in the setting value indicating the arrangement of text, and other values related to the standard text (for example, the position, size, tilt, and font of the arrangement in the image to be printed).
[0051] In addition, for example, Figure 4 When the watermark G2 is arranged as shown in (b), the setting of the watermark arrangement surface is replaced with a value such as "arranged at the front of the image to be printed" and a value such as "arranged at the back of the image to be printed" is set. In addition, for example, when an image such as a confidential mark is registered in the storage area that can be used by the universal printing program 41, the setting of the image is an example of the first setting. In this case, the first setting is, for example, a value for setting the watermark arrangement surface, a setting value indicating the arrangement image, and other values related to the image (for example, information indicating the position in the image to be printed, the size, the tilt, and the storage location of the image).
[0052] On the other hand, the second setting is, for example, a setting that is not applicable to the example of the first setting. Figure 4 (a) is the setting for the watermark G2 shown in FIG. In this case, the second setting is a value for setting the watermark configuration surface, a value such as "configure outline text" in the setting value indicating the configuration text, and the remaining values related to the outline text (for example, the position, size, tilt, and font of the configuration in the image of the printed object).
[0053] Furthermore, the second setting may be a value such as "placed between specific layers of the image to be printed" in the watermark placement plane, that is, placed between the first layer and the second layer, or a remaining value when this value is set. Furthermore, when an image registered in the storage area for the auxiliary program 42 is used as the watermark, the second setting may be the setting of the image.
[0054] In addition, for example, when "COPY" in standard text and "COPY" in outline text are arranged on the same page, the printing parameters of the image to be printed include a first setting related to "COPY" in standard text and a second setting related to "COPY" in outline text.
[0055] return Figure 2 , the auxiliary program 42 that receives the settings of the printing parameters checks whether there is a watermark setting in the received printing parameters (arrow F). For example, when the check box C10 of the watermark setting screen DA1 is checked according to arrow E, and the OK button A14 is operated in a state where the standard text "COPY" and the outline text "COPY" are specified as watermarks, the auxiliary program 42 determines that there is a watermark setting in the printing parameters (arrow F). In this case, the auxiliary program 42 checks whether the first setting is included in the watermark setting (arrow G). Arrow G is an example of the judgment process.
[0056] When the watermark setting includes the first setting, the auxiliary program 42 generates intermediate composite image data (arrow H). The intermediate composite image data is, for example, XPS data. Arrow H is an example of generation processing. For example, the auxiliary program 42 generates an instruction based on the first setting according to XPS, and adds it to the intermediate image data added to the execution command, and combines the watermark with the intermediate image data (arrow H). In addition, the case where it is determined that the watermark setting includes the first setting is an example of the case where it is determined that the specific condition is not set.
[0057] For example, when "COPY" of standard text and "COPY" of outlined text are specified as watermarks, in the printing parameters, for the standard text "COPY", for example, a value such as "arranged at the front of the image to be printed" in the watermark arrangement plane, a value such as "arranged standard text" in the setting value indicating the arrangement of text, and the remaining values related to the standard text (for example, the position, size, inclination, and font of the image to be printed) are set. Moreover, for the outlined text "COPY", for example, a value such as "arranged at the front of the image to be printed" in the watermark arrangement plane, a value such as "arranged outlined text" in the setting value indicating the arrangement of text, and the remaining values related to the outlined text (for example, the position, size, inclination, and font of the image to be printed) are set. The setting of the standard text "COPY" is equivalent to the first setting, and the setting of the outlined text "COPY" is equivalent to the second setting.
[0058] In this case, the auxiliary program 42 generates intermediate image data for the standard text "COPY" including the first setting. That is, the auxiliary program 42 generates an XPS command such as "arrange at the front of the image to be printed", and appends it to the intermediate image data in XPS format. In addition, an XPS command indicating the arranged character string "COPY", an XPS command indicating where the character string is arranged in the image to be printed, and an XPS command indicating the size, tilt, and font of the character string are generated and appended to the intermediate image data in XPS format. Thus, an image of the standard text "COPY" is synthesized with the intermediate image data. The intermediate image data to which the XPS command is attached is intermediate synthesized image data.
[0059] For example, when an image registered in the storage area usable by the universal printing program 41 is set as a watermark, the setting of the image corresponds to the first setting. In this case, the auxiliary program 42 generates an XPS command indicating the value of the arranged image, that is, the path of the image file storing the image, the position, size, and tilt of the image in the image to be printed, and adds it to the intermediate image data in the XPS format.
[0060] In addition, the setting of the outlined characters "COPY" does not correspond to the first setting, and therefore the processing of the arrow H is not performed. That is, in the arrow H, the intermediate image data of the outlined characters is not generated.
[0061] When the auxiliary program 42 generates the intermediate composite image data, it outputs an end notification (arrow I). The universal printing program 41 generates print data (arrow J) according to the end notification. Since the intermediate composite image data is added to the end notification, the universal printing program 41 generates print data based on the intermediate composite image data. The print data is, for example, raster image data in a bitmap format. In arrow J, the print data generated based on the intermediate composite image data is an example of the second image data.
[0062] The universal printing program 41 that has generated the printing data outputs an execution command (arrow K). The execution command includes the printing data and printing parameters that the universal printing program 41 has generated based on the intermediate composite image data. The printing parameters include settings that are not processed as indicated by arrow H, that is, second settings. Specifically, the settings include the outlined characters "COPY".
[0063] The auxiliary program 42 can obtain the printing data (arrow L) according to the execution command. Arrow L is an example of the acquisition process. The printing data obtained by arrow L is an example of the second image data. The auxiliary program 42 that has obtained the printing data checks whether there is a watermark setting in the printing parameters added to the printing data (arrow M). When there is a watermark setting, it is determined whether the watermark setting includes the second setting (arrow N). Arrow N is an example of the judgment process. The case where it is determined that the watermark setting includes the second setting is an example of the case where it is determined that a specific condition is set. When the second setting is included, the auxiliary program 42 generates raster image data representing the image of the watermark, that is, synthetic data (arrow O) based on the second setting. Arrow O is an example of the generation process. The auxiliary program 42 generates synthetic image data (arrow P) by synthesizing the synthetic data with the printing data. Arrow P is an example of the synthesis process. The synthetic data is an example of specific data, the first image data.
[0064] For example, as described above, when "COPY" in standard text and "COPY" in outline text are specified as watermarks, Figure 5As shown, the auxiliary program 42 obtains raster image data G10 (arrow M) including the standard text "COPY" and the image of the printing object from the universal printing program 41. The printing data includes the setting of "COPY" for the outlined text that is not processed according to the arrow H, that is, the second setting. In this case, the auxiliary program 42 obtains the font image data for the text string "COPY" from the font image data represented by the font setting, processes the obtained font image data, and generates the outlined text image data G12 (arrow O) representing the outlined text. Furthermore, the auxiliary program 42 synthesizes the outlined text image data G12 with the raster image data G10 according to the value of "arranged at the front of the image of the printing object" and the position, size, and tilt of the outlined text string in the image of the printing object, thereby generating the synthesized image data G15 (arrow P).
[0065] In addition, for example, a value such as "arranged between the determined layers of the image of the printing object" in the watermark arrangement surface and the remaining value when the value is set are equivalent to the second setting. In the case where such a second setting is included, the auxiliary program 42 obtains the font image data for the character string from the font image data represented by the font setting (arrow O). In this case, hollow processing can also be implemented as needed. Moreover, based on the value such as "arranged between the determined layers of the image of the printing object", the position of the printing object where the character string is arranged, the size, and the tilt value, the font image data is synthesized with the printing data (arrow P). In addition, the character string can also be an image.
[0066] The auxiliary program 42 that generated the composite image data outputs an end notification (arrow Q). The universal printing program 41 outputs a print command (arrow R) to the printer 2 in response to the end notification. As described above, for example, when "COPY" in standard text and "COPY" in outline text are specified as watermarks and the processing of arrows H, O, and P is performed, the universal printing program 41 adds the print data corresponding to the "COPY" in standard text generated by the processing of arrows H and I and the composite image data corresponding to the "COPY" in outline text generated by the processing of arrows O and P to the print command and outputs them.
[0067] Furthermore, for example, when the OK button A14 is pressed while the check box C10 of the watermark setting screen DA1 is unchecked, the auxiliary program 42 edits the intermediate image data added to the execution command and the print data based on the print parameters, and outputs the print data to the printer 2. That is, the processing of arrows G, H, N to P is not executed.
[0068] As described above, the auxiliary program 42 of this embodiment receives the setting of the composite processing of the composite watermark when printing based on the universal printing program 41. When receiving the setting of the composite processing, the auxiliary program 42 generates specific data inherent to the composite processing. Therefore, according to the auxiliary program 42, even when printing is performed via the universal printing program 41, the composite processing, which is a function inherent to the printer 2 or the auxiliary program 42, can be executed.
[0069] In the above description, the case where the printing parameters include both the first setting and the second setting is described. For example, when the watermark setting includes only the first setting, the processing of arrows K to Q may be omitted, and after the print data is generated according to arrow J, the print data generated according to arrow R may be sent to the printer 2. In addition, when the watermark setting includes only the second setting, the processing of arrow H may be omitted, and the composite image data generated according to arrows O and P may be sent to the printer 2 as print data.
[0070] In addition, for example, when the auxiliary program 42 has a function of creating an image file representing an image corresponding to the second setting, such as an image of outlined characters, as indicated by arrow H, and registering the image file in a storage area that can be used by the universal printing program 41, the setting of the outlined characters may be processed as the first setting. In this case, when generating intermediate synthetic image data, the auxiliary program 42 generates an XPS command including a path of an image file representing an image of outlined characters, and adds the XPS command to the intermediate image data. The universal printing program 41 obtains the image of outlined characters based on the path of the image file and generates printing data.
[0071] (Second Embodiment)
[0072] Next, a second embodiment of the present invention will be described. This embodiment differs from the first embodiment in that the auxiliary program 42 sends a command to the printer 2 according to the watermark setting. Figure 6 The processing of synthesizing watermark is described by using the sequence diagram of Figure 6 in Figure 2 The same symbols are used for the common processing, and the description is omitted as appropriate. The auxiliary program 42 of this method does not perform the watermark synthesis processing before generating the print data, that is, Figure 2 The processing of arrows F to H will be described below.
[0073] The printer has a function of adding a watermark according to the model, type, etc. If the corresponding printer has the function of adding a watermark, a flag is set in the printer information stored in the memory 12 .
[0074] When the auxiliary program 42 obtains the print data generated by the universal print program 41 (arrow L), it determines whether a watermark setting is included in the print parameters (arrow M). If a watermark setting is included in the print parameters, it checks whether the printer 2 supports the watermarking function (arrow U). In other words, it determines whether a flag is included in the printer information of the printer 2.
[0075] When there is a flag in the printer information of the printer 2, the auxiliary program 42 determines that the printer 2 corresponds to the function of adding a watermark, and generates an instruction (arrow V) for synthesizing the watermark with the print data. That is, an instruction identical to the arrow H of the first embodiment is generated. In addition, an instruction corresponding to the second setting used in the arrow O is generated. Moreover, the auxiliary program 42 adds the generated instruction to the print data (arrow W) and outputs an end notification (arrow X). The universal printing program 41 outputs the print data (arrow Y) to which the instruction is added to the printer 2. The printer 2 prints the print data according to the instruction. That is, the printer 2 adds the watermark to the image in its own device and performs printing. The printer 2 generates the print data in the same manner as the arrow J of the first embodiment according to the instruction, or generates synthesized data by the same processing as the arrows O and P of the first embodiment, and adds it to the print data generated by the universal printing program 41. That is, the printer 2 can print an image with a watermark added, as in the first embodiment.
[0076] Furthermore, when there is no flag in the printer information of the printer 2, the auxiliary program 42 determines that the printer 2 does not support the watermarking function, executes the processing of the arrows M to P, and sends the synthesized image data to the printer 2. In this case, when the printing parameters include the first setting, the auxiliary program 42 also executes the processing of the arrows O and P. That is, when the printer 2 does not have the watermarking function, the auxiliary program 42 generates synthesized data regardless of whether it is a watermark with outline characters or a watermark without outline characters, and synthesizes the synthesized data with the print data.
[0077] According to this method, the printer 2 synthesizes and processes the watermark according to the command, so the synthesis process can be realized even if the printing instruction is for the universal printing program 41. For example, watermarks such as special fonts and special images supported by the printer 2, that is, preset objects, may not be edited according to XPS in the universal printing program 41 and the auxiliary program 42. In such a case, if a command is sent to the printer 2 to synthesize the preset object, even the watermark that cannot be edited by XPS can be synthesized and printed in the printer 2.
[0078] In addition, this embodiment is only an illustration and does not limit the present invention in any way. Therefore, the present invention can certainly be improved and deformed in various ways within the scope of its main purpose. For example, the device connected to PC1 is not limited to a printer, as long as it is a device with a printing function such as a multifunction machine, a copier, a facsimile (FAX) device. In addition, the printer connected to PC1 is not limited to the example shown in the figure, and can be one or more than three.
[0079] The module for executing each process of this embodiment is not limited to the auxiliary program 42, and any program may be used as long as it receives instructions from the OS 21 when printing is performed by the general print program 41 of the OS 21. For example, it may be a print workflow application (Print Workflow) whose specifications are disclosed by Microsoft Corporation.
[0080] You can also not execute Figure 2 The processing of arrows H and I of the above embodiment is all performed according to the processing of arrows P and Q to synthesize the watermark. Thus, as in the above embodiment, even if the printing instruction is for the universal printing program 41, the watermark and the image can be synthesized. However, the synthesis of the raster image data of the watermark and the raster image data of the printing object sometimes takes time. Therefore, for example, in the case of synthesizing the watermark using text as in the above embodiment, the execution Figure 2 The processing of arrows H and I is performed, and when the watermark is processed using outlined characters, the processing of arrows P and Q is performed, thereby completing the processing related to the synthesis of the watermark early.
[0081] In the above method, watermark is used as an example of composite printing for convenience. Instead of watermark, other composite printing processes can be performed in the same manner as the above process. For example, a setting for thinly arranging multiple company logos and other images on the back of the image to be printed can be accepted, and a background printing process for printing an image as a background can be performed.
[0082] It can also be, Figure 6 In the sequence diagram shown in FIG. 1 , when the watermark setting includes the first setting, that is, when the watermark setting does not include the second setting, after arrow F, the Figure 2 G~I processing, when the watermark setting includes the second setting, Figure 6 The arrow U, arrows Q to T, and arrows V to Y of the printer 2 are processed. In addition, the watermark setting includes an example of a specific condition. In the watermark, sometimes it takes time to synthesize in the synthesis process using the printer 2. In this case, when the auxiliary program 42 can execute the image, the auxiliary program 42 is used to synthesize the watermark, thereby completing the printing early.
[0083] exist Figure 2 , Figure 6 In the description, the synthesis processing by the auxiliary program 42 is described, but the auxiliary program 42 can perform processing other than the synthesis processing, such as editing of intermediate image data and editing of print data.
[0084] Regarding the acceptance of printing parameters, in addition to the above-mentioned methods, there may be various variations. The printing parameters input by the editing application 43 are passed to the auxiliary program 42 via the general printing program 41, thereby accepting the printing parameters. For example, the auxiliary program 42 may also accept the printing parameters included in the execution command received according to the arrow D, and perform judgment processing according to the arrows G and N. In addition, the auxiliary program 42 may also accept the printing parameters included in the execution command received according to the arrow K, and perform judgment processing according to the arrow N. In addition, for example, after obtaining the printing data according to the arrow L, the same processing as the arrow E may be performed, that is, the UI 20 displays the printing parameter editing screen and accepts the printing parameters, and the judgment processing is performed according to the arrow N for the received printing parameters. In addition, after obtaining the printing data according to the arrow L, the processing of the arrow E may be performed.
[0085] Furthermore, in any sequence diagram disclosed in the embodiment, a plurality of processes in any plurality of steps can be arbitrarily changed in execution order or executed in parallel within a range where there is no contradiction in the process contents.
[0086] In addition, the processing disclosed in the embodiments may be executed by a single CPU, multiple CPUs, hardware such as an ASIC, or a combination thereof. In addition, the processing disclosed in the embodiments may be implemented in various forms such as a recording medium recording a program for executing the processing, or a method.
[0087] Explanation of symbols
[0088] 1 PC
[0089] 2 Printer
[0090] 11 CPU
[0091] 20 UI
[0092] 21 OS
[0093] 30 Communication IF
[0094] 41 General Printing Procedures
[0095] 42 Auxiliary programs
Claims
1. A memory storing a support program, the support program being executable by a computer of an information processing device and corresponding to a printer connected to the information processing device, wherein: When a printing instruction is issued from an application program installed in the information processing device to cause the printer to print an image representing image data generated by the application program in response to a universal printing program preinstalled in the operating system as a standard printing program of the operating system of the information processing device, the support program causes the computer to execute reception processing, The receiving process receives settings of printing parameters for the printing instruction, wherein the setting items of the printing parameters include settings of a composite process for composite a specific object on an image to be printed based on the printing instruction, and the universal printing program can generate printing data to be sent to the printer without using a printer driver provided by a manufacturer of the printer. When the setting of the composite processing is accepted in the acceptance process, the support program further causes the computer to execute a generation process of generating specific data for performing the composite processing on the data generated by the universal printing program corresponding to the image to be printed.
2. The memory according to claim 1, characterized in that: In the generating process, first image data is generated as the specific data based on the setting of the synthesis process received in the receiving process, the first image data being raster image data of the specific object, The support program further causes the computer to perform the following processing: an acquisition process of acquiring second image data, the second image data being raster image data generated by the universal printing program based on image data representing an image to be printed based on the printing instruction; and a synthesis process for generating synthesized image data by synthesizing the first image data generated in the generating process and the second image data acquired in the acquiring process, The universal printing program transmits the composite image data generated in the composite processing to the printer.
3. The memory according to claim 2, characterized in that: The support program causes the computer to execute a determination process to determine whether a specific condition is set as the setting of the synthesis process received in the receiving process, When it is determined in the determination process that the specific condition is set, In the generating process, the first image data is generated as the specific data, The support program further causes the computer to execute the acquisition process and the synthesis process. If it is determined in the determination process that the specific condition is not set, In the generation process, intermediate composite image data is generated as the specific data, and the intermediate composite image data represents an image obtained by synthesizing the specific object on an image that becomes a printing object based on the printing instruction. The universal printing program generates third image data and sends the generated third image data to the printer. The third image data is raster image data based on the intermediate composite image data.
4. The memory according to claim 3, characterized in that: Among the settings of the synthesis processing that can be accepted in the acceptance process, there are a first setting that can be supported in the data format of the intermediate synthesis image data and a second setting that cannot be supported in the data format of the intermediate synthesis image data, The specific condition is that the setting of the synthesis process received in the receiving process includes the second setting.
5. The memory according to claim 4, characterized in that: The specific object is text, The second setting is to outline characters included in the specific object.
6. The memory according to claim 1, characterized in that: In the generation process, based on the setting of the synthesis processing received in the acceptance process, an instruction is generated to synthesize the specific object on the image that becomes the printing object based on the printing instruction, and further print data is generated as the specific data, which is the data obtained by attaching the instruction to the pre-synthesis image data. The pre-synthesis image data is raster image data generated by the universal printing program. The universal printing program sends the print data generated in the generation process to the printer, and the printer has the following function: based on the instruction attached to the print data, synthesized image data is generated by synthesizing the image of the specific object and the image shown by the pre-synthesis image data.
7. The memory according to claim 6, characterized in that: The support program causes the computer to execute a determination process to determine whether a specific condition is set as the setting of the synthesis process received in the receiving process, When it is determined in the determination process that the specific condition is set, in the generation process, print data is generated as the specific data, which is data obtained by adding the command to pre-synthesis image data, the pre-synthesis image data being raster image data generated by the universal printing program, and the universal printing program sends the print data generated in the generation process to the printer. When it is determined in the determination process that the specific condition is not set, in the generation process, intermediate composite image data is generated as the specific data, and the intermediate composite image data represents an image obtained by composite the specific object on an image that becomes a printing object based on the printing instruction, and the universal printing program generates composite image data and sends the generated composite image data to the printer, and the composite image data is raster image data based on the intermediate composite image data.
8. The memory according to claim 7, characterized in that: Among the settings of the synthesis processing that can be accepted in the acceptance process, there are a first setting that can be supported in the data format of the intermediate synthesis image data and a second setting that cannot be supported in the data format of the intermediate synthesis image data, The specific condition is that the setting of the synthesis process received in the receiving process includes the second setting.
9. The memory according to claim 8, characterized in that: The second setting is a setting for using a preset object pre-stored in the printer as the specific object.
10. An information processing device comprising a computer, wherein: The operating system of the information processing device has a universal printing program which is pre-installed as a standard printing program of the operating system of the information processing device. The information processing device has a support program corresponding to a printer connected to the information processing device installed in it. When a printing instruction is given to the universal printing program from an application program installed in the information processing device so that the printer prints an image representing image data generated by the application program, the computer executes a receiving process for receiving a setting of printing parameters for the printing instruction, wherein the setting items of the printing parameters include a setting of a composite processing for composite a specific object on the image to be printed based on the printing instruction, and the universal printing program is capable of generating printing data to be sent to the printer without using a printer driver provided by a manufacturer of the printer. When the setting of the composite processing is accepted in the acceptance processing, the computer is further caused to execute a generation processing of generating specific data for performing the composite processing on the data generated by the universal printing program corresponding to the image to be printed.
11. A printing method, characterized in that: The printer is connected to the information processing device. The operating system of the information processing device has a universal printing program which is pre-installed as a standard printing program of the operating system of the information processing device. The information processing device has a support program corresponding to a printer connected to the information processing device installed in it. causing the printer to execute printing based on the print data generated by the information processing device, The printing method includes a receiving step of receiving, through the support program, a setting of printing parameters for the printing instruction when a printing instruction is issued from an application program installed in the information processing device to cause the printer to print an image representing image data generated by the application program, wherein the setting items of the printing parameters include a setting of a composite processing for composite a specific object on the image to be printed based on the printing instruction, and the universal printing program can generate the printing data to be sent to the printer without using a printer driver provided by a manufacturer of the printer. The method further includes a generating step of generating specific data for performing the synthesizing process on the data generated by the universal printing program corresponding to the image to be printed, when the setting of the synthesizing process is accepted in the accepting step. The specific data is used for performing the synthesizing process.
