Support program
The support program addresses the lack of header and footer printing in OS-standard general-purpose printing programs by adding these features to image data, enhancing user convenience and functionality.
Patent Information
- Application Number
- JP2023039034
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-13
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2043-03-13
AI Technical Summary
Existing OS-standard general-purpose printing programs lack the functionality to print headers and footers, causing inconvenience to users.
A support program that acquires main body information from a printer and adds header and footer information to image data, enabling printing functions even without a printer driver installed.
Enables printing with headers and footers using the main body information of the printer, enhancing user convenience and functionality in OS-standard general-purpose printing programs.
Smart Images

Figure 2024129681000001
Abstract
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 allows you to print any information in at least one of the header area at the top of the page and the footer area at the bottom of the page, as was previously available in printer drivers provided by printer vendors, and 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 is a support program corresponding 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 execute an acquisition process for acquiring main body information stored in the printer from the printer, and the computer is further caused to receive a print instruction output from an application program incorporated in the information processing device, the print instruction being for the general-purpose printing program to cause the printer to print an image, and an image data indicating the image to be printed in accordance with the print instruction. the image data input from the operating system, the image data being input from the operating system, the header information being information for arranging information based on the main information acquired in the acquisition process in a header area at an upper part of a page, and the footer information being information for arranging information based on the main information acquired in the acquisition process in a footer area at a lower part of a page; and the image data being configured to execute 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.
[0007] The support program disclosed in this specification acquires main body information from a printer, and adds at least one of header information and footer information for arranging information based on the main body information to image data input from an OS. Furthermore, the support program causes the printer to perform printing based on the image data to which the header information and at least one of the footer information have been added. This allows an information processing device in which a printer driver is not installed to realize a printing function for an image to which at least one of a header and a footer using the main body information of the printer 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. 13 is an explanatory diagram showing an example of a detailed setting 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). When the printer 2 receives the capability information acquisition request sent from the PC 1, it sends capability information including its own information to the PC 1. 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. A13 to A15 are an example of an acquisition process.
[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 main body information 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] The main body information stored in the printer 2 includes, for example, printer information, font information, special character information, and special image information. The printer information is information for identifying the printer 2, and is, for example, at least one of the printer name, model name, serial number, MAC address, and IP address. The font information is information indicating a font installed in the printer 2, and is, for example, information indicating at least one of the font type, font style, font size, character decoration, and font color.
[0036] The special character information and the special image information are information indicating image data of characters or images stored in the printer 2, and are, for example, information indicating at least one of emoticons, logos, icons, and symbol marks. The image data of characters or images stored in the printer 2 are an example of main image data. The printer 2 may be capable of storing image data indicating any text or image as special character information or special image information in response to a user's operation. When any image data is stored, the printer 2 may include information on the image data as main information in the capability information and transmit it.
[0037] 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.
[0038] 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.
[0039] 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, an image selection button 64, an add text button 65, and a layout image 66.
[0040] 4 includes a date setting field 611, a time setting field 612, a main body information setting field 613, 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. The date and time are an example of conversion specification information that converts information provided in PC 1 into pre-specified text, and are an example of additional information.
[0041] The main body information setting field 613 is a field for accepting a setting of whether to print printer information included in the main body information of the printer 2 as a header or footer, and a selection of information to be printed when printing. When the auxiliary program 42 accepts an operation on the main body information setting field 613, it becomes possible to accept a selection of printer information to be included in the image to be printed as a header or footer, for example, as shown in FIG. 5. The auxiliary program 42 may display only printer information that has been acquired as main body information as a choice, or may display all printer information that may be included in the main body information as a choice. When printer information not included in the main body information is selected, the auxiliary program 42 may include an image indicating that there is no information in the image to be printed.
[0042] 5 shows a mode in which one of a plurality of printer information items is selected, the auxiliary program 42 may be capable of listing a plurality of printer information items side by side. In that case, the auxiliary program 42 may accept a selection for each piece of printer information as to whether or not to print it. The printer information printed as the header or footer may be the printer information itself, or may be information to which some processing has been applied to the printer information.
[0043] Furthermore, the PC information setting field 614 on the header / footer setting screen 60 is a field for accepting a setting of whether 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 that identifies the PC1, a login user name when login to the PC1 is accepted, and a page number of each page. The PC information is an example of conversion specification information in which information provided by the PC1 is converted into pre-specified text, and is an example of additional information.
[0044] Moreover, the position setting field 62 of the header / footer setting screen 60 shown in FIG. 4 is a field that accepts the setting of the print position when the header or footer is printed. Note that FIG. 4 shows an example of the case where only one of the header and the footer is printed, and a predetermined position within the page is selected. However, the auxiliary program 42 may be capable of printing both the header and the footer, and in that case, it is preferable to accept the selection of the header position and the footer position separately. Furthermore, when multiple pieces of information are printed as the header or footer, the auxiliary program 42 may be capable of accepting the selection of the position for each piece of information to be printed.
[0045] Furthermore, the font selection button 63 on the header / footer setting screen 60 is a button for receiving an instruction to select a font type when at least one of the header and the footer is to be printed using a font stored in the printer 2. When the auxiliary program 42 receives an operation on the font selection button 63, it receives the selection of the font type based on the font information included in the main body information of the printer 2. Note that if only one type of font is stored in the printer 2, the auxiliary program 42 may simply receive a selection of whether or not to execute printing using that font as at least one of the header and the footer.
[0046] Furthermore, the image selection button 64 of the header / footer setting screen 60 is a button for accepting an image selection instruction when at least one of the header and the footer is to be printed using one or more of the multiple image data stored in the printer 2. When the auxiliary program 42 accepts an operation on the image selection button 64, it accepts a selection of the type of image to be included in at least one of the header and the footer based on the special character information and special image information included in the main body information of the printer 2. Note that if only one image data is stored in the printer 2, the auxiliary program 42 may accept a selection of whether or not to print the image data as at least one of the header and the footer.
[0047] Furthermore, the Add Text button 65 on the header / footer setting screen 60 is a button for accepting a setting as to whether or not to print any text that the user can input as a header or footer. When the auxiliary program 42 accepts an instruction to print via the Add Text button 65, it becomes possible to accept input of the text to be added via the user IF 13.
[0048] Furthermore, the layout image 66 of the header / footer setting screen 60 is an image that indicates the type and arrangement of information to be printed when an instruction to print a header or footer is received. The layout image 66 allows the user to confirm the arrangement of each piece of information, and prevents printing that is not intended by the user. Note that the layout image 66 only needs to indicate at least the arrangement of the set header or footer, and does not need to include text information.
[0049] The auxiliary program 42 can accept, via the header / footer setting screen 60, a selection of information to be printed as at least one of the header and the footer from among the main body information stored in the printer 2 and the information possessed by the PC 1. In particular, the auxiliary program 42 can accept a selection of printer information to be printed as the header or the footer from among a plurality of printer information stored in the printer 2, so that the degree of freedom of the header and the footer is high. In addition, the auxiliary program 42 can accept an input of any text information to be printed as at least one of the header and the footer by using the text addition button 65, so that the degree of freedom of the header and the footer is high. The auxiliary program 42 may also be able to accept a selection of the background color of the header and the footer.
[0050] Furthermore, the auxiliary program 42 accepts a selection of a font from among the font types stored in the printer 2, so that the main body information can be printed as at least one of the header and the footer in a font suitable for the printer 2. Furthermore, the auxiliary program 42 accepts a selection of image data to be printed as at least one of the header and the footer from among a plurality of image data stored in the printer 2, so that the degree of freedom for at least one of the header and the footer is increased. Note that, when image data of an image of a size that does not fit in the header area or the footer area is selected, the auxiliary program 42 may restrict the selection, or may warn that there is a possibility that it may overlap with the image to be printed.
[0051] 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.
[0052] The auxiliary program 42 displays an image showing the arrangement of information within a 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.
[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] 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.
[0056] 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.
[0057] 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.
[0058] 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.
[0059] 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.
[0060] 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.
[0061] 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. The auxiliary program 42 then 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. 2. For example, if the auxiliary program 42 has received at least one setting of a header and a footer as the print settings, it may embed a command in the intermediate image data.
[0062] For example, when the font selection button 63 on the header / footer setting screen 60 (see FIG. 4) accepts a setting to use a font held by the printer 2, or when the image selection button 64 accepts a setting to use image data held by the printer 2, 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 image data in a vector format that indicates the image to be printed.
[0063] A command is an instruction to make the printer 2 perform a predetermined operation. For example, when an instruction to use one of the fonts held by the printer 2 as a header or footer is received, the auxiliary program 42 passes a print instruction to the printer 2 with a command including a font specification and a text specification added thereto. Also, when an instruction to use one of the images held by the printer 2 as a header or footer is received, the auxiliary program 42 passes a print instruction to the printer 2 with a command including an image specification added thereto. When the printer 2 receives a print instruction including a command, it can read out information stored in its own device and print according to the command instructions.
[0064] 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.
[0065] 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.
[0066] 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.
[0067] For example, when a setting is accepted in the format setting field 61 or the text addition button 65 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: [composite image present]), 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.
[0068] 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.
[0069] 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.
[0070] 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.
[0071] Furthermore, when at least one of a header and a footer is set to be added, the auxiliary program 42 may display a preview image including the image to be printed and the image of the set header or footer on the user IF 13. 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.
[0072] 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.
[0073] 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.
[0074] 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.
[0075] 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.
[0076] 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.
[0077] 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).
[0078] 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.
[0079] Then, the auxiliary program 42 displays the header / footer setting screen 60 as shown in Fig. 4 based on the main body information included in the acquired capability information (C05) and accepts the settings by the user (C07). That is, the auxiliary program 42 may accept the settings of the header and footer after accepting the execution instruction of B05 and before generating the print data. In this way, compared to a configuration in which the header / footer setting screen 60 is displayed as the print setting and the settings are stored, the user sets at least one of the header and the footer immediately before printing, making it easier to reflect the user's intention in the printed matter.
[0080] 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.
[0081] 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).
[0082] 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.
[0083] As described above in detail, the auxiliary program 42 of this embodiment acquires main body information from the printer 2, and adds at least one of header information and footer information for arranging information based on the acquired main body information to image data input from the OS 21. Furthermore, the auxiliary program 42 causes the printer 2 to perform printing based on the image data to which at least one of the header information and footer information has been added. This allows the header or footer printing function using the main body information of the printer 2 to be realized even in a PC 1 in which a printer driver is not installed.
[0084] 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.
[0085] 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.
[0086] In addition, in this specification, an example is disclosed in which the selection of information to be added as a header and footer to be printed from among the acquired main information is accepted, but the selection does not have to be accepted. For example, the main information to be added may be predetermined. In that case, the auxiliary program 42 does not have to accept the setting of the header or footer, and does not have to display the header / footer setting screen 60 (see FIG. 4).
[0087] In the embodiment, the auxiliary program 42 can set not only information based on the main body information but also PC information and arbitrary text as the header and footer, but it is not necessary that the auxiliary program 42 can print the PC information and arbitrary text. Also, the auxiliary program 42 may not be able to accept the selection of font or image data as the header and footer information.
[0088] 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.
[0089] 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.
[0090] 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.
[0091] 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.
[0092] 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.
[0093] 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.
[0094] 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]
[0095] 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: Executing an acquisition process for acquiring main body information stored in the printer from the printer; 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 information based on the main information acquired in the acquisition process in a header area at an upper part of a page, and the footer information being information for arranging information based on the main information acquired in the acquisition process in a footer area at a lower part of a page; 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 computer includes: executing a layout display process for displaying, on a user interface of the information processing device, a layout image showing an arrangement of the information on a page based on the main body information; A support program configured to:
3. 2. A support program as claimed in claim 1, The computer includes: displaying a setting screen on a user interface of the information processing device, and executing a reception process for receiving settings of at least one of a header and a footer via the setting screen; the header information is information for arranging the information based on the body information acquired in the acquisition process in accordance with the setting of the header accepted in the reception process, and the footer information is information for arranging the information based on the body information acquired in the acquisition process in accordance with the setting of the footer accepted in the reception process. A support program configured to:
4. A support program according to claim 3, causing the computer to execute the acquisition process before displaying the setting screen in the reception process; The main body information acquired in the acquisition process includes font information related to types of fonts stored in the printer, The setting of at least one of the header and the footer accepted on the setting screen includes selection of a font type based on the font information. A support program configured to:
5. A support program according to claim 3, causing the computer to execute the acquisition process before displaying the setting screen in the reception process; The main body information acquired in the acquisition process includes a plurality of main image data items that are image data stored in the printer, The setting of at least one of the header and the footer accepted on the setting screen includes selection of the main image data to be printed as at least one of the header and the footer from among a plurality of the main image data. A support program configured to:
6. A support program according to claim 3, causing the computer to execute the acquisition process before displaying the setting screen in the reception process; The main body information acquired in the acquisition process includes a plurality of pieces of printer information for identifying the printer that are stored in the printer, The setting of at least one of a header and a footer accepted on the setting screen includes selection of the printer information to be printed as at least one of a header and a footer from among the plurality of printer information acquired in the acquisition process. A support program configured to:
7. A support program according to claim 3, The setting of at least one of a header and a footer accepted on the setting screen includes a selection of additional information to be printed as at least one of a header and a footer from among a plurality of additional information that can be acquired by the information processing device itself; the additional information includes at least one of conversion designation information to be converted into pre-designated text and any text that can be input via the user interface of the information processing device; The header information is information for arranging the information based on the main information acquired in the acquisition process and the additional information selected on the setting screen in accordance with the setting of the header accepted in the reception process, and the footer information is information for arranging the information based on the main information acquired in the acquisition process and the additional information selected on the setting screen in accordance with the setting of the footer accepted in the reception process. A support program configured to:
8. A support program according to claim 3, The computer includes: When an instruction to display the setting screen is received from the application program installed in the information processing device, the reception process is executed, and at least one of the settings of a header and a 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 is added to the image data input from the operating system, the header information and the footer information being arranged based on the body information acquired in the acquisition process in accordance with the setting read out from the memory. A support program configured to:
9. A support program according to claim 3, 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. A support program according to any one of claims 1 to 9, 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. A support program according to any one of claims 1 to 9, 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, at least one of the header information and the footer information is added by writing the information based on the main information to the image shown in the image data. A support program configured to:
12. A support program according to any one of claims 1 to 9, In the acquisition process, the operating system is instructed to acquire the capability information of the printer, and the main body information included in the capability information input from the operating system in response to the instruction is acquired, and when the acquisition of the capability information is instructed, the operating system transmits an acquisition request for the capability information to the printer, and when the printer receives the acquisition request from the information processing device, the printer transmits the capability information including the main body information to the information processing device. 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
Security information printing device
JP2007055034A
Support program
JP2022120952A
Print control unit and program
JP2008065679A
