Support program

A support program addresses the lack of header and footer printing in OS standard programs by allowing user-defined text to be added and printed, enhancing user convenience.

JP2024129683APending Publication Date: 2024-09-27BROTHER KOGYO KK
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2023039036
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-13
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

OS standard general-purpose printing programs lack the functionality to print headers and footers, causing inconvenience to users.

Method used

A support program that displays a settings screen on a user interface to accept settings for headers and footers, adds this information to image data, and instructs the printer to print it, even without a printer driver installed.

Benefits of technology

Enables printing with headers and footers using user-set text, overcoming the limitations of OS standard general-purpose printing programs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024129683000001
    Figure 2024129683000001
Patent Text Reader

Abstract

To provide a technique capable of executing printing of at least one of a header and a footer in an information processing apparatus with an OS-standard general-purpose printing program embedded therein.SOLUTION: An auxiliary program 42 causes a user IF 13 to display a header / footer setting screen 60, and receives, as settings for at least one of a header and a footer, settings including text information and layout information. When a printing instruction is issued to a general-purpose printing program 41 of an OS 21 to cause a printer 2 to print an image, the printing instruction being output from an editing application 43 embedded in a PC 1, and when image data indicating an image to be printed in response to the printing instruction is input from the OS 21, the auxiliary program 42 adds at least one of header information and footer information to the input image data and performs processing to cause the printer 2 to perform printing based on the image data with the information added thereto.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

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

[0002] As a technology for controlling a printer from an information processing device such as a personal computer, for example, Patent Document 1 discloses a configuration in which a printer driver provided by a printer vendor generates image data in which information obtained from a user is laid out in the header area of ​​a page. [Prior art documents] [Patent documents]

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

[0004] In recent years, a technology has been put into practical use that controls a printer using a general-purpose print program that is part of the operating system (OS) and does not use the printer driver provided by the printer vendor mentioned above. With this technology, when the OS detects a printer, it associates it with the general-purpose print program that is standard to the OS, and thereafter, when a print instruction is received for that printer, the general-purpose print program that is standard to the OS generates print data without using a printer driver provided by the printer vendor, making it possible to print using the general-purpose print program that is standard to the OS.

[0005] However, the above-mentioned OS-standard general-purpose print program does not have a so-called header or footer printing function, which places and prints any information in at least one of the header area at the top of the page and the footer area at the bottom, as has been the case with printer drivers provided by printer vendors up until now. This causes inconvenience to users. [Means for solving the problem]

[0006] A support program devised for solving the above-mentioned problems is executable by a computer of an information processing device, and corresponds to a printer connected to the information processing device, the information processing device is equipped with an operating system having a general-purpose printing program, the computer is caused to display a setting screen on a user interface of the information processing device, and is caused to execute a reception process for receiving settings of at least one of a header and a footer via the setting screen, the setting of at least one of the header and the footer includes text information indicating text to be used in at least one of the header and the footer, and layout information indicating an arrangement of the text information, and the computer is further caused to execute a print instruction output from an application program incorporated in the information processing device, the print instruction instructing the general-purpose printing program to print an image on the printer. the reception process is configured to execute an assignment process for assigning at least one of header information and footer information to the image data input from the operating system when a print instruction is received to have the printer perform a print operation and image data indicating the image to be printed in accordance with the print instruction is input from the operating system, wherein the header information is information for arranging the text indicated in the text information in accordance with the layout information based on the setting of the header accepted in the reception process, and the footer information is information for arranging the text indicated in the text information in accordance with the layout information based on the setting of the footer accepted in the reception process; and a print process for performing processing to have the printer perform printing based on the image data to which at least one of the header information and the footer information has been assigned in the assignment process.

[0007] The support program disclosed in this specification displays a setting screen on a user interface of an information processing device and accepts at least one setting of a header and a footer, the setting including text information and layout information. Furthermore, the support program adds at least one of header information and footer information indicating the accepted setting to image data input from an OS, and causes a printer to perform printing based on the image data to which the at least one of the header information and the footer information has been added. This allows an information processing device in which a printer driver is not installed to realize a printing function of an image to which at least one of a header and a footer using text set by a user has been added.

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

[0009] The technology disclosed in this specification realizes a technology that enables printing of at least one of a header and a footer in an information processing device in which an OS-standard general-purpose printing program is installed. [Brief description of the drawings]

[0010] [Figure 1] FIG. 2 is a block diagram showing an outline of the electrical configuration of a PC. [Diagram 2] FIG. 11 is a sequence diagram illustrating an example of a print setting procedure. [Diagram 3] FIG. 4 is an explanatory diagram showing an example of a print setting screen. [Figure 4] FIG. 13 is an explanatory diagram showing an example of a detailed setting screen. [Diagram 5] FIG. 11 is an explanatory diagram showing an example of a font selection screen. [Figure 6] FIG. 11 is a sequence diagram illustrating an example of a printing execution procedure. [Figure 7]FIG. 11 is a sequence diagram illustrating an example of a printing execution procedure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0011] Hereinafter, a personal computer (hereinafter, referred to as a "PC") using the support program of the present embodiment will be described in detail with reference to the accompanying drawings. This specification discloses a support program executed on a PC.

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

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

