Support Programs

The support program addresses the issue of inappropriate image and paper size detection in OS standard printing by issuing warnings, ensuring accurate and intended print results.

JP7585775B2Active Publication Date: 2024-11-19BROTHER KOGYO KK
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
JP2020214615
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-12-24
Publication Date
2024-11-19
Estimated Expiration
2040-12-24

AI Technical Summary

Technical Problem

OS standard general-purpose printing programs do not support the function of detecting whether the image size and paper size are appropriate, leading to unintended print results such as images protruding from the paper.

Method used

A support program that determines the image size and paper size by comparing first and second size information, issuing a warning if the sizes are inappropriate, thereby preventing unintended printing.

Benefits of technology

The support program effectively reduces unintended printing by ensuring appropriate paper size selection before transmitting raster images, enhancing user control over print output.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007585775000001
    Figure 0007585775000001
  • Figure 0007585775000002
    Figure 0007585775000002
  • Figure 0007585775000003
    Figure 0007585775000003
Patent Text Reader

Abstract

To provide a technology for reducing printing not intended by a user due to paper sizes, in an information processing device incorporating an OS standard general-purpose printing program.SOLUTION: If there is a print instruction for causing a printer 2 to perform printing from an editing application 43 to a general-purpose printing program 41 incorporated in advance into an OS 21, a PC 1 uses an auxiliary program 42 to acquire a print data image size for an image to be printed, on the basis of the number of dots in a vertical direction of the print data, the number of dots in a horizontal direction thereof, and the resolution thereof. Furthermore, the PC 1 acquires paper size information included in print settings, compares the acquired image size with the paper size to determine suitability of the paper size, and if the paper size is determined to be not suitable, uses a user interface 13 to perform processing for displaying a warning message.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The technical field disclosed in this specification relates to a support program that supports control of a printer. [Background technology]

[0002] As a printer technique, for example, Patent Document 1 discloses a technique for comparing the size of an image in received print data with the size of paper set in the printer to detect a size mismatch. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2007-145540 A Summary of the Invention [Problem to be solved by the invention]

[0004] In recent years, a technology has been put into practical use for information processing devices that controls a printer by a print program built into the operating system (OS) as standard, without using a printer driver. With this technology, the OS associates a printer with the OS's standard print program, and thereafter, when a print instruction for that printer is received, printing can be performed by the OS's standard print program without using a printer driver.

[0005] If an information processing device could detect a size mismatch as in the technology of Patent Document 1, the processing load on the printer would be reduced. However, the above-mentioned OS-standard general-purpose printing program does not support a function for detecting whether the image size and the paper size are appropriate, making it difficult to perform appropriate processing for size mismatch. As a result, the user may find that the print result is not what he or she intended, such as the image going off the edge of the paper, after printing.

[0006] This specification discloses a technique for reducing printing that is not intended by a user and is based on paper size in an information processing apparatus in which an OS-standard general-purpose printing program is installed. [Means for solving the problem]

[0007] A support program made for the purpose of solving the above-mentioned problems is executable by a computer of an information processing device, and is a support program corresponding to a printer connected to the information processing device, and when a print instruction is output from an application program incorporated in the information processing device, the print instruction being to cause the printer to print an image using a general-purpose print program pre-integrated in the operating system of the information processing device, the support program causes the computer to execute the following: a first acquisition process to acquire first size information, which is information on the image size of a raster image indicating an image to be printed by the print instruction, based on the number of dots in the vertical direction and the number of dots in the horizontal direction and the resolution of the raster image; a second acquisition process to acquire second size information, which is information on the paper size included in the print settings for the print instruction; a determination process to determine whether the paper size is appropriate by comparing the image size indicated in the first size information acquired in the first acquisition process with the paper size indicated in the second size information acquired in the second acquisition process; and a warning process to perform a process to issue a warning using a user interface of the information processing device if the paper size is determined to be inappropriate by the determination process.

