Memory, information processing device, and printing method
By executing the support program in the information processing device, judging and limiting printing conditions, the image processing problem that users do not expect in the OS standard printing program is solved, printing errors and waste of consumables are reduced, and more accurate printing output is achieved.
Patent Information
- Application Number
- CN202080012061.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-02-01
- Filing Date
- 2020-01-28
- Publication Date
- 2024-11-15
- Estimated Expiration
- 2040-01-28
AI Technical Summary
When controlling the printer using OS-standard printing programs, image processing that users do not expect may lead to incorrect output of printed data and waste of consumables.
By executing the support program in the information processing device, after receiving the printing instructions, determine whether the printing of intermediate image data should be restricted, and whether image processing is performed based on the printing parameters and inherent parameters, thereby reducing image printing that is undesirable by the user.
It effectively reduces printing errors caused by image processing that users do not expect, avoids unnecessary waste of consumables, and ensures that the printing output meets user expectations.
Smart Images

Figure CN113383305B_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, in which 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 printing program installed in an operating system (OS) as a standard, without using the above-mentioned printer driver, has become practical. In this technology, if the OS associates a printer with an OS standard printing program, then when a printing instruction for the printer is received, printing based on the OS standard printing program can be performed without using a printer driver.
[0005] Even when printing is performed using the print program based on the above OS standard, it is desirable to support a processing function similar to printing using a printer driver, which is to generate print data that performs processing such as scaling or synthesis on the image indicated by the image data. If such a processing function is supported, there is a possibility that the user's undesired processing is performed due to a setting error by the user, and even if the print data that has been processed is sent to the printer, the print material desired by the user is not output, which wastes consumables. Summary of the invention
[0006] This specification discloses a technique for reducing the printing of images subjected to processing not intended by the user in an information processing device in which an OS standard printing program is installed.
[0007] Technical means for solving technical problems
[0008] A support program completed for the purpose of solving the above-mentioned technical problem 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 it causes the computer to execute the following processing: receiving processing, in the case where there is a printing instruction for causing the printer to print an image for a universal printing program pre-installed in the operating system of the information processing device, receiving processing settings used for processing intermediate image data output by the universal printing program, the intermediate image data being image data representing an image to be printed based on the printing instruction; intermediate image data processing, generating an image based on the intermediate image data processed intermediate image data, the processed intermediate image data being processed based on the processing setting received by the receiving processing; a judgment processing for judging whether a condition for restricting printing based on the processed intermediate image data is satisfied, the processed intermediate image data being processed based on the processing processing of the intermediate image data; and a restriction processing for executing restriction on printing based on the processed intermediate image data if the judgment processing determines that the condition is satisfied, and not executing restriction on printing based on the processed intermediate image data if the judgment processing determines that the condition is not satisfied.
[0009] When there is a printing instruction for the printing program, the computer executing the support program of the above structure receives the processing setting through the support program, and determines whether to restrict printing based on the processed intermediate image data, to which the processing based on the processing setting is applied. When it is determined that printing should be restricted, the computer restricts printing through the support program, thereby reducing the printing of images to which the processing not desired by the user is applied.
[0010] A control method, a computer program, and a storage medium readable by a computer 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 reducing the printing of images subjected to processing not intended by the user in an information processing device in which an OS standard printing program is installed. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 This is a block diagram showing the electrical structure of the printing system.
[0014] Figure 2 It is a timing diagram showing the characteristic part of the auxiliary program.
[0015] Figure 3 This is a diagram showing an example of a print parameter editing screen.
[0016] Figure 4 This is a diagram showing an example of a print preview screen.
[0017] Figure 5 This is a flowchart showing the procedure of intermediate image data processing.
[0018] Figure 6 This is a flowchart showing a modified example of the intermediate image data processing. DETAILED DESCRIPTION
[0019] 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.
[0020] 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.
[0021] 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 .
[0022] 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.
[0023] 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.
[0024] 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, and a non-volatile memory, 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 1 The 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 .
[0025] 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.
[0026] 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.
[0027] 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.
[0028] 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.
[0029] 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. The auxiliary program 42 is started, for example, by the universal printing program 41. The auxiliary program 42 is a program prepared by a 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. Not limited to the type of printer, there may be an auxiliary program 42 prepared according to the model of the printer, or according to a series of printer models. In addition, the auxiliary program 42 may also be a program prepared by a manufacturer of the printer 2, etc. according to the model of the printer, or according to a series of models.
[0030] 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.
[0031] 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.
[0032] 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 a user operation including an instruction to cause the printer 2 to perform a predetermined action. Specifically, the editing application 43 receives, for example, a printing instruction to cause the printer 2 to execute printing, via the UI 20.
[0033] In addition, the processing of the embodiment and each processing step of the flowchart 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".
[0034] 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".
[0035] 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".
[0036] Next, refer to Figure 2 to Figure 4 The operation of this printing system is described below. Figure 2 As shown, the present printing system has the following characteristics: the auxiliary program 42 restricts printing when the intermediate image data is processed according to the printing parameters edited in the printing parameter editing process during the intermediate image data processing.
[0037] 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 a printer corresponding to the auxiliary program 42 is specified. Hereinafter, a case where the PC 1 receives an instruction to print using the printer 2 via the universal printing program 41 using the editing application 43 in a state where image data to be printed is specified via the UI 20, for example, and the auxiliary program 42 corresponding to the type of the model of the printer 2 is installed in the PC 1 is described.
[0038] First, the editing application 43 receives the designation of the image to be printed and the input of the instruction to execute printing (arrow A) via the UI 20. The image displayed by the editing application 43 is an example of the 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. Then, the editing application 43 that receives the printing instruction transmits a printing execution notification indicating the contents of the received printing instruction to the OS 21. 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 is also used in the auxiliary program 42.
[0040] Furthermore, the universal printing program 41 determines the printer designated as the device for executing 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. That is, when the universal printing program 41 detects the print execution notification, the execution command for the auxiliary program 42 is output from the universal printing program 41.
[0041] The auxiliary program 42 can execute a plurality of processes. For example, the auxiliary program 42 can execute the following processes: a printing parameter editing process for editing printing parameters used in printing; and an intermediate image data processing process for processing intermediate image data generated by the universal printing program 41 according to the printing parameters. The auxiliary program 42 executes the processes according to the type and order of the execution commands output from the universal printing program 41.
[0042] The universal printing program 41 outputs an execution command (arrow C) for executing the printing parameter editing process of the auxiliary program 42. The printing parameters received by the editing application 43 are added to the execution command for the printing parameter editing process. The auxiliary program 42 can interpret the printing parameters.
[0043] When the auxiliary program 42 receives an execution command (arrow C) for executing the printing parameter editing process from the universal printing program 41, it uses the UI 20 to display the printing parameter editing screen (arrow D1). The auxiliary program 42 can obtain the printing parameters edited in the editing application 43 by using the execution command for the printing parameter editing process. For example, the auxiliary program 42 reads the printing parameters that cannot be edited in the editing application 43 and displays them on the printing parameter editing screen together with the printing parameters obtained by the execution command. That is, the printing parameter editing screen can accept changes to the printing parameters set by the editing application 43 and settings of the printing parameters that are not accepted in the editing application 43.
[0044] Here, among the printing parameters, there are general parameters used in the generation of printing data based on the general printing program 41 and inherent parameters that are not used in the generation of printing data based on the general printing program 41. Examples of general parameters are paper size, printing resolution, and color / monochrome, and examples of inherent parameters are designation of a paper feed tray, double-sided / single-sided, combined printing, and the addition of a watermark. The printing parameter editing screen is used to set, change, and add inherent parameters. In addition, in the printing parameter editing screen, general parameters can also be further set, changed, and added. In addition, in a general editing application 43, the setting, change, and addition of general parameters are accepted, but in most cases, the setting, change, and addition of inherent parameters are not accepted, or there is no structure to accept them.
[0045] The common parameters are parameters that can be exchanged between the common printing program 41 and the auxiliary program 42. The auxiliary program 42 edits the printing parameters of the print job itself with respect to the common parameters. The auxiliary program 42 can edit the printing parameters of the print job by rewriting them, or can edit the printing parameters through the universal printing program 41 by providing the printing parameters to the universal printing program 41.
[0046] On the other hand, the inherent parameters are parameters that cannot be exchanged between the universal printing program 41 and the auxiliary program 42. The auxiliary program 42 stores the inherent parameters in a storage area for the auxiliary program 42 in the memory 12, and edits and reads them without going through the universal printing program 41. The storage area for the auxiliary program 42 may be, for example, a registry prepared by the OS 21. In addition, if the universal printing program 41 can also process the inherent parameters, the auxiliary program 42 may also edit the inherent parameters through the universal printing program 41.
[0047] exist Figure 3 An example of the print parameter editing screen is shown in FIG. Figure 3 The watermark editing screen DA10 is used to perform settings related to the watermark to be synthesized with the intermediate image data. The watermark editing screen DA10 includes, for example, a style selection area SA10, a character setting area SA12, an image file setting area SA14, and a position setting area SA16.
[0048] The style selection area SA10 is an area for selecting whether the watermark is a text file or an image file. When text is selected in the style selection area SA10, the text setting area SA12 performs various settings for the text. The various settings for the text include, for example, settings for display content, font, style, size, color, etc. When an image file is selected in the style selection area SA10, the image file setting area SA14 performs various settings for the image file. The various settings for the image file include, for example, the storage location of the image file, the magnification, reduction ratio, transparency, etc. of the image. The position setting area SA16 sets the printing position of the watermark. The watermark editing screen DA10 is provided with an OK button A10 for accepting the setting content and a Cancel button A12 for aborting the setting.
[0049] return Figure 2 For example, by pressing the OK button A10, the auxiliary program 42 receives the settings of the print parameter editing screen (arrow D2). Then, the auxiliary program 42 updates the print parameters received from the universal print program 41 according to the received settings, and stores the updated print parameters as unique print parameters in a predetermined storage area (arrow D3). Figure 3 When the OK button A10 is pressed, the setting contents displayed on the watermark editing screen DA10 are added to the printing parameters received from the universal printing program 41, and the printing parameters are updated. In addition, the printing parameter editing process shown by arrows D1 to D3 is an example of receiving processing. The auxiliary program 42 can also edit the printing parameters by rewriting the printing parameters added to the execution command of the printing parameter editing process, and can also edit the printing parameters through the universal printing program 41 by providing the printing parameters to the universal printing program 41.
[0050] In addition, the print parameter editing screen is not limited to the watermark editing screen DA10, and settings related to merging settings, division, and enlargement or reduction of an image based on image data may be performed.
[0051] return Figure 2 If the auxiliary program 42 completes the editing of the printing parameters through the printing parameter editing process, it sends an end notification to the general printing program 41 (arrow E). At this time, the auxiliary program 42 adds the printing parameters. In the case where the general printing program 41 supports the printing parameters edited by the printing parameter editing process, the printing parameters are the edited printing parameters. On the other hand, in the case where the printing parameters edited by the printing parameter editing process are inherent printing parameters that are not supported by the general printing program 41, the printing parameters before editing are added. At this time, the edited inherent printing parameters are stored in the memory 12 for use in the subsequent processing of the auxiliary program 42. In addition, in the following description, watermarks, etc., and settings used for processing images in the intermediate image data processing (arrow H1) described later are examples of processing settings.
[0052] After outputting the execution command for executing the print parameter editing process, when receiving a termination notification from the auxiliary program 42 , the OS 21 executes the universal print program 41 and transmits the termination notification to the universal print program 41 (arrow E).
[0053] After receiving the end notification, the universal printing program 41 converts the format of the image data included in the print execution notification into the format of intermediate image data, thereby generating intermediate image data, and generates a print job including the intermediate image data (arrow F). The image data included in the editing application 43 is various types of image data, and the universal printing program 41 converts the received image data into intermediate image data suitable for generating print data. In addition, if 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.
[0054] After generating the intermediate image data, the universal print program 41 outputs an execution command for executing an intermediate image data processing process for editing the intermediate image data to the auxiliary program 42. The intermediate image data generated by the universal print program 41 is attached to the execution command.
[0055] When the auxiliary program 42 receives an execution command (arrow G) for executing the intermediate image data processing after the printing parameter editing process, it processes the image based on the intermediate image data according to the printing parameters received from the universal printing program 41 or the processing settings included in the unique parameters stored in the memory 12 during the printing parameter editing process (arrow H1). The process of arrow H1 is an example of the intermediate image data processing. The image processing includes, for example, image merging, image segmentation, image enlargement, image reduction, image synthesis such as watermarking, etc. The auxiliary program 42 can obtain various information included in the printing instruction and edit the intermediate image data using the printing parameters received from the universal printing program 41 or the unique parameters stored in the memory 12 during the printing parameter editing process. That is, the auxiliary program 42 has the function of editing the image to be printed.
[0056] Then, the auxiliary program 42 displays a print preview screen (arrow H2) using the UI 20. The process indicated by the arrow H2 is an example of a preview process. On the print preview screen, an image is displayed based on, for example, the intermediate image data edited by the auxiliary program 42. The intermediate image data edited by the auxiliary program 42 is an example of processed intermediate image data.
[0057] exist Figure 4 An example of a print preview screen is shown in FIG. Figure 3 The watermark is synthesized on the image of the intermediate image data by adjusting the setting contents of the watermark editing screen DA10, so that the UI 20 displays Figure 4 The print preview screen DA20 is shown. The print preview screen DA20 displays a preview image PR20, a print button A20, a re-edit button A22, and a print cancel button A24.
[0058] The preview image PR20 displays the image of the printed image. For example, the preview image PR20 displays the watermark content "COPY" in the set font, size, and text color, and is superimposed on the image data at a "45°" tilt. Thus, the user can directly check the printed image reflecting the unique parameters such as the watermark that cannot be processed by the universal printing program 41 through the PC 1, and can determine whether it is the desired printed image before the printer 2 starts printing.
[0059] The print button A20 receives an operation to instruct execution of printing. The re-edit button A22 receives an instruction to re-edit a watermark. The print cancel button A24 receives an instruction to cancel printing. Therefore, the print preview screen DA20 allows the user to directly check the printed image and determine whether it is the desired image.
[0060] return Figure 2The auxiliary program 42 determines whether to restrict printing (arrow H3) based on the operation of the button displayed on the print preview screen. The processing of arrow H3 is an example of the judgment processing. That is, for example, when the re-edit button A22 (see Figure 4 ), when receiving the instruction to re-edit the printing parameters, the auxiliary program 42 determines that it is a restriction on the execution of printing, and sends a return notification (arrow I1) to the universal printing program 41. The processing of arrow I1 is an example of restriction processing. The return notification is a notification to the universal printing program 41, instructing the auxiliary program 42 to send an execution command to execute the printing parameter editing processing.
[0061] The universal printing program 41 returns to the process of outputting the execution command for executing the printing parameter editing process (arrow J1) upon receiving the return notification. If the auxiliary program 42 receives the execution command for executing the printing parameter editing process again from the universal printing program 41, for example, the auxiliary program 42 displays the Figure 3 The watermark editing screen DA10 (arrow D1) is shown. At this time, the current processing settings, that is, the settings for restricting printing, are reflected in each area SA10 to SA16 of the watermark editing screen DA10, and the user can easily make different settings. In addition, the initial values can also be reflected in each area SA10 to SA16 of the watermark editing screen DA10. In this case, even if the user restarts from inputting the printing instruction without using the editing application 43, he can restart from setting the inherent parameters such as the watermark, which is convenient to use.
[0062] In addition, for example, when the print cancel button A24 (see Figure 4 ), when receiving an instruction to cancel printing, the auxiliary program 42 determines that the printing is restricted and sends a cancellation notification (arrow I2) to the universal printing program 41. The processing of arrow I2 is an example of restriction processing. The cancellation notification is a notification to the universal printing program 41 to instruct the printing to be stopped.
[0063] The universal printing program 41 stops the printing process (arrow J2) upon receiving the cancellation notification. Furthermore, the universal printing program 41 notifies the editing application 43 of the cancellation of printing (arrow J21). The editing application 43 displays the cancellation of printing using, for example, the UI 20. Thus, the user can reliably avoid printing undesirable processed intermediate image data. In addition, the user can re-input the printing instruction to the editing application 43 and re-set the printing parameters.
[0064] For example, when operating the print button A20 (refer to Figure 4), when receiving the instruction to execute printing, the auxiliary program 42 determines that the restriction on printing is not to be executed, and sends a printing continuation notification (arrow I3) to the universal printing program 41. The processing of arrow I3 is an example of restriction processing. The printing continuation notification is a notification to the universal printing program 41 to instruct the universal printing program 41 to continue the printing processing.
[0065] The universal printing program 41 generates printing data (arrow J3) in response to the receipt of the printing continuation notification. Here, the printing parameters used to generate the printing data are the printing parameters edited by the printing parameter editing process, and the intermediate image data that is the generation source of the printing data is the intermediate image data edited by the intermediate image data processing process. The printing data generated by the universal printing program 41 is printing data in a format that can be used for printing in various printers. The printing data is, for example, PWGRaster data or PDF data. In addition, when the auxiliary program 42 sends the printing data to the printer 2 without passing through the universal printing program 41, the auxiliary program 42 may also convert the printing data into a data format different from the above and send it.
[0066] After generating the print data, the universal print program 41 sends a print command (arrow K) to the printer 2. Thus, the printer 2 that has received the print command prints the image of the print data according to the print data attached to the print command. When the printer 2 receives the print data to which the command is attached, it performs the operation indicated by the command when printing is executed.
[0067] In addition, the auxiliary program 42 may also perform a process of editing print data. In this case, as the print data editing process, the auxiliary program 42, for example, performs the editing of the print data. The auxiliary program 42, for example, adds to the print data a command for causing the printer 2 to execute a unique function. As the unique functions of the printer 2, there are, for example, a toner saving setting and a trimming setting. In the case where the printer 2 has a function of being able to use itself to add a watermark, a header / footer, etc. to an image, it is also possible to add to the print data a command for executing these functions in the print data editing process.
[0068] In the above description, the intermediate image data is added to the execution command. However, for example, the general printing program 41 may store the intermediate image data in the memory 12, and the auxiliary program 42 that receives the execution command may read the intermediate image data from the memory 12 to perform the intermediate image data processing. Alternatively, the auxiliary program 42 may store the general parameters and the unique parameters in the memory 12, and send only the end notification notifying the end of the printing parameter editing process to the general printing program 41, and the general printing program 41 may send only the execution command for the intermediate image data processing process to the auxiliary program 42. Furthermore, the auxiliary program 42 may store the processed intermediate image data in the memory 12, and send only the printing continuation notification to the general printing program 41. In this case, the general printing program 41 may read the processed intermediate image data from the memory 12 to generate print data.
[0069] Next, refer to Figure 5 The flowchart of the present invention is used to explain the sequence of the intermediate image data processing of the printing system of the present invention. In this processing, after the OS 21 receives the end notification indicating the end of the printing parameter editing processing, the general printing program 41 is used to send an execution command for executing the intermediate image data processing to the auxiliary program 42, and the auxiliary program 42 receives the execution command as an opportunity ( Figure 2 The process indicated by arrow G) is executed by CPU 11 of PC 1 according to OS 21.
[0070] like Figure 5 As shown, the CPU 11 processes the intermediate image data attached to the execution command according to the printing parameters attached to the execution command (S50). The processing of S50 is an example of intermediate image data processing. Thus, for example, processed intermediate image data with a watermark synthesized on the intermediate image data is generated.
[0071] The CPU 11 causes the UI 20 to display a print preview using the intermediate image data edited in S50, that is, the processed intermediate image data (S52). The processing in S52 is an example of preview processing. Thus, in the PC 1, for example, Figure 4 The print preview screen DA20 is shown.
[0072] After S52, the CPU 11 receives the user's input to the UI 20 (S54). That is, for example, the CPU 11 receives Figure 4 The operation of any one of the print button A20, the re-edit button A22, and the print cancel button A24 is shown.
[0073] After S54, the CPU 11 determines the user's input content (S56). The process of S56 is an example of the determination process. When the re-edit button A22 is pressed (S56: press the re-edit button), the CPU 11 notifies the universal printing program 41 to return to the printing parameter editing process of the auxiliary program 42 (S60), and ends the process. That is, the CPU 11 sends a return notification to the universal printing program 41.
[0074] On the other hand, when the print cancel button A24 is pressed (S56: print cancel button pressed), the CPU 11 notifies the universal print program 41 of the print cancellation (S58) and ends the process. That is, the CPU 11 sends a print cancel notification to the universal print program 41.
[0075] When the print button A20 is pressed (S56: print button pressed), the CPU 11 notifies the universal print program 41 to continue printing (S62), and ends the process. That is, the CPU 11 sends a print continuation notification to the universal print program 41. The processes of S58 to S62 are examples of restriction processes.
[0076] As described above, when there is a print instruction for the universal printing program 41, the PC 1 executing the auxiliary program 42 of this embodiment receives the editing of the printing parameters through the auxiliary program 42, and determines whether to restrict the printing based on the processed intermediate image data, which is processed based on the edited printing parameters. For example, when the print button A20 is pressed and it is determined that the printing should not be restricted, the PC 1 does not restrict the printing through the auxiliary program 42, thereby enabling the printing of the image with the processing desired by the user. On the other hand, when the re-edit button A22 or the print cancel button A24 is pressed and it is determined that the printing should be restricted, the PC 1 restricts the printing through the auxiliary program 42, thereby preventing the printing of the image with the processing not desired by the user. Therefore, according to this embodiment, in the PC 1 installed with the universal printing program 41 of the OS standard, it is possible to realize a technology for reducing the printing based on the processing not desired by the user.
[0077] However, the auxiliary program 42 causes the UI 20 to display the print preview screen DA20 so that the user can confirm the print image, and determines whether to restrict the execution of printing based on the user's input to the UI 20. In contrast, the auxiliary program 42 may be configured to automatically determine whether to restrict the execution of printing without causing the UI 20 to display the print preview screen DA20. Figure 6 The order of processing in this case is described below. Figure 6 in the process of Figure 5 The same processes are denoted by the same reference numerals in the drawings, and description thereof will be appropriately omitted.
[0078] Figure 6 The processing shown is also Figure 5 The same opportunity as shown ( Figure 2 The process shown by arrow G) is executed by CPU 11 of PC 1 according to OS 21. After generating processed intermediate image data (S50), CPU 11 obtains the processing content (S100).
[0079] When the CPU 11 determines that the processing content is the synthesis of the watermark (S102: Yes), it determines whether the watermark is suitable for the image size of the image indicated by the intermediate image data (S104). The process of S104 is an example of the determination process. When the CPU 11 determines that the watermark is not suitable for the image size of the image indicated by the intermediate image data (S104: Yes), even if the processed intermediate image data is printed, the text or image of the watermark may be printed in a state of interruption. Therefore, the CPU 11 notifies the universal printing program 41 to return to the printing parameter editing process of the auxiliary program 42 (S60), and ends the process.
[0080] Here, the condition for executing the printing restriction is that the watermark does not fit the image size. On the other hand, if there is a specific area such as an area where the watermark is not preferably printed in the intermediate image data, the watermark and the specific area may overlap as a condition for executing the printing restriction.
[0081] When the CPU 11 determines that the watermark is suitable for the image size of the image indicated by the intermediate image data (S104: No), it determines whether the processing content is a reduction process for reducing the image included in the intermediate image data (S106). The process of S106 is an example of the determination process. The reduction process is performed, for example, when performing combined printing, when printing by dividing the image, when printing by adjusting the magnification of the image, etc.
[0082] When the CPU 11 determines that the processing content is image reduction processing (S106: Yes), it determines whether the size of the characters after the reduction in the reduction processing of the character object included in the image data is smaller than the prescribed size (S108). If the size of the characters after the reduction is smaller than the prescribed size, even if printing is executed, the characters cannot be read or are difficult to read. Therefore, when the CPU 11 determines that the size of the characters after the reduction is smaller than the prescribed size (S108: Yes), it notifies the universal printing program 41 to return to the printing parameter editing process of the auxiliary program 42 (S60), and ends the process.
[0083] When the CPU 11 determines that the size of the reduced text is not less than the specified size (S108: "No"), it determines whether the processing content is additional processing of adding information indicating a header or footer to the intermediate image data (S110). The processing of S110 is an example of a judgment process. When the CPU 11 determines that the processing content is additional processing (S110: "Yes"), it determines whether the additional information indicating a header or footer overlaps with an object included in the image data (S112). In the case where the additional information overlaps with the object, the information of the printed image data may not be read. Therefore, when the CPU 11 determines that the additional information overlaps with the object (S112: "Yes"), it notifies the general printing program 41 to return to the printing parameter editing process of the auxiliary program 42 (S60), and ends the process.
[0084] When the CPU 11 determines that the additional information does not overlap with the object (S112: No), the CPU 11 notifies the universal printing program 41 to continue printing (S62). In addition, when the CPU 11 determines that the processed content does not include any of the synthesis of watermarks, image reduction, and addition of information to headers or footers (S102: No, S106: No, S110: No), the CPU 11 also notifies the universal printing program 41 to continue printing (S62), and the processing ends.
[0085] Therefore, PC1 executes Figure 6 The auxiliary program 42 for processing intermediate image data shown in the figure can automatically limit the printing of images that the user does not want without relying on the user's judgment, and is easy to use. Figure 6 All of S104, S108, and S112 only need to be performed at least one. Figure 6 Add other conditions.
[0086] In addition, the embodiments disclosed in this specification are merely illustrative and do not limit the present invention in any way. Therefore, the technology disclosed in this specification can of course 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 single printer function, as long as it is a device with a printing function such as a multifunction machine, a copier, a fax (FAX) device, etc. In addition, the printer connected to PC1 is not limited to the example shown in the figure, and can also be 1 or more than 3.
[0087] about Figure 5 The processing and Figure 6 The processing shown may be performed only on one side, or the user may be able to select either side.
[0088] In addition, for example, in the embodiment, the auxiliary program 42 can execute multiple processes, but it does not have to include all of them. For example, the auxiliary program 42 may only include the structure of the intermediate image data processing process. In addition, the printing parameter editing process and the intermediate image data processing process may also be independent programs.
[0089] The auxiliary program 42 may not receive the finishing setting during the printing parameter editing process. For example, the finishing setting may be performed by the editing application 43 , and the auxiliary program 42 may directly receive the finishing setting from the editing application 43 .
[0090] In the embodiment, only the display of the print preview screen and the execution of the print restriction are described as the operations of the auxiliary program 42 , but the auxiliary program 42 may also have other functions.
[0091] In the embodiment, the auxiliary program 42 is executed by outputting an execution command of the auxiliary program 42 from the universal printing program 41, but the execution timing of the auxiliary program 42 is not limited to this. For example, the auxiliary program 42 may be executed directly by issuing an execution instruction from the OS 21, or the auxiliary program 42 may be a resident auxiliary program. In the case of being resident, the auxiliary program 42 only needs to receive the execution command and perform the above-mentioned operation.
[0092] Furthermore, in any flowchart disclosed in the embodiment, the execution order of a plurality of processes in any plurality of steps can be arbitrarily changed or they can be executed in parallel within a range where no contradiction occurs in the processing contents.
[0093] 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.
[0094] Explanation of symbols
[0095] 1 PC
[0096] 2 Printer
[0097] 11 CPU
[0098] 12 Memory
[0099] 21 OS
[0100] 41 General Printing Procedures
[0101] 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, the support program being an application not included in an operating system of the information processing device, the memory being characterized in that: The support program causes the computer to execute the following processing: receiving processing for receiving, when there is a printing instruction for causing the printer to print an image for a universal printing program pre-installed in the operating system, processing settings used for processing intermediate image data output by the universal printing program, the intermediate image data being image data representing an image to be printed based on the printing instruction, the universal printing program being a program for executing printing without using a printer driver of the printer; intermediate image data processing for generating processed intermediate image data based on the intermediate image data, the processed intermediate image data being intermediate image data processed based on the processing setting received by the receiving processing; a determination process for determining whether a condition for restricting printing based on the processed intermediate image data is satisfied, the processed intermediate image data being processed based on the processing of the intermediate image data; as well as The restriction processing executes restriction on printing based on the processed intermediate image data when the judgment processing determines that the condition is satisfied, and does not execute restriction on printing based on the processed intermediate image data when the judgment processing determines that the condition is not satisfied.
2. The memory according to claim 1, It is characterized in that In a case where the restriction on printing based on the processed intermediate image data is not executed through the restriction processing, the support program causes the computer to continue the following processing of the general printing program: the processing is used to provide the processed intermediate image data to the general printing program and cause the printer to print an image based on the processed intermediate image data.
3. The memory according to claim 1 or 2, It is characterized in that The support program causes the computer to execute the following preview processing: causing a display device of the information processing apparatus to display an image represented by the processed intermediate image data, and further accepting a selection of whether to permit printing of the image based on the processed intermediate image data, In the determination process, the condition is that a selection not to permit printing is received in the preview process.
4. The memory according to claim 1 or 2, It is characterized in that The processing based on the processing setting is a synthesis process of synthesizing a designated image, which is an image designated by a user, with the image data. In the determination process, the condition is that the designated image does not fit into the size of the image indicated by the intermediate image data.
5. The memory according to claim 1 or 2, It is characterized in that The processing based on the processing setting is a reduction process for reducing the image represented by the image data. In the determination process, the condition is that the character size of the character object included in the image data after being reduced in the reduction process is smaller than a predetermined size.
6. The memory according to claim 1 or 2, It is characterized in that The processing based on the processing setting is an additional process of adding information indicating a header or a footer to the image data. In the determination processing, the condition is that the information indicating a header or a footer overlaps an object included in the image data when the additional processing is performed.
7. The memory according to claim 1 or 2, It is characterized in that In the restriction process, when restriction on printing based on the processed intermediate image data is executed, the computer is caused to execute the acceptance process again.
8. The memory according to claim 1 or 2, It is characterized in that In the restriction process, when restriction is executed based on printing of the processed intermediate image data, the computer is caused to cancel printing based on the print instruction.
9. An information processing device comprising a computer, wherein: A support program corresponding to a printer connected to the information processing device is installed in the information processing device, and the support program is an application not included in the operating system of the information processing device. The operating system has a universal printing program as a pre-installed program, the universal printing program being a program for executing printing without using a printer driver of the printer, The computer performs the following processing: receiving processing for receiving, when there is a printing instruction for causing the printer to print an image with respect to the universal printing program, processing settings used for processing intermediate image data output by the universal printing program, the intermediate image data being image data representing an image to be printed based on the printing instruction; an intermediate image data processing process for generating, based on the intermediate image data, processed intermediate image data by the support program, the processed intermediate image data being intermediate image data processed based on the processing setting received by the receiving process; a determination process for determining whether a condition for restricting printing based on the processed intermediate image data is satisfied, the processed intermediate image data being processed based on the processing of the intermediate image data; as well as The restriction processing includes: when the judgment processing determines that the condition is satisfied, the restriction on printing based on the processed intermediate image data is executed through the support program; when the judgment processing determines that the condition is not satisfied, the restriction on printing based on the processed intermediate image data is not executed.
10. A printing method, It is characterized in that The printer is connected to the information processing device. A support program corresponding to the printer is installed in the information processing device, and the support program is an application not included in the operating system of the information processing device. The operating system has a universal printing program as a pre-installed program, the universal printing program being a program for executing printing without using a printer driver of the printer, causing the printer to execute printing based on the print data generated by the information processing device, The printing method comprises the following steps: an accepting step of accepting, when there is a printing instruction for causing the printer to print an image with respect to the universal printing program, a processing setting used for processing intermediate image data output by the universal printing program, the intermediate image data being image data representing an image to be printed based on the printing instruction; an intermediate image data processing step of generating processed intermediate image data by the support program based on the intermediate image data, the processed intermediate image data being intermediate image data processed based on the processing setting received in the receiving step; a determination step of determining whether a condition for restricting printing based on the processed intermediate image data is satisfied, the processed intermediate image data being processed based on the intermediate image data processing step; as well as A restriction step, when it is determined by the judging step that the condition is satisfied, restricting the printing of the processed intermediate image data is executed through the supporting program, and when it is determined by the judging step that the condition is not satisfied, not restricting the printing of the processed intermediate image data.