[0014] The user IF 13 includes a display 13a, which is 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 combination of the display 13a capable of displaying information and a mouse, keyboard, or the like having an input acceptance function, or may be a touch panel having the function of the display 13a and the input acceptance function.

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

[0016] 1, the memory 12 of the PC 1 stores various programs and data including an operating system (hereinafter referred to as "OS") 21 including a general-purpose print program 41, an auxiliary program 42, and an editing application 43. The auxiliary program 42 is an example of a support program. The editing application 43 is an example of an application program.

[0017] The OS 21 is a multitasking OS that can process multiple tasks in parallel by managing and switching between multiple tasks. Examples of the OS 21 include Windows (registered trademark), macOS (registered trademark), Linux (registered trademark), iOS (registered trademark), and Android (registered trademark).

[0018] The OS 21 includes a generic printing program 41. The generic printing program 41 is a standard OS program prepared by the OS 21 vendor and provided as part of the OS 21. In other words, the PC 1 is equipped with the OS 21 having the generic printing program 41. The generic printing program 41 is not configured to use a printer driver specific to each printer.

[0019] The generic printing program 41 is a program that has the function of printing on multiple models of printers provided by multiple vendors based on user instructions. The generic printing program 41 supports generic functions that allow printing on many printers. Unlike printer drivers specific to each printer, the generic printing program 41 does not support functions specific to each printer or printer driver, particularly functions that require complex processing.

[0020] The general-purpose printing program 41 is a program including a function of receiving image data designated as a print target in a print instruction output from various applications based on a user instruction, and generating intermediate image data based on the image data. The intermediate image data is, for example, XPS data. The general-purpose printing program 41 further has a function of generating print data in a format that can be used for printing by various printers based on the intermediate image data. The print data is, for example, PWGRaster data or PDF data. The general-purpose printing program 41 also has a function of transmitting the generated print data to a printer designated as a device to execute printing via a communication function of the OS 21.

[0021] The auxiliary program 42 is a program or a group of programs that executes processing based on instructions from the OS 21 in association with the processing of the general-purpose printing program 41, and is a program 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, and is provided, for example, by the vendor of the printer 2. The general-purpose printing program 41 starts the auxiliary program 42 corresponding to the printer 2 when the printer 2 is selected as the device that will execute printing, when an instruction for detailed print settings is received while the printer 2 is selected, when an instruction to execute printing on the printer 2 is received, etc. The auxiliary program 42 is, for example, called a print support app (abbreviated as PSA) or a hardware support app (abbreviated as HSA).

[0022] The auxiliary program 42 may be a combination of multiple programs that each accept an execution command, or a single program that can execute different processes according to commands. The auxiliary program may also be a program prepared by a printer vendor for each printer type. For example, an auxiliary program for inkjet printers and an auxiliary program for laser printers may be prepared. There may be an auxiliary program prepared not only for each printer type, but also for each printer model or series of printer models.

[0023] For example, when a new printer is connected to the PC 1, the OS 21 of the PC 1 can download an appropriate auxiliary program according to the type and model of the connected printer from a server of the printer vendor or the like and install it in the PC 1. The OS 21 stores in the memory 12 the identification information of the installed auxiliary program in association with the printer information of the newly connected printer.

[0024] The editing application 43 is, for example, a program for creating and editing image data and document data. The editing application 43 may be, for example, Microsoft's Word (registered trademark) or PowerPoint (registered trademark), or may be a program provided by the vendor of the printer 2. The editing application 43 can receive, for example, a print execution instruction for causing the printer 2 to execute printing via the user IF 13. Note that the editing application 43 is not limited to a program for creating and editing data, and may be a program having a function of receiving a display instruction or a print instruction for various information such as map information and web pages in response to a user request.

[0025] In this embodiment, the PC1 is connected to the printer 2 via the communication IF 14 as shown in FIG. 1. The printer 2 is a device having at least a printing function and a communication function. For example, when the printer 2 receives print data from the PC1 or the like, it can execute printing based on the received print data. The printer 2 may be a device capable of color printing, or may be a device capable of only monochrome printing.

[0026] Next, the procedure for causing the printer 2 to print in the PC 1 of this embodiment will be described. Note that each process in this embodiment basically indicates processing by the CPU 11 according to commands written in a program such as the auxiliary program 42. Processing by the CPU 11 also includes control of hardware using the API of the OS 21. In this specification, the operation of each program will be described without a detailed description of the OS 21. Also, "obtain" is used as a concept that does not require a request.

[0027] First, a print setting procedure for accepting a print setting instruction from a user will be described with reference to the sequence diagram of Fig. 2. The editing application 43 accepts creation and editing of text and images based on the user's instruction. When the user wants to print the text or image being displayed, the user selects print in the editing application 43 (A01). The user can select print from a menu of operation items provided in the editing application 43, for example.

