WO2022138316A1 - サポートプログラム - Google Patents

サポートプログラム Download PDF

Info

Publication number
WO2022138316A1
WO2022138316A1 PCT/JP2021/045980 JP2021045980W WO2022138316A1 WO 2022138316 A1 WO2022138316 A1 WO 2022138316A1 JP 2021045980 W JP2021045980 W JP 2021045980W WO 2022138316 A1 WO2022138316 A1 WO 2022138316A1
Authority
WO
WIPO (PCT)
Prior art keywords
size
print
paper
image
program
Prior art date
Application number
PCT/JP2021/045980
Other languages
English (en)
French (fr)
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 WO2022138316A1 publication Critical patent/WO2022138316A1/ja
Priority to US18/337,662 priority Critical patent/US20230333790A1/en

Links

Images

Classifications

    • 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
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/1253Configuration of print job parameters, e.g. using UI at the client
    • G06F3/1255Settings incompatibility, e.g. constraints, user requirements vs. device capabilities
    • 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
    • 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
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1203Improving or facilitating administration, e.g. print management
    • G06F3/1208Improving or facilitating administration, e.g. print management resulting in improved quality of the output result, e.g. print layout, colours, workflows, print preview
    • 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
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/1259Print job monitoring, e.g. job status
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K15/00Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
    • G06K15/02Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers
    • G06K15/18Conditioning data for presenting it to the physical printing elements
    • G06K15/1867Post-processing of the composed and rasterized print image
    • G06K15/1882Post-processing of the composed and rasterized print image involving operator action
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K15/00Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
    • G06K15/40Details not directly involved in printing, e.g. machine management, management of the arrangement as a whole or of its constitutive parts
    • G06K15/4065Managing print media, e.g. determining available sheet sizes
    • 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.
  • Patent Document 1 discloses a technique of comparing the size of an image of received print data with the size of paper loaded in a printer and detecting a size mismatch.
  • the information processing apparatus can detect the size mismatch as in the technique of Patent Document 1, the processing load on the printer can be reduced.
  • the OS standard general-purpose printing program described above does not support the function of detecting the suitability of the image size and the paper size, and it is difficult to perform appropriate processing for the size mismatch. 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 a paper size 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.
  • the first size information which is the image size information of the raster image indicating the image to be printed according to the print instruction, is acquired 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.
  • the first acquisition process for acquiring the second size information which is the paper size information included in the print settings for the print instruction, and the first size information acquired in the first acquisition process.
  • the determination process for determining the suitability of the paper size and the determination process are unsuitable.
  • the user interface of the information processing apparatus is used to execute a warning process for performing a process for issuing a warning.
  • the information processing apparatus is included in the image size of the raster image to be printed and the print setting by the support program when a print instruction is given to the general-purpose print program. Appropriateness is judged by comparing with the paper size. Further, when the information processing apparatus determines that the paper size is unsuitable for the image size, the information processing apparatus performs a process for warning about the paper size before transmitting the raster image. As a result, the user can be expected to make an input for avoiding printing of the raster image, and as a result, the possibility of avoiding printing unintended by the user is increased.
  • 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 a paper size 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 printer 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.
  • the printer 2 of the present embodiment further receives a command requesting a capacity value from PC1 or the like, it reads out information on the capacity value indicating the capacity of its own device and returns it to the device that has transmitted the command.
  • the capacity value information transmitted by the printer 2 includes, for example, information on the mounted tray, information on the paper set for each tray, and information on the print resolution that can be supported.
  • 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 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 print setting information passed to the auxiliary program in A06 includes, for example, paper size information and paper type information.
  • the general-purpose print program 41 may execute the auxiliary program 42 before generating the intermediate image data and pass the print setting information to the auxiliary program 42.
  • the auxiliary program 42 performs rasterization based on the intermediate image data based on the execution instruction received from the general-purpose print program 41 in A06, and generates print data indicating the image to be printed (A07).
  • A07 is an example of the generation process.
  • the print data generated by A07 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 A07 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 executes the size determination process based on the print data generated by A07 and the paper size information included in the print settings received by A06 (A08).
  • the size determination process is a process of determining the suitability of the paper size by comparing the size of the print image, which is the print result when printing based on the print data, with the paper size included in the print settings. ..
  • the general-purpose print program 41 may generate the print data. That is, the general-purpose print program 41 may rasterize the intermediate image data generated by A05 to generate print data, and pass the generated print data to the auxiliary program 42. In this case, the auxiliary program 42 executes the size determination process based on the print data received from the general-purpose print program 41.
  • 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. When determining the size based on the print data generated by the general-purpose print program 41, the general-purpose print program 41 does not have to pass the intermediate image data to the auxiliary program 42.
  • This size determination process is a process of the auxiliary program 42 and is executed by the CPU 11 of the PC1.
  • the CPU 11 acquires the paper information included in the print settings based on the print settings received from the general-purpose print program 41 in A06 of FIG. 2 (S101).
  • the paper information includes, for example, information such as paper size and paper type.
  • the paper size information included in the paper information acquired in S101 is an example of the second size information.
  • S101 is an example of the second acquisition process.
  • the CPU 11 determines whether or not the acquired paper information of the print setting is the execution target of the determination (S102). If the paper set 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 "OK” (S111), and ends the size 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. If it is not the determination target, the print result can be output at an early stage by determining "OK" without performing the processing after S103.
  • paper that is likely to be expensive is specified as the print setting, it is not preferable to print the paper that does not match the size and waste the paper.
  • the paper type is thick paper, postcard, seal paper, OHP paper, cloth, etc.
  • the paper size is postcard, envelope, etc.
  • 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. If the paper type is neither plain paper nor recycled paper, or the paper size is neither A4, A5, B4, nor B5, the CPU 11 determines YES in S102.
  • 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 A07 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 print image size information calculated in S103 is an example of the first size information.
  • S103 is an example of the first 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 S102. , 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.
  • the CPU 11 determines whether or not the difference between the image size and the paper size exceeds a predetermined range and is large (S107).
  • S107 is an example of the determination process.
  • the CPU 11 determines "OK" (S111) and ends the size determination process. .. If the image size is less than or equal to the paper size and the size difference is small, the image will fit on the paper and the entire image will be printed, which may result in proper printing without too large margins. high. In this case, the CPU 11 determines that the paper size is appropriate.
  • the CPU 11 determines "NG" (S112), and ends the size determination process. If the image size of the printed image is larger than the paper size, the image will not fit on the paper, and the image will protrude from the paper when printed, which is likely to result in unintended printing 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 size is inappropriate.
  • the CPU 11 may determine "OK".
  • 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 number of vertical and horizontal dots in the print data is determined based on the size of the image data specified by the editing application 43, regardless of the print settings. It is highly possible that the auxiliary program 42 cannot acquire the information from the editing application 43, but if the information can be acquired, the image size may be acquired based on the information acquired from the editing application 43. Further, the auxiliary program 42 may acquire the image size based on the intermediate image data if the image size can be acquired from the intermediate image data without generating the print data. In these cases, the auxiliary program 42 acquires the image size before A07 in FIG. 2, determines S106 and S107 using the acquired image size instead of S103 in the size determination process, and says "OK". Print data may be generated when the determination is made.
  • the process of acquiring information from the editing application 43 and the process of acquiring the image size from the intermediate image data may take time. Further, if the determination is made based on the actually generated print data, there is a high possibility that the determination will be accurate. Therefore, it is preferable to execute the size determination process after the print data is generated.
  • the auxiliary program 42 determines "OK" in the size determination process of A08 (alt: [OK])
  • the auxiliary program 42 transmits the print data generated in A07 and the command instructing the print execution to the printer 2 (A11). ).
  • 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 (A12). 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 general-purpose printing program 41 may perform transmission to the printer 2. That is, the auxiliary program 42 may pass the generated print data to the general-purpose print program 41 so as to be transmitted from the PC 1 with the printer 2 as the transmission destination. In this case, the general-purpose print program 41 transmits the print data received from the auxiliary program 42 to the printer 2.
  • the auxiliary program 42 displays a warning message in the user IF13 (A21).
  • A21 is an example of warning processing.
  • the warning message is, for example, as shown in FIG. 4, a message indicating that the size of the printed image and the paper size of the print setting are inappropriate.
  • the auxiliary program 42 asks the user whether to continue printing or cancel printing by a warning message.
  • the warning message 50 including a message indicating that the printed image is larger than the paper size and there may be a portion that is not printed is displayed.
  • the warning message 50 includes information on the paper size of the print setting, a button 51 for accepting an instruction to print, and a button 52 for accepting cancellation of printing.
  • auxiliary program 42 determines in the size determination process that the image size of the printed image is smaller than the paper size of the print setting, but the difference is out of the predetermined range (YES in S107 of FIG. 3). For example, as shown in FIG. 4B, a warning message 60 including a message indicating that the printed image may be smaller than the paper size and the margin portion may be large is displayed.
  • the warning message 60 includes information on the paper size of the print setting, a button 61 for accepting an instruction to print, and a button 62 for accepting cancellation of printing.
  • the warning is not limited to the display of warning messages 50, 60, etc., but may be a voice warning, or may be a combination of the display and voice.
  • the warning message may include information indicating the image size of the printed image and a preview image indicating the printed image.
  • the content of the message to be displayed is not limited to the warning, and may be a message prompting to confirm the size.
  • the auxiliary program 42 may pass warning information and notification instructions to the general-purpose print program 41 or OS 21 to notify the general-purpose print program 41 or OS 21. ..
  • the process of outputting the warning message and the warning voice to the user IF 13 and the process of passing the warning information and the notification instruction to the general-purpose printing program 41 are examples of the processing for giving a warning.
  • the auxiliary program 42 accepts the user's operation on the buttons 51, 51 or the buttons 61, 62 (A22).
  • the auxiliary program 42 receives an instruction to print with the button 51 or the button 61 (alt: [print])
  • the auxiliary program 42 transmits the print data to the printer 2 (A23).
  • A23 is the same process as A11.
  • the printer 2 executes printing based on the received print data (A24).
  • 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 print data generated by A07.
  • the auxiliary program 42 may accept an instruction to change the paper size in the displayed warning messages 50 and 60.
  • the warning messages 50 and 60 of this embodiment the information on the currently set paper size is notified, so that the user can easily notice the discrepancy with the size of the image instructed to print.
  • the auxiliary program 42 may change the print settings received from the general-purpose print program 41 in A06 and send the changed print setting information to the printer 2 together with the print data. .. If the paper size is changed based on the user's instruction and the print setting is suitable for the image size, it can be expected that the printing will be appropriate.
  • the PC 1 is included in the image size of the print data to be printed and the print settings when a print instruction is given to the general-purpose print program 41. Appropriateness is judged by comparing with the paper size. Further, when the PC1 determines that the paper size is unsuitable for the image size, the PC1 performs a process for warning about the paper size before transmitting the print data. As a result, the user can be expected to make an input for avoiding the printing, and as a result, the possibility of avoiding the printing unintended by the user is increased.
  • 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 warning messages shown are all examples, and are not limited to these.
  • the button for accepting printing or canceling may not be provided.
  • the auxiliary program 42 determines that it is unsuitable, it may cancel printing after displaying a warning message.
  • a warning message is displayed and then the print data is sent to the printer 2. You may send it.
  • the warning message does not have to display the paper size.
  • S102 of the size 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.
  • a warning is given if the difference is out of the predetermined range, but it is not necessary. Specifically, it is not necessary to determine S107 in the size determination process.
  • 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

