WO2022138317A1 - Support program - Google Patents

Support program Download PDF

Info

Publication number
WO2022138317A1
WO2022138317A1 PCT/JP2021/045981 JP2021045981W WO2022138317A1 WO 2022138317 A1 WO2022138317 A1 WO 2022138317A1 JP 2021045981 W JP2021045981 W JP 2021045981W WO 2022138317 A1 WO2022138317 A1 WO 2022138317A1
Authority
WO
WIPO (PCT)
Prior art keywords
paper
print
image
printing
information
Prior art date
Application number
PCT/JP2021/045981
Other languages
French (fr)
Japanese (ja)
Inventor
建樹 成田
Original Assignee
ブラザー工業株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ブラザー工業株式会社 filed Critical ブラザー工業株式会社
Publication of WO2022138317A1 publication Critical patent/WO2022138317A1/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J29/00Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
    • B41J29/38Drives, motors, controls or automatic cut-off devices for the entire printing mechanism
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof

Definitions

  • the technical fields disclosed herein relate to support programs that support printer control.
  • a configuration in which print data is generated by a printer driver and a preview is displayed before the print data is transmitted to the printer is widely known (for example, Patent Documents). 1).
  • the printer driver is provided by the manufacturer of the printer, supports various functions of the printer, and can fully utilize the printer.
  • the preview display can allow the user to confirm the image to be printed, it does not allow the user to confirm the print result in consideration of the size of the paper loaded in the printer. Therefore, it may be noticed that the printing result is not intended by the user after printing, such as the image sticking out of the paper.
  • This specification discloses a technique for reducing unintended printing by a user based on paper in an information processing apparatus incorporating an OS standard general-purpose printing program.
  • the support program made for the purpose of solving the above-mentioned problems is a support program that can be executed by the computer of the information processing apparatus and corresponds to the printer connected to the information processing apparatus, and the information processing apparatus is attached to the computer.
  • a paper information acquisition process for acquiring print paper information which is information on the print paper used for printing according to the print instruction
  • an image data acquisition process for acquiring print image data indicating an image to be printed according to the print instruction.
  • the information processing apparatus is printed with printing paper information which is information on the printing paper used for printing according to the printing instruction.
  • the print image data indicating the image to be printed is acquired, and a preview image showing the arrangement of the image to be printed on the printing paper is displayed.
  • An information processing device incorporating the above support program, a storage medium that can be read by a computer that stores the support program, and a control method for realizing the functions of the support program are also new and useful.
  • a technique for reducing unintended printing by a user based on paper is realized in an information processing apparatus incorporating an OS standard general-purpose printing program.
  • PC personal computer
  • the PC 1 of the present embodiment includes a controller 10 including a CPU 11 and a memory 12.
  • PC1 is an example of an information processing device.
  • the CPU 11 is an example of a computer.
  • the PC 1 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. .
  • the controller 10 in FIG. 1 is a general term for hardware and software used for controlling the PC 1, and does not necessarily represent a single hardware that actually exists in the PC 1.
  • the CPU 11 executes various processes according to the program read from the memory 12 and based on the user's operation.
  • Various programs including various application programs (hereinafter referred to as "applications") and various data are stored in the memory 12.
  • the memory 12 is also used as a work area when various processes are executed.
  • the buffer included in the CPU 11 is also an example of the memory.
  • An example of the memory 12 is not limited to the ROM, RAM, HDD, etc. built in the PC 1, but is a storage medium that can be read and written by the CPU 11, such as a recording medium such as a CD-ROM or a DVD-ROM. Is also good.
  • the user IF 13 includes hardware that displays a screen for notifying the user of information and hardware that accepts operations by the user.
  • the user IF 13 may be a set of a display capable of displaying information and a mouse, keyboard, or the like having an input reception function, or may be a touch panel having a display function and an input reception function.
  • the communication IF 14 includes hardware for communicating with an external device such as a printer 2.
  • the communication standard of the communication IF14 is Ethernet (registered trademark), Wi-Fi (registered trademark), USB and the like.
  • the PC 1 may include a plurality of communication IFs 14 corresponding to a plurality of communication standards.
  • the memory 12 of the PC 1 stores an operating system (hereinafter referred to as “OS”) 21 including a general-purpose printing program 41, an auxiliary program 42, and an editing application 43.
  • OS operating system
  • the auxiliary program 42 is an example of a support program.
  • the editing application 43 is an example of an application program.
  • OS21 is, for example, Windows (registered trademark), macOS (registered trademark), Linux (registered trademark), iOS (registered trademark), Android (registered trademark).
  • 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's instruction.
  • the general-purpose printing program 41 of the present embodiment is a program including a function of generating intermediate image data based on the image data to be printed.
  • the general-purpose printing program 41 supports functions that can be commonly used by printers of a plurality of types of models provided by vendors of various printers.
  • the general-purpose printing program 41 does not correspond to all the functions unique to various printers, and the supporting functions are limited to general-purpose ones.
  • the auxiliary program 42 is a program or a group of programs that execute the processing based on the instruction from the OS 21 accompanying 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 of this embodiment corresponds to the model of the printer 2 connected to the PC 1.
  • the general-purpose printing program 41 is used to receive an instruction to cause the printer 2 to perform printing
  • the general-purpose program 42 corresponds to the general-purpose printing program 42. It is started from the print program 41.
  • the auxiliary program 42 is called, for example, a hardware support application (abbreviation, HSA).
  • the auxiliary program 42 can accept a plurality of types of instructions from the general-purpose printing program 41, and executes various processes based on the accepted instructions.
  • the auxiliary program 42 may be a combination of a plurality of programs, each of which receives an execution instruction, or may be a single program that can execute different processes according to the instruction.
  • the auxiliary program may be a program prepared for each printer type by the printer vendor.
  • an auxiliary program for an inkjet printer and an auxiliary program for a laser printer may be prepared respectively.
  • the OS 21 of the PC 1 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 OS 21 associates the identification information of the incorporated auxiliary program with the identification information of the newly connected printer and stores it in the memory 12. It should be noted that there may be an auxiliary program prepared not only for each printer type but also for each printer model or each printer model series.
  • 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, a word or PowerPoint manufactured by Microsoft (registered trademark), or may be an application provided by the vendor of the printer 2.
  • the editing application 43 accepts a user operation including an instruction to cause the printer 2 to perform a predetermined operation. Specifically, the editing application 43 receives, for example, a print execution instruction to cause the printer 2 to execute printing via the user IF 13.
  • 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, for example, a PC 1 or the like, and executes printing based on the received print data.
  • FIG. 2 shows a case where an application such as an editing application 43 that accepts a print instruction receives a print execution instruction to be printed by the printer 2 using the general-purpose print program 41, and the auxiliary program 42 corresponding to the printer 2 receives the print execution instruction.
  • an application such as an editing application 43 that accepts a print instruction receives a print execution instruction to be printed by the printer 2 using the general-purpose print program 41, and the auxiliary program 42 corresponding to the printer 2 receives the print execution instruction.
  • the operation when it is incorporated in PC1 is shown.
  • each processing step of the processing and the flowchart in this embodiment basically indicates the processing of the CPU 11 according to the instruction described in the program such as the auxiliary program 42.
  • the processing by the CPU 11 also includes hardware control using the API of the OS 21.
  • the operation of each program will be described by omitting the detailed description of the OS 21.
  • acquisition is used as a concept that does not require a request.
  • the editing application 43 accepts the creation and editing of sentences, charts, etc. based on the user's instructions.
  • the editing application 43 receives an instruction regarding printing of the selected text or the like (A01)
  • the editing application 43 displays a print screen for receiving the print setting or the like on the user IF 13 (A02).
  • the editing application 43 receives, for example, a print execution instruction, a basic print setting instruction, and an instruction to start accepting detailed print settings on the print screen.
  • the editing application 43 passes the received print execution instruction information to the OS 21.
  • the OS 21 receives a print execution instruction using the general-purpose print program 41
  • the OS 21 executes the general-purpose print program 41 and passes the print instruction information to the general-purpose print program 41 (A04).
  • the general-purpose print program 41 can acquire, for example, information indicating a printer to be printed, information indicating print settings set by an application, and information indicating image data to be printed, as information for printing instructions.
  • the print settings include paper information.
  • the paper information included in the print settings includes, for example, paper size information and paper type information.
  • the general-purpose print 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 the intermediate image data (A05), and generates a print job including the intermediate image data. ..
  • the image data passed from the editing application 43 is of various types, and the general-purpose printing program 41 converts the received image data into intermediate image data suitable for generating print data. If the image data included in the print instruction is data suitable for generating the print data, the generation of the intermediate image data may be omitted and the intermediate image data may be used as it is.
  • the intermediate image data generated by the general-purpose printing program 41 is, for example, XPS data.
  • the general-purpose print program 41 outputs an execution instruction to the auxiliary program 42 because 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. (A06).
  • the general-purpose printing program 41 operates the auxiliary program 42 according to the execution instruction, and passes the generated intermediate image data to the auxiliary program 42.
  • the print setting information is also passed to the auxiliary program 42 together with the intermediate image data.
  • the paper information included in the print setting information received by the auxiliary program 42 from the general-purpose print program 41 is an example of the first paper information.
  • the paper information passed to the auxiliary program in A06 includes paper size information and paper type information.
  • the general-purpose printing program 41 may pass a part or all of this paper information to the auxiliary program 42 so as to be included in the intermediate image data.
  • the auxiliary program 42 temporarily stores the intermediate image data in the usable area in the memory 12 that can be used by the auxiliary program 42 based on the execution instruction received from the general-purpose print program 41 in A06 (A07). Further, the auxiliary program 42 performs rasterization based on the intermediate image data and generates print data indicating the image to be printed (A08).
  • the print data generated by A08 is data in a format that can be used for printing by the printer 2, and is, for example, PDL data dedicated to the model of the printer 2.
  • the print data is an example of a raster image.
  • the print data generated by A08 is an example of print image data, and A08 is an example of image data acquisition processing.
  • the print data generated by A08 may be data in a format that can be used for printing with a printer other than the model of the printer 2.
  • the auxiliary program 42 acquires information from the printer 2 via the communication IF 14. Specifically, the auxiliary program 42 transmits an acquisition request requesting capability information to the printer 2 (A11). When the printer 2 receives the acquisition request requesting the capability information from the PC 1 or the like, the printer 2 acquires the capability information indicating the capability of its own device (A12), and responds to the acquired capability information to the device that transmitted the request (A13). ).
  • the capability information transmitted from the printer 2 includes, for example, status information, remaining amount information of consumables, information on the installed tray, paper information on the paper set for each tray, and information on the print resolution that can be supported. , Is included.
  • the printer 2 receives, for example, the paper information of the paper to be stored in the paper feed tray of the own device via the operation panel, and stores the received information in the memory of the own device.
  • the printer 2 reads the paper information from the memory of its own device.
  • the paper information read from the memory of the printer 2 includes, for example, paper size information and paper type information.
  • the printer 2 may be capable of mounting a plurality of paper feed trays.
  • the paper information is stored in association with the information indicating the tray for each tray. Then, the printer 2 responds as the capacity information with the paper information for each tray for all the trays mounted.
  • the printer 2 has a sensor or the like for detecting the paper size of the paper stored in the tray, the paper size information may be acquired based on the output signal of the sensor or the like.
  • the printer 2 performs image processing based on the received print job and prints based on the data after the image processing, for example, intensive printing such as Nin1, synthetic printing such as water mark, and saving of a colorant. It may have a function to perform saving printing.
  • intensive printing such as Nin1
  • synthetic printing such as water mark
  • saving of a colorant it may have a function to perform saving printing.
  • the printer 2 may pass the information of the function to the auxiliary program 42 as the ability information.
  • the auxiliary program 42 acquires information on the tray and printing paper included in the printer 2 as the capability information of the printer 2.
  • A13 is an example of printer information acquisition processing
  • the capability information of printer 2 is an example of printer information.
  • the capability information of the printer 2 includes paper information which is information on the paper used for printing by the printer 2.
  • the paper information included in the capability information of the printer 2 includes, for example, paper size information and paper type information.
  • the paper information included in the capability information of the printer 2 is an example of the second paper information.
  • the communication between the auxiliary program 42 and the printer 2 may be performed by the auxiliary program 42 directly communicating with the printer 2 or via the OS 21 by using, for example, a MIB (abbreviation of Management Information Base). ..
  • MIB abbreviation of Management Information Base
  • the auxiliary program 42 and the printer 2 communicate with each other according to the communication rules of the OS 21 such as IPP (abbreviation of internet printing protocol).
  • the auxiliary program 42 stores the printer paper information, which is the information of the paper stored in the printer 2, in the usable area in the memory 12 that can be used by the auxiliary program 42, based on the capacity information received from the printer 2. A14). If the paper size information included in the capacity information acquired from the printer 2 is information indicating a standard size such as A4, the auxiliary program 42 may be converted into numerical values indicating the paper length and the paper width and stored.
  • the general-purpose printing program 41 may execute the auxiliary program 42 before generating the intermediate image data.
  • the general-purpose print program 41 may execute the auxiliary program 42 even when the editing application 43 or the like receives an editing instruction of detailed print settings by the user on the print screen displayed on the A02.
  • the auxiliary program 42 may request the printer 2 for the capability information when it is executed in response to the editing instruction of the print setting. Further, the auxiliary program 42 may request the printer 2 for the capability information after receiving the intermediate image data and before generating the print data.
  • the auxiliary program 42 stores the printer paper information in the memory 12 based on the capability information acquired from the printer 2.
  • the auxiliary program 42 executes the paper information determination process (A21).
  • the paper information included in the print settings for the print instruction is the paper information acquired from the printer 2, or the image size information of the print image which is the print result when printing is executed based on the print data. This is a process for determining the suitability of the paper by comparing with. The procedure of the paper information determination process will be described with reference to the flowchart of FIG.
  • the paper information determination process is a process by the auxiliary program 42, and is executed by the CPU 11 of the PC1.
  • the CPU 11 acquires paper information which is information on paper for printing (S101).
  • the paper information includes, for example, information such as paper size and paper type.
  • S101 is an example of paper information acquisition processing, and the paper information acquired in S101 is an example of printing paper information.
  • the CPU 11 reads out the printer paper information stored in, for example, A14 in FIG. 2 in S101, and acquires the paper information based on the printer paper information. In this case, the paper information acquired by the CPU 11 is the paper information set in the printer 2.
  • the CPU 11 acquires the paper information included in the print settings in S101 based on the print settings received from the general-purpose print program 41 in A06 of FIG. May be.
  • the paper information included in the print settings is an example of the print paper information.
  • the CPU 11 determines whether or not the acquired paper information is the execution target of the determination (S102). If the paper for printing is, for example, plain paper or recycled paper and the paper size is a standard size such as A4, even if the paper is wasted due to printing that does not match the size, the user The loss is likely to be small. If it is assumed that the paper is inexpensive, it is easy to allow the image to protrude and the print to be redone. Therefore, it is preferable to complete the printing at an early stage and output the print result.
  • the CPU 11 determines that it is "printing" (S121), and ends the paper information determination 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 determines NO in S102. In the case of inexpensive paper, it is easy to allow image protrusion and reprinting, so it is judged that it is not a judgment target, and it is judged as "printing" without performing the processing after S103, so that the print result can be printed at an early stage. It can be output.
  • the paper when paper that is likely to be expensive is specified as the paper for printing, it is not preferable that the paper is wasted. Therefore, for example, if the paper information is inappropriate, printing is performed as it is. Is not preferable.
  • the paper type is thick paper, postcard, seal paper, OHP paper, cloth, etc., or when the paper size is postcard, envelope, etc.
  • the paper is compared to plain paper or recycled paper of standard size. It is likely to be expensive.
  • the paper size indicating a postcard or envelope is an example of a predetermined size indicating high value.
  • the paper types indicating thick paper, postcards, sticker paper, OHP paper, and cloth are examples of predetermined types showing high value.
  • the CPU 11 determines YES in S102 when the paper type is neither plain paper nor recycled paper, or the paper size is neither A4, A5, B4, or B5. Judge.
  • the CPU 11 When it is determined that the paper information is the execution target of the determination (S102: YES), the CPU 11 is the print result when the print based on the print data is executed based on the print data generated in A08 of FIG.
  • the image size of a certain printed image is calculated (S103). Specifically, the CPU 11 divides the number of dots and the number of lines for one line of print data by the print resolution (for example, a value represented by dots / inch) specified in the print settings. Calculate the horizontal and vertical sizes of the printed image.
  • the image size information of the printed image calculated in S103 is an example of the image size information.
  • S103 is an example of the image information acquisition process.
  • the CPU 11 compares the paper size included in the paper information acquired in S101 with the image size of the printed image calculated in S103, and determines whether the image size of the printed image is larger than the paper size. Is determined (S106).
  • S106 is an example of the determination process. For example, when a standard size such as A4 is specified as the paper size for printing, the CPU 11 includes the horizontal and vertical sizes of the paper size and the horizontal and vertical sizes of the printed image calculated in S103. , Are compared respectively.
  • the CPU 11 may compare the size of the printable range of the paper size with the image size of the printed image based on the margin setting. By comparing the image size of the print data with the paper size for printing and determining the suitability, it is possible to determine whether or not the image fits on the paper, and as a result, it is possible to determine the suitability for printing.
  • the CPU 11 determines whether or not the difference between the image size and the paper size is out of the predetermined range (S107).
  • S107 is an example of the determination process. Then, when it is determined that the image size of the printed image is larger (S106: YES), or when it is determined that the difference is larger than the predetermined range even if the image size is smaller than the paper size (S106: YES). S107: YES), the CPU 11 generates a preview image showing the arrangement of the printing paper and the image, and causes the user IF 13 to perform the preview display (S111). S111 is an example of the preview process.
  • FIG. 4 shows an example of the preview display.
  • the preview display screen 50 shown in FIG. 4 has a preview image 51 showing a print image, a button 52 for receiving an instruction to change print settings, an OK button 53, a cancel button 54, and an indication that the paper size is inappropriate.
  • the CPU 11 accepts a user operation for each of the displayed buttons.
  • the message 55 is information indicating the determination result of the determination by S106 and S107.
  • the preview image 51 is an image showing that the paper information included in the print settings is unsuitable for printing based on a print instruction. For example, an image showing a relative relationship between the entire paper and the image, or a paper size or an image size. The image shown with the print image is applicable.
  • the frame 511 indicating the paper size of the print setting and the print image 512 of the image size are displayed in an overlapping manner, and the unprinted range of the print image 512 is displayed with diagonal lines. ing. The range that is not printed may not be displayed.
  • the image size of the printed image is larger than the paper size, the image will not fit on the paper, so when printing, the image will protrude from the paper, and there is a high possibility that the printing will not be intended by the user. Further, even if the image size is smaller than the paper size, if the difference is out of the predetermined range, the margin becomes too large and there is a high possibility that the waste of paper becomes large. In these cases, the CPU 11 determines that the paper information is unsuitable for printing.
  • the CPU 11 may determine that it is appropriate.
  • the auxiliary program 42 compares the vertical size (also referred to as the length in the unwinding direction of the roll paper and the paper length) among the paper sizes. You don't have to do it. In this case, the auxiliary program 42 may compare only the horizontal size (also referred to as the axial length of the roll paper and the paper width) in S106 and S107.
  • the CPU 11 is designated by S106 or S107. Compare with the image size using the paper information stored in association with the paper tray. When the automatic tray is specified as the paper feed tray in the print settings, the CPU 11 sets the paper information that matches the image size among the paper feed trays included in the printer 2 in S106 and S107. It may be determined whether or not there is a paper feed tray.
  • the CPU 11 when it is determined that the image size of the print image is appropriate for the paper size (S107: NO), the CPU 11 generates a preview image showing the print image and causes the user IF 13 to perform the preview display (S112). ).
  • S112 is an example of the preview process.
  • the preview display screen 60 shown in FIG. 5 includes a preview image 51 showing a print image, a button 52 for receiving an instruction to change print settings, an OK button 53, and a cancel button 54.
  • the preview image 51 of FIG. 5 is an image showing that the paper size and the image size match, and the preview display screen 60 does not include a message indicating that the paper size is inappropriate.
  • the CPU 11 can accept a plurality of types of instructions as the button 52.
  • the CPU 11 receives, for example, an instruction for scaling and an instruction for split printing, as shown in FIG.
  • the print setting includes, for example, a reduction parameter for reducing the image, and an instruction for reducing the image by an instruction for scaling is a change instruction for enabling the reduction parameter.
  • the reduction parameter includes, for example, setting the reduction ratio of the image. If the image size is larger than the paper size and the image does not fit on the paper, for example, if the image size is reduced by accepting a reduction instruction, the possibility that the image fits on the paper size for printing increases. Further, even if the image size is smaller than the paper size, if the difference is large, for example, if the image size is increased by accepting an enlargement instruction, the possibility that the margin becomes smaller increases.
  • the print settings include a division parameter that divides the image into multiple parts
  • the instruction for division printing is a change instruction that enables the division parameter. If the image is divided by accepting the division instruction, each divided image has a smaller image size than the original image, so that the possibility that the image fits in the paper size for printing is increased.
  • the division parameters include, for example, poster printing settings.
  • the CPU 11 determines whether or not the operation to the OK button 53 has been accepted (S113). When it is determined that the operation to the OK button 53 is not accepted (S113: NO), the CPU 11 determines whether or not the instruction to cancel the printing is accepted by the operation to the cancel button 54 (S114). If it is determined that the cancellation instruction is not accepted (S114: NO), the CPU 11 waits until any instruction is accepted.
  • the CPU 11 determines whether or not the instruction for change by the operation to the button 52 has been accepted (S115).
  • the process of receiving a change instruction by operating the button 52 in S115 is an example of the change process.
  • the CPU 11 When it is determined that the change instruction has been accepted (S115: YES), the CPU 11 changes the print setting based on the received instruction, and generates print data again based on the changed print setting (S116).
  • the CPU 11 reads out the intermediate image data stored in A07 of FIG. 2, and newly generates print data based on the changed print settings.
  • the CPU 11 may delete the original print data.
  • the CPU 11 returns to S103, calculates the image size of the print image based on the newly generated print data, and compares it with the paper size of the print setting again. Then, when it is determined that the newly generated print data is unsuitable, the CPU 11 displays the preview display screen 50 again. On the other hand, if it is determined that the product is suitable, the CPU 11 displays the preview display screen 60.
  • the CPU 11 accepts a change instruction in any display. By making a judgment again based on the changed print setting and accepting the change of the print setting until it is judged to be appropriate, it is possible to surely avoid printing unintended by the user.
  • the CPU 11 determines that printing is performed (S121) and determines the paper information. End the process. After confirming the print image by the preview display, the print data is transmitted to the printer based on the instruction by the user, so that there is an increased possibility that printing unintended by the user can be avoided.
  • the auxiliary program 42 determines that printing is performed by the paper information determination process of A21 (alt: [print])
  • the auxiliary program 42 transmits print data and a command instructing print execution to the printer 2 (A23).
  • the printer 2 that has received the print data and the command instructing the print execution prints an image of the print data based on the received command (A24). This produces a printed matter.
  • the auxiliary program 42 further notifies the general-purpose print program 41 that the transmission of print data has been completed.
  • the auxiliary program 42 passes the information for canceling the print job to the general-purpose print program 41 (A25).
  • A25 is an example of the cancellation process.
  • the general-purpose print program 41 cancels the print job based on the print instruction received in A04 and ends the print process.
  • the auxiliary program 42 may delete the generated print data.
  • the auxiliary program 42 deletes the intermediate image data stored in A07 (A31).
  • the intermediate image data may be deleted before A23 or A25.
  • the auxiliary program 42 of the present embodiment when the CPU 11 of the PC 1 gives a print instruction to the general-purpose print program 41, the paper information included in the print setting is given to the print instruction. Determines suitability for printing based on. If it is determined to be unsuitable, the CPU 11 causes the user IF 13 to display a preview image showing a print image indicating that the paper information of the current print setting is unsuitable for printing based on the print instruction. As a result, the user can easily notice the mismatch of the paper information, and it can be expected that the user changes the setting of the paper. As a result, the possibility of avoiding unintended printing by the user increases.
  • the device connected to the PC 1 is not limited to a printer, and may be a device having a printing function such as a multifunction device, a copying machine, or a fax machine.
  • the number of printers connected to the PC 1 is not limited to the example shown in the figure, and may be two or more.
  • the example of the illustrated display screen is an example, and is not limited to this.
  • the button for accepting printing or canceling may not be provided.
  • the auxiliary program 42 may accept only the change instruction in the preview image that is determined to be unsuitable and displayed.
  • the auxiliary program 42 determines that the printer 2 is appropriate regardless of the comparison result, displays the preview image, and then transfers the print data to the printer 2. You may send it. Even in this case, the user can cancel the printing on the printer 2 by checking the preview image.
  • the general-purpose print program 41 may generate the print data.
  • the auxiliary program 42 may store the intermediate image data in A07 and then pass the intermediate image data to the general-purpose print program 41 to generate print data.
  • the print data generated by the general-purpose print program 41 is print data in a format that can be used for printing by various printers, and is, for example, PWGRaster data or PDF data. If rasterization is performed by the general-purpose printing program 41, the processing of the auxiliary program 42 is small, the processing time is expected to be avoided, and the program size of the auxiliary program 42 can be suppressed.
  • the paper information includes the paper size information and the paper type information, but either one may be used. Further, the paper information may include information other than the paper size information and the paper type information. Further, in this embodiment, both the determination by comparing the paper information of the print setting and the paper information of the printer 2 and the determination by comparing the image size of the print data and the paper size of the print setting are performed, and both are appropriate. However, the suitability may be determined based on the comparison result of only one of them.
  • S102 of the paper information determination process it is determined whether or not to be the determination target depending on the paper size and the paper type, but this determination may not be performed. That is, all print instructions may be subject to determination regardless of the paper size or paper type.
  • the image size of the printed image is calculated based on the generated print data, but the image size of the assumed raster image may be obtained from the intermediate image data before rasterization.
  • the auxiliary program 42 may generate print data when it is determined to be printed by the paper information determination process.
  • the print image including the image instead of the print image including the image, only the frame indicating the image size or the paper size may be displayed in the preview. Even if only the frame is displayed, the size relationship can be grasped, and the possibility of avoiding unintended printing by the user increases.
  • auxiliary program 42 may have another role.
  • the program that executes the processing of this embodiment is not limited to the auxiliary program 42, and may be any program that receives instructions from the OS 21 or the general-purpose printing program 41 when printing using the general-purpose printing program 41.
  • a print workflow application Print workflow
  • Microsoft whose specifications have been released by Microsoft may be used.
  • the execution timing of the auxiliary program 42 is not limited to the example of the embodiment.
  • the execution instruction may be received directly from the OS 21, or the auxiliary program 42 may be resident.
  • the auxiliary program 42 may perform the above-mentioned operation in response to the execution command.
  • the plurality of processes in any plurality of steps can be arbitrarily changed in the execution order or executed in parallel as long as the processing contents do not conflict with each other.
  • the process disclosed in the embodiment may be executed by a single CPU, a plurality of CPUs, hardware such as an ASIC, or a combination thereof. Further, the process disclosed in the embodiment can be realized in various aspects such as a recording medium or a method in which a program for executing the process is recorded.

