The entire disclosure of Japanese Patent Application No. 2011-147117 filed on Jul. 1, 2011, which is hereby incorporated by reference in its entirety.
In the past, as this type of display device, a label data generating apparatus formed of a personal computer, the label data generating apparatus that displays a label data editing screen and generates label data on the label data editing screen has been known (see Japanese Patent Publication No.2009-205599). In this label data generating apparatus, as the label data editing screen, a screen having an object creation area displaying a print image, a text insertion button for adding a text, a decorative frame insertion button for inserting a decorative frame, and an image insertion button for inserting an image is displayed. Moreover, when the image insertion button is clicked, an image selection screen for selecting various kinds of image data is displayed. Then, as a result of desired image data being selected on the image selection screen, various kinds of images are inserted.
Incidentally, making a portable terminal such as a smartphone start an application for creation of labels and function as a print data generating apparatus has been studied in recent years. In such a case, the existing configuration may be adopted to display the above-described label data editing screen as an editing screen and generate print data.
However, in the existing configuration, since there is a need to dispose the image insertion button for displaying the image selection screen, a screen layout is limited. In particular, in a device with a small display screen, such as the portable terminal described above, when the image insertion button is disposed, the image insertion button occupies a wide area on the display screen.
Various embodiments may provide a display device that can dispense with a button for displaying an image selection screen, a portable terminal, a method for controlling the display device, and a program product.
At least one embodiment of the disclosure, there is provided a display device including: a display section for displaying, in an editing screen, a preview display region showing print data on a printing medium image; an operating section for specifying an arbitrary position in the preview display region; and a display control section for performing display control of the display section in accordance with operation performed by the operating section, and, when image data in the print data is displayed in the preview display region and a display region of the image data in the preview display region is specified by the operating section, the display control section performs display control of the display section to display an image selection screen for selecting the type of the image data.
At least one embodiment of the disclosure, there is provided a method for controlling a display device including: (a) displaying, in an editing screen, a preview display region showing print data on a printing medium image, (b) acquiring positional information when an arbitrary position in the preview display region is specified, and controlling display of the editing screen based on the positional information, wherein, in the step (c), when image data in the print data is displayed in the preview display region and the positional information in a display region of the image data is acquired, display control is performed to display an image selection screen for selecting the type of the image data.
With these configurations, when the display region of the image data in the preview display region is specified, the image selection screen is displayed. This makes it possible to make the image data for confirmation of printing function as a button for displaying the image selection screen. Therefore, it is possible to dispense with a button for displaying the image selection screen. As a result, it is possible to alleviate the limitations on the screen layout and provide the user with more information on the editing screen in a device with a small display screen. For example, a screen layout such as disposing a button to which another function is assigned and displaying a status can be adopted.
In the display device described above, it is preferable that, when text data in the print data is displayed in the preview display region and a display region of the text data is specified by the operating section, the display control section performs display control of the display section to display a text editing screen for editing the text data.
With this configuration, it is possible to dispense with a button for displaying the text editing screen. This makes it possible to provide further alleviation of the limitations on the screen layout.
It is preferable that the display control section determines whether or not the image data in the print data is code image data, when a display region of the code image data is specified by the operating section, the display control section performs display control of the display section to display a code information editing screen for editing code information of the code image data, and, when a display region of image data other than the code image data is specified by the operating section, the display control section performs display control of the display section to display the image selection screen.
With this configuration, it is possible to dispense with a button for displaying the code information editing screen. This makes it possible to provide further alleviation of the limitations on the screen layout.
Moreover, it is preferable that, when a region other than the display region of the image data in the preview display region is specified by the operating section, the display control section performs display control of the display section to display the text editing screen.
With this configuration, when a region other than the display region of the image data is specified, the text editing screen with frequent edits is displayed. This makes it possible to provide a convenient interface.
It is preferable that the display control section regard a blank character as the text data.
With this configuration, since a blank character (space) is regarded as the text data, two pieces of text data with a space left between them can be recognized as one piece of text data. In addition, when a display region with a space is specified, the text editing screen can be displayed.
It is preferable that the display region of the text data be a rectangular region containing the text data.
With this configuration, since an area surrounding the displayed text data is set as the display region of the text data, the user easily specifies the display region of the text data. In addition, since a display region to be specified is a rectangular region, it is easy to set a display region.
On the other hand, it is preferable that the printing medium image be a tape image indicating a printing tape, and, when a predetermined region at a front or rear end of the tape image is specified by the operating section, the display control section performs display control of the display section to display a margin setting screen for setting a margin length at any one of front and rear ends or both of the front and rear ends of the print data.
With this configuration, it is possible to dispense with a button for displaying the margin setting screen. This makes it possible to provide further alleviation of the limitations on the screen layout.
In the display device described above, it is preferable that the display region of the image data be a rectangular region containing the image data.
With this configuration, since an area surrounding the displayed image data is set as the display region of the image data, the user easily specifies the display region of the image data. In addition, since a display region to be specified is a rectangular region, it is easy to set a display region.
In the display device described above, it is preferable that the display region of the image data be a region obtained by extending the outline of the image data, the region along the outline.
With this configuration, since an area surrounding the displayed image data is set as the display region of the image data, the user easily specifies the display region of the image data. Moreover, since a region along the outline of the image data is set as the display region of the image data, the user can easily recognize a display region.
At least one embodiment of the disclosure, there is provided a portable terminal including the display device described above and a transmitting section transmitting the print data edited by the editing screen to a printer.
With this configuration, it is possible to provide the user with more information on the editing screen in a portable terminal with a small screen.
At least one embodiment of the disclosure, there is provided a program product embodied in at least one computer readable medium and comprising computer instructions executable by a computer and making a computer perform the steps in the above-described method for controlling a display device.
With this configuration, only by installing the program product on a computer, it is possible to make the computer perform the above-described method for controlling a display device.
The invention will be described with reference to the accompanying drawings, wherein like reference numbers reference like elements.
Hereinafter, a display device, a portable terminal, a method for controlling the display device, and a program product of the invention will be described with reference to the accompanying drawings. In this embodiment, a printing system including a portable terminal functioning as a display device and a tape printer is taken up as an example.
As shown in
The portable terminal 2 is a common smartphone provided with a touch panel 12. In addition, by installing an application for generation of print data on the portable terminal 2 and starting the application, the portable terminal 2 functions as a print data generating apparatus that generates the print data 62.
A tape cartridge 16 housing a long printing tape T in such a way that the printing tape T can be unreeled therefrom is placed in the tape printer 3. The tape printer 3 creates a label by performing printing processing and cutting processing based on the print data 62 received from the portable terminal 2 while unreeling the printing tape T.
The control unit 21 is formed of a CPU (central processing unit) 31, ROM (read-only memory) 32, and RAM (random access memory) 33. The CPU 31 is a central processing unit and performs various kinds of computation processing. Incidentally, though not shown in the drawing, the CPU 31 has a timer for measuring the current time. The ROM 32 stores control program products used by the CPU 31 for performing various kinds of computation processing, and the RAM 33 is used as a work area used by the CPU 31 when the CPU 31 performs various kinds of computation processing. The flash ROM 22 stores various kinds of data of the tape printer 3 and stores an application for generation of print data.
Here, the functional configuration of the portable terminal 2 will be described with reference to
Next, the editing screen A will be described with reference to
The preview display region 51 displays the print data 62 disposed on a tape image (a printing medium image) 61 which is an image of the printing tape T in such a way that the print data 62 can be scrolled with a flick operation. The print data 62 has text data 63 inserted by means of the editing screen A and image data 64 inserted also by means of the editing screen A. Moreover, as the image data 64, there are code image data 66 indicating code information and image data 64 (hereinafter symbol data 65) other than the code image data 66. In an example shown in
In the menu display region 52, from above, a tape length setting menu 71, a tape width setting menu 72, a character size setting menu 73, and an image setting menu 74 are displayed.
The tape length setting menu 71 has a tape length automatic setting button 76 for automatically setting the tape length of the print data 62, a tape length fixed setting button 77 for manually setting the tape length at a fixed value, and a text box 78 into which a tape length is entered at the time of manual setting. The portable terminal 2 sets a tape length based on the print data 62 when tap operation is performed on the tape length automatic setting button 76 . On the other hand, when tap operation is performed on the tape length fixed setting button 77, entry into the text box 78 is enabled, and the print data 62 is edited in such a way that the print data 62 has an entered tape length (by, for example, addition of a margin and change of a character size and a character width).
The tape width setting menu 72 allows the tape width of the print data 62 to be selected from “12 mm”, “18 mm”, “24 mm”, “36 mm”, “50 mm”, and “100 mm”.
The character size setting menu 73 allows the character size of the text data 63 to be selected from “large”, “medium”, and “small”.
The image setting menu 74 allows a position into which the symbol data 65 is to be inserted to be selected from “none”, “left”, “whole region”, and “right”. Here, when “left” is selected, the symbol data 65 is disposed in a position closer to the left (disposed on the front end side of the tape). Moreover, when “right” is selected, the symbol data 65 is disposed in a position closer to the right (disposed on the rear end side of the tape). Furthermore, when “whole region” is selected, the symbol data 65 enlarged in a tape width direction is disposed in the whole region of the printing tape T. Incidentally, when the symbol data 65 is not inserted, by selecting “left” or “right” from the image setting menu 74, it is possible to insert a predetermined symbol data 65. In such a case, the predetermined symbol data 65 may be previously selected symbol data 65 or previously determined symbol data 65. Moreover, an image selection screen for selecting symbol data 65 may be displayed.
The operation button display region 53 has an extension setting button 96, a preview button 97, and a print button 98. The extension setting button 96 is a button for displaying an extension setting screen. In the extension setting screen, an image selection button for displaying the image selection screen, a QR code generation button for displaying a QR code generation screen for generating a QR code, and the like are displayed (not shown). The preview button 97 is a button for displaying a preview screen in which the print data 62 printed on the tape is displayed in actual size. The print button 98 is a button for providing a printing instruction. That is, with the press of the print button 98, the print data transmitting section 44 transmits the print data 62 to the tape printer 3.
Incidentally, in this embodiment, to enhance the usability of the portable terminal 2, when tap operation is performed on the image data 64 or the text data 63 while the image data 64 and the text data 63 are displayed in the preview display region 51, the screen transitions to a selection screen or an editing screen for changing or editing these data. Here, with reference to
As shown in
When the symbol data 65 is displayed in the preview display region 51 and it is determined that tap operation has been performed on the display region of the symbol data 65 in the preview display region 51 (S3: A), the image selection screen is displayed in the display section 41 by the display control section 43 (S4: display control step). The image selection screen is a screen for selecting the type of the image data 64. Specifically, the image selection screen is a screen for selecting any one piece of symbol data 65 from a plurality of previously stored pieces of symbol data 65. When one piece of symbol data 65 is selected by the operating section 42 (S5: Yes), the original symbol data 65 on which tap operation has been performed is replaced with the selected symbol data 65 of an image (S6). Then, the editing screen A is displayed (S7), and the state goes back to a tap operation wait state (S1).
On the other hand, when the code image data 66 is displayed in the preview display region 51 and it is determined that tap operation has been performed on the display region of the code image data 66 in the preview display region 51, a code information editing screen is displayed in the display section 41 by the display control section 43 (S8). The code information editing screen is a screen for editing the code information of the code image data 66. When the code information is edited by the operating section 42 (S9: Yes), the original code image data 66 on which tap operation has been performed is replaced with the code image data 66 of the edited code information (S10). Then, the editing screen A is displayed (S11), and the state goes back to a tap operation wait state (S1).
Furthermore, when the text data 63 is displayed in the preview display region 51 and it is determined that tap operation has been performed on the display region of the text data 63 in the preview display region 51 (S3: B) or when it is determined that tap operation has been performed on a region other than the above display regions (S3: D), a text editing screen is displayed in the display section 41 by the display control section 43 (S12). Though not shown in the drawing, the text editing screen is a screen for editing the text data 63 and is a screen having a character entry area in which the text data 63 which is being edited is displayed, a soft keyboard used for entering a character, and a candidate area in which predictive conversion candidates are illustrated. When the text is edited by the operating section 42 (S13: Yes), the original text data 63 on which tap operation has been performed is replaced with the edited text data 63 (S14). Then, the editing screen A is displayed (S15), and the state goes back to a tap operation wait state (S1).
With the configuration described above, the editing screen A can dispense with a button for displaying the image selection screen. This makes it possible to alleviate the limitations on the screen layout and provide the user with more information on the editing screen A in a device with a small display screen.
Moreover, by displaying the text editing screen when the display region of the text data 63 is specified by the operating section 42, the editing screen A can dispense with a button for displaying the text editing screen. This makes it possible to provide further alleviation of the limitations on the screen layout.
Furthermore, it is determined whether or not the image data 64 in the print data 62 is the code image data 66, and, when the display region of the code image data 66 is specified by the operating section 42, the code information editing screen is displayed; when the display region of the image data 64 (the symbol data 65) other than the code image data 66 is specified by the operating section 42, the image selection screen is displayed. As a result, the editing screen A can dispense with a button for displaying the code information editing screen. This makes it possible to provide further alleviation of the limitations on the screen layout.
Furthermore, when a region other than the display region of the image data 64 is specified, the text editing screen with frequent edits is displayed. This makes it possible to provide a convenient interface.
Moreover, since an area surrounding the displayed text data 63 is set as the display region of the text data 63, the user easily specifies the display region of the text data 63. In addition, since a display region to be specified is a rectangular region, it is easy to set a display region.
Furthermore, since an area surrounding the displayed image data 64 is set as the display region of the image data 64, the user easily specifies the display region of the image data 64. Moreover, since a display region to be specified is a rectangular region, it is easy to set a display region.
Moreover, since a blank character (space) and a line feed character are regarded as the text data 63, two pieces of text data 63 with a space left between them and the text data 63 into which a line feed is inserted can be recognized as one piece of text data 63. In addition, it is possible to display the text editing screen when a display region with a space is specified.
Incidentally, in this embodiment, when tap operation is performed on a predetermined region at a front or rear end of the tape image 61 by the operating section 42 (a predetermined region at a front or rear end of the tape image 61 is specified by the operating section 42), a margin setting screen for setting a margin length at any one of front and rear ends or both of the front and rear ends of the print data 62 may be displayed. In such a case, it is possible to dispense with a button for displaying the margin setting screen, making it possible to provide further alleviation of the limitations on the screen layout.
Moreover, in this embodiment, the rectangular region containing the image data 64 (the symbol data 65 and the code image data 66) is set as the display region of the image data 64. However, as shown in
Furthermore, in this embodiment, as the code image data 66, the QR code is used as the print data 62. However, a two-dimensional code other than a bar code and a QR code may be used as the print data 62.
Moreover, in this embodiment, when tap operation is performed on the display region of each data in the preview display region 51 of the editing screen A, a corresponding selection screen or a corresponding editing screen is displayed. Instead, when tap operation is performed on the display region of each data on the preview screen (the printing confirmation screen) which is displayed as a result of tap operation being performed on the preview button 97, a corresponding selection screen or a corresponding editing screen may be displayed.
Furthermore, in this embodiment, any one of the image data 64 and the text data 63 or both are inserted, tap operation is performed on any one of the inserted image data 64 and text data 63 or both in the preview display region 51, and a selection screen or an editing screen for any one of the image data 64 and the text data 63 or both is displayed. By doing so, the above data is changed or edited. Instead, the portable terminal 2 may insert any one of sample image data 64 and sample text data 63 or both into the print data 62 in an initial state before editing. In this case, since any one of the image data 64 and the text data 63 or both are displayed in the preview display region 51 in an initial state, it is possible to generate print data 62 containing any one of the image data 64 and the text data 63 or both only with operation in the preview display region 51 and avoid the trouble of performing data insertion.
Moreover, in this embodiment, the invention is applied to a device generating the print data 62 of the tape printer 3. However, the invention may be applied to a device generating the print data 62 of a printer performing printing processing on a printing medium (for example, printing paper) which is not the printing tape T.
Furthermore, in this embodiment, the invention is applied to display control of the editing screen A by which the print data 62 is edited on the portable terminal 2. However, the invention may be applied to display control of the editing screen A by which the print data 62 is edited on a computer (for example, a personal computer) or display control of the editing screen A by which the print data 62 is edited on a tape printer 3.
Moreover, the invention may be applied to display control of the editing screen A by which inscription data of a Braille printer is edited. In this case, when tap operation is performed on a display region of Braille data in the inscription data on the preview display screen 51 displaying the inscription data, a Braille data editing screen for editing the Braille data may be displayed.
Number | Date | Country | Kind |
---|---|---|---|
2011-147117 | Jul 2011 | JP | national |