OS標準の汎用印刷プログラムが組み込まれた情報処理装置において、用紙サイズに基づくユーザの意図しない印刷を低減する技術を提供すること。PC1は、編集アプリ43から、OS21に予め組み込まれた汎用印刷プログラム41に対して、プリンタ2に印刷を行わせる印刷指示があった場合、補助プログラム42によって、印刷対象の画像の印刷データの画像サイズを、印刷データの縦方向のドット数と横方向のドット数と解像度とに基づいて取得する。さらに、PC1は、印刷設定に含まれる用紙サイズの情報を取得して、取得した画像サイズと用紙サイズとを比較することで、用紙サイズの適否を判定し、不適と判定した場合に、ユーザIF13を用いて、警告メッセージを表示させるための処理を行う。

Description

サポートプログラム
 本明細書に開示される技術分野は、プリンタの制御をサポートするサポートプログラムに関する。
 プリンタの技術として、例えば特許文献1には、受信した印刷データの画像のサイズと、プリンタにセットされている用紙のサイズと、を比較し、サイズの不一致を検出する技術が開示されている。
特開2007-145540号公報
 近年、情報処理装置において、プリンタドライバを利用せず、オペレーティングシステム(OS)に標準に組み込まれている印刷プログラムによってプリンタを制御する技術が実用化されている。この技術では、OSがプリンタとOS標準の印刷プログラムとの関連付けを行い、以後、そのプリンタに対する印刷指示を受け付けた場合に、プリンタドライバを用いずに、OS標準の印刷プログラムによる印刷が可能になる。
 情報処理装置において、特許文献1の技術のようにサイズの不一致を検出することができれば、プリンタでの処理負荷が軽減される。しかしながら、前述したOS標準の汎用印刷プログラムでは、画像のサイズと用紙のサイズとの適否を検出する機能をサポートしておらず、サイズの不一致に対して適切な処理を行うことが困難である。そのため、画像が用紙からはみ出す等、印刷してからユーザの意図しない印刷結果となったことに気付くことがある。
 本明細書は、OS標準の汎用印刷プログラムが組み込まれた情報処理装置において、用紙サイズに基づくユーザの意図しない印刷を低減する技術を開示する。
 上述した課題の解決を目的としてなされたサポートプログラムは、情報処理装置のコンピュータによって実行可能であり、前記情報処理装置と接続するプリンタに対応するサポートプログラムであって、前記コンピュータに、前記情報処理装置に組み込まれているアプリケーションプログラムから出力された印刷指示であって、前記情報処理装置のオペレーティングシステムにあらかじめ組み込まれた汎用印刷プログラムに対して画像の印刷を前記プリンタに行わせる前記印刷指示があった場合に、前記印刷指示による印刷対象の画像を示すラスタ画像の画像サイズの情報である第1サイズ情報を、前記ラスタ画像の縦方向のドット数と横方向のドット数と解像度とに基づいて取得する第1取得処理と、前記印刷指示についての印刷設定に含まれる用紙サイズの情報である第2サイズ情報を取得する第2取得処理と、前記第1取得処理にて取得した前記第1サイズ情報に示される画像サイズと、前記第2取得処理にて取得した前記第2サイズ情報に示される用紙サイズとを比較することで、用紙サイズの適否を判定する判定処理と、前記判定処理にて不適と判定した場合に、前記情報処理装置のユーザインタフェースを用いて、警告を行うための処理を行う警告処理と、を実行させる、ことを特徴としている。
 本明細書に開示されるサポートプログラムによれば、情報処理装置は、汎用印刷プログラムに対する印刷指示があった際に、サポートプログラムによって、印刷対象となるラスタ画像の画像サイズと、印刷設定に含まれる用紙サイズとを比較して適否を判定する。さらに、情報処理装置は、画像サイズに対して用紙サイズが不適と判定した場合、ラスタ画像を送信する前に、用紙サイズに関する警告のための処理を行う。これにより、ユーザがそのラスタ画像の印刷を回避するための入力を行うことが期待でき、その結果として、ユーザの意図しない印刷を回避できる可能性が高まる。
 上記サポートプログラムが組み込まれた情報処理装置、サポートプログラムを格納するコンピュータにて読取可能な記憶媒体、及びサポートプログラムの機能を実現するための制御方法も、新規で有用である。
 本明細書に開示される技術によれば、OS標準の汎用印刷プログラムが組み込まれた情報処理装置において、用紙サイズに基づくユーザの意図しない印刷を低減する技術が実現される。