Abstract

The present invention provides an information processing device into which an OS-standard general-use printing program has been incorporated, wherein unintended paper-based printing by a user is reduced. According to an auxiliary program 42, a CPU 11 of a PC 1 acquires printing data, representing an image to be printed as a result of a printing instruction, and paper information, which is information regarding printing paper used in printing as a result of the printing instruction, when the printing instruction, which is output from an editing application 43 and causes a printer 2 to print the image, is present in a general-use printing program 41 that has been incorporated ahead of time into an OS 21. The CPU 11 additionally causes a user interface 13 to display a preview image, which indicates the layout of the image to be printed on the printing paper, on the basis of the paper information and the printing data.

Description

サポートプログラムSupport program
 本明細書に開示される技術分野は、プリンタの制御をサポートするサポートプログラムに関する。 The technical fields disclosed herein relate to support programs that support printer control.
 パーソナルコンピュータ等の情報処理装置からプリンタを制御する技術として、プリンタドライバによって印刷データを生成し、その印刷データをプリンタに送信する前にプレビュー表示を行う構成が広く知られている(例えば、特許文献1)。プリンタドライバは、プリンタのメーカから提供され、そのプリンタが有する各種の機能に対応しており、そのプリンタを十分に利用することができる。 As a technique for controlling a printer from an information processing device such as a personal computer, a configuration in which print data is generated by a printer driver and a preview is displayed before the print data is transmitted to the printer is widely known (for example, Patent Documents). 1). The printer driver is provided by the manufacturer of the printer, supports various functions of the printer, and can fully utilize the printer.