[0028] When the editing application 43 accepts the selection of printing, it requests the general-purpose printing program 41 of the OS 21 to display a screen for accepting instructions regarding printing (A02). In response to the request, the general-purpose printing program 41 causes the user IF 13 to display a print setting screen (A03). The print setting screen is a screen for accepting user instructions regarding various print settings that can be accepted by the general-purpose printing program 41. The print setting screen may be displayed by the editing application 43.

[0029] An example of the print setting screen is shown in FIG. 3. The print setting screen D2 in the example of FIG. 3 includes a printer selection field 51, an information display field 52, a basic print setting selection field 53, a detailed settings button 54, and a print button 55. The printer selection field 51 is a field for accepting the selection of a device to execute printing. The information display field 52 is a field for displaying information specified by an auxiliary program corresponding to the device selected in the printer selection field 51. For example, when the selection of printer 2 is accepted in the printer selection field 51, or when a print instruction is accepted in a state in which printer 2 is set as the printer normally used in the OS 21, the general-purpose print program 41 can start the auxiliary program 42 and display an image prepared by the auxiliary program 42 in the information display field 52.

[0030] The basic print settings selection field 53 is a field for accepting basic settings such as the number of copies to be printed, the orientation of the document, etc. The detailed settings button 54 is a button for accepting an instruction to make detailed settings that are not included in the basic print settings selection field 53. The print button 55 is a button for accepting an instruction to execute printing with the currently selected print settings.

[0031] For example, when printer 2 is selected in the printer selection field 51 as the device to perform printing, and an instruction for detailed print settings is received by operating the detailed settings button 54 (A11), the general-purpose printing program 41 passes an instruction to the auxiliary program 42 corresponding to printer 2 to start accepting the detailed print settings (A12).

[0032] When the auxiliary program 42 is started in response to the instruction of A12, it acquires the capability information of the printer 2. Specifically, the auxiliary program 42 requests the general-purpose printing program 41 to acquire the capability information (A13). The general-purpose printing program 41 sends a capability information acquisition request to the printer 2 and acquires the capability information from the printer 2 (A14). The general-purpose printing program 41 passes the acquired capability information to the auxiliary program 42 (A15). This allows the auxiliary program 42 to acquire the capability information of the printer 2.

[0033] The general-purpose printing program 41 communicates with the printer 2 in A14 via the OS 21, for example, by communication according to IPP (abbreviation of internet printing protocol). The auxiliary program 42 may obtain capability information directly from the printer 2, for example, by using MIB (abbreviation of Management Information Base), instead of making a request to the general-purpose printing program 41.

[0034] The capability information acquired from the printer 2 includes information on parameters that can be set as print settings, and information on fonts stored in the printer 2. The capability information may further include, for example, information on remaining amounts of consumables, information on selectable trays, paper information on paper set in each tray, and information on available print resolutions. The printer 2 may also have a function of performing image processing based on a received print job and printing based on the data after image processing, such as a function of performing aggregate printing such as Nin1, composite printing such as watermarks, and economical printing that saves on coloring materials. If the printer 2 has an image processing function that can be executed by the printer 2, the printer 2 may pass capability information including information on the function. The printer 2 may also pass capability information including information indicating its own status.

[0035] Printer 2 stores in advance a number of fonts that can be used for printing. When printer 2 receives a capability information acquisition request sent from PC 1, printer 2 transmits capability information including font information indicating the multiple stored fonts as capability information including information about itself to PC 1. The font information is information indicating fonts installed in printer 2, and is, for example, information indicating at least one of font type, font style, font size, character decoration, and font color. A13 to A15 for acquiring capability information including font information are an example of an acquisition process.

[0036] Based on the acquired capability information, the auxiliary program 42 causes the user IF 13 to display a detailed setting screen that accepts detailed print settings (A17). The detailed setting screen displayed by the auxiliary program 42 includes as options parameters within the range that can be executed by the printer 2. The auxiliary program 42 can accept user operations on the displayed detailed setting screen. Since there are many print setting items that can be accepted on the detailed setting screen, the auxiliary program 42 may be able to accept an instruction to switch the items to be selected, for example, by using multiple tabs.

[0037] The auxiliary program 42 can accept an instruction to add various information to the image to be printed as at least one of a header and a footer in response to a user's operation. The header is information placed in a header area at the top of the page, and the footer is information placed in a footer area at the bottom of the page.

[0038] The auxiliary program 42 can display, in A17, a header / footer setting screen 60 as shown in Fig. 4 on the user IF 13 as a screen for accepting detailed print settings. The header / footer setting screen 60 is a screen that can accept settings for at least one of the header and the footer, and is an example of a setting screen. The header / footer setting screen 60 shown in Fig. 4 includes a format setting field 61, a position setting field 62, a font selection button 63, a print mode selection button 64, a background color selection button 65, and a layout image 66.