PCの電気的構成の概略を示すブロック図である。 各プログラムによる印刷動作の手順の例を示すシーケンス図である。 サイズ判定処理の手順を示すフローチャートである。 警告メッセージの例を示す説明図である。
 以下、本形態のサポートプログラムを利用するパーソナルコンピュータ(以下、「PC」とする)について、添付図面を参照しつつ詳細に説明する。本明細書は、印刷機能を有するプリンタに接続されるPCにて実行されるサポートプログラムを開示する。
 本形態のPC1は、図1に示すように、CPU11と、メモリ12と、を含むコントローラ10を備えている。PC1は、情報処理装置の一例である。CPU11は、コンピュータの一例である。また、PC1は、ユーザインタフェース(以下、「ユーザIF」とする)13と、通信インタフェース(以下、「通信IF」とする)14と、を備え、これらがコントローラ10に電気的に接続されている。なお、図1中のコントローラ10は、PC1の制御に利用されるハードウェアやソフトウェアを纏めた総称であって、実際にPC1に存在する単一のハードウェアを表すとは限らない。
 CPU11は、メモリ12から読み出したプログラムに従って、また、ユーザの操作に基づいて、各種の処理を実行する。メモリ12には、各種のアプリケーションプログラム(以下、「アプリ」とする)を含む各種のプログラムや各種のデータが記憶されている。メモリ12は、各種の処理が実行される際の作業領域としても利用される。CPU11が備えるバッファも、メモリの一例である。なお、メモリ12の一例は、PC1に内蔵されるROM、RAM、HDD等に限らず、CPU11が読み取り可能かつ書き込み可能なストレージ媒体、例えば、CD-ROM、DVD-ROM等の記録媒体であっても良い。
 ユーザIF13は、ユーザに情報を報知するための画面を表示するハードウェアと、ユーザによる操作を受け付けるハードウェアと、を含む。なお、ユーザIF13は、情報を表示可能なディスプレイと、入力受付機能を有するマウスやキーボード等と、の組であっても良いし、表示機能と入力受付機能とを備えるタッチパネルであっても良い。
 通信IF14は、プリンタ2等の外部装置と通信を行うためのハードウェアを含む。通信IF14の通信規格は、イーサネット(登録商標)、Wi-Fi(登録商標)、USBなどである。PC1は、複数の通信規格に対応する複数の通信IF14を備えていてもよい。
 PC1のメモリ12には、図1に示すように、汎用印刷プログラム41を含むオペレーティングシステム(以下、「OS」とする)21と、補助プログラム42と、編集アプリ43と、が記憶されている。補助プログラム42は、サポートプログラムの一例である。編集アプリ43は、アプリケーションプログラムの一例である。OS21は、例えば、Windows(登録商標)、macOS(登録商標)、Linux(登録商標)、iOS(登録商標)、Android(登録商標)である。
 汎用印刷プログラム41は、ユーザの指示に基づいて、プリンタ2等の各種のプリンタに印刷を実行させるためのOS標準のプログラムである。本形態の汎用印刷プログラム41は、印刷対象の画像データに基づいて、中間画像データを生成する機能を含むプログラムである。
 汎用印刷プログラム41は、各種のプリンタのベンダによって提供される複数種類のモデルのプリンタが共通に利用できる機能をサポートしている。汎用印刷プログラム41は、各種のプリンタが固有に備える機能の全てに対応するものではなく、サポートする機能は汎用的なものに限られる。
 補助プログラム42は、汎用印刷プログラム41の処理に付随してOS21からの指示に基づいて処理を実行するプログラムまたはプログラム群であり、対象のハードウェアの制御をサポートするアプリである。本形態の補助プログラム42は、PC1に接続されているプリンタ2のモデルに対応するものであり、例えば、汎用印刷プログラム41を使用してプリンタ2に印刷を実行させる指示を受け付けた場合に、汎用印刷プログラム41から起動される。補助プログラム42は、例えば、ハードウェアサポートアプリ(略称、HSA)と呼ばれる。
 補助プログラム42は、汎用印刷プログラム41から複数種の命令を受け付け可能であり、受け付けた命令に基づいて、各種の処理を実行する。なお、補助プログラム42は、それぞれが実行命令を受け付ける複数のプログラムの組み合わせであっても良いし、1つのプログラムであって命令に応じてそれぞれ異なる処理を実行できるプログラムであっても良い。
 補助プログラムは、プリンタのベンダによってプリンタのタイプごとに用意されるプログラムであっても良い。例えば、インクジェットプリンタ用の補助プログラムやレーザプリンタ用の補助プログラムが、それぞれ用意されても良い。PC1のOS21は、例えば、新たなプリンタがPC1に接続された場合、接続されたプリンタのタイプに応じて、適切な補助プログラムをサーバ等からダウンロードして自装置に組み込む。そして、OS21は、組み込んだ補助プログラムの識別情報を新たに接続されたプリンタのプリンタ情報に対応付けて、メモリ12に記憶させる。なお、プリンタのタイプごとに限らず、プリンタのモデルごとやプリンタのモデルのシリーズごとに用意される補助プログラムが有っても良い。
 編集アプリ43は、例えば、画像データや文書データの作成や編集を行うためのアプリである。編集アプリ43は、例えば、マイクロソフト(登録商標)製のワードやパワーポイントなどであっても良いし、プリンタ2のベンダから提供されるアプリであっても良い。編集アプリ43は、プリンタ2に所定の動作を行わせる指示を含むユーザ操作を受け付ける。具体的には、編集アプリ43は、ユーザIF13を介して、例えば、プリンタ2に印刷を実行させる印刷実行指示を受け付ける。
 本形態のプリンタ2は、印刷機能を有する装置である。PC1は、通信IF14を介して、プリンタ2と通信可能である。プリンタ2は、例えば、PC1等から印刷データを受信して、受信した印刷データに基づく印刷を実行する。本形態のプリンタ2は、さらに、PC1等から能力値を要求するコマンドを受け付けた場合、自装置の能力を示す能力値の情報を読み出し、コマンドを送信した装置に返信する。プリンタ2が送信する能力値の情報には、例えば、装着されているトレイの情報、トレイごとに設定されている用紙の情報、対応可能な印刷解像度の情報、が含まれる。
 次に、本形態の補助プログラム42の動作を含む印刷の手順について、図2のシーケンス図を参照して説明する。図2は、編集アプリ43等の印刷指示を受け付けるアプリにて、汎用印刷プログラム41を使用してプリンタ2に印刷させる印刷実行指示を受け付けた場合であって、プリンタ2に対応する補助プログラム42がPC1に組み込まれている場合の動作について示している。
 なお、本形態における処理およびフローチャートの各処理ステップは、基本的に、補助プログラム42などのプログラムに記述された命令に従ったCPU11の処理を示す。CPU11による処理は、OS21のAPIを用いたハードウェア制御も含む。本明細書では、OS21の詳細な記載を省略して各プログラムの動作を説明する。また、「取得」は要求を必須とはしない概念で用いる。
 編集アプリ43は、ユーザの指示に基づいて、文章や図表等の作成や編集を受け付ける。編集アプリ43は、選択中の文章等の印刷に関する指示を受け付けると(A01)、印刷設定等を受け付ける印刷画面をユーザIF13に表示する(A02)。編集アプリ43は、印刷画面にて、例えば、印刷実行指示、基本的な印刷設定の指示、詳細な印刷設定の受け付け開始の指示を受け付ける。
 編集アプリ43は、表示中の印刷画面にてプリンタ2が選択された状態で、ユーザによる印刷実行指示を受け付けると(A03)、受け付けた印刷実行指示の情報をOS21に渡す。OS21は、汎用印刷プログラム41を使用する印刷実行指示を受け付けた場合、汎用印刷プログラム41を実行させ、汎用印刷プログラム41に印刷指示の情報を渡す(A04)。汎用印刷プログラム41は、印刷指示の情報として、例えば、印刷させるプリンタを示す情報、アプリにて設定された印刷設定を示す情報、印刷対象となる画像データを示す情報、を取得できる。
 汎用印刷プログラム41は、受け取った印刷指示の情報に含まれる画像データの形式を中間画像データの形式に変換することで中間画像データを生成し(A05)、中間画像データを含む印刷ジョブを生成する。編集アプリ43から渡される画像データは種々のタイプのものであり、汎用印刷プログラム41は、受け取った画像データを、印刷データの生成に適した中間画像データに変換する。なお、印刷指示に含まれる画像データが印刷データの生成に適したデータであれば、中間画像データの生成を省略し、そのまま中間画像データとしても良い。汎用印刷プログラム41が生成する中間画像データは、例えば、XPSデータである。
 汎用印刷プログラム41は、印刷指示にて選択されている装置がプリンタ2であって、プリンタ2に対応する補助プログラム42がメモリ12に記憶されていることから、補助プログラム42に実行指示を出力する(A06)。汎用印刷プログラム41は、実行指示によって、補助プログラム42を動作させ、生成した中間画像データを補助プログラム42に渡す。なお、A06では、中間画像データとともに印刷設定の情報も補助プログラム42に渡される。A06にて補助プログラムに渡される印刷設定の情報は、例えば、用紙サイズの情報と用紙種の情報とを含む。なお、汎用印刷プログラム41は、中間画像データの生成前に補助プログラム42を実行して、印刷設定の情報を補助プログラム42に渡しても良い。
 補助プログラム42は、A06にて汎用印刷プログラム41から受け取った実行指示に基づいて、中間画像データに基づくラスタライズを行い、印刷対象の画像を示す印刷データを生成する(A07)。A07は、生成処理の一例である。A07にて生成される印刷データは、プリンタ2にて印刷に使用できる形式のデータであり、例えば、プリンタ2のモデルに専用のPDLデータである。印刷データは、ラスタ画像の一例である。
 プリンタ2に対応する補助プログラム42にてラスタライズすることで、汎用印刷プログラム41にてラスタライズする場合に比較して自由度が大きく、プリンタ2での印刷に適した印刷データが生成される可能性が高い。なお、A07にて生成される印刷データは、プリンタ2のモデル以外のプリンタでの印刷にも使用できる形式のデータであっても良い。
 補助プログラム42は、A07にて生成した印刷データと、A06にて受け取った印刷設定に含まれる用紙サイズの情報とに基づいて、サイズ判定処理を実行する(A08)。サイズ判定処理は、印刷データに基づく印刷を実行した場合の印刷結果である印刷画像のサイズと、印刷設定に含まれる用紙サイズと、を比較することで、用紙サイズの適否を判定する処理である。
 なお、補助プログラム42がA07にて印刷データを生成する代わりに、汎用印刷プログラム41が印刷データの生成を行っても良い。つまり、汎用印刷プログラム41は、A05にて生成した中間画像データをラスタライズして印刷データを生成し、生成した印刷データを補助プログラム42に渡してもよい。この場合、補助プログラム42は、汎用印刷プログラム41から受け取った印刷データに基づいて、サイズ判定処理を実行する。
 汎用印刷プログラム41によって生成される印刷データは、各種のプリンタにて印刷に使用できる形式の印刷データであり、例えば、PWGRasterデータ、または、PDFデータである。汎用印刷プログラム41によってラスタライズするとすれば、補助プログラム42の処理が少なく、処理時間増大の回避が見込まれ、補助プログラム42のプログラムサイズが抑えられる。なお、汎用印刷プログラム41によって生成される印刷データによりサイズを判定する場合、汎用印刷プログラム41は、中間画像データを補助プログラム42に渡さなくてもよい。
 次に、図2のA08にて実行されるサイズ判定処理の手順について、図3のフローチャートを参照して説明する。このサイズ判定処理は、補助プログラム42の処理であり、PC1のCPU11によって実行される。
 サイズ判定処理では、CPU11は、図2のA06にて汎用印刷プログラム41から受け取った印刷設定に基づいて、印刷設定に含まれる用紙情報を取得する(S101)。用紙情報には、例えば、用紙サイズ、用紙種、の情報が含まれる。S101にて取得される用紙情報に含まれる用紙サイズの情報は、第2サイズ情報の一例である。S101は、第2取得処理の一例である。
 そして、CPU11は、取得した印刷設定の用紙情報が判定の実行対象であるか否かを判断する(S102)。印刷設定の用紙が、例えば、用紙種が普通紙や再生紙であって、用紙サイズがA4等の定型サイズであれば、サイズが適合しない印刷を行って用紙が無駄になったとしてもユーザの損失は小さい可能性が高い。安価な用紙と想定される場合は画像のはみ出しや印刷のやり直しが許容され易いことから、早期に印刷を完了させて印刷結果を出力する方が好ましい。
 今回の印刷が判定の実行対象ではないと判断した場合(S102:NO)、CPU11は、「OK」と判定して(S111)、サイズ判定処理を終了する。CPU11は、用紙種が普通紙または再生紙であって、かつ、用紙サイズがA4、B5等の定型サイズであれば、S102にてNOと判断する。判定対象ではない場合には、S103以降の処理を行わずに「OK」と判定することで、早期に印刷結果を出力させることができる。
 一方、印刷設定として、高価格である可能性が高い用紙が指定されている場合、サイズが適合しない印刷を行って用紙が無駄になることは好ましくない。例えば、用紙種が厚紙、ハガキ、シール用紙、OHP用紙、布等の場合や、用紙サイズがハガキ、封筒等の場合、その用紙は、普通紙または再生紙の定型サイズの用紙に比較して、高価格である可能性が高い。ハガキまたは封筒を示す用紙サイズは、高価値を示す所定のサイズの一例である。また、厚紙、ハガキ、シール用紙、OHP用紙、布を示す用紙種は、高価値を示す所定の種類の一例である。CPU11は、用紙種が普通紙と再生紙とのいずれでもない、または、用紙サイズがA4、A5、B4、B5のいずれでもない場合、S102にてYESと判断する。
 用紙情報が判定の実行対象であると判断した場合(S102:YES)、CPU11は、図2のA07にて生成した印刷データに基づいて、この印刷データに基づく印刷を実行した場合の印刷結果である印刷画像の画像サイズを算出する(S103)。具体的には、CPU11は、印刷データの1ライン分のドット数およびライン数を、それぞれ印刷設定にて指定されている印刷解像度(例えば、ドット/インチで表される値)で割ることで、印刷画像の横サイズおよび縦サイズを算出する。S103にて算出される印刷画像のサイズの情報は、第1サイズ情報の一例である。S103は、第1取得処理の一例である。
 そして、CPU11は、S101にて取得した用紙情報に含まれる用紙サイズと、S103にて算出した印刷画像の画像サイズと、を比較し、印刷画像の画像サイズの方が用紙サイズよりも大きいか否かを判断する(S106)。S106は、判定処理の一例である。CPU11は、例えば、印刷用の用紙サイズとしてA4等の定型サイズが指定されている場合、その用紙サイズの横方向および縦方向のサイズと、S102にて算出した印刷画像の横サイズおよび縦サイズと、をそれぞれ比較する。なお、CPU11は、余白の設定に基づいて、用紙サイズのうちの印刷可能な範囲のサイズと印刷画像の画像サイズとを比較してもよい。
 印刷画像の画像サイズの方が大きくはないと判断した場合(S106:NO)、CPU11は、画像サイズと用紙サイズとの差が所定範囲を超えて大きいか否かを判断する(S107)。S107は、判定処理の一例である。縦サイズと横サイズのいずれについても、画像サイズと用紙サイズとの差が小さいと判断した場合(S107:NO)、CPU11は、「OK」と判定して(S111)、サイズ判定処理を終了する。画像サイズが用紙サイズ以下であり、サイズの差が小さい場合には、画像は用紙に収まることから、画像の全体が印刷され、さらに、余白が大きすぎることのない適切な印刷となる可能性が高い。この場合には、CPU11は、用紙サイズが適切と判定する。
 一方、印刷画像の画像サイズの方が大きいと判断した場合(S106:YES)、または、画像サイズの方が用紙サイズよりも小さくても、その差が所定範囲を超えて大きいと判断した場合(S107:YES)、CPU11は、「NG」と判定して(S112)、サイズ判定処理を終了する。印刷画像の画像サイズの方が用紙サイズよりも大きい場合、用紙に画像が収まらないことから、印刷すると画像が用紙からはみ出すことになり、ユーザの意図しない印刷となる可能性が高い。また、画像サイズの方が用紙サイズよりも小さくても、その差が所定範囲外である場合、余白が大きくなりすぎ、用紙の無駄が大きくなる可能性が高い。これらの場合にはCPU11は、用紙サイズが不適切と判定する。
 なお、画像サイズの方が用紙サイズよりも大きくてもその差が僅かであれば、印刷されない部分があっても影響は小さい可能性が高い。あるいは、例えば、余白を小さくする等によって画像の全体が印刷される可能性がある。そこで、画像サイズの方が用紙サイズよりも大きくても、縦サイズと横サイズとのいずれについてもサイズの差が小さい場合、CPU11は、「OK」と判定してもよい。
 また、例えば、印刷設定に含まれる用紙種がロール紙を示している場合、補助プログラム42は、用紙サイズのうち縦サイズ(ロール紙の巻き出し方向の長さ、用紙長ともいう)の比較は行わなくてもよい。この場合、補助プログラム42は、S106やS107にて、横サイズ(ロール紙の軸方向の長さ、用紙幅ともいう)のみを比較すればよい。
 印刷データの縦横のドット数は、印刷設定とは関わりなく、編集アプリ43にて指定された画像データのサイズに基づいて決定される。補助プログラム42は、編集アプリ43から情報を取得することはできない可能性が高いが、情報を取得できる場合には、編集アプリ43から取得した情報に基づいて画像サイズを取得してもよい。また、補助プログラム42は、印刷データを生成しなくても中間画像データから画像サイズを取得できる場合には、中間画像データに基づいて画像サイズを取得しても良い。これらの場合、補助プログラム42は、図2のA07の前に画像サイズを取得し、サイズ判定処理のS103に代えて、取得した画像サイズを用いてS106およびS107の判断を行い、「OK」と判定した場合に印刷データを生成するとしてもよい。
 ただし、編集アプリ43から情報を取得する処理や、中間画像データから画像サイズを取得する処理には、時間が掛かる可能性がある。また、実際に生成した印刷データに基づいて判定すれば、正確な判定となる可能性が高いことから、印刷データの生成後にサイズ判定処理を実行する方が好ましい。
 図2の説明に戻る。補助プログラム42は、A08のサイズ判定処理にて「OK」と判定した場合(alt:[OK])、A07にて生成した印刷データと印刷実行を指示するコマンドとをプリンタ2に送信する(A11)。印刷データと印刷実行を指示するコマンドとを受信したプリンタ2は、受信したコマンドに基づいて、印刷データの画像を印刷する(A12)。これにより、印刷物が生成される。補助プログラム42は、さらに、印刷データの送信を終了したことを汎用印刷プログラム41に通知する。
 なお、プリンタ2への送信は、汎用印刷プログラム41が行っても良い。つまり、補助プログラム42は、生成した印刷データを、プリンタ2を送信先としてPC1から送信されるように、汎用印刷プログラム41に渡しても良い。この場合、汎用印刷プログラム41は、補助プログラム42から受け取った印刷データをプリンタ2に送信する。
 一方、A08のサイズ判定処理にて「NG」と判定した場合(alt:〔NG〕)、補助プログラム42は、ユーザIF13に警告メッセージを表示する(A21)。A21は、警告処理の一例である。警告メッセージは、例えば、図4に示すように、印刷画像のサイズと印刷設定の用紙サイズとが不適であることを示すメッセージである。補助プログラム42は、警告メッセージによって、そのまま印刷を続行するか、印刷をキャンセルするか、をユーザに問い合わせる。
 補助プログラム42は、サイズ判定処理にて、印刷画像の画像サイズの方が印刷設定の用紙サイズよりも大きいと判断した場合(図3のS106にてYES)、例えば、図4(A)に示すように、用紙サイズより印刷画像が大きく、印刷されない部分が有る可能性があることを示すメッセージを含む警告メッセージ50を表示する。この警告メッセージ50には、印刷設定の用紙サイズの情報と、印刷する指示を受け付けるボタン51と、印刷のキャンセルを受け付けるボタン52と、が含まれる。
 補助プログラム42は、サイズ判定処理にて、印刷画像の画像サイズの方が印刷設定の用紙サイズよりも小さいものの、その差が所定範囲外であると判断した場合(図3のS107にてYES)、例えば、図4(B)に示すように、用紙サイズより印刷画像が小さく、余白部分が大きい可能性があることを示すメッセージを含む警告メッセージ60を表示する。この警告メッセージ60には、印刷設定の用紙サイズの情報と、印刷する指示を受け付けるボタン61と、印刷のキャンセルを受け付けるボタン62と、が含まれる。
 なお、警告は、警告メッセージ50、60等の表示に限らず、音声による警告であっても良いし、表示と音声との併用であっても良い。また、警告メッセージには、印刷画像の画像サイズを示す情報や、印刷イメージを示すプレビュー画像が含まれていても良い。また、表示するメッセージの内容は、警告に限らず、サイズの確認を促すメッセージであっても良い。また、補助プログラム42は、自身で警告メッセージ50、60を表示する代わりに、警告の情報および報知の指示を汎用印刷プログラム41またはOS21に渡して、汎用印刷プログラム41またはOS21に報知させても良い。警告メッセージや警告音声をユーザIF13に出力させる処理や、警告の情報および報知の指示を汎用印刷プログラム41に渡す処理は、警告を行うための処理の一例である。
 そして、補助プログラム42は、ボタン51、51またはボタン61、62へのユーザの操作を受け付ける(A22)。補助プログラム42は、ボタン51またはボタン61にて印刷する指示を受け付けた場合(alt:〔印刷〕)、印刷データをプリンタ2に送信する(A23)。A23は、A11と同様の処理である。プリンタ2は、受信した印刷データに基づいて、印刷を実行する(A24)。
 一方、ボタン52またはボタン62にてキャンセルの指示を受け付けた場合(alt:〔キャンセル〕)、補助プログラム42は、印刷ジョブをキャンセルする情報を汎用印刷プログラム41に渡す(A25)。A25は、キャンセル処理の一例である。これにより、汎用印刷プログラム41は、A04にて受け取った印刷指示に基づく印刷ジョブをキャンセルし、印刷の処理を終了する。補助プログラム42は、A07にて生成した印刷データを削除してもよい。警告メッセージ50、60にてキャンセルの指示を受け付けることで、ユーザの意図しない印刷を確実に回避できる。
 なお、補助プログラム42は、表示中の警告メッセージ50、60にて、用紙サイズの変更指示を受け付けても良い。本形態の警告メッセージ50、60では、現在設定されている用紙サイズの情報を報知するので、ユーザは、印刷を指示した画像のサイズとの不一致に気づきやすい。用紙サイズの変更指示を受け付けた場合、補助プログラム42は、A06にて汎用印刷プログラム41から受け取った印刷設定を変更して、変更後の印刷設定の情報を印刷データとともにプリンタ2に送信すればよい。ユーザの指示に基づいて用紙サイズが変更され、画像サイズに適合する印刷設定となれば、適切な印刷となることが期待できる。
 以上、詳細に説明したように、本形態の補助プログラム42によればPC1は、汎用印刷プログラム41に対する印刷指示があった際に、印刷対象となる印刷データの画像サイズと、印刷設定に含まれる用紙サイズとを比較して適否を判定する。さらに、PC1は、画像サイズに対して用紙サイズが不適と判定した場合、印刷データを送信する前に、用紙サイズに関する警告のための処理を行う。これにより、ユーザがその印刷を回避するための入力を行うことが期待でき、その結果として、ユーザの意図しない印刷を回避できる可能性が高まる。
 なお、本明細書に開示される実施の形態は単なる例示にすぎず、本発明を何ら限定するものではない。従って、本明細書に開示される技術は当然に、その要旨を逸脱しない範囲内で種々の改良、変形が可能である。例えば、PC1に接続される装置は、プリンタに限らず、複合機、複写機、FAX装置、等印刷機能を有する装置であればよい。また、PC1に接続されるプリンタの数は、図示の例に限らず、2台以上でも良い。
 また、例えば、図示の警告メッセージはいずれも一例であり、これに限らない。例えば、印刷やキャンセルを受け付けるボタンは、無くても良い。例えば、補助プログラム42は、不適と判定した場合には、警告メッセージを表示した後に印刷をキャンセルするとしても良い。あるいは、補助プログラム42は、不適と判定した場合であっても、例えば、プリンタ2にて受信した印刷をキャンセルできる機能を備えている場合には、警告メッセージを表示した後に印刷データをプリンタ2に送信するとしても良い。ただし、警告メッセージにてユーザの指示を受け付けることで、一律にキャンセルあるいはデータ送信となるよりもユーザの意向が反映されやすい。また、警告メッセージでは、用紙サイズを表示しなくても良い。
 また、例えば、本形態では、サイズ判定処理のS102にて、用紙サイズや用紙種によって、判定対象とするか否かを判断するとしたが、この判断は行わなくても良い。つまり、用紙サイズや用紙種に関わらず、全ての印刷指示を判定対象としても良い。
 また、例えば、本形態では、画像サイズの方が用紙サイズよりも小さくても、その差が所定範囲外である場合には警告するとしたが、しなくても良い。具体的には、サイズ判定処理のS107の判断は無くても良い。
 また、本形態では、補助プログラム42の動作として、印刷動作のみを詳細に記載しているが、補助プログラム42は、さらに他の役割を有していても良い。また、本形態の処理を実行するプログラムは、補助プログラム42に限らず、汎用印刷プログラム41を用いた印刷を行う際に、OS21または汎用印刷プログラム41から指示を受け付けるプログラムであればよい。例えば、マイクロソフト社が仕様公開した印刷ワークフロー アプリ(Print workflow)でも良い。
 また、補助プログラム42の実行タイミングは、実施の形態の例に限らない。例えば、OS21から直接実行指示を受け付けても良いし、常駐される補助プログラム42であっても良い。常駐される場合には、補助プログラム42は、実行命令を受けて前述した動作を行うとすれば良い。
 また、実施の形態に開示されている任意のフローチャートにおいて、任意の複数のステップにおける複数の処理は、処理内容に矛盾が生じない範囲で、任意に実行順序を変更できる、または並列に実行できる。
 また、実施の形態に開示されている処理は、単一のCPU、複数のCPU、ASICなどのハードウェア、またはそれらの組み合わせで実行されてもよい。また、実施の形態に開示されている処理は、その処理を実行するためのプログラムを記録した記録媒体、または方法等の種々の態様で実現することができる。
 1 PC
 2 プリンタ
 11 CPU
 13 ユーザIF