特開2015-111449号公報Japanese Unexamined Patent Publication No. 2015-11149
 近年、前述したプリンタドライバを利用せず、オペレーティングシステム(OS)に標準に組み込まれている印刷プログラムによってプリンタを制御する技術が実用化されている。この技術では、OSがプリンタとOS標準の印刷プログラムとの関連付けを行い、以後、そのプリンタに対する印刷指示を受け付けた場合に、プリンタドライバを用いずに、OS標準の印刷プログラムによる印刷が可能になる。 In recent years, a technique for controlling a printer by a print program built into an operating system (OS) as a standard without using the above-mentioned printer driver has been put into practical use. In this technology, when the OS associates a printer with an OS standard print program and subsequently receives a print instruction for the printer, printing by the OS standard print program becomes possible without using a printer driver. ..
 前述したOS標準の汎用印刷プログラムによる印刷であっても、プレビュー表示を行うことが可能である。しかしながら、プレビュー表示は、ユーザに印刷対象の画像を確認させ得るものの、プリンタにセットされた用紙のサイズを考慮した印刷結果を確認させるものではない。そのため、画像が用紙からはみ出す等、印刷してからユーザの意図しない印刷結果となったことに気付くことがある。 It is possible to display a preview even when printing with the OS standard general-purpose printing program described above. However, although the preview display can allow the user to confirm the image to be printed, it does not allow the user to confirm the print result in consideration of the size of the paper loaded in the printer. Therefore, it may be noticed that the printing result is not intended by the user after printing, such as the image sticking out of the paper.
 本明細書は、OS標準の汎用印刷プログラムが組み込まれた情報処理装置において、用紙に基づくユーザの意図しない印刷を低減する技術を開示する。 This specification discloses a technique for reducing unintended printing by a user based on paper in an information processing apparatus incorporating an OS standard general-purpose printing program.
 上述した課題の解決を目的としてなされたサポートプログラムは、情報処理装置のコンピュータによって実行可能であり、前記情報処理装置と接続するプリンタに対応するサポートプログラムであって、前記コンピュータに、前記情報処理装置に組み込まれているアプリケーションプログラムから出力された印刷指示であって、前記情報処理装置のオペレーティングシステムにあらかじめ組み込まれた汎用印刷プログラムに対して画像の印刷を前記プリンタに行わせる前記印刷指示があった場合に、前記印刷指示により印刷に用いられる印刷用紙の情報である印刷用紙情報を取得する用紙情報取得処理と、前記印刷指示により印刷される画像を示す印刷画像データを取得する画像データ取得処理と、前記用紙情報取得処理にて取得した前記印刷用紙情報と、前記画像データ取得処理にて取得した前記印刷画像データと、に基づき、前記印刷用紙に対する前記印刷される画像の配置を示すプレビュー画像を、前記情報処理装置のユーザインタフェースを用いて表示するプレビュー処理と、を実行させる、ことを特徴としている。 The support program made for the purpose of solving the above-mentioned problems is a support program that can be executed by the computer of the information processing apparatus and corresponds to the printer connected to the information processing apparatus, and the information processing apparatus is attached to the computer. There was a print instruction output from an application program embedded in the printer, which causes the printer to print an image to a general-purpose print program preliminarily incorporated in the operating system of the information processing apparatus. In this case, a paper information acquisition process for acquiring print paper information which is information on the print paper used for printing according to the print instruction, and an image data acquisition process for acquiring print image data indicating an image to be printed according to the print instruction. , A preview image showing the arrangement of the printed image on the printing paper based on the printing paper information acquired by the paper information acquisition process and the printed image data acquired by the image data acquisition process. It is characterized in that a preview process for displaying using the user interface of the information processing apparatus is executed.
 本明細書に開示されるサポートプログラムによれば、情報処理装置は、汎用印刷プログラムに対する印刷指示があった際に、印刷指示により印刷に用いられる印刷用紙の情報である印刷用紙情報と、印刷される画像を示す印刷画像データと、を取得し、印刷用紙に対する印刷される画像の配置を示すプレビュー画像を表示する。これにより、ユーザが用紙と画像との配置の不具合に気付きやすく、ユーザが用紙についての設定変更を行うことが期待できる。その結果として、ユーザの意図しない印刷を回避できる可能性が高まる。 According to the support program disclosed in the present specification, when a printing instruction is given to a general-purpose printing program, the information processing apparatus is printed with printing paper information which is information on the printing paper used for printing according to the printing instruction. The print image data indicating the image to be printed is acquired, and a preview image showing the arrangement of the image to be printed on the printing paper is displayed. As a result, the user can easily notice the problem of the arrangement of the paper and the image, and it can be expected that the user changes the setting of the paper. As a result, the possibility of avoiding unintended printing by the user increases.
 上記サポートプログラムが組み込まれた情報処理装置、サポートプログラムを格納するコンピュータにて読取可能な記憶媒体、及びサポートプログラムの機能を実現するための制御方法も、新規で有用である。 An information processing device incorporating the above support program, a storage medium that can be read by a computer that stores the support program, and a control method for realizing the functions of the support program are also new and useful.
 本明細書に開示される技術によれば、OS標準の汎用印刷プログラムが組み込まれた情報処理装置において、用紙に基づくユーザの意図しない印刷を低減する技術が実現される。 According to the technique disclosed in the present specification, a technique for reducing unintended printing by a user based on paper is realized in an information processing apparatus incorporating an OS standard general-purpose printing program.