[0039] 4 includes a date setting field 611, a time setting field 612, and a PC information setting field 614. The date setting field 611 is a field for accepting a setting as to whether or not to print the date as a header or footer, and a setting of the format to be used if printing. The time setting field 612 is a field for accepting a setting as to whether or not to print the time as a header or footer, and a setting of the format to be used if printing.

[0040] The PC information setting field 614 on the header / footer setting screen 60 is a field for accepting a setting as to whether or not to print PC information, which is information that the PC1 itself can acquire, as a header or footer, and a selection of information to be printed when printing. Information that the PC1 can acquire is, for example, a file name or folder name of a file to be printed, PC identification information for identifying the PC1, a login user name when login to the PC1 is accepted, and a page number of each page.

[0041] 4 is a field for accepting settings for the layout of information to be printed when a setting for printing information as a header or footer is accepted. The layout information accepted in the position setting field 62 is an example of layout information.

[0042] 4 shows an example of printing only one of the header and the footer, and selecting one predetermined position within the page. However, the auxiliary program 42 may be capable of printing both the header and the footer, and in that case, may accept the selection of the header position and the footer position separately. Also, when printing multiple pieces of information as the header or footer, the auxiliary program 42 may be capable of accepting the selection of the layout for each piece of information to be printed.

[0043] Furthermore, the font selection button 63 on the header / footer setting screen 60 is a button that accepts font selection based on font information acquired from the printer 2. When the auxiliary program 42 accepts an operation on the font selection button 63, the auxiliary program 42 displays a font selection screen 70 on the user IF 13 as shown in Fig. 5, for example, and accepts font selection by user operation. The auxiliary program 42 can accept selection of, for example, font type, font style, font size, character decoration, and font color on the font selection screen 70.

[0044] The auxiliary program 42 sets text information indicating text to be printed in at least one of the header and the footer based on settings received in at least one of the date setting field 611, the time setting field 612, and the PC information setting field 614 in the format setting field 61 of the header / footer setting screen 60. When the auxiliary program 42 has set the text information, it may be possible to receive an operation on the font selection button 63. Using the header / footer setting screen 60, the user can set the text indicated in the set text information to be printed in at least one of the header and the footer using the font selected on the font selection screen 70.

[0045] The auxiliary program 42 can accept a selection of the type of font to be used for the text to be added as a header or footer, so that text in a font preferred by the user can be synthesized as a header or footer. In particular, the auxiliary program 42 accepts a font selection based on font information acquired from the printer 2, so that text in a font suitable for the printer 2 can be synthesized as a header or footer. The auxiliary program 42 may also be capable of accepting a selection of a font stored in the PC 1. Also, instead of acquiring font information by including it in the capability information of the printer 2, if the auxiliary program 42 has the information in advance as font information of the printer 2, the auxiliary program 42 may read out the information or acquire it from a server or the like.

[0046] Furthermore, the print mode selection button 64 on the header / footer setting screen 60 is a button that accepts the selection of whether to perform transparent printing or overwriting printing when image data is included in the header or footer position. Transparent printing is a method of making the background of the header or footer transparent, and printing the text of the header or footer over the image when an image overlaps the header or footer position. Overwriting printing is a method of making the background of the header or footer opaque, and printing the text of the header or footer by filling the image with the background color when an image overlaps the header or footer position.

[0047] When overwrite printing is set by the print mode selection button 64, the auxiliary program 42 becomes able to accept an operation on the background color selection button 65. When an operation on the background color selection button 65 is accepted, the auxiliary program 42 displays, for example, a color chart and accepts the selection of a background color to be printed as the background of the header or footer position.

[0048] Furthermore, the layout image 66 on the header / footer setting screen 60 is an image showing the type of information to be printed and its arrangement when an instruction to print a header or footer is received. The layout image 66 allows the user to check the arrangement of each piece of information, and prevents printing that is not intended by the user. The auxiliary program 42 displays the layout image 66 on the header / footer setting screen 60 that receives print settings, making it easy for the user to set the arrangement of the header or footer. Note that the layout image 66 needs to at least show the arrangement of the set header or footer, and does not need to include text information.

[0049] The auxiliary program 42 may further be able to accept a setting to print, as a header or footer, for example, any text or information based on capability information acquired from the printer 2. For example, when the printer name, model name, serial number, MAC address, IP address, etc. of the printer 2 can be acquired as capability information of the printer 2, the auxiliary program 42 may be able to accept a setting to print, as a header or footer, the acquired information or information that has been processed in some way based on that information.

[0050] Returning to the description of the print setting procedure in Fig. 2, the auxiliary program 42 displays the header / footer setting screen 60 in A17, and then accepts (A18) user settings related to the header and footer via the displayed header / footer setting screen 60. A18 is an example of the acceptance process.

[0051] The auxiliary program 42 displays an image showing the arrangement of the header and footer on the page as a layout image 66 based on the settings received in the format setting field 61 and the position setting field 62 of the header / footer setting screen 60 (A19). A19 is an example of a layout display process.

