This patent application is based on and claims priority pursuant to 35 U.S.C. § 119(a) to Japanese Patent Application Nos. 2020-190567, filed on Nov. 16, 2020, and 2021-144047, filed on Sep. 3, 2021, in the Japan Patent Office, the entire disclosure of each of which is hereby incorporated by reference herein.
Embodiments of the present disclosure relate to an information processing apparatus, a non-transitory computer-readable storage medium, and an information processing system.
Rapid spread of compact notebook personal computers (PCs) and smart devices raises a major demand for compact and portable printing apparatuses. One approach to such a demand involves developing a handheld printer that applies ink while being manually operated on a paper surface, without a paper conveyance system. The handheld printer is an example of printing apparatuses that is operated to move on a recording medium (e.g., a notebook or a standard sheet) and form an image on the recording medium according to print data (e.g., image data) received from an information processing apparatus (e.g., a smart device or a PC) having a communication function.
In one embodiment of the present disclosure, a novel information processing apparatus includes circuitry. The circuitry, as a component displayed on a screen by an application that processes tabular data, receives a print instruction for an element included in the tabular data to be printed. The circuitry generates print data corresponding to the element in response to the print instruction. The circuitry transmits the print data generated to a printing apparatus.
Also described are an information processing system and a non-transitory, computer-readable storage medium storing computer-readable program code that causes a computer to perform an image processing method.
A more complete appreciation of the disclosure and many of the attendant advantages and features thereof can be readily obtained and understood from the following detailed description with reference to the accompanying drawings, wherein:
The accompanying drawings are intended to depict embodiments of the present disclosure and should not be interpreted to limit the scope thereof. The accompanying drawings are not to be considered as drawn to scale unless explicitly noted. Also, identical or similar reference numerals designate identical or similar components throughout the several views.
In describing embodiments illustrated in the drawings, specific terminology is employed for the sake of clarity. However, the disclosure of this specification is not intended to be limited to the specific terminology so selected and it is to be understood that each specific element includes all technical equivalents that have a similar function, operate in a similar manner, and achieve a similar result. As used herein, the singular forms “a,” “an,” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise.
In a later-described comparative example, embodiment, and exemplary variation, for the sake of simplicity, like reference numerals are given to identical or corresponding constituent elements such as parts and materials having the same functions, and redundant descriptions thereof are omitted unless otherwise required.
Referring to the drawings, wherein like reference numerals designate identical or corresponding parts throughout the several views, embodiments of the present disclosure are described below.
According to the present embodiment, as illustrated in
The information processing apparatus 1 may be an electronic device capable of wireless communication (or wired communication), such as a smartphone, a tablet terminal device, or a notebook or desktop personal computer device. The information processing apparatus 1 transmits, to the handheld printer 2, print data (or image data) of an image to be printed on a recording medium 3.
As illustrated in
As illustrated in
The CPU 501 controls an overall operation of the information processing apparatus 1. The ROM 502 stores programs such as an initial program loader (IPL) to boot the CPU 501. The RAM 503 is used as a work area for the CPU 501. The HD 504 stores various data such as a program. The HDD controller 505 controls reading or writing of various data from or to the HD 504 under control of the CPU 501. The display 506 displays various kinds of information such as a cursor, a menu, a window, text, or an image. The external device connection I/F 508 is an interface that connects the information processing apparatus 1 to various external devices. Examples of the external devices include, but are not limited to, a universal serial bus (USB) memory and a printer. The network I/F 509 is an interface that enables data communication through a communication network. The bus line 510 is, e.g., an address bus or a data bus, which electrically connects the components illustrated in
The keyboard 511 serves as an input device provided with a plurality of keys that allows, e.g., a user to input text (or characters), numerals, or various instructions. The pointing device 512 also serves as an input device that allows, e.g., a user to select or execute a specific instruction, select an object to be processed, or move a cursor. The DVD-RW drive 514 controls reading or writing of various data from or to a DVD-RW 513 serving as a removable recording or storage medium. The removable storage medium is not limited to the DVD-RW 513 and may be a digital versatile disk-recordable (DVD-R), for example. The medium I/F 516 controls reading or writing (i.e., storing) of data from or to a storage medium 515 such as a flash memory.
According to a print data generation program, the CPU 501 displays, on the display 506, e.g., a print-data selection screen that allows, e.g., a user to select desired print data and a print-data edit screen that allows the user to edit the print data. In other words, the user selects and edits the desired print data on the print-data selection screen and the print-data edit screen, respectively. Such screens facilitate generation of desired print data. The print data is then transmitted to the handheld printer 2 and printed.
As illustrated in
The power source 31 is a rechargeable battery (or a secondary battery) that generates power to drive the handheld printer 2. The power circuit 32 supplies power from the power source 31 to components of the handheld printer 2. The IJ recording head 33 includes nozzles that discharge ink. The IJ recording head 33 employs an inkjet system to discharge ink from the nozzles onto the recording medium 3. The IJ recording head drive circuit 34 controls the discharge of ink from the nozzles of the IJ recording head 33 to print text or images on the recording medium 3. The controller 35 controls the handheld printer 2 as a whole.
The communication I/F 36 that enables wireless communication between the handheld printer 2 and the information processing apparatus 1. The wireless communication is, e.g., short-range wireless communication such as Bluetooth® communication. The OPU 37 includes, e.g., a light emitting diode (LED) to display the state of the handheld printer 2 and a switch with which, e.g., a user instructs the handheld printer 2 to start printing. The OPU 37 may include a liquid crystal display or a touch panel. Optionally, the OPU 37 may have a voice input function.
The navigation sensor 38 includes an acceleration sensor. The navigation sensor 38 detects a movement amount in an X-axis direction of the handheld printer 2 and a movement amount in a Y-axis direction of the handheld printer 2, based on the acceleration during operation of the handheld printer 2. The gyro sensor 39 detects an angular velocity applied to the handheld printer 2. The DRAM 40 and the ROM 41 are storage devices or memories that store, e.g., print data and operational direction information (i.e., moving direction information) indicating the operational direction (i.e., moving direction) of the handheld printer 2 at the time of printing. The ROM 41 also stores a print processing program and driving waveform data of the IJ recording head 33.
In response to print data transmitted from the information processing apparatus 1, in the handheld printer 2, the controller 35 calculates the position of each nozzle of the IJ recording head 33, based on information input from the navigation sensor 38 and the gyro sensor 39. While the handheld printer 2 is operated by, e.g., a user, the controller 35 continuously calculates the position of each nozzle and acquires the print data corresponding to the calculated position from the DRAM 40. Then, the controller 35 compares the position of the acquired image with the position of each nozzle. When determining that the position of the acquired image matches the position of each nozzle, the controller 35 supplies the print data of the nozzle to the IJ recording head drive circuit 34.
The IJ recording head drive circuit 34 supplies print timing information together with the print data to the IJ recording head 33. According to the print timing information, the IJ recording head 33 discharges ink according to the print data onto the recording medium 3. Thus, e.g., an image or text corresponding to the print data designated by the user is recorded on the recording medium 3.
The head cap detector 43 detects whether the head cap 16 is attached to the handheld printer 2. In the present embodiment, the handheld printer 2 includes a timer. The timer measures time and supplies time measurement information to the controller 35. The controller 35 monitors the drying state of the IJ recording head 33 based on the time measurement information and whether the head cap 16 is attached, to perform warning control at a given time, for example.
In the handheld printer 2 according to the present embodiment, a CPU included in the controller 35 executes various programs stored in the ROM 41 to implement a connection control unit 52, a transceiver unit 53, a printer information storage control unit 54, a print data storage control unit 55, and a print control unit 56, as illustrated in
The connection control unit 52 controls connection between the handheld printer 2 and the information processing apparatus 1. The transceiver unit 53 sends and receives various kinds of information to and from the information processing apparatus 1. For example, the transceiver unit 53 notifies the information processing apparatus 1 of completion of deletion of print data in response to a print cancelling instruction. The transceiver unit 53 also sends device information to the information processing apparatus 1 in response to a request for device information on the handheld printer 2. The printer information storage control unit 54 stores, in a printer information memory (e.g., the DRAM 40), printer information (i.e., device information) on the handheld printer 2. The print data storage control unit 55 temporarily stores, in a print data memory (e.g., the DRAM 40), print data received from the information processing apparatus 1. The print data storage control unit 55 also deletes the print data stored in the print data memory when the printing of the print data is canceled. The print control unit 56 controls printing of print data in the handheld printer 2.
Referring now to
In the information processing apparatus 1 according to the present embodiment, as illustrated in
The receiving unit 802e corresponds to one or more components (e.g., various buttons) displayed on a screen by the application 801. When the component is pressed, the receiving unit 802e instructs one of the units 802a to 802d associated with the pressed component to process the associated function. The element extracting unit 802a is a function of receiving a print instruction for an element included in the tabular data to be printed from the receiving unit 802e, when the component (e.g., a print button 902 in
As illustrated in
The print data generating unit 803a receives the element extracted from the tabular data by the element extracting unit 802a of the application 801 and generates print data of the element. In a case in which the element extracting unit 802a extracts multiple elements from the tabular data, the print data generating unit 803a receives the elements and generates the print data of the individual elements separately from each other. The printer control unit 803b controls communication between the information processing apparatus 1 and the handheld printer 2. Specifically, when the printer connecting unit 802b receives the connection instruction for the information processing apparatus 1 to be connected to the handheld printer 2, the printer control unit 803b connects the information processing apparatus 1 to the handheld printer 2. In other words, the printer control unit 803b connects the information processing apparatus 1 to the handheld printer 2 in response to the connection instruction from the printer connecting unit 802b. When the print cancelling unit 802c receives the print cancelling instruction, the printer control unit 803b instructs the handheld printer 2 to cancel the printing. In other words, the printer control unit 803b instructs the handheld printer 2 to cancel the printing in response to the print cancelling instruction from the print cancelling unit 802c. When the printer information acquiring unit 802d receives the device information acquiring instruction, the printer control unit 803b acquires the device information from the handheld printer 2. In other words, the printer control unit 803b acquires the device information from the handheld printer 2 in response to the device information acquiring instruction from the printer information acquiring unit 802d. The transceiver unit 803c sends and receives various kinds of information to and from the handheld printer 2. The screen display unit 803d is a display control unit that controls display of various kinds of information (e.g., the device information received from the handheld printer 2) on the display 506.
In the information processing apparatus 1 according to the present embodiment, as illustrated in
Specifically, the application 801 is, e.g., an Excel ° printer application. The application 801 is an application that processes (or manages) data in table format. In the present embodiment, the application 801 is an application in which various data of, e.g., a user is registered. In the present embodiment, the application 801 displays various user interfaces (UIs) on the application 801 on the display 506. In other words, the application 801 displays the tabular data managed (or generated) by the application 801 and various UIs on the display 506.
Examples of the UIs include, but are not limited to, the displayed components (e.g., various buttons) that are used to call the procedures of the functions of the application 801. The procedure of the functions may be referred to as function procedures in the following description. Examples of the various buttons include, but are not limited to, a print button that is used to call a procedure for giving instructions for the tabular data to be printed and a connection button that is used to call a procedure for giving instructions for the information processing apparatus 1 to be connected to the handheld printer 2 such that the information processing apparatus 1 can communicate with the handheld printer 2. In the present embodiment, the UIs are stored in association with the respective functions (specifically, the respective function procedures). When the UI is operated by, e.g., a user of the information processing apparatus 1, the application 801 executes the source code of the procedure of the function associated with the UI to instruct the unit associated with the operated UI to process the associated function.
The receiving unit 802e receives, e.g., the print instruction, the connection instruction, the print cancelling instruction, and the device information acquiring instruction. The print instruction is an instruction for the data processed in table format by the application 801 to be printed. The connection instruction is an instruction for the information processing apparatus 1 to be connected to the handheld printer 2 such that the information processing apparatus 1 can communicate with the handheld printer 2. The print cancelling instruction instructs the handheld printer 2 to delete the print data. The device information acquiring instruction is an instruction for the device information of the handheld printer 2 to be acquired.
When the receiving unit 802e receives the print instruction, the element extracting unit 802a extracts, as data to be printed, at least one element to be printed by the handheld printer 2, from elements included in the data processed in table format by the application 801. The elements included in the data processed in table format by the application 801 are text data and include, e.g., font size, decorative characters, and color information.
For example, the element extracting unit 802a extracts, as the data to be printed, data of one cell from the data processed in table format by the application 801. The data of one cell is an element of one cell among the elements included in the data processed in table format by the application 801. Thus, the data processed in table format by the application 801 is printed for each cell. In addition, for example, the element extracting unit 802a extracts, as the data to be printed, combined data of a plurality of cells from the data processed in table format by the application 801. Thus, the data of the plurality of cells extracted from the data managed in table format by the application 801 is printed by one print job. In the present embodiment, the element extracting unit 802a extracts a format, path information, a combining instruction, and setting information such as print settings associated with the data to be printed. The setting information is information on printing of the print data. The format is a format such as the type of print data (e.g., text, Quick Response Code (QR Code®), barcode, or image data). In a case in which the format is an image, the path information indicates a path of a local folder in which image data of the data to be printed is stored. The combining instruction is an instruction for a plurality of print data to be combined.
When the receiving unit 802e receives the connection instruction, the printer connecting unit 802b transfers the connection instruction to the printer control unit 803b. When the receiving unit 802e receives the print cancelling instruction, the print cancelling unit 802c transfers the print cancelling instruction to the printer control unit 803b. When the receiving unit 802e receives the device information acquiring instruction, the printer information acquiring unit 802d transfers the device information acquiring instruction to the printer control unit 803b.
In response to the setting information such as the print settings, processing instructions, and the data to be printed from the macro 802, the printer application 803 converts the data to be printed to print data, acquires the device information of the handheld printer 2, searches for the handheld printer 2 and connect the information processing apparatus 1 to the handheld printer 2, combines a plurality of print data, or instructs the handheld printer 2 to print the print data or cancel the printing of the print data.
Specifically, when the receiving unit 802e receives the print instruction for an element to be printed, the print data generating unit 803a generates print data corresponding to the element. For example, the print data generating unit 803a converts the data to be printed that has been extracted by the element extracting unit 802a into print data for the handheld printer 2. Then, the transceiver unit 803c transmits the print data generated by the print data generating unit 803a to the handheld printer 2.
Such a configuration obviates the need to convert the elements included in the data processed in table format by the application 801 into comma-separated values (CSV) or the need for, e.g., a user to manually copy the elements and input the elements to a dedicated application when the handheld printer 2 prints the data processed in table format by the application 801. In other words, such a configuration facilitates printing of individual elements included in the data processed in table format by the application 801.
The print data generating unit 803a generates print data according to the setting information associated with the element extracted by the element extracting unit 802a. For example, the print data generating unit 803a converts the data to be printed into print data in a format associated with the data to be printed. Specifically, the print data generating unit 803a converts the data to be printed into print data in a format such as QR Code® or a barcode. Finally, the print data is printed on the recording medium 3. The screen display unit 803d displays, on the display 506, the print data generated by the print data generating unit 803a. This allows, e.g., a user to confirm a print image before printing the print data.
When the format associated with the data to be printed is an image, the print data generating unit 803a acquires image data according to the path information. Then, the transceiver unit 803c transmits the acquired image data as print data to the handheld printer 2. When the combining instruction is associated with the data to be printed, the print data generating unit 803a combines print data corresponding to each of a plurality of data to be printed. Then, the transceiver unit 803c transmits the combined print data to the handheld printer 2.
In response to the device information acquiring instruction from the printer information acquiring unit 802d, the printer control unit 803b communicates with the handheld printer 2 to acquire the device information. The screen display unit 803d displays the acquired device information on the display 506. For example, the screen display unit 803d displays, e.g., a pop-up screen or a setting screen on the display 506 according to the device information. This allows, e.g., a user to confirm various kinds of information on printing with the handheld printer 2, such as the state of the handheld printer 2. In addition, the screen display unit 803d displays, on the display 506, a button that is used to print the data to be printed, according to the acquired device information. This allows the user to operate the handheld printer 2 with reference to the device information displayed on the display 506.
The printer control unit 803b searches for the handheld printer 2 via the transceiver unit 803c in response to the connection instruction from the printer connecting unit 802b. The screen display unit 803d displays the search result (i.e., searched handheld printers 2) on the display 506. The printer control unit 803b is connected, via the transceiver unit 803c, to the handheld printer 2 selected from the search result of the handheld printer 2 (i.e., the searched handheld printers 2) such that the printer control unit 803b can communicate with the selected handheld printer 2. The screen display unit 803d displays, on the display 506, the result of connection between the printer control unit 803b and the selected handheld printer 2.
The printer control unit 803b instructs, via the transceiver unit 803c, the handheld printer 2 to delete the print data stored in the handheld printer 2, in response to the print cancelling instruction from the print cancelling unit 802c. The screen display unit 803d displays, on the display 506, a screen to provide information indicating that the printing with the handheld printer 2 is canceled.
Referring now to
In the present embodiment, the application 801 generates the data processed in table format as illustrated in
In the present embodiment, as illustrated in
The print cancellation button 903 is a button that is used to call a procedure of the print cancelling unit 802c for giving instructions for the printing with the handheld printer 2 to be cancelled when the print cancellation button 903 is pressed during a printing operation of the handheld printer 2. The device information button 904 is a button that is used to call a procedure of the printer information acquiring unit 802d for giving instructions for the device information on the handheld printer 2 to be acquired. In the present embodiment, the various buttons include the connection button 901, the print button 902, the print cancellation button 903, and the device information button 904. However, the various buttons are not limited to the connection button 901, the print button 902, the print cancellation button 903, and the device information button 904 provided that the various buttons or an alternative button calls procedures of the macro 802.
Referring now to
In the present embodiment, when the print button 902 is pressed, the element extracting unit 802a extracts, as data to be printed, an element (e.g., an element of a shaded cell) designated by, e.g., a user from elements included in the data processed in table format by the application 801 as illustrated in
Referring now to
In the present embodiment, when the connection button 901 is pressed and the printer connecting unit 802b transfers the connection instruction to the printer connecting unit 802b, the printer control unit 803b searches for the handheld printer 2 via Bluetooth® or a USB. As illustrated in
Referring now to
In the present embodiment, as illustrated in
Referring now to
In the present embodiment, when the information processing apparatus 1 is connected to the handheld printer 2 such that the information processing apparatus 1 can communicate with the handheld printer 2, the screen display unit 803d displays, on the display 506, a connection result screen G2 including a message 1001 and a device disconnection button 906 as illustrated in
Referring now to
In the present embodiment, when the print button 902 is pressed, the element extracting unit 802a extracts data to be printed from elements included in data processed in table format by the application 801. For example, when cells C3 to E3 are designated as a print range, the element extracting unit 802a extracts the elements in the designated print range as the data to be printed, from the elements included in the data processed in table format by the application 801. A user of the information processing apparatus 1 may designate the print range by the source code of the macro 802 or by activating the print range in the tabular data.
In the present embodiment, the element extracting unit 802a extracts, as the data to be printed, elements of one row (or an element of one cell) from the elements included in the data managed in table format by the application 801. Alternatively, the element extracting unit 802a may extract elements in a combination of a plurality of rows and a plurality of columns from the elements included in the data managed in table format by the application 801. In this case, the element extracting unit 802a extracts the elements of a plurality of cells for each cell in a preset order from the elements included in the data processed in table format by the application 801. In the present embodiment, the element extracting unit 802a also extracts the print settings when the data to be printed is printed. The print settings include, e.g., a writing start position (e.g., a main body center or an exterior), the number of repetitions, an operation way (e.g., right, left, or zigzag). The print settings may be embedded in the macro 802 in advance, for example.
As illustrated in
Referring now to
In the present embodiment, when, e.g., a user operates the handheld printer 2 and completes the printing with the handheld printer 2, the printer control unit 803b detects that the printing with the handheld printer 2 is completed and causes the screen display unit 803d to display, on the display 506, a pop-up G4 to provide information indicating that the printing with the handheld printer 2 is completed.
Referring now to
In the present embodiment, when the print cancellation button 903 is pressed and the print cancelling unit 802c transmits the cancelling instruction to the printer control unit 803b, the printer control unit 803b transmits, via the transceiver unit 803c, the print cancelling instruction to the handheld printer 2 to instruct the handheld printer 2 to delete the print data. As illustrated in
Referring now to
In the present embodiment, when the printer control unit 803b detects that the print data temporarily stored in the handheld printer 2 has been completed, in other words, in response to notification from the handheld printer 2 of completion of deletion of the print data, the screen display unit 803d displays, on the display 506, a pop-up G6 to provide information indicating that the handheld printer 2 has deleted the print data, as illustrated in
Referring now to
In the present embodiment, the element extracting unit 802a extracts the setting information on the print type (e.g., a format such as text, QR Code®, a barcode, or an image) associated with a cell of the data to be printed from the cells in the data managed in table format by the application 801. For example, the element extracting unit 802a extracts the setting information on the print type associated with the elements in the print range of from cells C3 to E3, from the elements included in the data processed in table format by the application 801.
In a case in which the element extracting unit 802a extracts text as the setting information associated with the cells of the data to be printed, the element extracting unit 802a transfers the setting information such as font size, font type, rich text (e.g., underscore, bold, italic, and/or strikethrough) and horizontal or vertical writing to the print data generating unit 803a together with the data to be printed. Then, the print data generating unit 803a analyzes the data to be printed and the setting information transferred from the element extracting unit 802a. Based on the analysis result, the print data generating unit 803a converts the data to be printed into text print data.
In a case in which the element extracting unit 802a extracts QR Code® as the setting information associated with the cells of the data to be printed, the element extracting unit 802a transfers the setting information as illustrated in
In a case in which the element extracting unit 802a extracts a barcode as the setting information associated with the cells of the data to be printed, the element extracting unit 802a transfers the setting information as illustrated in
In a case in which the element extracting unit 802a extracts an image as the setting information associated with the cells of the data to be printed, the element extracting unit 802a transfers the setting information such as the path information indicating a path of image data of the data to be printed (e.g., a path associated with the print range of from C3 to E3 in the data managed in table format by the application 801), to the print data generating unit 803a together with the data to be printed. Then, the print data generating unit 803a analyzes the data to be printed and the setting information transferred from the element extracting unit 802a and acquires the image data according to the path indicated by the path information. The print data generating unit 803a then generates the acquired image data as print data resulting from conversion of the data to be printed.
As illustrated in
In the present embodiment, the setting information may be embedded in the macro 802. For example, as indicated by code 1701 in
Referring now to
In the present embodiment, when cells C3 to F4 are designated as a print range out of the cells in the data processed in table format by the application 801, the element extracting unit 802a extracts data in the cells C3 to F4 (i.e., data in a plurality of cells) as data to be printed. In addition, the element extracting unit 802a extracts a format (i.e., print type) associated with the element for each cell in the print range of from C3 to F4. The print data generating unit 803a generates print data for each cell in the print range of from C3 to F4, based on the data to be printed and the format. Then, as illustrated in
In step S1801, the print data generating unit 803a acquires, as data to be printed, data extracted by the element extracting unit 802a.
In step S1802, the print data generating unit 803a identifies the number of rows “n” and the number of columns “m” of the data to be printed acquired from the cells of data processed in table format by the application 801.
In step S1803, the print data generating unit 803a generates a table of the identified number of rows “n” and the identified number of columns “m.”
In step S1804, the print data generating unit 803a sets the number of rows “n” to “1.”
In step S1805, the print data generating unit 803a sets the number of columns “m” to “1.”
In step S1806, the print data generating unit 803a inputs, into the generated table, the data to be printed of the number of rows “n”=1 and the number of columns “m”=1.
In step S1807, the print data generating unit 803a determines whether the set number of columns “m” is the maximum, in other words, whether the set number of columns “m” is the number of columns “m” identified in step S1802. When the set number of columns “m” is not the maximum (No in step S1807), in step S1808, the print data generating unit 803a increments the number of columns “m” and returns to step S1806. On the other hand, when the set number of columns “m” is the maximum (Yes in step S1807), in step S1809, the print data generating unit 803a determines whether the set number of rows “n” is the maximum, in other words, whether the set number of rows “n” is the number of rows “n” identified in step S1802.
When the set number of rows “n” is not the maximum (No in step S1809), in step S1810, the print data generating unit 803a increments the number of rows “n” and returns to step S1805. On the other hand, when the set number of rows “n” is the maximum (Yes in step S1809), in step S1811, the print data generating unit 803a generates, as print data, the table having the data to be printed input.
In step S1812, the screen display unit 803d displays the table on the display 506.
Referring now to
In the present embodiment, when the device information button 904 is pressed, the printer information acquiring unit 802d transfers the device information acquiring instruction to the printer control unit 803b. The printer control unit 803b communicates with the handheld printer 2 and acquires device information (e.g., the device name and the ink level of the handheld printer 2) from the handheld printer 2. Then, as illustrated in
Referring now to
When a user presses the connection button 901, in steps S2001 and S2002, the application 801 and the macro 802 receive and transfer the connection instruction to the printer application 803 to instruct the printer application 803 to search for the handheld printer 2.
In step S2003, the printer application 803 searches for the handheld printer 2 and displays the device search screen G1 including the search result on the display 506.
When the user selects the handheld printer 2 (i.e., device) and presses the device connection button 905, in step S2004, the printer application 803 executes device connection that enables communication between the information processing apparatus 1 and the selected handheld printer 2.
In step S2005, the printer application 803 displays, on the display 506, the connection result screen G2 providing information indicating that the connection between the information processing apparatus 1 and the handheld printer 2 has succeeded.
Thereafter, when the user of the information processing apparatus 1 presses the device information button 904, in steps S2006 and 2007, the application 801 and the macro 802 receive and transfer the device information acquiring instruction to the printer application 803 to instruct the printer application 803 to acquire the device information.
In steps S2008 and S2009, the printer application 803 communicates with the handheld printer 2 and acquires the device information from the handheld printer 2.
Then, in step S2010, the printer application 803 displays, on the display 506, the device information screen G7 including the acquired device information.
The user of the information processing apparatus 1 uses, e.g., the keyboard 511 to input text to cells of a table processed by the application 801. In addition, the user of the information processing apparatus 1 uses, e.g., the keyboard 511 and the pointing device 512 to select cells in a print range from the cells of the data processed in table format by the application 801.
Thereafter, when the user of the information processing apparatus 1 presses the print button 902, in step S2011, the application 801 receives the print instruction and instructs the macro 802 to print.
In step S2012, the macro 802 extracts, as data to be printed, data (i.e., elements) of the print range (i.e., cells) selected from the cells of the data processed in table format by the application 801.
In step S2013, the macro 802 notifies the printer application 803 of the extracted data to be printed and the format associated with the data to be printed.
In step S2014, the macro 802 notifies the printer application 803 of the print settings embedded in advance in the macro 802.
In step S2015, the macro 802 instructs the printer application 803 to print the data to be printed.
In step S2016, the printer application 803 displays, on the display 506, the preview screen G3 including print data (i.e., print image) resulting from conversion of the data to be printed notified from the macro 802.
Thereafter, when the user of the information processing apparatus 1 presses the print instruction button 907 in the preview screen G3, in step S2017, the printer application 803 transmits, to the handheld printer 2, the print settings and the print data resulting from conversion of the data to be printed.
Thereafter, the user operates the handheld printer 2 to print.
In step S2018, the printer application 803 detects that the handheld printer 2 has completed the printing.
In step S2019, the printer application 803 displays, on the display 506, the pop-up G4 providing information indicating that the handheld printer 2 has completed the printing.
As described above, when the handheld printer 2 prints the data managed in table format by the application 801, the printing system 100 of the present embodiment obviates the need to convert the elements included in the data processed in table format by the application 801 into CSV or the need for, e.g., a user to manually copy the elements and input the elements to a dedicated application. In other words, the printing system 100 of the present embodiment facilitates printing of individual elements included in the data processed in table format by the application 801.
Now, a description is given of Example 1 as a specific example of the embodiments of the present disclosure.
In the present example, a printer software development kit (SDK) is provided separately from a printer application in an information processing apparatus. In other words, some functions of the printer application included in the information processing apparatus are separated as the functions of the printer SDK. A redundant description of like configurations of the present example and the embodiment described above is herein omitted.
In the information processing apparatus 2100 according to the present example, the ROM 502 stores, e.g., the application 801, the macro 802, the printer application 803, a printer application 2101, and a printer SDK 2102.
In the present example, as described above, the printer application 803 transfers various kinds of information, such as data to be printed, print settings, and processing instructions, between the application 801 (including the macro 802) and the printer SDK 2102. In addition, the printer application 803 displays, on the display 506, various kinds of information such as the device search screen G1, the connection result screen G2, the preview screen G3, the pop-ups G4 and G6, the screen G5, and the message 1001. In other words, as illustrated in
The printer application 2101 is an application that transfers various kinds of information between another application different from the application 801 and the printer SDK 2102.
The printer SDK 2102 is an application that may be reused by the printer application 803 or the printer application 2101. Specifically, the printer SDK 2102 executes device control of the handheld printer 2 such as conversion from data to be printed, which is notified by the macro 802 and the printer application 2101, into print data and transmission of the print data to the handheld printer 2. In other words, as illustrated in
As described above, according to the information processing apparatus 2100 of the present example, the common printer SDK 2102 is used when the printer application 803 controls the handheld printer 2 and when the printer application 2101 controls the handheld printer 2. Accordingly, the information processing apparatus 2100 enhances the resource efficiency.
Programs executed by the information processing apparatus 1 or the information processing apparatus 2100 in the embodiments of the present disclosure are stored in e.g., the ROM 502 in advance, thus being providable. The programs executed by the information processing apparatus 1 or the information processing apparatus 2100 in the embodiments of the present disclosure may be stored in a computer-readable storage medium, such as a compact disc read-only memory (CD-ROM), a flexible disk (FD), a compact disc recordable (CD-R), and a digital versatile disk (DVD), in an installable or executable file format, to be provided.
Alternatively, the programs executed by the information processing apparatus 1 or the information processing apparatus 2100 in the embodiments of the present disclosure may be stored in a computer connected to a network such as the Internet and downloaded via the network, thus being providable. The programs executed by the information processing apparatus 1 or the information processing apparatus 2100 in the embodiments of the present disclosure may be provided or distributed via a network such as the Internet.
There have been a demand for reducing the time and effort for, e.g., user to print an image on a recording medium with a printing apparatus. When printing tabular data illustrated in
According to the embodiments, printing of individual elements included in tabular data is facilitated.
The above-described embodiments are illustrative and do not limit the present invention. Thus, numerous additional modifications and variations are possible in light of the above teachings. For example, elements and/or features of different illustrative embodiments may be combined with each other and/or substituted for each other within the scope of the present invention.
Any one of the above-described operations may be performed in various other ways, for example, in an order different from the one described above.
Each of the functions of the described embodiments may be implemented by one or more processing circuits or circuitry. The processing circuit or circuitry herein includes a processor programmed to execute the functions by software such as a processor implemented by an electronic circuit. The processing circuit or circuitry also includes devices such as an application-specific integrated circuit (ASIC), a digital signal processor (DSP), a field programmable gate array (FPGA), and conventional circuit components arranged to perform the recited functions.
Number | Date | Country | Kind |
---|---|---|---|
2020-190567 | Nov 2020 | JP | national |
2021-144047 | Sep 2021 | JP | national |