PCの電気的構成の概略を示すブロック図である。It is a block diagram which shows the outline of the electric structure of a PC. 各プログラムによる印刷動作の手順の例を示すシーケンス図である。It is a sequence diagram which shows the example of the procedure of the printing operation by each program. 用紙情報判定処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the paper information determination processing. プレビュー表示画面の例を示す説明図である。It is explanatory drawing which shows the example of the preview display screen. プレビュー表示画面の例を示す説明図である。It is explanatory drawing which shows the example of the preview display screen.
 以下、本形態のサポートプログラムを利用するパーソナルコンピュータ(以下、「PC」とする)について、添付図面を参照しつつ詳細に説明する。本明細書は、印刷機能を有するプリンタに接続されるPCにて実行されるサポートプログラムを開示する。 Hereinafter, a personal computer (hereinafter referred to as “PC”) that uses the support program of this embodiment will be described in detail with reference to the attached drawings. This specification discloses a support program executed by a PC connected to a printer having a printing function.
 本形態のPC1は、図1に示すように、CPU11と、メモリ12と、を含むコントローラ10を備えている。PC1は、情報処理装置の一例である。CPU11は、コンピュータの一例である。また、PC1は、ユーザインタフェース(以下、「ユーザIF」とする)13と、通信インタフェース(以下、「通信IF」とする)14と、を備え、これらがコントローラ10に電気的に接続されている。なお、図1中のコントローラ10は、PC1の制御に利用されるハードウェアやソフトウェアを纏めた総称であって、実際にPC1に存在する単一のハードウェアを表すとは限らない。 As shown in FIG. 1, the PC 1 of the present embodiment includes a controller 10 including a CPU 11 and a memory 12. PC1 is an example of an information processing device. The CPU 11 is an example of a computer. Further, the PC 1 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. .. The controller 10 in FIG. 1 is a general term for hardware and software used for controlling the PC 1, and does not necessarily represent a single hardware that actually exists in the PC 1.
 CPU11は、メモリ12から読み出したプログラムに従って、また、ユーザの操作に基づいて、各種の処理を実行する。メモリ12には、各種のアプリケーションプログラム(以下、「アプリ」とする)を含む各種のプログラムや各種のデータが記憶されている。メモリ12は、各種の処理が実行される際の作業領域としても利用される。CPU11が備えるバッファも、メモリの一例である。なお、メモリ12の一例は、PC1に内蔵されるROM、RAM、HDD等に限らず、CPU11が読み取り可能かつ書き込み可能なストレージ媒体、例えば、CD-ROM、DVD-ROM等の記録媒体であっても良い。 The CPU 11 executes various processes according to the program read from the memory 12 and based on the user's operation. Various programs including various application programs (hereinafter referred to as "applications") and various data are stored in the memory 12. The memory 12 is also used as a work area when various processes are executed. The buffer included in the CPU 11 is also an example of the memory. An example of the memory 12 is not limited to the ROM, RAM, HDD, etc. built in the PC 1, but is a storage medium that can be read and written by the CPU 11, such as a recording medium such as a CD-ROM or a DVD-ROM. Is also good.
 ユーザIF13は、ユーザに情報を報知するための画面を表示するハードウェアと、ユーザによる操作を受け付けるハードウェアと、を含む。なお、ユーザIF13は、情報を表示可能なディスプレイと、入力受付機能を有するマウスやキーボード等と、の組であっても良いし、表示機能と入力受付機能とを備えるタッチパネルであっても良い。 The user IF 13 includes hardware that displays a screen for notifying the user of information and hardware that accepts operations by the user. The user IF 13 may be a set of a display capable of displaying information and a mouse, keyboard, or the like having an input reception function, or may be a touch panel having a display function and an input reception function.
 通信IF14は、プリンタ2等の外部装置と通信を行うためのハードウェアを含む。通信IF14の通信規格は、イーサネット(登録商標)、Wi-Fi(登録商標)、USBなどである。PC1は、複数の通信規格に対応する複数の通信IF14を備えていてもよい。 The communication IF 14 includes hardware for communicating with an external device such as a printer 2. The communication standard of the communication IF14 is Ethernet (registered trademark), Wi-Fi (registered trademark), USB and the like. The PC 1 may include a plurality of communication IFs 14 corresponding to a plurality of communication standards.
 PC1のメモリ12には、図1に示すように、汎用印刷プログラム41を含むオペレーティングシステム(以下、「OS」とする)21と、補助プログラム42と、編集アプリ43と、が記憶されている。補助プログラム42は、サポートプログラムの一例である。編集アプリ43は、アプリケーションプログラムの一例である。OS21は、例えば、Windows(登録商標)、macOS(登録商標)、Linux(登録商標)、iOS(登録商標)、Android(登録商標)である。 As shown in FIG. 1, the memory 12 of the PC 1 stores an operating system (hereinafter referred to as “OS”) 21 including a general-purpose printing program 41, an auxiliary program 42, and an editing application 43. The auxiliary program 42 is an example of a support program. The editing application 43 is an example of an application program. OS21 is, for example, Windows (registered trademark), macOS (registered trademark), Linux (registered trademark), iOS (registered trademark), Android (registered trademark).
 汎用印刷プログラム41は、ユーザの指示に基づいて、プリンタ2等の各種のプリンタに印刷を実行させるためのOS標準のプログラムである。本形態の汎用印刷プログラム41は、印刷対象の画像データに基づいて、中間画像データを生成する機能を含むプログラムである。 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's instruction. The general-purpose printing program 41 of the present embodiment is a program including a function of generating intermediate image data based on the image data to be printed.
 汎用印刷プログラム41は、各種のプリンタのベンダによって提供される複数種類のモデルのプリンタが共通に利用できる機能をサポートしている。汎用印刷プログラム41は、各種のプリンタが固有に備える機能の全てに対応するものではなく、サポートする機能は汎用的なものに限られる。 The general-purpose printing program 41 supports functions that can be commonly used by printers of a plurality of types of models provided by vendors of various printers. The general-purpose printing program 41 does not correspond to all the functions unique to various printers, and the supporting functions are limited to general-purpose ones.
 補助プログラム42は、汎用印刷プログラム41の処理に付随してOS21からの指示に基づいて処理を実行するプログラムまたはプログラム群であり、対象のハードウェアの制御をサポートするアプリである。本形態の補助プログラム42は、PC1に接続されているプリンタ2のモデルに対応するものであり、例えば、汎用印刷プログラム41を使用してプリンタ2に印刷を実行させる指示を受け付けた場合に、汎用印刷プログラム41から起動される。補助プログラム42は、例えば、ハードウェアサポートアプリ(略称、HSA)と呼ばれる。 The auxiliary program 42 is a program or a group of programs that execute the processing based on the instruction from the OS 21 accompanying 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 of this embodiment corresponds to the model of the printer 2 connected to the PC 1. For example, when the general-purpose printing program 41 is used to receive an instruction to cause the printer 2 to perform printing, the general-purpose program 42 corresponds to the general-purpose printing program 42. It is started from the print program 41. The auxiliary program 42 is called, for example, a hardware support application (abbreviation, HSA).
 補助プログラム42は、汎用印刷プログラム41から複数種の命令を受け付け可能であり、受け付けた命令に基づいて、各種の処理を実行する。なお、補助プログラム42は、それぞれが実行命令を受け付ける複数のプログラムの組み合わせであっても良いし、1つのプログラムであって命令に応じてそれぞれ異なる処理を実行できるプログラムであっても良い。 The auxiliary program 42 can accept a plurality of types of instructions from the general-purpose printing program 41, and executes various processes based on the accepted instructions. The auxiliary program 42 may be a combination of a plurality of programs, each of which receives an execution instruction, or may be a single program that can execute different processes according to the instruction.
 補助プログラムは、プリンタのベンダによってプリンタのタイプごとに用意されるプログラムであっても良い。例えば、インクジェットプリンタ用の補助プログラムやレーザプリンタ用の補助プログラムが、それぞれ用意されても良い。PC1のOS21は、例えば、新たなプリンタがPC1に接続された場合、接続されたプリンタのタイプに応じて、適切な補助プログラムをサーバ等からダウンロードして自装置に組み込む。そして、OS21は、組み込んだ補助プログラムの識別情報を新たに接続されたプリンタの識別情報に対応付けて、メモリ12に記憶させる。なお、プリンタのタイプごとに限らず、プリンタのモデルごとやプリンタのモデルのシリーズごとに用意される補助プログラムが有っても良い。 The auxiliary program may be a program prepared for each printer type by the printer vendor. For example, an auxiliary program for an inkjet printer and an auxiliary program for a laser printer may be prepared respectively. For example, when a new printer is connected to the PC1, the OS 21 of the PC 1 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 OS 21 associates the identification information of the incorporated auxiliary program with the identification information of the newly connected printer and stores it in the memory 12. It should be noted that there may be an auxiliary program prepared not only for each printer type but also for each printer model or each printer model series.
 編集アプリ43は、例えば、画像データや文書データの作成や編集を行うためのアプリである。編集アプリ43は、例えば、マイクロソフト(登録商標)製のワードやパワーポイントなどであっても良いし、プリンタ2のベンダから提供されるアプリであっても良い。編集アプリ43は、プリンタ2に所定の動作を行わせる指示を含むユーザ操作を受け付ける。具体的には、編集アプリ43は、ユーザIF13を介して、例えば、プリンタ2に印刷を実行させる印刷実行指示を受け付ける。 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, a word or PowerPoint manufactured by Microsoft (registered trademark), or may be an application provided by the vendor of the printer 2. The editing application 43 accepts a user operation including an instruction to cause the printer 2 to perform a predetermined operation. Specifically, the editing application 43 receives, for example, a print execution instruction to cause the printer 2 to execute printing via the user IF 13.
 本形態のプリンタ2は、印刷機能を有する装置である。PC1は、通信IF14を介して、プリンタ2と通信可能である。プリンタ2は、例えば、PC1等から印刷データを受信して、受信した印刷データに基づく印刷を実行する。 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, for example, a PC 1 or the like, and executes printing based on the received print data.
 次に、本形態の補助プログラム42の動作を含む印刷の手順について、図2のシーケンス図を参照して説明する。図2は、編集アプリ43等の印刷指示を受け付けるアプリにて、汎用印刷プログラム41を使用してプリンタ2に印刷させる印刷実行指示を受け付けた場合であって、プリンタ2に対応する補助プログラム42がPC1に組み込まれている場合の動作について示している。 Next, the printing procedure including the operation of the auxiliary program 42 of this embodiment will be described with reference to the sequence diagram of FIG. FIG. 2 shows a case where an application such as an editing application 43 that accepts a print instruction receives a print execution instruction to be printed by the printer 2 using the general-purpose print program 41, and the auxiliary program 42 corresponding to the printer 2 receives the print execution instruction. The operation when it is incorporated in PC1 is shown.
 なお、本形態における処理およびフローチャートの各処理ステップは、基本的に、補助プログラム42などのプログラムに記述された命令に従ったCPU11の処理を示す。CPU11による処理は、OS21のAPIを用いたハードウェア制御も含む。本明細書では、OS21の詳細な記載を省略して各プログラムの動作を説明する。また、「取得」は要求を必須とはしない概念で用いる。 Note that each processing step of the processing and the flowchart in this embodiment basically indicates the processing of the CPU 11 according to the instruction described in the program such as the auxiliary program 42. The processing by the CPU 11 also includes hardware control using the API of the OS 21. In this specification, the operation of each program will be described by omitting the detailed description of the OS 21. In addition, "acquisition" is used as a concept that does not require a request.
 編集アプリ43は、ユーザの指示に基づいて、文章や図表等の作成や編集を受け付ける。編集アプリ43は、選択中の文章等の印刷に関する指示を受け付けると(A01)、印刷設定等を受け付ける印刷画面をユーザIF13に表示する(A02)。編集アプリ43は、印刷画面にて、例えば、印刷実行指示、基本的な印刷設定の指示、詳細な印刷設定の受け付け開始の指示を受け付ける。 The editing application 43 accepts the creation and editing of sentences, charts, etc. based on the user's instructions. When the editing application 43 receives an instruction regarding printing of the selected text or the like (A01), the editing application 43 displays a print screen for receiving the print setting or the like on the user IF 13 (A02). The editing application 43 receives, for example, a print execution instruction, a basic print setting instruction, and an instruction to start accepting detailed print settings on the print screen.
 編集アプリ43は、表示中の印刷画面にてプリンタ2が選択された状態で、ユーザによる印刷実行指示を受け付けると(A03)、受け付けた印刷実行指示の情報をOS21に渡す。OS21は、汎用印刷プログラム41を使用する印刷実行指示を受け付けた場合、汎用印刷プログラム41を実行させ、汎用印刷プログラム41に印刷指示の情報を渡す(A04)。汎用印刷プログラム41は、印刷指示の情報として、例えば、印刷させるプリンタを示す情報、アプリにて設定された印刷設定を示す情報、印刷対象となる画像データを示す情報、を取得できる。印刷設定には、用紙情報が含まれる。印刷設定に含まれる用紙情報には、一例として、用紙サイズの情報と用紙種の情報が含まれる。 When the printer 2 is selected on the print screen being displayed and the user receives a print execution instruction (A03), the editing application 43 passes the received print execution instruction information to the OS 21. When the OS 21 receives a print execution instruction using the general-purpose print program 41, the OS 21 executes the general-purpose print program 41 and passes the print instruction information to the general-purpose print program 41 (A04). The general-purpose print program 41 can acquire, for example, information indicating a printer to be printed, information indicating print settings set by an application, and information indicating image data to be printed, as information for printing instructions. The print settings include paper information. The paper information included in the print settings includes, for example, paper size information and paper type information.
 汎用印刷プログラム41は、受け取った印刷指示の情報に含まれる画像データの形式を中間画像データの形式に変換することで中間画像データを生成し(A05)、中間画像データを含む印刷ジョブを生成する。編集アプリ43から渡される画像データは種々のタイプのものであり、汎用印刷プログラム41は、受け取った画像データを、印刷データの生成に適した中間画像データに変換する。なお、印刷指示に含まれる画像データが印刷データの生成に適したデータであれば、中間画像データの生成を省略し、そのまま中間画像データとしても良い。汎用印刷プログラム41が生成する中間画像データは、例えば、XPSデータである。 The general-purpose print 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 the intermediate image data (A05), and generates a print job including the intermediate image data. .. The image data passed from the editing application 43 is of various types, and the general-purpose printing program 41 converts the received image data into intermediate image data suitable for generating print data. If the image data included in the print instruction is data suitable for generating the print data, the generation of the intermediate image data may be omitted and the intermediate image data may be used as it is. The intermediate image data generated by the general-purpose printing program 41 is, for example, XPS data.
 汎用印刷プログラム41は、印刷指示にて選択されている装置がプリンタ2であって、プリンタ2に対応する補助プログラム42がメモリ12に記憶されていることから、補助プログラム42に実行指示を出力する(A06)。汎用印刷プログラム41は、実行指示によって、補助プログラム42を動作させ、生成した中間画像データを補助プログラム42に渡す。なお、A06では、中間画像データとともに印刷設定の情報も補助プログラム42に渡される。補助プログラム42が汎用印刷プログラム41から受け取る印刷設定の情報に含まれる用紙情報は、第1用紙情報の一例である。A06にて補助プログラムに渡される用紙情報には、用紙サイズの情報と用紙種の情報が含まれる。なお、汎用印刷プログラム41は、この用紙情報の一部または全部を中間画像データに含めるようにして補助プログラム42に渡しても良い。 The general-purpose print program 41 outputs an execution instruction to the auxiliary program 42 because 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. (A06). The general-purpose printing program 41 operates the auxiliary program 42 according to the execution instruction, and passes the generated intermediate image data to the auxiliary program 42. In A06, the print setting information is also passed to the auxiliary program 42 together with the intermediate image data. The paper information included in the print setting information received by the auxiliary program 42 from the general-purpose print program 41 is an example of the first paper information. The paper information passed to the auxiliary program in A06 includes paper size information and paper type information. The general-purpose printing program 41 may pass a part or all of this paper information to the auxiliary program 42 so as to be included in the intermediate image data.
 補助プログラム42は、A06にて汎用印刷プログラム41から受け取った実行指示に基づいて、補助プログラム42が使用できるメモリ12内の使用可能領域に、中間画像データを一旦記憶する(A07)。さらに、補助プログラム42は、中間画像データに基づくラスタライズを行い、印刷対象の画像を示す印刷データを生成する(A08)。A08にて生成される印刷データは、プリンタ2にて印刷に使用できる形式のデータであり、例えば、プリンタ2のモデルに専用のPDLデータである。印刷データは、ラスタ画像の一例である。A08にて生成される印刷データは、印刷画像データの一例であり、A08は、画像データ取得処理の一例である。 The auxiliary program 42 temporarily stores the intermediate image data in the usable area in the memory 12 that can be used by the auxiliary program 42 based on the execution instruction received from the general-purpose print program 41 in A06 (A07). Further, the auxiliary program 42 performs rasterization based on the intermediate image data and generates print data indicating the image to be printed (A08). The print data generated by A08 is data in a format that can be used for printing by the printer 2, and is, for example, PDL data dedicated to the model of the printer 2. The print data is an example of a raster image. The print data generated by A08 is an example of print image data, and A08 is an example of image data acquisition processing.
 プリンタ2に対応する補助プログラム42にてラスタライズすることで、汎用印刷プログラム41にてラスタライズする場合に比較して自由度が大きく、プリンタ2での印刷に適した印刷データが生成される可能性が高い。なお、A08にて生成される印刷データは、プリンタ2のモデル以外のプリンタでの印刷にも使用できる形式のデータであっても良い。 By rasterizing with the auxiliary program 42 corresponding to the printer 2, the degree of freedom is larger than when rasterizing with the general-purpose printing program 41, and there is a possibility that print data suitable for printing with the printer 2 is generated. high. The print data generated by A08 may be data in a format that can be used for printing with a printer other than the model of the printer 2.
 また、補助プログラム42は、通信IF14を介して、プリンタ2から情報を取得する。具体的には、補助プログラム42は、プリンタ2に対して能力情報を要求する取得要求を送信する(A11)。プリンタ2は、PC1等から能力情報を要求する取得要求を受信した場合、自装置の能力を示す能力情報を取得し(A12)、取得した能力情報を、要求を送信した装置に応答する(A13)。プリンタ2から送信される能力情報には、例えば、ステータス情報、消耗品の残量情報、装着されているトレイの情報、トレイごとに設定されている用紙の用紙情報、対応可能な印刷解像度の情報、が含まれる。 Further, the auxiliary program 42 acquires information from the printer 2 via the communication IF 14. Specifically, the auxiliary program 42 transmits an acquisition request requesting capability information to the printer 2 (A11). When the printer 2 receives the acquisition request requesting the capability information from the PC 1 or the like, the printer 2 acquires the capability information indicating the capability of its own device (A12), and responds to the acquired capability information to the device that transmitted the request (A13). ). The capability information transmitted from the printer 2 includes, for example, status information, remaining amount information of consumables, information on the installed tray, paper information on the paper set for each tray, and information on the print resolution that can be supported. , Is included.
 プリンタ2は、例えば、操作パネルを介して、自装置の備える給紙トレイに収容する用紙の用紙情報を受け付け、受け付けた情報を自装置のメモリに記憶している。A12では、プリンタ2は、自装置のメモリから用紙情報を読み出す。プリンタ2のメモリから読み出される用紙情報には、一例として、用紙サイズの情報と用紙種の情報が含まれる。 The printer 2 receives, for example, the paper information of the paper to be stored in the paper feed tray of the own device via the operation panel, and stores the received information in the memory of the own device. In A12, the printer 2 reads the paper information from the memory of its own device. The paper information read from the memory of the printer 2 includes, for example, paper size information and paper type information.
 なお、プリンタ2は、複数の給紙トレイを装着可能であっても良い。プリンタ2が、複数の給紙トレイを備えている場合には、トレイごとに、トレイを示す情報と関連付けて用紙情報を記憶する。そして、プリンタ2は、能力情報として、装着されている全てのトレイについて、トレイごとの用紙情報を応答する。プリンタ2は、トレイに収容されている用紙の用紙サイズを検出するセンサ等を有している場合には、そのセンサ等の出力信号に基づいて、用紙サイズの情報を取得しても良い。 Note that the printer 2 may be capable of mounting a plurality of paper feed trays. When the printer 2 includes a plurality of paper feed trays, the paper information is stored in association with the information indicating the tray for each tray. Then, the printer 2 responds as the capacity information with the paper information for each tray for all the trays mounted. When the printer 2 has a sensor or the like for detecting the paper size of the paper stored in the tray, the paper size information may be acquired based on the output signal of the sensor or the like.
 また、プリンタ2は、受け付けた印刷ジョブに基づいて画像処理を行って、画像処理後のデータに基づいて印刷する機能、例えば、Nin1等の集約印刷、ウォータマーク等の合成印刷、着色剤を節約する節約印刷、を行う機能を有していても良い。プリンタ2にて実行可能な画像処理の機能を有している場合、プリンタ2は、その機能の情報を能力情報として補助プログラム42に渡しても良い。 Further, the printer 2 performs image processing based on the received print job and prints based on the data after the image processing, for example, intensive printing such as Nin1, synthetic printing such as water mark, and saving of a colorant. It may have a function to perform saving printing. When the printer 2 has an image processing function that can be executed, the printer 2 may pass the information of the function to the auxiliary program 42 as the ability information.
 A13によって、補助プログラム42は、プリンタ2の能力情報として、プリンタ2の備えるトレイや印刷用紙の情報を取得する。A13は、プリンタ情報取得処理の一例であり、プリンタ2の能力情報は、プリンタ情報の一例である。プリンタ2の能力情報には、プリンタ2にて印刷に用いられる用紙の情報である用紙情報が含まれる。プリンタ2の能力情報に含まれる用紙情報には、一例として、用紙サイズの情報と用紙種の情報が含まれる。プリンタ2の能力情報に含まれる用紙情報は、第2用紙情報の一例である。 According to A13, the auxiliary program 42 acquires information on the tray and printing paper included in the printer 2 as the capability information of the printer 2. A13 is an example of printer information acquisition processing, and the capability information of printer 2 is an example of printer information. The capability information of the printer 2 includes paper information which is information on the paper used for printing by the printer 2. The paper information included in the capability information of the printer 2 includes, for example, paper size information and paper type information. The paper information included in the capability information of the printer 2 is an example of the second paper information.
 なお、補助プログラム42とプリンタ2との通信は、例えば、MIB(Management Information Baseの略)を使って、補助プログラム42が直接プリンタ2と通信しても良いし、OS21を介して行っても良い。OS21を介して行う場合、補助プログラム42とプリンタ2とは、例えば、IPP(internet printing protocolの略)等のOS21の通信規約に応じた通信を行う。 The communication between the auxiliary program 42 and the printer 2 may be performed by the auxiliary program 42 directly communicating with the printer 2 or via the OS 21 by using, for example, a MIB (abbreviation of Management Information Base). .. When the operation is performed via the OS 21, the auxiliary program 42 and the printer 2 communicate with each other according to the communication rules of the OS 21 such as IPP (abbreviation of internet printing protocol).
 補助プログラム42は、プリンタ2から受信した能力情報に基づいて、プリンタ2に収容されている用紙の情報であるプリンタ用紙情報を、補助プログラム42が使用できるメモリ12内の使用可能領域に記憶する(A14)。補助プログラム42は、プリンタ2から取得した能力情報に含まれる用紙サイズの情報がA4等の定型サイズを示す情報であれば、用紙長さと用紙幅を示す数値に換算して記憶しても良い。 The auxiliary program 42 stores the printer paper information, which is the information of the paper stored in the printer 2, in the usable area in the memory 12 that can be used by the auxiliary program 42, based on the capacity information received from the printer 2. A14). If the paper size information included in the capacity information acquired from the printer 2 is information indicating a standard size such as A4, the auxiliary program 42 may be converted into numerical values indicating the paper length and the paper width and stored.
 なお、汎用印刷プログラム41は、中間画像データの生成前に補助プログラム42を実行させても良い。例えば、A02にて表示した印刷画面にて、編集アプリ43等がユーザによる詳細な印刷設定の編集指示を受け付けた場合にも、汎用印刷プログラム41は、補助プログラム42を実行させても良い。補助プログラム42は、印刷設定の編集指示に対応して実行された場合に、プリンタ2に能力情報を要求しても良い。また、補助プログラム42は、中間画像データを受け取った後、印刷データの生成前に、プリンタ2に能力情報を要求しても良い。いずれの場合であっても、補助プログラム42は、プリンタ2から取得した能力情報に基づいて、メモリ12にプリンタ用紙情報を記憶する。 The general-purpose printing program 41 may execute the auxiliary program 42 before generating the intermediate image data. For example, the general-purpose print program 41 may execute the auxiliary program 42 even when the editing application 43 or the like receives an editing instruction of detailed print settings by the user on the print screen displayed on the A02. The auxiliary program 42 may request the printer 2 for the capability information when it is executed in response to the editing instruction of the print setting. Further, the auxiliary program 42 may request the printer 2 for the capability information after receiving the intermediate image data and before generating the print data. In any case, the auxiliary program 42 stores the printer paper information in the memory 12 based on the capability information acquired from the printer 2.
 そして、補助プログラム42は、用紙情報判定処理を実行する(A21)。用紙情報判定処理は、印刷指示についての印刷設定に含まれる用紙情報を、プリンタ2から取得した用紙情報、または、印刷データに基づく印刷を実行した場合の印刷結果である印刷画像の画像サイズの情報と比較し、用紙の適否を判定する処理である。用紙情報判定処理の手順について、図3のフローチャートを参照して説明する。用紙情報判定処理は、補助プログラム42による処理であり、PC1のCPU11によって実行される。 Then, the auxiliary program 42 executes the paper information determination process (A21). In the paper information determination process, the paper information included in the print settings for the print instruction is the paper information acquired from the printer 2, or the image size information of the print image which is the print result when printing is executed based on the print data. This is a process for determining the suitability of the paper by comparing with. The procedure of the paper information determination process will be described with reference to the flowchart of FIG. The paper information determination process is a process by the auxiliary program 42, and is executed by the CPU 11 of the PC1.
 用紙情報判定処理では、CPU11は、印刷用の用紙の情報である用紙情報を取得する(S101)。用紙情報には、例えば、用紙サイズ、用紙種、の情報が含まれる。S101は、用紙情報取得処理の一例であり、S101にて取得する用紙情報は、印刷用紙情報の一例である。CPU11は、S101にて、例えば、図2のA14にて記憶したプリンタ用紙情報を読み出し、プリンタ用紙情報に基づいて用紙情報を取得する。この場合、CPU11が取得する用紙情報は、プリンタ2に設定されている用紙の情報である。 In the paper information determination process, the CPU 11 acquires paper information which is information on paper for printing (S101). The paper information includes, for example, information such as paper size and paper type. S101 is an example of paper information acquisition processing, and the paper information acquired in S101 is an example of printing paper information. The CPU 11 reads out the printer paper information stored in, for example, A14 in FIG. 2 in S101, and acquires the paper information based on the printer paper information. In this case, the paper information acquired by the CPU 11 is the paper information set in the printer 2.
 なお、CPU11は、プリンタ2から用紙情報を取得できなかった場合、S101にて、図2のA06にて汎用印刷プログラム41から受け取った印刷設定に基づいて、印刷設定に含まれる用紙情報を取得しても良い。この場合、印刷設定に含まれる用紙情報が、印刷用紙情報の一例である。 If the CPU 11 cannot acquire the paper information from the printer 2, the CPU 11 acquires the paper information included in the print settings in S101 based on the print settings received from the general-purpose print program 41 in A06 of FIG. May be. In this case, the paper information included in the print settings is an example of the print paper information.
 そして、CPU11は、取得した用紙情報が判定の実行対象であるか否かを判断する(S102)。印刷用の用紙が、例えば、用紙種が普通紙や再生紙であって、用紙サイズがA4等の定型サイズであれば、サイズが適合しない印刷を行って用紙が無駄になったとしてもユーザの損失は小さい可能性が高い。安価な用紙と想定される場合は画像のはみ出しや印刷のやり直しが許容され易いことから、早期に印刷を完了させて印刷結果を出力する方が好ましい。 Then, the CPU 11 determines whether or not the acquired paper information is the execution target of the determination (S102). If the paper for printing is, for example, plain paper or recycled paper and the paper size is a standard size such as A4, even if the paper is wasted due to printing that does not match the size, the user The loss is likely to be small. If it is assumed that the paper is inexpensive, it is easy to allow the image to protrude and the print to be redone. Therefore, it is preferable to complete the printing at an early stage and output the print result.
 今回の印刷が判定の実行対象ではないと判断した場合(S102:NO)、CPU11は、「印刷」と判定して(S121)、用紙情報判定処理を終了する。CPU11は、用紙種が普通紙または再生紙であって、かつ、用紙サイズがA4、B5等の定型サイズであれば、S102にてNOと判断する。安価な用紙の場合は画像のはみ出しや印刷のやり直しが許容され易いことから、判定対象ではないと判断し、S103以降の処理を行わずに「印刷」と判定することで、早期に印刷結果を出力させることができる。 When it is determined that the current printing is not the execution target of the determination (S102: NO), the CPU 11 determines that it is "printing" (S121), and ends the paper information determination 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 determines NO in S102. In the case of inexpensive paper, it is easy to allow image protrusion and reprinting, so it is judged that it is not a judgment target, and it is judged as "printing" without performing the processing after S103, so that the print result can be printed at an early stage. It can be output.
 一方、印刷用の用紙として、高価格である可能性が高い用紙が指定されている場合、用紙が無駄になることは好ましくないことから、例えば、用紙情報が不適であれば、そのまま印刷することは好ましくない。例えば、用紙種が厚紙、ハガキ、シール用紙、OHP用紙、布等の場合や、用紙サイズがハガキ、封筒等の場合、その用紙は、普通紙または再生紙の定型サイズの用紙に比較して、高価格である可能性が高い。ハガキまたは封筒を示す用紙サイズは、高価値を示す所定のサイズの一例である。また、厚紙、ハガキ、シール用紙、OHP用紙、布を示す用紙種は、高価値を示す所定の種類の一例である。CPU11は、S101にて取得した用紙情報に基づいて、用紙種が普通紙と再生紙とのいずれでもない、または、用紙サイズがA4、A5、B4、B5のいずれでもない場合、S102にてYESと判断する。 On the other hand, when paper that is likely to be expensive is specified as the paper for printing, it is not preferable that the paper is wasted. Therefore, for example, if the paper information is inappropriate, printing is performed as it is. Is not preferable. For example, when the paper type is thick paper, postcard, seal paper, OHP paper, cloth, etc., or when the paper size is postcard, envelope, etc., the paper is compared to plain paper or recycled paper of standard size. It is likely to be expensive. The paper size indicating a postcard or envelope is an example of a predetermined size indicating high value. Further, the paper types indicating thick paper, postcards, sticker paper, OHP paper, and cloth are examples of predetermined types showing high value. Based on the paper information acquired in S101, the CPU 11 determines YES in S102 when the paper type is neither plain paper nor recycled paper, or the paper size is neither A4, A5, B4, or B5. Judge.
 用紙情報が判定の実行対象であると判断した場合(S102:YES)、CPU11は、図2のA08にて生成した印刷データに基づいて、この印刷データに基づく印刷を実行した場合の印刷結果である印刷画像の画像サイズを算出する(S103)。具体的には、CPU11は、印刷データの1ライン分のドット数およびライン数を、それぞれ印刷設定にて指定されている印刷解像度(例えば、ドット/インチで表される値)で割ることで、印刷画像の横サイズおよび縦サイズを算出する。S103にて算出される印刷画像の画像サイズの情報は、画像サイズ情報の一例である。S103は、画像情報取得処理の一例である。 When it is determined that the paper information is the execution target of the determination (S102: YES), the CPU 11 is the print result when the print based on the print data is executed based on the print data generated in A08 of FIG. The image size of a certain printed image is calculated (S103). Specifically, the CPU 11 divides the number of dots and the number of lines for one line of print data by the print resolution (for example, a value represented by dots / inch) specified in the print settings. Calculate the horizontal and vertical sizes of the printed image. The image size information of the printed image calculated in S103 is an example of the image size information. S103 is an example of the image information acquisition process.
 そして、CPU11は、S101にて取得した用紙情報に含まれる用紙サイズと、S103にて算出した印刷画像の画像サイズと、を比較し、印刷画像の画像サイズの方が用紙サイズよりも大きいか否かを判断する(S106)。S106は、判定処理の一例である。CPU11は、例えば、印刷用の用紙サイズとしてA4等の定型サイズが指定されている場合、その用紙サイズの横方向および縦方向のサイズと、S103にて算出した印刷画像の横サイズおよび縦サイズと、をそれぞれ比較する。なお、CPU11は、余白の設定に基づいて、用紙サイズのうちの印刷可能な範囲のサイズと印刷画像の画像サイズとを比較してもよい。印刷データの画像サイズと印刷用の用紙サイズとを比較して適否を判定することで、画像が用紙に収まるか否かを判定でき、その結果として、印刷に対する適否を判定できる。 Then, the CPU 11 compares the paper size included in the paper information acquired in S101 with the image size of the printed image calculated in S103, and determines whether the image size of the printed image is larger than the paper size. Is determined (S106). S106 is an example of the determination process. For example, when a standard size such as A4 is specified as the paper size for printing, the CPU 11 includes the horizontal and vertical sizes of the paper size and the horizontal and vertical sizes of the printed image calculated in S103. , Are compared respectively. The CPU 11 may compare the size of the printable range of the paper size with the image size of the printed image based on the margin setting. By comparing the image size of the print data with the paper size for printing and determining the suitability, it is possible to determine whether or not the image fits on the paper, and as a result, it is possible to determine the suitability for printing.
 印刷画像の画像サイズの方が大きくはないと判断した場合(S106:NO)、CPU11は、画像サイズと用紙サイズとの差が所定範囲外であるか否かを判断する(S107)。S107は、判定処理の一例である。そして、印刷画像の画像サイズの方が大きいと判断した場合(S106:YES)、または、画像サイズの方が用紙サイズよりも小さくても、その差が所定範囲を超えて大きいと判断した場合(S107:YES)、CPU11は、印刷用の用紙と画像との配置を示すプレビュー画像を生成して、ユーザIF13にプレビュー表示を行わせる(S111)。S111は、プレビュー処理の一例である。 When it is determined that the image size of the printed image is not larger (S106: NO), the CPU 11 determines whether or not the difference between the image size and the paper size is out of the predetermined range (S107). S107 is an example of the determination process. Then, when it is determined that the image size of the printed image is larger (S106: YES), or when it is determined that the difference is larger than the predetermined range even if the image size is smaller than the paper size (S106: YES). S107: YES), the CPU 11 generates a preview image showing the arrangement of the printing paper and the image, and causes the user IF 13 to perform the preview display (S111). S111 is an example of the preview process.
 プレビュー表示の例を図4に示す。図4に示すプレビュー表示画面50には、印刷イメージを示すプレビュー画像51と、印刷設定の変更指示を受け付けるボタン52と、OKボタン53と、キャンセルボタン54と、用紙サイズが不適であることを示すメッセージ55と、が含まれる。CPU11は、表示中の各ボタンへのユーザによる操作を受け付ける。メッセージ55は、S106とS107による判定の判定結果を示す情報である。 Figure 4 shows an example of the preview display. The preview display screen 50 shown in FIG. 4 has a preview image 51 showing a print image, a button 52 for receiving an instruction to change print settings, an OK button 53, a cancel button 54, and an indication that the paper size is inappropriate. Message 55 and is included. The CPU 11 accepts a user operation for each of the displayed buttons. The message 55 is information indicating the determination result of the determination by S106 and S107.
 プレビュー画像51は、印刷設定に含まれる用紙情報が印刷指示に基づく印刷に不適であることを示す画像であり、例えば、用紙全体と画像との相対関係を示す画像や、用紙サイズないし画像サイズを印刷イメージとともに示す画像が該当する。図4の例のプレビュー画像51では、例えば、印刷設定の用紙サイズを示す枠511と、画像サイズの印刷イメージ512と、が重ねて表示され、印刷イメージ512のうち印刷されない範囲は斜線で表示されている。なお、印刷されない範囲は、表示されないとしても良い。 The preview image 51 is an image showing that the paper information included in the print settings is unsuitable for printing based on a print instruction. For example, an image showing a relative relationship between the entire paper and the image, or a paper size or an image size. The image shown with the print image is applicable. In the preview image 51 of the example of FIG. 4, for example, the frame 511 indicating the paper size of the print setting and the print image 512 of the image size are displayed in an overlapping manner, and the unprinted range of the print image 512 is displayed with diagonal lines. ing. The range that is not printed may not be displayed.
 印刷画像の画像サイズの方が用紙サイズよりも大きい場合、用紙に画像が収まらないことから、印刷すると画像が用紙からはみ出すことになり、ユーザの意図しない印刷となる可能性が高い。また、画像サイズの方が用紙サイズよりも小さくても、その差が所定範囲外である場合、余白が大きくなりすぎ、用紙の無駄が大きくなる可能性が高い。これらの場合にはCPU11は、用紙情報が印刷に不適であると判定する。 If the image size of the printed image is larger than the paper size, the image will not fit on the paper, so when printing, the image will protrude from the paper, and there is a high possibility that the printing will not be intended by the user. Further, even if the image size is smaller than the paper size, if the difference is out of the predetermined range, the margin becomes too large and there is a high possibility that the waste of paper becomes large. In these cases, the CPU 11 determines that the paper information is unsuitable for printing.
 なお、画像サイズの方が用紙サイズよりも大きくてもその差が僅かであれば、印刷されない部分があっても影響は小さい可能性が高い。あるいは、例えば、余白を小さくする等によって画像の全体が印刷される可能性がある。そこで、画像サイズの方が用紙サイズよりも大きくても、縦サイズと横サイズとのいずれについてもサイズの差が小さい場合、CPU11は、適正と判定してもよい。 Even if the image size is larger than the paper size, if the difference is small, there is a high possibility that the effect will be small even if there are parts that 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 between the vertical size and the horizontal size is small, the CPU 11 may determine that it is appropriate.
 また、例えば、印刷設定に含まれる用紙種がロール紙を示している場合、補助プログラム42は、用紙サイズのうち縦サイズ(ロール紙の巻き出し方向の長さ、用紙長ともいう)の比較は行わなくてもよい。この場合、補助プログラム42は、S106やS107にて、横サイズ(ロール紙の軸方向の長さ、用紙幅ともいう)のみを比較すればよい。 Further, for example, when the paper type included in the print setting indicates roll paper, the auxiliary program 42 compares the vertical size (also referred to as the length in the unwinding direction of the roll paper and the paper length) among the paper sizes. You don't have to do it. In this case, the auxiliary program 42 may compare only the horizontal size (also referred to as the axial length of the roll paper and the paper width) in S106 and S107.
 なお、プリンタ2が複数の給紙トレイを備えている場合であって、印刷設定にて明示的に給紙トレイが指定されている場合には、CPU11は、S106やS107にて、指定されている給紙トレイに関連付けて記憶されている用紙情報を用いて画像サイズとの比較を行う。また、印刷設定にて給紙トレイとして自動トレイが指定されている場合には、CPU11は、S106やS107にて、プリンタ2が備える給紙トレイのうち、画像サイズと一致する用紙情報が設定されている給紙トレイがあるか否かを判断しても良い。 If the printer 2 has a plurality of paper feed trays and the paper feed trays are explicitly specified in the print settings, the CPU 11 is designated by S106 or S107. Compare with the image size using the paper information stored in association with the paper tray. When the automatic tray is specified as the paper feed tray in the print settings, the CPU 11 sets the paper information that matches the image size among the paper feed trays included in the printer 2 in S106 and S107. It may be determined whether or not there is a paper feed tray.
 一方、印刷画像の画像サイズが用紙サイズに対して適正であると判断した場合(S107:NO)、CPU11は、印刷イメージを示すプレビュー画像を生成して、ユーザIF13にプレビュー表示を行わせる(S112)。S112は、プレビュー処理の一例である。 On the other hand, when it is determined that the image size of the print image is appropriate for the paper size (S107: NO), the CPU 11 generates a preview image showing the print image and causes the user IF 13 to perform the preview display (S112). ). S112 is an example of the preview process.
 この場合のプレビュー表示の例を、図5に示す。図5に示すプレビュー表示画面60には、印刷イメージを示すプレビュー画像51と、印刷設定の変更指示を受け付けるボタン52と、OKボタン53と、キャンセルボタン54と、が含まれる。図5のプレビュー画像51は、用紙サイズと画像サイズとが適合していることを示す画像であり、プレビュー表示画面60には、用紙サイズが不適であることを示すメッセージは含まれない。 An example of the preview display in this case is shown in FIG. The preview display screen 60 shown in FIG. 5 includes a preview image 51 showing a print image, a button 52 for receiving an instruction to change print settings, an OK button 53, and a cancel button 54. The preview image 51 of FIG. 5 is an image showing that the paper size and the image size match, and the preview display screen 60 does not include a message indicating that the paper size is inappropriate.
 プレビュー表示画面50、60では、CPU11は、ボタン52として複数種類の指示を受け付け可能である。本形態では、CPU11は、例えば、図4に示すように、拡縮の指示、分割印刷の指示、を受け付ける。印刷設定には、例えば、画像を縮小する縮小パラメータが含まれ、拡縮の指示にて画像を縮小させる指示は、その縮小パラメータを有効にする変更指示である。縮小パラメータには、例えば、画像の縮小割合の設定が含まれる。画像サイズが用紙サイズより大きく、画像が用紙に収まらない場合、例えば、縮小の指示を受け付けることで画像サイズを縮小させれば、印刷用の用紙サイズに収まる可能性が高まる。また、画像サイズが用紙サイズよりも小さくてもその差が大きい場合、例えば、拡大の指示を受け付けることで画像サイズを拡大させれば、余白が小さくなる可能性が高まる。 On the preview display screens 50 and 60, the CPU 11 can accept a plurality of types of instructions as the button 52. In this embodiment, the CPU 11 receives, for example, an instruction for scaling and an instruction for split printing, as shown in FIG. The print setting includes, for example, a reduction parameter for reducing the image, and an instruction for reducing the image by an instruction for scaling is a change instruction for enabling the reduction parameter. The reduction parameter includes, for example, setting the reduction ratio of the image. If the image size is larger than the paper size and the image does not fit on the paper, for example, if the image size is reduced by accepting a reduction instruction, the possibility that the image fits on the paper size for printing increases. Further, even if the image size is smaller than the paper size, if the difference is large, for example, if the image size is increased by accepting an enlargement instruction, the possibility that the margin becomes smaller increases.
 また、印刷設定には、画像を複数に分割する分割パラメータが含まれ、分割印刷の指示は、その分割パラメータを有効にする変更指示である。分割の指示を受け付けることで画像を分割すれば、分割後の各画像は、元の画像よりも画像サイズが小さいことから、印刷用の用紙サイズに収まる可能性が高まる。分割パラメータには、例えばポスター印刷の設定が含まれる。 In addition, the print settings include a division parameter that divides the image into multiple parts, and the instruction for division printing is a change instruction that enables the division parameter. If the image is divided by accepting the division instruction, each divided image has a smaller image size than the original image, so that the possibility that the image fits in the paper size for printing is increased. The division parameters include, for example, poster printing settings.
 CPU11は、OKボタン53への操作を受け付けたか否かを判断する(S113)。OKボタン53への操作を受け付けていないと判断した場合(S113:NO)、CPU11は、キャンセルボタン54への操作によって、印刷をキャンセルする指示を受け付けたか否かを判断する(S114)。キャンセルの指示も受け付けていないと判断した場合(S114:NO)、CPU11は、いずれかの指示を受け付けるまで待機する。 The CPU 11 determines whether or not the operation to the OK button 53 has been accepted (S113). When it is determined that the operation to the OK button 53 is not accepted (S113: NO), the CPU 11 determines whether or not the instruction to cancel the printing is accepted by the operation to the cancel button 54 (S114). If it is determined that the cancellation instruction is not accepted (S114: NO), the CPU 11 waits until any instruction is accepted.
 OKボタン53への操作を受け付けたと判断した場合(S113:YES)、CPU11は、ボタン52への操作による変更の指示を受け付けたか否かを判断する(S115)。S115にて、ボタン52への操作によって変更の指示を受け付ける処理は、変更処理の一例である。 When it is determined that the operation to the OK button 53 has been accepted (S113: YES), the CPU 11 determines whether or not the instruction for change by the operation to the button 52 has been accepted (S115). The process of receiving a change instruction by operating the button 52 in S115 is an example of the change process.
 印刷設定の変更指示をプレビュー表示時に受け付け可能にすることで、ユーザが変更し易い。また、プレビュー表示画面50、60を表示している期間に、プレビュー表示画面50、60にて印刷のキャンセルの指示を受け付けることで、印刷しないことも選択でき、ユーザの選択の自由度が広がる。 It is easy for the user to change the print settings by making it possible to accept the instruction to change the print settings when the preview is displayed. Further, by accepting the instruction to cancel printing on the preview display screens 50 and 60 during the period when the preview display screens 50 and 60 are displayed, it is possible to select not to print, and the degree of freedom of the user's selection is expanded.
 変更指示を受け付けたと判断した場合(S115:YES)、CPU11は、受け付けた指示に基づいて印刷設定を変更し、変更後の印刷設定に基づいて、再度、印刷データを生成する(S116)。CPU11は、図2のA07にて記憶した中間画像データを読み出し、変更後の印刷設定に基づいて、新たに印刷データを生成する。CPU11は、元の印刷データを削除しても良い。 When it is determined that the change instruction has been accepted (S115: YES), the CPU 11 changes the print setting based on the received instruction, and generates print data again based on the changed print setting (S116). The CPU 11 reads out the intermediate image data stored in A07 of FIG. 2, and newly generates print data based on the changed print settings. The CPU 11 may delete the original print data.
 そして、CPU11は、S103に戻り、新たに生成した印刷データに基づいて、印刷画像の画像サイズを算出し、再度、印刷設定の用紙サイズとの比較を行う。そして、新たに生成した印刷データにて不適と判定された場合、CPU11は、再度プレビュー表示画面50を表示する。一方、適合していると判定された場合、CPU11は、プレビュー表示画面60を表示する。CPU11は、いずれの表示でも、変更指示を受け付ける。変更後の印刷設定に基づいて再度判定し、適正と判定されるまで印刷設定の変更を受け付けることで、ユーザの意図しない印刷を確実に回避できる。 Then, the CPU 11 returns to S103, calculates the image size of the print image based on the newly generated print data, and compares it with the paper size of the print setting again. Then, when it is determined that the newly generated print data is unsuitable, the CPU 11 displays the preview display screen 50 again. On the other hand, if it is determined that the product is suitable, the CPU 11 displays the preview display screen 60. The CPU 11 accepts a change instruction in any display. By making a judgment again based on the changed print setting and accepting the change of the print setting until it is judged to be appropriate, it is possible to surely avoid printing unintended by the user.
 OKボタン53への操作を受け付けた際に、ボタン52への操作による変更の指示を受け付けていないと判断した場合(S115:NO)、CPU11は、印刷と判定して(S121)、用紙情報判定処理を終了する。プレビュー表示によって印刷イメージを確認した後に、ユーザによる指示に基づいて、印刷データがプリンタに送信されることから、ユーザの意図しない印刷を回避できる可能性が高まる。 When it is determined that the instruction for change by the operation to the button 52 is not accepted when the operation to the OK button 53 is accepted (S115: NO), the CPU 11 determines that printing is performed (S121) and determines the paper information. End the process. After confirming the print image by the preview display, the print data is transmitted to the printer based on the instruction by the user, so that there is an increased possibility that printing unintended by the user can be avoided.
 一方、図4に示したプレビュー表示画面50または図5に示したプレビュー表示画面60のキャンセルボタン54にてキャンセルの指示を受け付けたと判断した場合(S114:YES)、CPU11は、キャンセルと判定して(S122)、用紙情報判定処理を終了する。 On the other hand, when it is determined that the cancellation instruction has been accepted by the cancel button 54 of the preview display screen 50 shown in FIG. 4 or the preview display screen 60 shown in FIG. 5 (S114: YES), the CPU 11 determines that the cancellation has been received. (S122), the paper information determination process is terminated.
 図2の説明に戻る。補助プログラム42は、A21の用紙情報判定処理にて印刷と判定した場合(alt:〔印刷〕)、印刷データと印刷実行を指示するコマンドとをプリンタ2に送信する(A23)。印刷データと印刷実行を指示するコマンドとを受信したプリンタ2は、受信したコマンドに基づいて、印刷データの画像を印刷する(A24)。これにより、印刷物が生成される。補助プログラム42は、さらに、印刷データの送信を終了したことを汎用印刷プログラム41に通知する。 Return to the explanation in Fig. 2. When the auxiliary program 42 determines that printing is performed by the paper information determination process of A21 (alt: [print]), the auxiliary program 42 transmits print data and a command instructing print execution to the printer 2 (A23). The printer 2 that has received the print data and the command instructing the print execution prints an image of the print data based on the received command (A24). This produces a printed matter. The auxiliary program 42 further notifies the general-purpose print program 41 that the transmission of print data has been completed.
 一方、A21の用紙情報判定処理にてキャンセルと判定した場合(alt:〔キャンセル〕)、補助プログラム42は、印刷ジョブをキャンセルする情報を汎用印刷プログラム41に渡す(A25)。A25は、キャンセル処理の一例である。これにより、汎用印刷プログラム41は、A04にて受け取った印刷指示に基づく印刷ジョブをキャンセルし、印刷の処理を終了する。補助プログラム42は、生成した印刷データを削除してもよい。プレビュー表示にてキャンセルの指示を受け付けることで、ユーザの意図しない印刷を確実に回避できる。 On the other hand, when it is determined to be canceled by the paper information determination process of A21 (alt: [cancel]), the auxiliary program 42 passes the information for canceling the print job to the general-purpose print program 41 (A25). A25 is an example of the cancellation process. As a result, the general-purpose print program 41 cancels the print job based on the print instruction received in A04 and ends the print process. The auxiliary program 42 may delete the generated print data. By accepting the cancellation instruction in the preview display, it is possible to surely avoid printing unintended by the user.
 A23またはA25の後、補助プログラム42は、A07にて記憶した中間画像データを削除する(A31)。補助プログラム42は、用紙情報判定処理を終了したら、A23やA25の前に中間画像データを削除しても良い。 After A23 or A25, the auxiliary program 42 deletes the intermediate image data stored in A07 (A31). When the auxiliary program 42 finishes the paper information determination process, the intermediate image data may be deleted before A23 or A25.
 以上、詳細に説明したように、本形態の補助プログラム42によれば、PC1のCPU11は、汎用印刷プログラム41に対する印刷指示があった際に、印刷設定に含まれる用紙情報について、その印刷指示に基づく印刷に対する適否を判定する。不適と判定した場合、CPU11は、現在の印刷設定の用紙情報が印刷指示に基づく印刷に不適であることを示す印刷イメージを示すプレビュー画像をユーザIF13に表示させる。これにより、ユーザが用紙情報のミスマッチに気付きやすく、ユーザが用紙についての設定変更を行うことが期待できる。その結果として、ユーザの意図しない印刷を回避できる可能性が高まる。 As described above in detail, according to the auxiliary program 42 of the present embodiment, when the CPU 11 of the PC 1 gives a print instruction to the general-purpose print program 41, the paper information included in the print setting is given to the print instruction. Determines suitability for printing based on. If it is determined to be unsuitable, the CPU 11 causes the user IF 13 to display a preview image showing a print image indicating that the paper information of the current print setting is unsuitable for printing based on the print instruction. As a result, the user can easily notice the mismatch of the paper information, and it can be expected that the user changes the setting of the paper. As a result, the possibility of avoiding unintended printing by the user increases.
 なお、本明細書に開示される実施の形態は単なる例示にすぎず、本発明を何ら限定するものではない。従って、本明細書に開示される技術は当然に、その要旨を逸脱しない範囲内で種々の改良、変形が可能である。例えば、PC1に接続される装置は、プリンタに限らず、複合機、複写機、FAX装置、等印刷機能を有する装置であればよい。また、PC1に接続されるプリンタの数は、図示の例に限らず、2台以上でも良い。 It should be noted that the embodiments disclosed in the present specification are merely examples, and do not limit the present invention in any way. Therefore, the techniques disclosed in the present specification can of course be variously improved and modified without departing from the gist thereof. For example, the device connected to the PC 1 is not limited to a printer, and may be a device having a printing function such as a multifunction device, a copying machine, or a fax machine. Further, the number of printers connected to the PC 1 is not limited to the example shown in the figure, and may be two or more.
 また、例えば、図示の表示画面の例はいずれも一例であり、これに限らない。例えば、印刷やキャンセルを受け付けるボタンは、無くても良い。例えば、補助プログラム42は、不適と判定して表示したプレビュー画像では、変更指示のみを受け付けるとしても良い。あるいは、補助プログラム42は、例えば、受信した印刷をキャンセルできる機能をプリンタ2が備えている場合には、比較結果に関わらず適正と判定して、プレビュー画像を表示した後に印刷データをプリンタ2に送信するとしても良い。この場合でも、プレビュー画像を確認することで、ユーザは、プリンタ2にて印刷をキャンセルさせることができる。 Also, for example, the example of the illustrated display screen is an example, and is not limited to this. For example, the button for accepting printing or canceling may not be provided. For example, the auxiliary program 42 may accept only the change instruction in the preview image that is determined to be unsuitable and displayed. Alternatively, for example, when the printer 2 has a function of canceling the received print, the auxiliary program 42 determines that the printer 2 is appropriate regardless of the comparison result, displays the preview image, and then transfers the print data to the printer 2. You may send it. Even in this case, the user can cancel the printing on the printer 2 by checking the preview image.
 また、例えば、補助プログラム42が印刷データを生成する代わりに、汎用印刷プログラム41が印刷データの生成を行っても良い。補助プログラム42は、A07にて中間画像データを記憶した後、中間画像データを汎用印刷プログラム41に渡して印刷データの生成を行わせても良い。汎用印刷プログラム41によって生成される印刷データは、各種のプリンタにて印刷に使用できる形式の印刷データであり、例えば、PWGRasterデータ、または、PDFデータである。汎用印刷プログラム41によってラスタライズするとすれば、補助プログラム42の処理が少なく、処理時間増大の回避が見込まれ、また、補助プログラム42のプログラムサイズが抑えられる。 Further, for example, instead of the auxiliary program 42 generating the print data, the general-purpose print program 41 may generate the print data. The auxiliary program 42 may store the intermediate image data in A07 and then pass the intermediate image data to the general-purpose print program 41 to generate print data. The print data generated by the general-purpose print program 41 is print data in a format that can be used for printing by various printers, and is, for example, PWGRaster data or PDF data. If rasterization is performed by the general-purpose printing program 41, the processing of the auxiliary program 42 is small, the processing time is expected to be avoided, and the program size of the auxiliary program 42 can be suppressed.
 また、本形態では、用紙情報として、用紙サイズの情報と用紙種の情報とを含むとしたが、いずれか一方でも良い。また、用紙情報には、用紙サイズの情報や用紙種の情報以外の情報が含まれていても良い。また、本形態では、印刷設定の用紙情報とプリンタ2の用紙情報との比較による判定と、印刷データの画像サイズと印刷設定の用紙サイズとの比較による判定との両方を行って、いずれも適正である場合に適正と判定するとしたが、いずれか一方のみの比較結果に基づいて適否を判定しても良い。 Further, in this embodiment, the paper information includes the paper size information and the paper type information, but either one may be used. Further, the paper information may include information other than the paper size information and the paper type information. Further, in this embodiment, both the determination by comparing the paper information of the print setting and the paper information of the printer 2 and the determination by comparing the image size of the print data and the paper size of the print setting are performed, and both are appropriate. However, the suitability may be determined based on the comparison result of only one of them.
 また、例えば、本形態では、用紙情報判定処理のS102にて、用紙サイズや用紙種によって、判定対象とするか否かを判断するとしたが、この判断は行わなくても良い。つまり、用紙サイズや用紙種に関わらず、全ての印刷指示を判定対象としても良い。 Further, for example, in the present embodiment, in S102 of the paper information determination process, it is determined whether or not to be the determination target depending on the paper size and the paper type, but this determination may not be performed. That is, all print instructions may be subject to determination regardless of the paper size or paper type.
 また、例えば、本形態では、生成した印刷データに基づいて印刷画像の画像サイズを算出するとしたが、ラスタライズ前の中間画像データから想定するラスタ画像の画像サイズを取得してもよい。その場合には、補助プログラム42は、用紙情報判定処理にて印刷と判定された場合に、印刷データの生成を行うとしても良い。また、その場合、プレビューにて、画像を含む印刷イメージの代わりに、画像サイズや用紙サイズを示す枠のみを表示しても良い。枠のみの表示であっても、大きさの関係は把握可能であり、ユーザの意図しない印刷を回避できる可能性が高まる。 Further, for example, in the present embodiment, the image size of the printed image is calculated based on the generated print data, but the image size of the assumed raster image may be obtained from the intermediate image data before rasterization. In that case, the auxiliary program 42 may generate print data when it is determined to be printed by the paper information determination process. Further, in that case, instead of the print image including the image, only the frame indicating the image size or the paper size may be displayed in the preview. Even if only the frame is displayed, the size relationship can be grasped, and the possibility of avoiding unintended printing by the user increases.
 また、実施の形態では、補助プログラム42の動作として、印刷動作のみを詳細に記載しているが、補助プログラム42は、さらに他の役割を有していても良い。また、本形態の処理を実行するプログラムは、補助プログラム42に限らず、汎用印刷プログラム41を用いた印刷を行う際に、OS21または汎用印刷プログラム41から指示を受け付けるプログラムであればよい。例えば、マイクロソフト社が仕様公開した印刷ワークフロー アプリ(Print workflow)でも良い。 Further, in the embodiment, only the printing operation is described in detail as the operation of the auxiliary program 42, but the auxiliary program 42 may have another role. Further, the program that executes the processing of this embodiment is not limited to the auxiliary program 42, and may be any program that receives instructions from the OS 21 or the general-purpose printing program 41 when printing using the general-purpose printing program 41. For example, a print workflow application (Print workflow) whose specifications have been released by Microsoft may be used.
 また、補助プログラム42の実行タイミングは、実施の形態の例に限らない。例えば、OS21から直接実行指示を受け付けても良いし、常駐される補助プログラム42であっても良い。常駐される場合には、補助プログラム42は、実行命令を受けて前述した動作を行うとすれば良い。 Further, the execution timing of the auxiliary program 42 is not limited to the example of the embodiment. For example, the execution instruction may be received directly from the OS 21, or the auxiliary program 42 may be resident. When resident, the auxiliary program 42 may perform the above-mentioned operation in response to the execution command.
 また、実施の形態に開示されている任意のフローチャートにおいて、任意の複数のステップにおける複数の処理は、処理内容に矛盾が生じない範囲で、任意に実行順序を変更できる、または並列に実行できる。 Further, in any flowchart disclosed in the embodiment, the plurality of processes in any plurality of steps can be arbitrarily changed in the execution order or executed in parallel as long as the processing contents do not conflict with each other.
 また、実施の形態に開示されている処理は、単一のCPU、複数のCPU、ASICなどのハードウェア、またはそれらの組み合わせで実行されてもよい。また、実施の形態に開示されている処理は、その処理を実行するためのプログラムを記録した記録媒体、または方法等の種々の態様で実現することができる。 Further, the process disclosed in the embodiment may be executed by a single CPU, a plurality of CPUs, hardware such as an ASIC, or a combination thereof. Further, the process disclosed in the embodiment can be realized in various aspects such as a recording medium or a method in which a program for executing the process is recorded.
 1 PC
 2 プリンタ
 11 CPU
 13 ユーザIF