[0052] In addition, the auxiliary program 42 can display a detailed setting screen other than the header / footer setting screen 60 by switching tabs, and can accept various print setting instructions other than the header and footer settings. The auxiliary program 42 can accept, as the print setting, for example, an aggregation setting as to whether or not to perform aggregate printing in which images of multiple pages are reduced and printed on one sheet.

[0053] Furthermore, the user can issue an instruction to finalize the print settings and end the settings by operating the OK button on a detailed settings screen such as the header / footer setting screen 60. When the auxiliary program 42 receives an input of an instruction to end the detailed settings from the user (A22), it ends the display of the detailed settings screen and stores the received print setting information (A23).

[0054] For example, when at least one of a header and a footer setting is accepted on the header / footer setting screen 60, the auxiliary program 42 stores, in A23, header information indicating the accepted header setting and footer information indicating the footer setting in the memory 12. Note that, when a header or footer setting is not accepted, the auxiliary program 42 may store, as the header information or footer information, information indicating that the setting has not been accepted.

[0055] Furthermore, for example, when the auxiliary program 42 has received a collection setting as the print setting, the auxiliary program 42 stores in the memory 12, in A23, information on the collection setting including information on the number of pages to be printed on one sheet.

[0056] Then, the auxiliary program 42 notifies the general-purpose printing program 41 of the end of acceptance of the detailed print settings (A25). The general-purpose printing program 41 notifies the editing application 43 of the end of the print settings based on the notification from the auxiliary program 42 (A26). The auxiliary program 42 may notify the editing application 43 of the end of acceptance of the print settings. The editing application 43 activates the print settings screen displayed in A03 (for example, the print settings screen D2 shown in FIG. 3), and becomes available to accept user instructions such as an instruction to execute printing or an instruction to cancel printing.

[0057] As described above, the print setting screen D2 (see FIG. 3) includes an information display field 52 capable of displaying an image prepared by the auxiliary program 42. When the general-purpose print program 41 receives an operation on the information display field 52, it passes information on the operation to the auxiliary program 42. The auxiliary program 42 can then display, in the information display field 52, an information screen capable of receiving settings for at least one of a header and a footer, and can receive an instruction for setting at least one of a header and a footer, according to a user's instruction on the information display field 52. Even when receiving via the information display field 52, the auxiliary program 42 may display, for example, a screen shown in FIG. 4, and be capable of receiving settings for the header and footer.

[0058] Next, the print execution procedure will be described with reference to the sequence diagram of Fig. 6. After the user determines the image to be printed and the print settings for the printer 2, the user inputs an instruction to execute printing in the editing application 43 (B01). For example, when the editing application 43 receives an operation on the print button 55 on the print settings screen D2 shown in Fig. 3, it determines that it has received an execution instruction to the general-purpose printing program 41 to cause the printer 2 to print the selected image.

[0059] The editing application 43 passes the received print instruction information to the general-purpose printing program 41 (B02). The general-purpose printing program 41 acquires, from the editing application 43, image data indicating an image to be printed and information indicating print settings as the print instruction information.

[0060] The general-purpose printing program 41 generates intermediate image data by converting the format of the image data of the image to be printed into the format of intermediate image data based on the information acquired from the editing application 43 (B03). The image data included in the editing application 43 is of various types, and the general-purpose printing program 41 converts the image data to be printed into intermediate image data suitable for generating print data. Note that if the image data to be printed is suitable for generating print data, the generation of the intermediate image data may be omitted and the intermediate image data may be used as is.

[0061] Note that, before generating the intermediate image data, the general-purpose printing program 41 may start an auxiliary program 42 corresponding to the designated device, the printer 2, to notify the start of print job processing. When the auxiliary program 42 is started from the general-purpose printing program 41, it can pass information indicating various instructions used when generating the intermediate image data to the general-purpose printing program 41 as necessary.

[0062] After generating the intermediate image data, the general-purpose printing program 41 starts the auxiliary program 42 (B05). The auxiliary program 42 can obtain the intermediate image data generated by the general-purpose printing program 41 by making a request to the general-purpose printing program 41. Then, the auxiliary program 42 edits the intermediate image data and print setting information received from the general-purpose printing program 41 based on the print settings stored in A23 of FIG.

[0063] For example, when an aggregation setting is stored as the print setting stored in A23 of the print setting procedure (see FIG. 2) (opt: [aggregation setting available]), the auxiliary program 42 aggregates intermediate image data of multiple pages to generate intermediate image data for one page (B06). B06 is an example of an aggregation generation process. The intermediate image data generated in B06 is an example of an aggregated image. Note that, when the general-purpose printing program 41 has a function of aggregating image data, the auxiliary program 42 may instruct the general-purpose printing program 41 to aggregate the image data.

[0064] Furthermore, the auxiliary program 42 may embed a command in the intermediate image data when, for example, at least one of a header and a footer is accepted as a print setting. For example, when a setting to use a font held by the printer 2 is accepted by the font selection button 63 on the header / footer setting screen 60 (see FIG. 4), the auxiliary program 42 determines to add a command to the intermediate image data. When it determines that there is information to add a command (opt: [command information present]), the auxiliary program 42 adds the command to the intermediate image data based on the print setting information (B07). B07 is an example of the adding process. The intermediate image data is vector format image data indicating the image to be printed.