[0008] According to the support program disclosed in this specification, when a print instruction is given to the general-purpose print program, the information processing device uses the support program to compare the image size of the raster image to be printed with the paper size included in the print settings to determine whether they are appropriate. Furthermore, if the information processing device determines that the paper size is inappropriate for the image size, it performs processing to warn about the paper size before sending the raster image. This is expected to encourage the user to input information to avoid printing the raster image, and as a result, it is more likely that printing that is not intended by the user can be avoided.

[0009] An information processing device incorporating the support program, a computer-readable storage medium storing the support program, and a control method for realizing the functions of the support program are also novel and useful. Effect of the Invention

[0010] According to the technology disclosed in this specification, a technology is realized that reduces printing that is not intended by a user and is based on paper size in an information processing device in which an OS-standard general-purpose printing program is installed. [Brief description of the drawings]

[0011] [Figure 1] FIG. 2 is a block diagram showing an outline of the electrical configuration of a PC. [Diagram 2] 5 is a sequence diagram showing an example of a procedure of a printing operation by each program. FIG. [Diagram 3] 13 is a flowchart showing a procedure for a size determination process. [Figure 4] FIG. 11 is an explanatory diagram showing an example of a warning message. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0012] A personal computer (hereinafter, referred to as a "PC") using the support program of the present embodiment will be described in detail below with reference to the accompanying drawings. This specification discloses a support program executed by a PC connected to a printer having a printing function.

[0013] As shown in Fig. 1, the PC1 of this embodiment includes a controller 10 including a CPU 11 and a memory 12. The PC1 is an example of an information processing device. The CPU 11 is an example of a computer. The PC1 also includes a user interface (hereinafter referred to as "user IF") 13 and a communication interface (hereinafter referred to as "communication IF") 14, which are electrically connected to the controller 10. Note that the controller 10 in Fig. 1 is a collective term for hardware and software used to control the PC1, and does not necessarily represent a single piece of hardware actually present in the PC1.

[0014] The CPU 11 executes various processes according to the programs read from the memory 12 and based on the user's operation. The memory 12 stores various programs including various application programs (hereinafter, referred to as "apps") and various data. The memory 12 is also used as a work area when various processes are executed. The buffer provided in the CPU 11 is also an example of a memory. Note that an example of the memory 12 is not limited to a ROM, RAM, HDD, etc. built into the PC 1, but may be a storage medium that can be read and written by the CPU 11, such as a recording medium such as a CD-ROM or DVD-ROM.

[0015] The user IF 13 includes hardware for displaying a screen for notifying the user of information and hardware for accepting operations by the user. The user IF 13 may be a combination of a display capable of displaying information and a mouse or keyboard having an input acceptance function, or may be a touch panel having a display function and an input acceptance function.

[0016] The communication IF 14 includes hardware for communicating with an external device such as the printer 2. The communication standards of the communication IF 14 include Ethernet (registered trademark), Wi-Fi (registered trademark), USB, etc. The PC 1 may be provided with a plurality of communication IFs 14 compatible with a plurality of communication standards.

[0017] 1, an operating system (hereinafter referred to as "OS") 21 including a general-purpose print program 41, an auxiliary program 42, and an editing application 43 are stored in the memory 12 of the PC 1. The auxiliary program 42 is an example of a support program. The editing application 43 is an example of an application program. The OS 21 is, for example, Windows (registered trademark), macOS (registered trademark), Linux (registered trademark), iOS (registered trademark), or Android (registered trademark).

[0018] The general-purpose printing program 41 is an OS standard program for causing various printers, such as the printer 2, to execute printing based on a user instruction. The general-purpose printing program 41 in this embodiment is a program that includes a function for generating intermediate image data based on image data to be printed.

[0019] The generic print program 41 supports functions that can be used in common by multiple models of printers provided by various printer vendors. The generic print program 41 does not support all of the unique functions of various printers, and the functions it supports are limited to generic ones.