1 PC
2 Printer 11 CPU
13 User IF

Claims (13)

  1.  情報処理装置のコンピュータによって実行可能であり、前記情報処理装置と接続するプリンタに対応するサポートプログラムであって、
     前記コンピュータに、
      前記情報処理装置に組み込まれているアプリケーションプログラムから出力された印刷指示であって、前記情報処理装置のオペレーティングシステムにあらかじめ組み込まれた汎用印刷プログラムに対して画像の印刷を前記プリンタに行わせる前記印刷指示があった場合に、
       前記印刷指示により印刷に用いられる印刷用紙の情報である印刷用紙情報を取得する用紙情報取得処理と、
       前記印刷指示により印刷される画像を示す印刷画像データを取得する画像データ取得処理と、
       前記用紙情報取得処理にて取得した前記印刷用紙情報と、前記画像データ取得処理にて取得した前記印刷画像データと、に基づき、前記印刷用紙に対する前記印刷される画像の配置を示すプレビュー画像を、前記情報処理装置のユーザインタフェースを用いて表示するプレビュー処理と、
      を実行させる、
     ことを特徴とするサポートプログラム。
    It is a support program that can be executed by the computer of the information processing device and corresponds to the printer connected to the information processing device.
    To the computer
    The printing instruction output from the application program incorporated in the information processing apparatus, which causes the printer to print an image on a general-purpose printing program preliminarily incorporated in the operating system of the information processing apparatus. When instructed
    Paper information acquisition processing for acquiring printing paper information, which is information on printing paper used for printing according to the printing instruction, and
    An image data acquisition process for acquiring print image data indicating an image to be printed according to the print instruction, and
    Based on the print paper information acquired in the paper information acquisition process and the print image data acquired in the image data acquisition process, a preview image showing the arrangement of the printed image on the print paper is displayed. Preview processing to be displayed using the user interface of the information processing device, and
    To execute,
    A support program that features that.
  2. 請求項1に記載するサポートプログラムであって、
     前記用紙情報取得処理では、
      前記プリンタから前記印刷用紙情報を取得する、
     ことを特徴とするサポートプログラム。
    The support program according to claim 1.
    In the form information acquisition process,
    Acquiring the printing paper information from the printer,
    A support program that features that.
  3. 請求項2に記載するサポートプログラムであって、
     前記用紙情報取得処理では、
      前記プリンタから前記印刷用紙情報を取得できなかった場合、前記印刷指示についての印刷設定に含まれる前記印刷用紙情報を取得する、
     ことを特徴とするサポートプログラム。
    The support program according to claim 2.
    In the form information acquisition process,
    When the printing paper information cannot be acquired from the printer, the printing paper information included in the print settings for the printing instruction is acquired.
    A support program that features that.
  4. 請求項1から請求項3のいずれか1つに記載するサポートプログラムであって、
     前記コンピュータに、
      前記印刷指示があった場合に、
       前記用紙情報取得処理にて取得した前記印刷用紙情報について、前記印刷指示に基づく印刷に対する適否を判定する判定処理を実行させ、
      前記判定処理にて不適と判定した場合に、前記プレビュー処理を実行させ、
      前記プレビュー処理では、前記プレビュー画像と、前記判定処理での判定結果と、を表示する、
     ことを特徴とするサポートプログラム。
    The support program according to any one of claims 1 to 3.
    To the computer
    When the printing instruction is given,
    With respect to the print paper information acquired in the paper information acquisition process, a determination process for determining suitability for printing based on the print instruction is executed.
    When it is determined that the determination process is inappropriate, the preview process is executed.
    In the preview process, the preview image and the determination result in the determination process are displayed.
    A support program that features that.
  5. 請求項4に記載するサポートプログラムであって、
     前記用紙情報取得処理にて取得される前記印刷用紙情報は、用紙サイズの情報であり、
     前記コンピュータに、
      前記印刷指示があった場合に、
       前記印刷指示による印刷対象の画像を示すラスタ画像の画像サイズの情報である画像サイズ情報を、前記ラスタ画像の縦方向のドット数と横方向のドット数と解像度とに基づいて取得する画像情報取得処理を実行させ、
     前記判定処理では、
      前記画像情報取得処理にて取得した前記画像サイズ情報に示される画像サイズと、前記用紙情報取得処理にて取得した前記印刷用紙情報に示される用紙サイズとを比較することで、前記印刷指示に基づく印刷に対する適否を判定する、
     ことを特徴とするサポートプログラム。
    The support program according to claim 4.
    The printing paper information acquired in the paper information acquisition process is paper size information.
    To the computer
    When the printing instruction is given,
    Image information acquisition that acquires image size information, which is image size information of a raster image indicating an image to be printed according to the print instruction, based on the number of dots in the vertical direction, the number of dots in the horizontal direction, and the resolution of the raster image. Execute the process,
    In the determination process,
    By comparing the image size shown in the image size information acquired in the image information acquisition process with the paper size shown in the print paper information acquired in the paper information acquisition process, it is based on the print instruction. Judging the suitability for printing,
    A support program that features that.
  6. 請求項5に記載するサポートプログラムであって、
     前記判定処理では、
      前記画像情報取得処理にて取得した前記画像サイズ情報に示される画像サイズが、前記用紙情報取得処理にて取得した前記印刷用紙情報に示される用紙サイズに収まらない場合、不適と判定する、
     ことを特徴とするサポートプログラム。
    The support program according to claim 5.
    In the determination process,
    If the image size shown in the image size information acquired in the image information acquisition process does not fit in the paper size indicated in the print paper information acquired in the paper information acquisition process, it is determined to be unsuitable.
    A support program that features that.
  7. 請求項6に記載するサポートプログラムであって、
     前記判定処理では、
      前記画像情報取得処理にて取得した前記画像サイズ情報に示される画像サイズが、前記用紙情報取得処理にて取得した前記印刷用紙情報に示される用紙サイズに収まる場合であっても、前記用紙情報取得処理にて取得した前記印刷用紙情報に示される用紙サイズと、前記画像情報取得処理にて取得した前記画像サイズ情報に示される画像サイズと、の差が所定範囲外であった場合に、不適と判定する、
     ことを特徴とするサポートプログラム。
    The support program according to claim 6.
    In the determination process,
    Even if the image size shown in the image size information acquired in the image information acquisition process falls within the paper size indicated in the print paper information acquired in the paper information acquisition process, the paper information acquisition If the difference between the paper size shown in the printing paper information acquired in the process and the image size shown in the image size information acquired in the image information acquisition process is out of the predetermined range, it is considered unsuitable. judge,
    A support program that features that.
  8. 請求項1から請求項7のいずれか1つに記載するサポートプログラムであって、
     前記コンピュータに、
      前記プレビュー処理にて前記プレビュー画像を表示している期間に、前記印刷指示に基づく印刷ジョブをキャンセルするか否かの選択を、前記ユーザインタフェースを用いて受け付け、キャンセルの選択を受け付けた場合、前記印刷ジョブをキャンセルするキャンセル処理を実行させる、
     ことを特徴とするサポートプログラム。
    The support program according to any one of claims 1 to 7.
    To the computer
    When the user interface is used to accept the selection of whether or not to cancel the print job based on the print instruction during the period in which the preview image is displayed in the preview process, and the cancellation selection is accepted, the above. Cancel the print job Execute the cancel process,
    A support program that features that.
  9. 請求項1から請求項8のいずれか1つに記載するサポートプログラムであって、
     前記コンピュータに、
      前記プレビュー処理にて前記プレビュー画像を表示している期間に、前記印刷指示についての印刷設定の変更を、前記ユーザインタフェースを用いて受け付ける変更処理を実行させる、
     ことを特徴とするサポートプログラム。
    The support program according to any one of claims 1 to 8.
    To the computer
    During the period in which the preview image is displayed in the preview process, the change process for accepting the change of the print setting for the print instruction by using the user interface is executed.
    A support program that features that.
  10. 請求項9に記載するサポートプログラムであって、
     前記印刷設定には、前記印刷指示による印刷対象の前記画像を縮小させる縮小パラメータが含まれ、
     前記変更処理では、
      前記印刷設定に含まれる前記縮小パラメータを有効にする変更も受け付ける、
     ことを特徴とするサポートプログラム。
    The support program according to claim 9.
    The print setting includes a reduction parameter for reducing the image to be printed according to the print instruction.
    In the change process,
    It also accepts changes that enable the reduction parameters included in the print settings.
    A support program that features that.
  11. 請求項9または請求項10に記載するサポートプログラムであって、
     前記印刷設定には、前記印刷指示による印刷対象の前記画像を分割させる分割パラメータが含まれ、
     前記変更処理では、
      前記印刷設定に含まれる前記分割パラメータを有効にする変更も受け付ける、
     ことを特徴とするサポートプログラム。
    The support program according to claim 9 or 10.
    The print setting includes a division parameter for dividing the image to be printed according to the print instruction.
    In the change process,
    It also accepts changes that enable the split parameters included in the print settings.
    A support program that features that.
  12. 請求項1から請求項3のいずれか1つに記載するサポートプログラムであって、
     前記用紙情報取得処理にて取得される前記印刷用紙情報は、用紙サイズの情報を含み、
     前記印刷用紙情報に含まれる用紙サイズには、高価値を示す所定のサイズがあり、
     前記用紙情報取得処理にて取得した前記印刷用紙情報に示される用紙サイズが前記所定のサイズであれば、前記コンピュータに前記プレビュー処理を実行させ、
     前記用紙情報取得処理にて取得した前記印刷用紙情報に示される用紙サイズが前記所定のサイズでなければ、前記コンピュータに前記プレビュー処理を実行させない、
     ことを特徴とするサポートプログラム。
    The support program according to any one of claims 1 to 3.
    The printing paper information acquired in the paper information acquisition process includes paper size information.
    The paper size included in the printing paper information includes a predetermined size showing high value.
    If the paper size shown in the print paper information acquired in the paper information acquisition process is the predetermined size, the computer is made to execute the preview process.
    If the paper size shown in the print paper information acquired in the paper information acquisition process is not the predetermined size, the computer is not allowed to execute the preview process.
    A support program that features that.
  13. 請求項1から請求項12のいずれか1つに記載するサポートプログラムであって、
     前記用紙情報取得処理にて取得される前記印刷用紙情報は、用紙種の情報を含み、
     前記印刷用紙情報に含まれる用紙種には、高価値を示す所定の種類があり、
     前記用紙情報取得処理にて取得した前記印刷用紙情報に示される用紙種が前記所定の種類であれば、前記コンピュータに前記プレビュー処理を実行させ、
     前記用紙情報取得処理にて取得した前記印刷用紙情報に示される用紙種が前記所定の種類でなければ、前記コンピュータに前記プレビュー処理を実行させない、
     ことを特徴とするサポートプログラム。
    The support program according to any one of claims 1 to 12.
    The printing paper information acquired in the paper information acquisition process includes information on the paper type, and includes information on the paper type.
    The paper types included in the printing paper information include predetermined types showing high value.
    If the paper type shown in the print paper information acquired in the paper information acquisition process is the predetermined type, the computer is made to execute the preview process.
    If the paper type shown in the print paper information acquired in the paper information acquisition process is not the predetermined type, the computer is not allowed to execute the preview process.
    A support program that features that.