[0065] Even if the print settings are set to aggregate, commands are added separately from the images in B07. In other words, even if the intermediate image data is an aggregate of multiple pages of image data, the header and footer are placed for each sheet based on the user's settings.

[0066] A command is an instruction to make the printer 2 perform a specified operation. For example, when printing specified text as a header or footer using one of the fonts held by the printer 2, the auxiliary program 42 passes a print instruction to the printer 2 with a command including a font specification, text specification, and layout specification. When the printer 2 receives a print instruction including a command, it can read out font information stored in the printer itself and print the specified text at a specified position based on the command instruction.

[0067] The auxiliary program 42 passes the edited intermediate image data to the general-purpose printing program 41 and requests the general-purpose printing program 41 to rasterize (B11). The general-purpose printing program 41 rasterizes the intermediate image data and generates raster data, which is bitmap data (B12). The general-purpose printing program 41 then passes the generated raster data to the auxiliary program 42 (B13). As a result, the raster data, which is image data in a raster format that indicates the image to be printed, is input from the OS 21 to the auxiliary program 42.

[0068] Note that the auxiliary program 42 may perform rasterization instead of the general-purpose printing program 41. In this case, the auxiliary program 42 performs rasterization based on the intermediate image data received in the print execution instruction to generate raster data. Rasterization by the auxiliary program 42 allows greater freedom compared to rasterization by the general-purpose printing program 41, and is more likely to generate raster data suitable for printing by the printer 2. On the other hand, if rasterization is performed by the general-purpose printing program 41, the processing by the auxiliary program 42 is less, and the program size of the auxiliary program 42 can be reduced.

[0069] Then, the auxiliary program 42 edits the raster data acquired in B13 based on the print setting information stored in A23 of the print setting procedure (see FIG. 2). For example, when the auxiliary program 42 has received at least one setting of a header and a footer as the print setting, the auxiliary program 42 may composite an image into the raster data.

[0070] For example, when a setting is received in the format setting field 61 of the header / footer setting screen 60 (see FIG. 4) to print text indicating various information as a header or footer, the auxiliary program 42 determines to composite an image. Then, when it is determined that there is an image to composite (opt: [with composite image]), the auxiliary program 42 composites the image with the raster data based on the print setting information (B15). B15 is an example of an attachment process. Specifically, when a header is set, the auxiliary program 42 composites the header image with the raster data, and when a footer is set, the auxiliary program 42 composites the footer image with the raster data.

[0071] When an aggregation setting is accepted as the print setting and intermediate image data in which images of multiple pages are aggregated is generated in B06, aggregated raster data is generated based on the aggregated intermediate image data in B12. In B15, the auxiliary program 42 composites an image into the aggregated raster data. In other words, even if the image data is aggregated, the header and footer are arranged for each sheet based on the user's settings.

[0072] When the auxiliary program 42 receives an aggregation setting as a print setting, the auxiliary program 42 may add a header or footer to the image of each page instead of adding the header or footer to the aggregated image. When the auxiliary program 42 receives both an aggregation setting and a header or footer setting, the auxiliary program 42 may be able to accept a selection of whether to add the header or footer to each page or each sheet.

[0073] The auxiliary program 42 encodes the processed raster data into PDL data to generate print data (B17). The print data generated in B17 is print data based on image data to which at least one of header information and footer information has been added.

[0074] The auxiliary program 42 accepts at least one of the header and footer settings made by the user on the header / footer setting screen 60, and generates print data to which at least one of the header information and footer information reflecting the settings has been added, allowing for a high degree of freedom in the header and footer.

[0075] In addition, when the print settings include information to add a command, the auxiliary program 42 may add the command to the print data after generating the print data in B17, instead of adding the command to the intermediate image data in B07.

[0076] Furthermore, when the addition of at least one of a header and a footer is set, the auxiliary program 42 may cause the user IF 13 to display a preview image including the image to be printed and the image of the set header or footer. The preview image is an example of a layout image, and the process of displaying the preview image is an example of a layout display process. By displaying the preview image immediately before printing, the user can make a final check of the print image to which at least one of a header and a footer has been added.

[0077] Furthermore, the auxiliary program 42 passes the generated print data to the general-purpose print program 41, and instructs it to send it to the printer 2 (B21). B21 is a process for causing the printer 2 to print based on the image data to which at least one of header information and footer information has been added, and is an example of a print process.

[0078] The print data that the auxiliary program 42 passes to the general-purpose print program 41 in B21 may be data in a format that can be printed by the printer 2. Note that the PDL data generated by the auxiliary program 42 may be data in a format that can be used for printing by printers other than the model of the printer 2.

[0079] The general-purpose printing program 41 transmits print data to the printer 2 in response to an instruction from the auxiliary program 42, and instructs the printer 2 to print (B22). The printer 2 executes printing based on the received print data (B23). As a result, a printed matter based on the print instruction output from the editing application 43 is generated.