[0020] The auxiliary program 42 is a program or a group of programs that executes processing based on instructions from the OS 21 in conjunction with the processing of the general-purpose printing program 41, and is an application that supports the control of the target hardware. The auxiliary program 42 in this embodiment corresponds to the model of the printer 2 connected to the PC 1, and is started from the general-purpose printing program 41 when, for example, an instruction to cause the printer 2 to execute printing using the general-purpose printing program 41 is received. The auxiliary program 42 is called, for example, a hardware support application (abbreviated as HSA).

[0021] The auxiliary program 42 can receive a variety of commands from the general-purpose printing program 41 and executes various processes based on the received commands. The auxiliary program 42 may be a combination of a number of programs each of which receives an execution command, or may be a single program that can execute different processes according to commands.

[0022] The auxiliary program may be a program prepared by the printer vendor for each type of printer. For example, an auxiliary program for an inkjet printer and an auxiliary program for a laser printer may be prepared. For example, when a new printer is connected to the PC1, the OS21 of the PC1 downloads an appropriate auxiliary program from a server or the like according to the type of the connected printer and incorporates it into its own device. Then, the OS21 associates the identification information of the incorporated auxiliary program with the printer information of the newly connected printer and stores it in the memory 12. Note that there may be auxiliary programs prepared not only for each type of printer, but also for each model of printer or each series of printer models.

[0023] The editing application 43 is, for example, an application for creating and editing image data and document data. The editing application 43 may be, for example, Microsoft (registered trademark) Word or PowerPoint, or may be an application provided by the vendor of the printer 2. The editing application 43 accepts user operations including instructions to cause the printer 2 to perform a predetermined operation. Specifically, the editing application 43 accepts, for example, a print execution instruction to cause the printer 2 to execute printing via the user IF 13.

[0024] The printer 2 of this embodiment is a device having a printing function. The PC 1 can communicate with the printer 2 via the communication IF 14. The printer 2 receives print data from the PC 1 or the like, for example, and executes printing based on the received print data. When the printer 2 of this embodiment further receives a command requesting a capability value from the PC 1 or the like, it reads out capability value information indicating the capability of the device and returns the information to the device that sent the command. The capability value information sent by the printer 2 includes, for example, information on the installed trays, information on the paper set for each tray, and information on the print resolution that can be supported.

[0025] Next, a printing procedure including the operation of the auxiliary program 42 of this embodiment will be described with reference to the sequence diagram of Fig. 2. Fig. 2 shows the operation when a print execution instruction is received from an application that receives a print instruction, such as the editing application 43, to cause the printer 2 to print using the general-purpose print program 41, and when the auxiliary program 42 corresponding to the printer 2 is incorporated in the PC 1.

[0026] Note that the processes and each processing step of the flowchart in this embodiment basically indicate the processes of the CPU 11 according to the instructions written in a program such as the auxiliary program 42. The processes by the CPU 11 also include hardware control using the API of the OS 21. In this specification, the operation of each program will be explained without a detailed description of the OS 21. Also, "obtain" is used as a concept that does not necessarily require a request.

[0027] The editing application 43 accepts creation and editing of text, charts, etc. based on user instructions. When the editing application 43 accepts an instruction to print the selected text, etc. (A01), it displays a print screen that accepts print settings, etc. on the user IF 13 (A02). On the print screen, the editing application 43 accepts, for example, an instruction to execute printing, an instruction for basic print settings, and an instruction to start accepting detailed print settings.

[0028] When the editing application 43 receives a print instruction from the user with the printer 2 selected on the displayed print screen (A03), it passes the received print instruction information to the OS 21. When the OS 21 receives a print instruction to use the general-purpose printing program 41, it executes the general-purpose printing program 41 and passes the print instruction information to the general-purpose printing program 41 (A04). The general-purpose printing program 41 can obtain, as the print instruction information, information indicating the printer to be used for printing, information indicating the print settings set in the application, and information indicating the image data to be printed, for example.