PCT/JP2021/045981 2020-12-24 2021-12-14 Support program WO2022138317A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2020-214616 2020-12-24
JP2020214616A JP2022100567A (en) 2020-12-24 2020-12-24 Support program

Publications (1)

Publication Number Publication Date
WO2022138317A1 true WO2022138317A1 (en) 2022-06-30

Family

ID=82159114

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2021/045981 WO2022138317A1 (en) 2020-12-24 2021-12-14 Support program

Country Status (2)

Country Link
JP (1) JP2022100567A (en)
WO (1) WO2022138317A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001229005A (en) * 2000-02-18 2001-08-24 Ricoh Co Ltd Automatic sheet selecting print processing method and device for the same
JP2004164169A (en) * 2002-11-12 2004-06-10 Seiko Epson Corp Printer, print preview image generator, and print preview image output device
JP2009009363A (en) * 2007-06-28 2009-01-15 Canon Inc Information processor, information processing method, and program
JP2010120231A (en) * 2008-11-19 2010-06-03 Oki Data Corp Print device and print control program
JP2020166350A (en) * 2019-03-28 2020-10-08 ブラザー工業株式会社 Support program, information processing apparatus, and printing method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001229005A (en) * 2000-02-18 2001-08-24 Ricoh Co Ltd Automatic sheet selecting print processing method and device for the same
JP2004164169A (en) * 2002-11-12 2004-06-10 Seiko Epson Corp Printer, print preview image generator, and print preview image output device
JP2009009363A (en) * 2007-06-28 2009-01-15 Canon Inc Information processor, information processing method, and program
JP2010120231A (en) * 2008-11-19 2010-06-03 Oki Data Corp Print device and print control program
JP2020166350A (en) * 2019-03-28 2020-10-08 ブラザー工業株式会社 Support program, information processing apparatus, and printing method