[0080] 6, the print data is passed to the general-purpose print program 41, which then transmits it to the printer 2. Alternatively, the auxiliary program 42 may transmit a print command instructing printing to be performed and the print data to the printer 2. For example, when the print settings include settings related to image processing executable by the printer 2, the auxiliary program 42 may generate a print command that also includes information on that processing. In this case, the auxiliary program 42 may notify the general-purpose print program 41 of completion information after completing transmission of the print data.

[0081] So far, we have described the procedure when header and footer settings are accepted as print settings before a print execution instruction is given, and print setting information including that information is stored. Next, we will explain the print execution procedure when a print execution instruction is accepted without accepting an instruction for detailed print settings, with reference to the sequence diagram in Fig. 7. In the following explanation and Fig. 7, steps similar to the print execution procedure in Fig. 6 are given the same reference numerals and the explanation will be simplified.

[0082] The editing application 43 receives a user instruction to execute printing (B01) and passes the print instruction (B02) to the general-purpose printing program 41. The general-purpose printing program 41 generates intermediate image data (B03) and passes an execution instruction to the auxiliary program 42 (B05).

[0083] The auxiliary program 42 receives the execution instruction of B05 and acquires the capability information of the printer 2. Specifically, the auxiliary program 42 requests the general-purpose printing program 41 to acquire the capability information (C01), and acquires the capability information of the printer 2 (C03) via the general-purpose printing program 41 (C02). C01 to C03 are the same processes as A13 to A15 of the print setting procedure (see FIG. 2). C03 is an example of an acquisition process.

[0084] Then, based on the acquired capability information, the auxiliary program 42 displays, for example, a header / footer setting screen 60 as shown in Fig. 4 (C05) and accepts settings by the user (C07). That is, the auxiliary program 42 may accept settings for the header and footer after accepting an execution instruction in B05 and before generating print data. In this way, compared to a configuration in which the header / footer setting screen 60 is displayed as print settings and settings are stored, the user sets at least one of the header and footer immediately before printing, making it easier to reflect the user's intentions in the printed matter.

[0085] On the other hand, as described above, if the auxiliary program 42 accepts settings related to the header and footer when a display instruction (e.g., A02 in FIG. 2) is output from the editing application 43, the user does not need to set the header and footer every time, which reduces the burden on the user, compared to a configuration in which a setting screen is displayed every time printing is performed.

[0086] When the auxiliary program 42 receives an instruction from the user to end the settings (C08), it requests rasterization from the general-purpose printing program 41, and generates print data with header and footer settings added, as described above (B13-B17). Furthermore, the auxiliary program 42 sends the generated print data to the printer 2 via the general-purpose printing program 41 (B21-B22). The printer 2 executes printing based on the received print data (B23).

[0087] The auxiliary program 42 may receive an execution instruction of B05, attempt to read out the print setting information, and execute C01 to C08 if the print setting information is not stored. The auxiliary program 42 may also display a preview image based on the print data. In this procedure, if an aggregate setting is accepted as the print setting, the auxiliary program 42 may add a header or footer to the aggregated raster data.

[0088] As described above in detail, the auxiliary program 42 of this embodiment displays the header / footer setting screen 60 (see FIG. 4) and accepts text information and layout information as at least one of the settings of the header and the footer. When a print instruction is output from the editing application 43 to the general-purpose print program 41 to cause the printer 2 to print an image and image data showing an image to be printed is input from the OS 21, the auxiliary program 42 adds at least one of the header information and the footer information to the image data and causes the printer 2 to print based on the image data to which the header information and the footer information have been added. This allows the header or footer print function using the text set by the user to be realized even in the PC 1 in which a printer driver is not installed.

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

[0090] Also, for example, the examples of the screens displayed on the user IF 13 are all merely examples and are not limited to the examples shown in the drawings. Furthermore, any wording, object shape, background, etc. displayed on each of the illustrated screens may be used. Furthermore, for example, while the print setting screen D2 including one information display field 52 is shown in FIG. 3, the arrangement, shape, size, number, etc. of the information display field 52 are not limited to the example shown in this figure. Furthermore, the information display field 52 may not be present.

[0091] Also, for example, the auxiliary program 42 may not accept a selection of a font as header or footer information. For example, the auxiliary program 42 may add text using a font that the PC 1 has as the header or footer. In that case, the auxiliary program 42 may not acquire font information from the printer 2.

[0092] Furthermore, the auxiliary program 42 may not display a layout image. For example, the auxiliary program 42 may display the header / footer setting screen 60 (see FIG. 4) that does not include the layout image 66. Furthermore, the display order and display arrangement of each item that accepts selection on the header / footer setting screen 60 are not limited to the example shown in the figure.