[0029] The general-purpose printing program 41 generates intermediate image data by converting the format of the image data included in the received print instruction information into the format of intermediate image data (A05), and generates a print job including the intermediate image data. Image data passed from the editing application 43 can be of various types, and the general-purpose printing program 41 converts the received image data into intermediate image data suitable for generating print data. Note that if the image data included in the print instruction is suitable for generating print data, the generation of the intermediate image data may be omitted and the image data may be used as is as intermediate image data. The intermediate image data generated by the general-purpose printing program 41 is, for example, XPS data.

[0030] Since the device selected in the print instruction is the printer 2 and the auxiliary program 42 corresponding to the printer 2 is stored in the memory 12, the general-purpose printing program 41 outputs an execution instruction to the auxiliary program 42 (A06). The general-purpose printing program 41 operates the auxiliary program 42 in response to the execution instruction and passes the generated intermediate image data to the auxiliary program 42. Note that in A06, print setting information is also passed to the auxiliary program 42 together with the intermediate image data. The print setting information passed to the auxiliary program in A06 includes, for example, paper size information and paper type information. Note that the general-purpose printing program 41 may execute the auxiliary program 42 before generating the intermediate image data and pass the print setting information to the auxiliary program 42.

[0031] The auxiliary program 42 performs rasterization based on the intermediate image data based on the execution instruction received from the general-purpose printing program 41 in A06, and generates print data indicating the image to be printed (A07). A07 is an example of a generation process. The print data generated in A07 is data in a format that can be used for printing by the printer 2, for example, PDL data dedicated to the model of the printer 2. The print data is an example of a raster image.

[0032] Rasterizing with the auxiliary program 42 corresponding to the printer 2 provides greater freedom than rasterizing with the general-purpose print program 41, and there is a high possibility that print data suitable for printing on the printer 2 will be generated. Note that the print data generated in A07 may be data in a format that can be used for printing on printers other than the printer 2 model.

[0033] The auxiliary program 42 executes a size determination process based on the print data generated in A07 and the paper size information included in the print settings received in A06 (A08). The size determination process is a process for determining whether the paper size is appropriate by comparing the size of the print image, which is the print result when printing is performed based on the print data, with the paper size included in the print settings.

[0034] Note that, instead of the auxiliary program 42 generating the print data in A07, the general-purpose printing program 41 may generate the print data. That is, the general-purpose printing program 41 may rasterize the intermediate image data generated in A05 to generate print data, and pass the generated print data to the auxiliary program 42. In this case, the auxiliary program 42 executes a size determination process based on the print data received from the general-purpose printing program 41.

[0035] The print data generated by the general-purpose printing program 41 is print data in a format that can be used for printing by various printers, such as PWGRaster data or PDF data. If rasterization is performed by the general-purpose printing program 41, the processing of the auxiliary program 42 is reduced, which is expected to prevent an increase in processing time and reduce the program size of the auxiliary program 42. Note that when determining the size based on the print data generated by the general-purpose printing program 41, the general-purpose printing program 41 does not need to pass intermediate image data to the auxiliary program 42.

[0036] Next, the procedure of the size determination process executed in A08 of Fig. 2 will be described with reference to the flowchart of Fig. 3. This size determination process is a process of the auxiliary program 42, and is executed by the CPU 11 of the PC 1.

[0037] In the size determination process, the CPU 11 acquires paper information included in the print settings based on the print settings received from the general-purpose print program 41 in A06 of FIG. 2 (S101). The paper information includes, for example, information on paper size and paper type. The paper size information included in the paper information acquired in S101 is an example of second size information. S101 is an example of a second acquisition process.

[0038] Then, the CPU 11 judges whether the acquired paper information of the print settings is a target for judgment (S102). For example, if the paper type of the print settings is plain paper or recycled paper and the paper size is a standard size such as A4, the loss to the user is likely to be small even if the paper is wasted by printing at an incompatible size. If the paper is assumed to be cheap, it is preferable to complete printing early and output the print result, since it is easy to tolerate image overflow and reprinting.

[0039] If it is determined that the current print is not a target for which judgment is to be performed (S102: NO), the CPU 11 judges "OK" (S111) and ends the size judgment process. If the paper type is plain paper or recycled paper and the paper size is a standard size such as A4 or B5, the CPU 11 judges NO in S102. If it is not a target for judgment, it can output the print result early by judging "OK" without performing the processes from S103 onwards.