Also Published As

Publication number Publication date
JP2022100567A (en) 2022-07-06

Similar Documents

Publication Publication Date Title
US7969593B2 (en) Printing apparatus, control method therefor, job processing method, printing system, and program
US20070046973A1 (en) Image forming system, printing apparatus, image processing apparatus, control method therefor, and program
JP2008110576A (en) Printer, its printing execution method, and printing execution program
JP6135355B2 (en) Printing system, information processing apparatus, printing apparatus, and program
US11650776B2 (en) Non-transitory computer-readable recording medium, and printing system
US20230236773A1 (en) Non-transitory storage medium storing supporting program executable by computer of information processing apparatus
JP4757355B2 (en) Printing apparatus, control method therefor, and program
JP4915330B2 (en) Printing control device, printing device, and program
US20230102837A1 (en) Non-transitory computer-readable medium storing support program
CN113383305A (en) Support program, information processing apparatus, and printing method
WO2022138317A1 (en) Support program
JP4442875B2 (en) Data processing apparatus, printing control method in the apparatus, and program
US8520228B2 (en) Image forming apparatus, image forming system, and data output control method executed by image forming apparatus
WO2022138316A1 (en) Support program
JP2019053403A (en) Program and printing system
US9990169B2 (en) Print controller, print control method and non-transitory computer readable recording medium for executing test print
WO2023145636A1 (en) Support program
WO2023145531A1 (en) Support program
JP3513509B2 (en) Print control method and apparatus
WO2022163430A1 (en) Support program
US11886756B2 (en) Non-transitory storage medium storing supporting program executable by information processing apparatus
JP7363037B2 (en) printers and computer programs
WO2023145532A1 (en) Support program
WO2023176579A1 (en) Support program
WO2022230740A1 (en) Support program and print system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21910466

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21910466

Country of ref document: EP

Kind code of ref document: A1