[0093] Furthermore, when the user changes the normally used printer from another printer to printer 2 via the OS 21 after the print setting screen D2 is displayed by the general-purpose printing program 41, the general-purpose printing program 41 may also start the auxiliary program 42. In this case, the auxiliary program 42 may also display, for example, in the information display field 52, an information screen capable of accepting instructions regarding the header and footer.

[0094] The auxiliary program 42 may be started not only when printing is selected, but also when, for example, the printer 2 is selected as the device setting. Even in this case, the auxiliary program 42 may display a setting screen that can accept the header and footer settings as default print settings.

[0095] 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 other roles. The program that executes the process of the present embodiment is not limited to the auxiliary program 42, but may be any program that receives instructions from the OS 21 or the general-purpose printing program 41 when printing is performed using the general-purpose printing program 41. For example, it may be a print workflow application (Print workflow) whose specifications have been published by Microsoft.

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

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

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

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

Claims

1. A support program executable by a computer of an information processing device and corresponding to a printer connected to the information processing device, the information processing device being equipped with an operating system having a general-purpose printing program; The computer includes: displaying a setting screen on a user interface of the information processing device, and executing a receiving process for receiving settings of at least one of a header and a footer via the setting screen, the settings of at least one of the header and the footer including text information indicating text to be used in at least one of the header and the footer, and layout information indicating an arrangement of the text information; The computer further comprises: a print instruction output from an application program installed in the information processing device, the print instruction being for causing the general-purpose print program to print an image on the printer, and image data showing the image to be printed in accordance with the print instruction being input from the operating system; an assignment process for assigning at least one of header information and footer information to the image data input from the operating system, the header information being information for arranging the text shown in the text information in accordance with the layout information based on the setting of the header accepted in the reception process, and the footer information being information for arranging the text shown in the text information in accordance with the layout information based on the setting of the footer accepted in the reception process; a printing process for causing the printer to perform printing based on the image data to which at least one of the header information and the footer information has been added in the adding process; Execute the A support program configured to:

2. 2. A support program as claimed in claim 1, The settings of the header or footer accepted in the acceptance process include a font type, the header information is information indicating that the text shown in the text information is to be arranged in a font indicated in the font type in accordance with the layout information based on the header setting accepted in the reception process, and the footer information is information indicating that the text shown in the text information is to be arranged in a font indicated in the font type in accordance with the layout information based on the footer setting accepted in the reception process. A support program configured to:

3. A support program according to claim 2, The computer includes: executing an acquisition process for acquiring font information indicating a plurality of fonts stored in the printer from the printer; In the reception process, a selection of one font from the plurality of fonts included in the font information acquired in the acquisition process is accepted as the setting of at least one of the header and the footer, and the accepted font is set as the font type. A support program configured to:

4. 2. A support program as claimed in claim 1, The computer includes: executing a layout display process for displaying a layout image showing an arrangement shown in the layout information on the user interface; A support program configured to:

5. A support program according to claim 4, The computer includes: when the print instruction is given and the image data indicating the image to be printed in accordance with the print instruction is input from the operating system, executing the layout display process before executing the print process; A support program configured to:

6. A support program according to claim 4, In the layout display process, the setting screen including the layout image is displayed on the user interface. A support program configured to:

7. 2. A support program as claimed in claim 1, The setting screen can accept a consolidation setting as to whether or not to perform consolidation printing in which images of multiple pages are reduced and printed on one sheet; The computer includes: When the print instruction is given, the image data is input from the operating system, and the consolidation setting for performing the consolidation printing is set, executes an aggregate generation process for generating an aggregate image for the aggregate printing based on the image data input from the operating system; In the adding process, at least one of the header information and the footer information is added to the aggregate image generated in the aggregation generating process. A support program configured to:

8. 2. A support program as claimed in claim 1, The computer includes: When a display instruction is output from the application program installed in the information processing device, the reception process is executed, and at least one of the settings of the header and the footer received in the reception process is stored in a memory of the information processing device; In the adding process, the setting stored in the memory is read out, and at least one of the header information and the footer information for arranging the text shown in the text information in accordance with the layout information is added to the image data input from the operating system based on the setting read out from the memory. A support program configured to:

9. 2. A support program as claimed in claim 1, The computer includes: When the print instruction is received, the reception process is executed before the assignment process is executed. A support program configured to:

10. 2. A support program as claimed in claim 1, When the print instruction is given, the image data in vector format indicating the image to be printed in response to the print instruction is input from the operating system; At least one of the header information and the footer information is a command, and in the adding process, the command is embedded in the image data. A support program configured to:

11. 2. A support program as claimed in claim 1, When the print instruction is issued, the image data in a raster format indicating the image to be printed in response to the print instruction is input from the operating system; In the adding process, the text indicated in the text information is written to the image indicated in the image data in accordance with the layout information based on at least one of the header information and the footer information, thereby adding at least one of the header information and the footer information. A support program configured to:

Citation Information

Patent Citations

  • Printer language conversion program, computer-readable recording medium recording printer language conversion program, printer language converter, and printer language converting method

    JP2002215355A

  • Support program

    JP2022120952A

  • Print control unit and program

    JP2008065679A