[0040] On the other hand, when a paper that is likely to be expensive is specified as a print setting, it is not preferable to waste paper by printing with an incompatible size. For example, when the paper type is thick paper, postcard, sticker paper, OHP paper, cloth, etc., or when the paper size is postcard, envelope, etc., the paper is likely to be expensive compared to regular paper or standard size recycled paper. The paper size indicating postcard or envelope is an example of a predetermined size indicating high value. Also, the paper type indicating thick paper, postcard, sticker paper, OHP paper, and cloth is an example of a predetermined type indicating high value. When the paper type is neither plain paper nor recycled paper, or the paper size is neither A4, A5, B4, nor B5, the CPU 11 determines YES in S102.

[0041] When it is determined that the paper information is the subject of the judgment (S102: YES), the CPU 11 calculates the image size of the print image, which is the print result when printing is performed based on the print data generated in A07 of FIG. 2 (S103). Specifically, the CPU 11 calculates the horizontal and vertical sizes of the print image by dividing the number of dots and the number of lines in one line of the print data by the print resolution (for example, a value expressed in dots / inch) specified in the print settings. The information on the size of the print image calculated in S103 is an example of first size information. S103 is an example of a first acquisition process.

[0042] Then, CPU 11 compares the paper size included in the paper information acquired in S101 with the image size of the print image calculated in S103, and judges whether the image size of the print image is larger than the paper size (S106). S106 is an example of a judgment process. For example, when a standard size such as A4 is specified as the paper size for printing, CPU 11 compares the horizontal and vertical sizes of the paper size with the horizontal and vertical sizes of the print image calculated in S102. Note that CPU 11 may compare the size of the printable range of the paper size with the image size of the print image based on the margin setting.

[0043] If it is determined that the image size of the print image is not larger (S106: NO), CPU 11 determines whether the difference between the image size and the paper size exceeds a predetermined range (S107). S107 is an example of a determination process. If it is determined that the difference between the image size and the paper size is small for both the vertical size and the horizontal size (S107: NO), CPU 11 determines "OK" (S111) and ends the size determination process. If the image size is equal to or smaller than the paper size and the size difference is small, the image fits on the paper, so there is a high possibility that the entire image will be printed and the printing will be appropriate without excessive margins. In this case, CPU 11 determines that the paper size is appropriate.

[0044] On the other hand, if it is determined that the image size of the print image is larger (S106: YES), or if it is determined that the image size is smaller than the paper size but the difference is larger than a predetermined range (S107: YES), the CPU 11 determines "NG" (S112) and ends the size determination process. If the image size of the print image is larger than the paper size, the image will not fit on the paper, so that the image will extend beyond the paper when printed, and there is a high possibility that the printing will be unintended by the user. Also, even if the image size is smaller than the paper size, if the difference is outside the predetermined range, the margins will be too large and there is a high possibility that a large amount of paper will be wasted. In these cases, the CPU 11 determines that the paper size is inappropriate.

[0045] Note that even if the image size is larger than the paper size, if the difference is small, the impact is likely to be small even if some parts are not printed. Alternatively, for example, the entire image may be printed by reducing the margins. Therefore, even if the image size is larger than the paper size, if the difference in size is small in both the vertical and horizontal sizes, the CPU 11 may determine "OK."

[0046] Also, for example, if the paper type included in the print settings indicates roll paper, the auxiliary program 42 does not need to compare the vertical size (the length in the unwinding direction of the roll paper, also called the paper length) of the paper size. In this case, the auxiliary program 42 needs to compare only the horizontal size (the length in the axial direction of the roll paper, also called the paper width) in S106 and S107.