Claims (8)

  1.  情報処理装置のコンピュータによって実行可能であり、前記情報処理装置と接続するプリンタに対応するサポートプログラムであって、
     前記コンピュータに、
      前記情報処理装置に組み込まれているアプリケーションプログラムから出力された印刷指示であって、前記情報処理装置のオペレーティングシステムにあらかじめ組み込まれた汎用印刷プログラムに対して画像の印刷を前記プリンタに行わせる前記印刷指示があった場合に、
       前記印刷指示による印刷対象の画像を示すラスタ画像の画像サイズの情報である第1サイズ情報を、前記ラスタ画像の縦方向のドット数と横方向のドット数と解像度とに基づいて取得する第1取得処理と、
       前記印刷指示についての印刷設定に含まれる用紙サイズの情報である第2サイズ情報を取得する第2取得処理と、
       前記第1取得処理にて取得した前記第1サイズ情報に示される画像サイズと、前記第2取得処理にて取得した前記第2サイズ情報に示される用紙サイズとを比較することで、用紙サイズの適否を判定する判定処理と、
       前記判定処理にて不適と判定した場合に、前記情報処理装置のユーザインタフェースを用いて、警告を行うための処理を行う警告処理と、
      を実行させる、
     ことを特徴とするサポートプログラム。
  2. 請求項1に記載するサポートプログラムであって、
     前記コンピュータに、
      前記印刷指示があった場合に、
       前記印刷指示による印刷対象の前記画像を示す中間画像データを前記オペレーティングシステムから取得し、取得した前記中間画像データに基づいてラスタライズを行って前記ラスタ画像を生成する生成処理を実行させ、
       前記生成処理の実行後、前記第1取得処理を実行させる、
     ことを特徴とするサポートプログラム。
  3. 請求項1または請求項2に記載するサポートプログラムであって、
     前記判定処理では、
      前記第1取得処理にて取得した前記第1サイズ情報に示される画像サイズが、前記第2取得処理にて取得した前記第2サイズ情報に示される用紙サイズに収まらない場合、不適と判定する、
     ことを特徴とするサポートプログラム。
  4. 請求項3に記載するサポートプログラムであって、
     前記判定処理では、さらに、
      前記第1取得処理にて取得した前記第1サイズ情報に示される画像サイズが、前記第2取得処理にて取得した前記第2サイズ情報に示される用紙サイズに収まる場合であっても、前記第2取得処理にて取得した前記第2サイズ情報に示される用紙サイズと、前記第1取得処理にて取得した前記第1サイズ情報に示される画像サイズと、の差が所定範囲外であった場合に、不適と判定する、
     ことを特徴とするサポートプログラム。
  5. 請求項1から請求項4のいずれか1つに記載するサポートプログラムであって、
     前記コンピュータに、
      前記警告処理にて警告を行うための前記処理を実行した場合に、前記印刷指示に基づく印刷ジョブをキャンセルするか否かを、前記ユーザインタフェースを用いて受け付け、キャンセルを受け付けた場合、前記印刷ジョブをキャンセルするキャンセル処理を実行させる、
     ことを特徴とするサポートプログラム。
  6. 請求項1から請求項5のいずれか1つに記載するサポートプログラムであって、
     前記印刷設定に含まれる用紙サイズに設定可能なサイズには、高価値を示す所定のサイズがあり、
     前記第2取得処理にて取得した前記第2サイズ情報に示される用紙サイズが前記所定のサイズであれば、前記判定処理にて不適と判定した場合に、前記ラスタ画像が前記プリンタに送信される前に、前記コンピュータに前記警告処理を実行させ、
     前記第2取得処理にて取得した前記第2サイズ情報に示される用紙サイズが前記所定のサイズでなければ、前記コンピュータに前記警告処理を実行させない、
     ことを特徴とするサポートプログラム。
  7. 請求項1から請求項5のいずれか1つに記載するサポートプログラムであって、
     前記印刷設定に含まれる用紙種に設定可能な種類には、高価値を示す所定の種類があり、
     前記印刷設定に含まれる用紙種が前記所定の種類であれば、前記判定処理にて不適と判定した場合に、前記ラスタ画像が前記プリンタに送信される前に、前記コンピュータに前記警告処理を実行させ、
     前記印刷設定に含まれる用紙種が前記所定の種類でなければ、前記コンピュータに前記警告処理を実行させない、
     ことを特徴とするサポートプログラム。
  8. 請求項1から請求項7のいずれか1つに記載するサポートプログラムであって、
     前記警告処理では、
      前記第2取得処理にて取得した前記第2サイズ情報に示される用紙サイズを、前記ユーザインタフェースを用いて報知する警告を行うための前記処理を行う、
     ことを特徴とするサポートプログラム。
