The present invention relates generally to printers and, more particularly, to variable sized graphical objects.
Label and ticket printers, including thermal printers, often use a legacy command set to communicate. For example, the Z-Level Programming Language (“ZPL”), Decision Programming Language (“DPL”) and System Programming Language (“SPL”) are employed for communicating instructions to label and ticket printers, including thermal printers. Command sets employed in these languages are text-based, as known in the art, and variables are typically defined such as for defining start of print coordinates, font types, point sizes and/or other characteristics of textual content that affect the appearance (e.g., shape and size) of lettering.
Languages that are used for controlling label and ticket printers typically require that various field properties, such as for print position, font type and point size, be set to ensure that the longest line or row of text does not extend beyond the width of the label. The largest point size that may be used for a particular font depends on the amount of text in each field. The ability to read a label or ticket may, therefore, depend on the length long the longest row of text within an available print area. For example, the width of an address label must be designed to support a complete street address or person's name. Often, a font having a small point size may be required, which negatively impacts the readability of content in such a label.
Relatively recently, software applications have been developed that provide graphical user interfaces and tools for custom label design and layout. Such applications enable designers to define label formats relatively easily, compared to older systems. Moreover, database integration tools are provided that enable data to be populated in one or more labels substantially automatically. In one known application, data may be provided in a label at the time of printing labels. An example of a software application providing label format and design is described in commonly assigned JP Patent Publication Serial Number 2003-191562, the entire contents of which are incorporated by reference in its entirety.
One feature of a known label design software application includes textbox objects that define placeholders for textual content to be provided in a label. Such textbox controls may automatically provide for word-wrap functionality, in which any text that exceeds a predefined line length automatically wraps to the next adjacent line. Forms of word-wrap include providing “soft” and/or “hard” line breaks, as known in the at, for text that is provided inside a textbox. The ability for text to wrap within a textbox enables a label designer to reduce the width (e.g., the horizontal extension) of a label, but height (e.g., the vertical extension) may be unknown.
In a known prior art application, a textbox control is provided that increases (or decreases) in size in response to the number of characters provided therein. During the design phase, a textbox control size selected by dragging a mouse or other pointing device over any one of four corners of the textbox control. When the pointing device is released, the textbox control is sized. Thereafter, as a user inputs a number of characters into the textbox control that exceeds the size of the textbox control, the textbox control may behave in various ways. For example, once the amount of text exceeds the size of the textbox, a new line is automatically started and the vertical height of the textbox control increases. In this example, the textbox size automatically increases. Although automatic resizing of a textbox to accommodate a varying amount of text may seem desirable, output from label and tag printers may be adversely affected thereby. For example, as a textbox size automatically increases, other content, such as a barcode or image, may get covered by the expanding textbox. Thus, the predefined label layout, which may appeared to be suitable to the designer, can be impractical.
Moreover, software applications do not well support word-wrap functionality in a thermal label or ticket printer. For example, a label may be restricted to a maximum vertical height, for example, due to its particular application, which could be exceeded due to a wrapped text in a variable textbox. Moreover, a textbox may have to be dimensioned to support a maximum width.
The present invention has been made in view of the aforementioned shortcomings. Prior art label software applications define lines of text as a function of a specified number of characters, which results in text getting truncated if the point size is too large, or text that is rendered unreadable if the point size is too small.
The object of the present invention is to provide a user-defined print area, for example, in connection with output from a label and tag printer, that substantially automatically adjusts a respective font type, point size and/or other characteristics of textual content to accommodate the defined printable area.
Another object of the present invention is to provide label and tag printer design and development software application that includes one or more tools for the defined print area. Moreover, various types of fonts, including bitmap fonts that support horizontal and vertical magnification and scalable fonts are supported.
Another aspect of the invention is to provide a specified print area that includes user definable attributes that affect the behavior and appearance of textual content provided therein.
In order to solve the aforementioned problem, the present invention focuses on providing a solution to the foregoing shortcomings.
A first aspect of the present invention includes a method for providing formatted content in a user-defined print area. A database is stored on one or more processor readable media that are operatively coupled to one or more processors. A computing device associated with the one or more processors provides a user interface for defining at least one user-defined print area. The computing device provides one or more prompts for one or more parameters associated with the at least one user-defined print area. The one or more processors store at least one of the one or more parameters received in response to at least one of the one or more prompts, and the one or more processors format content provided in the user-defined print area in accordance with the at least one parameter of the one or more parameters. The formatted content is output by at least one printing device.
A second aspect of the present invention relates to a system for providing formatted content in the user-defined print area. The system comprises one or more processor readable media, one or more processors operatively coupled to the one or more processor readable media, a database stored on the one or more processor readable media and a computing device associated with the one or more processors and the processor readable media. The computing device has instructions for causing the computing device to perform the following steps: providing a user interface for defining
at least one user-defined print area; and providing one or more prompts for one or more parameters associated with the at least one user-defined print area. The one or more processors further have instructions to perform the following steps: storing in the database at least one of the one or more parameters received in response to at least one of the one or more prompts; and formatting content provided in the user-defined print area in accordance with the at least one parameter of the one or more parameters. Further, a printing device is provided that is programmed and configured to output the formatted content.
A third aspect of the present invention relates to the at least one parameter of the one or more parameters defining one or more of field size, layout, data source and textual content.
A fourth aspect of the present invention relates to the at least one parameter defining at least a size of the user-defined print area.
A fifth aspect of the present invention relates to the content being formatted to fit within the user-defined print area.
A sixth aspect of the present invention relates to at least some of the content being formatted to fit within the user-defined print area and at least some of the content is not displayed in the user-defined print area. An indicator may be provided that the at least some of the content is not displayed.
A seventh aspect of the present invention relates to the at least one parameter of the one or more parameters defining that textual content provided in the user-defined print area wraps a predefined number of lines.
An eighth aspect of the present invention relates to the at least one parameter of the one or more parameters defining that a point size of the content provided in the user-defined print area is adjusted by the one or more processors for the content to fit within the user-defined print area.
A ninth aspect of the present invention relates to transferring, by the computing device, the database to at least one of the one or more processors that is associated with the printing device.
A tenth aspect of the present invention relates to the at least one of the one or more processors that formats the content provided in the user-defined print area being associated with the printing device.
An eleventh aspect of the present invention relates to adding the database to the printing device's application programming interface.
A twelfth aspect of the present invention relates to the printing device being a thermal printer.
A thirteenth aspect of the present invention relates to the one or more prompts being provided by at least one of the one or more processors that is associated with the printing device.
A fourteenth aspect of the present invention relates to the content being retrieved from an other database.
A fifteenth aspect of the present invention relates to the content being received from a keyboard operatively coupled to the printing device
A label provided with a relatively short line of text has better readability than a label provided with a relatively long line of text. This is at least partially due a small font point size required for a relatively long line of text.
Accordingly, a user-defined print area is provided in which textual or other content is variably sized to accommodate the size of the print area. By providing a label design that includes a specified print area instead of defining a data field, such as a textbox control, that requires a maximum number of characters, the readability of text in the specified print area is optimized. As shown and described in greater detail below, the specified print area is definable via one or more controls in an integrated label development software environment, which may contain a virtual toolbox of selectable controls.
For the purpose of illustrating the invention, there is shown in the drawings a form which is presently preferred, it being understood, however, that the invention is not limited to the precise arrangements and instrumentalities shown. The features and advantages of the present invention will become apparent from the following description of the invention that refers to the accompanying drawings, in which:
In an embodiment, a specified print area includes user definable attributes that affect the behavior and appearance of textual content provided therein. For example, the height and width of the specified print area, and a content data source (e.g., a respective database) are defined and, thereafter, the font type, point size and/or other characteristics of textual content provided in the user-defined print area is substantially automatically adjusted to fit within the specified print area. Moreover, attributes can be defined that identify whether and when textual content should be truncated or otherwise not displayed in a specified print area. By selecting particular attributes in connection with the specified print area, label designers can be assured that virtually any textual content provided in the specified print area is supported in a desired manner and will be readable and/or aesthetically pleasing.
Each of the data elements in a label, such as generated by a thermal printer, may be displayed in one or more of a plurality of respective user-defined print areas defined in the label. Moreover, respective attributes for each of the user-defined print areas control the appearance and/or behavior of the specified print areas. Thus, and unlike prior art label definition software applications, the user-defined print area in accordance with the teachings herein can be provided in a number of places in a label. Thus, the user-defined print area provided in accordance with the teachings herein is an improvement over prior art single, global settings that affect the layout of all text entered in a label.
In addition to or in lieu of affecting the size of textual content that is provided within a user-defined print area, attributes may be defined to affect the height and width of the specified print area during or after textual content is provided therein. By defining size dimensions of the user-defined print area in addition to, or in lieu of, affecting the font type, point size and/or other characteristics of textual content, a powerful application is provided for label and tag printers.
Referring now to the drawing figures, in which like reference numerals represent like elements,
Information processor 102 may also be provided with printer firmware that is installed on printer 108. Printer 108 is preferably a label and tag printer, and may be a thermal printer or other type of printer. Moreover, information processor 102 and/or user workstation 104 may be provided with one or more software applications that are installable on printer 108 for custom configuration. Thus, in an embodiment, one or more software applications developed or otherwise provided (e.g., downloaded from the Internet) on information processor 102 and/or user workstation 104 is installed on printer 108. In this way, a software application containing features described herein is provided to printer 108, thereby configuring printer 108 with particular functionality.
Communication network 106 is preferably a global public communication network such as the Internet, but can also be a wide area network (WAN), local area network (LAN), an intranet or other network that enables computing devices and peripheral devices to communicate.
In a preferred embodiment, information processor 102 and user workstations 104 are any computer readable medium devices that are capable of sending and receiving data across communication network 106, e.g., mainframe computers, mini computers, personal computers, laptop computers, a personal digital assistants (PDA), cellular telephones and Internet access devices such as Web TV. In addition, information processors 102 are preferably equipped with web browser software, such as MICROSOFT INTERNET EXPLORER, MOZILLA FIREFOX, or the like. Information processors 102 are coupled to communication network 106 using any known data communication networking technology.
Also shown in
The various components of information processor 102 and/or workstation 104 need not be physically contained within the same chassis or even located in a single location. For example, storage device 210 may be located at a site which is remote from the remaining elements of information processor 102, and may even be connected to CPU 202 across communication network 106 via network interface 208. Information processor 102 and/or user workstation 104 preferably includes a memory equipped with sufficient storage to provide the necessary databases, forums, and other community services as well as acting as a web server for communicating hypertext markup language (HTML), Java applets, Active-X control programs. Information processors 102 and/or user workstation 104 are arranged with components, for example, those shown in
The nature of the invention is such that one skilled in the art of writing computer executable code (i.e., software) can implement the functions described herein using one or more of a combination of popular computer programming languages and developing environments including, but not limited to, LUA, C, C++, Visual Basic, JAVA, HTML, XML, ACTIVE SERVER PAGES, JAVA server pages, servlets, MYSQL and PHP.
Although the present application is described by way of example herein and in terms of a web-based system using web browsers and a web site server (e.g., information processor 102), system 100 is not limited to such a configuration. It is contemplated that system 100 is arranged such that label and tag printer 108 communicates with and outputs data received from information processor 102 and/or user workstation 104 using any known communication method, for example, using a non-Internet browser WINDOWS viewer coupled with a local area network protocol such as the Internet Packet Exchange (IPX), dial-up, third-party, private network or a value added network (VAN).
It is further contemplated that any suitable operating system can be used on information processor 102, for example, DOS, WINDOWS 3.x, WINDOWS 95, WINDOWS 98, WINDOWS NT, WINDOWS 2000, WINDOWS ME, WINDOWS CE, WINDOWS POCKET PC, WINDOWS XP, MAC OS, UNIX, LINUX, PALM OS, POCKET PC and any other suitable operating system.
In accordance with an embodiment, user-defined parameters are provided to control the appearance and/or behavior of textual content provided in a user-defined print area.
Continuing with reference to
In an embodiment, when the Rows parameter in section 410 is set to 0, textual content provided in user-defined print area 304 wraps to as many lines as are required for the complete textual content to be displayed using the selected font type, point size and width values selected in section 410. Although those respective values will not be affected, the height of user-defined print area 304 automatically adjusts to accommodate the textual content. Alternatively, if the value for Rows is set to any value greater than zero (>0), then textual content within print area 304 will wrap only a maximum of that defined number of rows. If the amount of textual content, formatted in accordance with options in section 410, exceeds the number of lines defined in the Rows then not all of the textual will be displayed or printed. Moreover, if the value in the Rows parameter is set to 1, then textual content will not wrap at all. In accordance with an embodiment, the Fit parameter 416 can be set to a value of “TRUE” and cause textual content within user-defined print area 304 to be automatically sized and attempted to fit within the user-defined print area, in accordance with the teachings herein.
In a preferred embodiment, if the total amount of textual content cannot be displayed in user-defined print area 304, then some indicator is provided to alert the user and/or viewer thereof.
As noted above, a user can define that Fit 416 parameter (
In one embodiment, a designer or other user may prefer that no indicator 902 is displayed in case some amount of textual content is not displayed, particularly if the Fit 416 parameter (
Thus, in accordance with preferred embodiments, a user-defined print area is definable enables label or other designers to establish a label, tag or other printed output that has a predefined dimensions including a fixed width, a variable or fixed height that substantially automatically formats textual content provided therein to accommodate the predefined dimensions. By providing such functionality in printers, particularly thermal printers, a fundamental improvement over prior art label and tag printer applications is provided in accordance with the teachings herein.
Moreover, and as described above in connection
Although the present invention is described and shown in relation to particular embodiments thereof, many other variations and modifications and other uses will become apparent to those skilled in the art. It is preferred, therefore, that the present invention be limited not by the specific disclosure herein.
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/JP2010/004702 | 7/22/2010 | WO | 00 | 1/17/2013 |