[0047] The number of dots in the vertical and horizontal directions of the print data is determined based on the size of the image data specified by the editing application 43, regardless of the print settings. The auxiliary program 42 is unlikely to be able to acquire information from the editing application 43, but if it is able to acquire the information, it may acquire the image size based on the information acquired from the editing application 43. Furthermore, if the auxiliary program 42 is able to acquire the image size from the intermediate image data without generating print data, it may acquire the image size based on the intermediate image data. In these cases, the auxiliary program 42 may acquire the image size before A07 in FIG. 2, and make the judgments of S106 and S107 using the acquired image size instead of S103 of the size judgment process, and generate the print data if it is judged as "OK".

[0048] However, the process of obtaining information from the editing application 43 and the process of obtaining the image size from the intermediate image data may take time. Also, since a determination based on the actually generated print data is more likely to be accurate, it is preferable to execute the size determination process after the print data is generated.

[0049] Returning to the explanation of FIG. 2, if the auxiliary program 42 judges the size as "OK" in the size judgment process in A08 (alt:[OK]), it sends the print data generated in A07 and a command to execute printing to the printer 2 (A11). Having received the print data and the command to execute printing, the printer 2 prints an image of the print data based on the received command (A12). This produces a printed matter. The auxiliary program 42 further notifies the general-purpose printing program 41 that it has finished sending the print data.

[0050] The transmission to the printer 2 may be performed by the general-purpose printing program 41. In other words, the auxiliary program 42 may pass the generated print data to the general-purpose printing program 41 so that the print data is sent from the PC 1 to the printer 2 as the destination. In this case, the general-purpose printing program 41 sends the print data received from the auxiliary program 42 to the printer 2.

[0051] On the other hand, if the size determination process in A08 returns "NG" (alt: [NG]), the auxiliary program 42 displays a warning message on the user IF 13 (A21). A21 is an example of warning processing. The warning message is, for example, a message indicating that the size of the print image and the paper size in the print settings are inappropriate, as shown in FIG. 4. The auxiliary program 42 uses the warning message to inquire of the user whether to continue printing or cancel printing.

[0052] If the auxiliary program 42 determines in the size determination process that the image size of the print image is larger than the paper size in the print settings (YES in S106 in FIG. 3), it displays a warning message 50 including a message indicating that the print image is larger than the paper size and there is a possibility that some parts will not be printed, as shown in FIG. 4(A). This warning message 50 includes information on the paper size in the print settings, a button 51 for receiving an instruction to print, and a button 52 for canceling printing.

[0053] If the auxiliary program 42 determines in the size determination process that the image size of the print image is smaller than the paper size in the print settings, but the difference is outside a predetermined range (YES in S107 in FIG. 3), it displays a warning message 60 including a message indicating that the print image is smaller than the paper size and that there is a possibility that the margins are large, as shown in FIG. 4(B). This warning message 60 includes information about the paper size in the print settings, a button 61 for receiving an instruction to print, and a button 62 for receiving a cancellation of printing.

[0054] The warning is not limited to the display of the warning message 50, 60, etc., but may be a voice warning, or a combination of a display and a voice. The warning message may include information indicating the image size of the print image and a preview image showing the print image. The content of the message to be displayed is not limited to a warning, but may be a message prompting confirmation of the size. Instead of displaying the warning message 50, 60 by itself, the auxiliary program 42 may pass warning information and a notification instruction to the general-purpose printing program 41 or the OS 21 to cause the general-purpose printing program 41 or the OS 21 to notify the general-purpose printing program 41 or the OS 21. The process of outputting the warning message or warning voice to the user IF 13 and the process of passing warning information and a notification instruction to the general-purpose printing program 41 are examples of the process for issuing a warning.

[0055] Then, the auxiliary program 42 accepts a user operation on the buttons 51, 51 or the buttons 61, 62 (A22). When the auxiliary program 42 accepts an instruction to print from the button 51 or the button 61 (alt: [Print]), it sends the print data to the printer 2 (A23). A23 is the same process as A11. The printer 2 executes printing based on the received print data (A24).