PCT/JP2021/045980 2020-12-24 2021-12-14 サポートプログラム WO2022138316A1 (ja)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US18/337,662 US20230333790A1 (en) 2020-12-24 2023-06-20 Non-transitory computer-readable recording medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2020214615A JP2022100566A (ja) 2020-12-24 2020-12-24 サポートプログラム
JP2020-214615 2020-12-24

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US18/337,662 Continuation US20230333790A1 (en) 2020-12-24 2023-06-20 Non-transitory computer-readable recording medium

Publications (1)

Publication Number Publication Date
WO2022138316A1 true WO2022138316A1 (ja) 2022-06-30

Family

ID=82159705

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2021/045980 WO2022138316A1 (ja) 2020-12-24 2021-12-14 サポートプログラム

Country Status (3)

Country Link
US (1) US20230333790A1 (ja)
JP (1) JP2022100566A (ja)
WO (1) WO2022138316A1 (ja)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001229005A (ja) * 2000-02-18 2001-08-24 Ricoh Co Ltd 自動用紙選択印刷処理方法及び装置
JP2007055114A (ja) * 2005-08-25 2007-03-08 Konica Minolta Business Technologies Inc 画像形成装置
JP2015009483A (ja) * 2013-06-28 2015-01-19 キヤノン株式会社 印刷制御装置、印刷制御方法、およびプログラム
JP2020166350A (ja) * 2019-03-28 2020-10-08 ブラザー工業株式会社 サポートプログラム、情報処理装置、および印刷方法

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5815619B2 (ja) * 2013-09-09 2015-11-17 シャープ株式会社 画像形成装置及び画像形成方法
JP2020140563A (ja) * 2019-02-28 2020-09-03 キヤノン株式会社 画像処理システム、画像処理方法、および画像処理装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001229005A (ja) * 2000-02-18 2001-08-24 Ricoh Co Ltd 自動用紙選択印刷処理方法及び装置
JP2007055114A (ja) * 2005-08-25 2007-03-08 Konica Minolta Business Technologies Inc 画像形成装置
JP2015009483A (ja) * 2013-06-28 2015-01-19 キヤノン株式会社 印刷制御装置、印刷制御方法、およびプログラム
JP2020166350A (ja) * 2019-03-28 2020-10-08 ブラザー工業株式会社 サポートプログラム、情報処理装置、および印刷方法