[0056] On the other hand, when a cancel instruction is received via button 52 or button 62 (alt: [Cancel]), the auxiliary program 42 passes information to cancel the print job to the general-purpose printing program 41 (A25). A25 is an example of a cancellation process. As a result, the general-purpose printing program 41 cancels the print job based on the print instruction received in A04, and ends the printing process. The auxiliary program 42 may delete the print data generated in A07. By receiving a cancel instruction via warning messages 50 and 60, printing unintended by the user can be reliably avoided.

[0057] The auxiliary program 42 may receive an instruction to change the paper size from the displayed warning message 50, 60. In this embodiment, the warning messages 50, 60 notify the user of the currently set paper size, so that the user can easily notice a mismatch with the size of the image instructed to be printed. When an instruction to change the paper size is received, the auxiliary program 42 changes the print settings received from the general-purpose print program 41 in A06, and transmits the changed print setting information together with the print data to the printer 2. If the paper size is changed based on the user's instruction and the print settings become compatible with the image size, appropriate printing can be expected.

[0058] As described above in detail, according to the auxiliary program 42 of this embodiment, when a print instruction is given to the general-purpose print program 41, the PC 1 compares the image size of the print data to be printed with the paper size included in the print settings to determine whether they are appropriate. Furthermore, if the PC 1 determines that the paper size is inappropriate for the image size, it performs processing to warn about the paper size before sending the print data. This is expected to encourage the user to make an input to avoid printing, and as a result, it is more likely that printing that is not intended by the user can be avoided.

[0059] It should be noted that the embodiments disclosed in this specification are merely examples and do not limit the present invention in any way. Therefore, the technology disclosed in this specification can be naturally improved and modified in various ways without departing from the gist of the technology. For example, the device connected to PC1 is not limited to a printer, but may be any device having a printing function, such as a multifunction device, a copier, or a fax machine. Furthermore, the number of printers connected to PC1 is not limited to the illustrated example, and may be two or more.

[0060] Also, for example, the illustrated warning messages are only examples and are not limited thereto. For example, buttons for accepting printing or cancellation may not be present. For example, the auxiliary program 42 may cancel printing after displaying a warning message when it determines that printing is inappropriate. Alternatively, even if it determines that printing is inappropriate, the auxiliary program 42 may transmit print data to the printer 2 after displaying a warning message if it has a function for canceling printing received by the printer 2. However, by accepting a user's instruction via a warning message, the user's intention is more easily reflected than by uniformly canceling or transmitting data. Also, the warning message does not need to display the paper size.

[0061] Also, for example, in this embodiment, in S102 of the size determination process, it is determined whether or not to determine whether a print command is to be determined based on the paper size and paper type, but this determination does not have to be made. In other words, all print commands may be determined regardless of the paper size and paper type.

[0062] Also, for example, in this embodiment, even if the image size is smaller than the paper size, if the difference is outside a predetermined range, a warning is issued, but this does not have to be done. Specifically, the determination in S107 of the size determination process may not be performed.

[0063] In addition, in this embodiment, only the printing operation is described in detail as the operation of the auxiliary program 42, but the auxiliary program 42 may have other roles. The program that executes the process of this embodiment is not limited to the auxiliary program 42, but may be any program that receives instructions from the OS 21 or the general-purpose print program 41 when printing is performed using the general-purpose print program 41. For example, it may be a print workflow application (Print workflow) whose specifications have been made public by Microsoft.

[0064] Furthermore, the execution timing of the auxiliary program 42 is not limited to that of the embodiment. For example, the auxiliary program 42 may receive an execution instruction directly from the OS 21, or may be a resident auxiliary program 42. If the auxiliary program 42 is resident, it is sufficient that the auxiliary program 42 performs the above-mentioned operation upon receiving an execution command.

[0065] In addition, in any of the flowcharts disclosed in the embodiments, the order of execution of multiple processes in any of the steps can be arbitrarily changed or the processes can be executed in parallel as long as no contradiction occurs in the process content.

[0066] The processes disclosed in the embodiments may be executed by a single CPU, multiple CPUs, hardware such as ASIC, or a combination of these. The processes disclosed in the embodiments may be realized in various forms, such as a recording medium having a program for executing the processes recorded thereon, or a method. [Explanation of symbols]

[0067] 1 PC 2. Printer 11 CPU 13 User Interface

Claims

1. A support program executable by a computer of an information processing device and corresponding to a printer connected to the information processing device, The computer includes: When a print instruction is output from an application program incorporated in the information processing device, the print instruction is for causing the printer to print an image using a general-purpose print program that is pre-integrated in the operating system of the information processing device, and information indicating image data to be printed and information indicating print settings, which are information received by the application program from a user, are passed from the application program to the operating system as the print instruction, and intermediate image data indicating the image to be printed by the print instruction and information on the print settings are passed from the operating system, a first acquisition process for acquiring first size information, which is information on the image size of a raster image indicating an image to be printed according to the print instruction and based on the intermediate image data passed from the operating system, based on the number of dots in the vertical direction, the number of dots in the horizontal direction, and a resolution of the raster image; a second acquisition process for acquiring second size information, which is information on a paper size included in the print setting information for the print instruction and is transmitted from the operating system; a determination process for determining whether a paper size is appropriate by comparing an image size indicated in the first size information acquired in the first acquisition process with a paper size indicated in the second size information acquired in the second acquisition process; a warning process for performing a process for issuing a warning using a user interface of the information processing device when the determination process determines that the information processing device is inappropriate; Execute the A support program characterized by:

2. 2. A support program as claimed in claim 1, The computer includes: When the print instruction is given, acquiring, from the operating system, the intermediate image data indicating the image to be printed in accordance with the print instruction, and executing a generation process of rasterizing the acquired intermediate image data to generate the raster image; After the generation process is executed, the first acquisition process is executed. A support program characterized by:

3. A support program according to claim 1 or 2, In the determination process, When the image size indicated in the first size information acquired in the first acquisition process does not fit within the paper size indicated in the second size information acquired in the second acquisition process, the image size is determined to be inappropriate. A support program characterized by:

4. A support program according to claim 3, In the determination process, Even if the image size indicated in the first size information acquired in the first acquisition process falls within the paper size indicated in the second size information acquired in the second acquisition process, if the difference between the paper size indicated in the second size information acquired in the second acquisition process and the image size indicated in the first size information acquired in the first acquisition process is outside a predetermined range, the image size is determined to be inappropriate. A support program characterized by:

5. A support program according to any one of claims 1 to 4, The computer includes: when the process for issuing a warning is executed in the warning process, a decision as to whether or not to cancel the print job based on the print instruction is accepted using the user interface, and when the decision to cancel is accepted, a cancellation process for canceling the print job is executed. A support program characterized by:

6. A support program according to any one of claims 1 to 5, The paper size included in the print settings includes a predetermined size that indicates high value. if the paper size indicated in the second size information acquired in the second acquisition process is the predetermined size, when the paper size is determined to be inappropriate in the determination process, the computer is caused to execute the warning process before the raster image is transmitted to the printer; If the paper size indicated in the second size information acquired in the second acquisition process is not the predetermined size, the computer is not caused to execute the warning process. A support program characterized by:

7. A support program according to any one of claims 1 to 5, The paper type included in the print settings that can be set includes a predetermined type indicating high value. if the paper type included in the print settings is the predetermined type and if the paper type is determined to be inappropriate in the determination process, cause the computer to execute the warning process before the raster image is sent to the printer; If the paper type included in the print settings is not the predetermined type, the computer is not caused to execute the warning process. A support program characterized by:

8. A support program according to any one of claims 1 to 7, In the warning process, performing the process for issuing a warning to notify the user of the paper size indicated in the second size information acquired in the second acquisition process, using the user interface; A support program characterized by:

Citation Information

Patent Citations

  • Automatic sheet selecting print processing method and device for the same

    JP2001229005A

  • Image formation device

    JP2007055114A

  • Printer

    JP2007145540A

  • Information processor, information processing method, storage medium and program

    JP2008040933A

  • Print control apparatus, print control method, and program

    JP2015009483A