Also Published As

Publication number Publication date
JP2022100566A (ja) 2022-07-06
US20230333790A1 (en) 2023-10-19

Similar Documents

Publication Publication Date Title
JP7405217B2 (ja) サポートプログラム、情報処理装置、および印刷方法
WO2021117278A1 (ja) サポートプログラム、情報処理装置、および印刷方法
CN113396385A (zh) 支持程序、信息处理装置、以及印刷方法
JP2021093079A (ja) サポートプログラム、情報処理装置、および印刷方法
JP2008276625A (ja) 印刷制御システム及び印刷制御システムの制御方法及び情報処理装置の制御プログラム
US11650776B2 (en) Non-transitory computer-readable recording medium, and printing system
CN113383305A (zh) 支持程序、信息处理装置、以及印刷方法
US20230102837A1 (en) Non-transitory computer-readable medium storing support program
JP4915330B2 (ja) 印刷制御装置,印刷装置およびプログラム
WO2022138316A1 (ja) サポートプログラム
US11861252B2 (en) Non-transitory computer-readable recording medium containing computer-executable instructions which causes information processing device to control printer connected thereto
WO2022138317A1 (ja) サポートプログラム
JP2009003725A (ja) 印刷制御装置およびプリンタドライバのプログラム
US9990169B2 (en) Print controller, print control method and non-transitory computer readable recording medium for executing test print
WO2022163430A1 (ja) サポートプログラム
WO2023145532A1 (ja) サポートプログラム
WO2023176579A1 (ja) サポートプログラム
US11886756B2 (en) Non-transitory storage medium storing supporting program executable by information processing apparatus
WO2023145636A1 (ja) サポートプログラム
WO2023145531A1 (ja) サポートプログラム
WO2022163429A1 (ja) サポートプログラム
WO2022163428A1 (ja) サポートプログラム
WO2022230740A1 (ja) サポートプログラムおよび印刷システム
JP2023147784A (ja) サポートプログラム
JP2022109423A (ja) サポートプログラム

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: 21910465

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: 21910465

Country of ref document: EP

Kind code of ref document: A1