CN107025895A - Editing device, printing equipment and control method - Google Patents

Editing device, printing equipment and control method Download PDF

Info

Publication number
CN107025895A
CN107025895A CN201610862367.3A CN201610862367A CN107025895A CN 107025895 A CN107025895 A CN 107025895A CN 201610862367 A CN201610862367 A CN 201610862367A CN 107025895 A CN107025895 A CN 107025895A
Authority
CN
China
Prior art keywords
character
viewing area
width
case
text
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610862367.3A
Other languages
Chinese (zh)
Other versions
CN107025895B (en
Inventor
宫下智基
加古径吾
河合润也
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Publication of CN107025895A publication Critical patent/CN107025895A/en
Application granted granted Critical
Publication of CN107025895B publication Critical patent/CN107025895B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/34Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators for rolling or scrolling
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J29/00Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
    • B41J29/42Scales and indicators, e.g. for determining side margins
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/08Cursor circuits
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/22Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of characters or indicia using display control signals derived from coded signals representing the characters or indicia, e.g. with a character-code memory
    • G09G5/32Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of characters or indicia using display control signals derived from coded signals representing the characters or indicia, e.g. with a character-code memory with means for controlling the display position

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Artificial Intelligence (AREA)
  • Human Computer Interaction (AREA)
  • Controls And Circuits For Display Device (AREA)
  • User Interface Of Digital Computer (AREA)
  • Printers Characterized By Their Purpose (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Document Processing Apparatus (AREA)

Abstract

In editing device involved in the present invention, printing equipment and control method, from the left end of the text display area of display to right-hand member, multiple characters (S19) of arrangement ground display in left-right direction.Represent that the cursor of cursor position is also shown in text display area (S11, S19).When at least a portion for being judged as character adjacent with cursor position in the lateral direction in the case of moving cursor position is located at text display area, text is moved to width (the first width or the second width) amount (S18, S23) of character in the lateral direction.Thus, the character adjacent with cursor position is made to be shown generally in text display area (S19).

Description

Editing device, printing equipment and control method
Technical field
The present invention relates to the editing device for possessing display part and printing equipment and control method.
Background technology
A kind of known editing device for possessing display part.For example, the shifting disclosed in Japanese Unexamined Patent Publication 2000-276126 publications Mobile phone device possesses display part.Portable telephone device is by the text importing inputted via key input part in the display picture of display part In face.Use the narrower word of text width (so-called half size character) and the wider word of text width (so-called full-shape text Word) regional portable telephone device be configured to these half size characters, full size character both sides being shown in display picture. In the display picture of such portable telephone device, the sky of the narrower word of text width can be only shown when end of being expert at is present Between in the case of, if when end of being expert at shows the wider word of input text width in the state of cursor, in the position of cursor Place insertion space is put, the wider word of text width is inserted into next line.
The content of the invention
Even if end of expecting to be expert at can only be shown in the state of the narrower word of text width completely, end of being expert at can also be shown The wider word of text width.In that case, it is possible to the wider word of text width can not be housed in display picture, and One part can not be shown.In the position (editor position) with that can input word, a part for adjacent word is not depicted in showing In the case of showing picture, user is possible to be difficult to grasp the word.
It is an object of the present invention to provide one kind allows users to easily grasp and can input word, numeral, mark Deng editing device, printing equipment and the control program of the adjacent character in the position (editor position) of character.
The editing device of the 1st aspect of the present invention includes:Display part, being capable of display image;First display control unit, It is first end to the viewing area from one end on the first direction of the viewing area in the viewing area of the display part The other end on the first direction in domain is the second end, is shown along first direction arrangement as multiple character data institutes Multiple first characters of the multiple characters represented;Second display control unit, enables expression according to the operation to input unit The position of input character is that the mark for editing position is shown in the viewing area;And the 3rd display control unit, moving It is judged as word adjacent with the editor position after movement in said first direction in the case of having moved the editor position When symbol is that at least a portion of the second character is located at outside the viewing area, by the multiple first character along the first direction The width extent at least one of first direction of second character is moved to the viewing area side, makes institute The second character is stated to be shown generally in the viewing area.
According to first method, in editing device, with the width on the first direction of the second character independently, the second character Entirety can be shown in viewing area.User is overall by observing the second character, can easily grasp the second character.
The printing equipment of the 2nd aspect of the present invention possesses the editing device of first method and by the multiple Print unit of one character print to print media.Printing equipment can bring the editing device identical effect with first method Really.In addition, printing equipment can be by according to the character print inputted to the operation of input unit to print media.
The control method of the 3rd aspect of the present invention, is the control for the editing device for possessing the display part for being capable of display image Method, it is characterised in that including:First display control step, in the viewing area of the display part, from the viewing area First direction on one end be first end to the other end on the first direction of the viewing area i.e. the second end, along institute Show multiple first characters as multiple characters represented by multiple character datas with stating first direction arrangement;Second display control Step processed, the position for enabling expression to input character according to the operation to input unit edit position mark be shown in described in In viewing area;And the 3rd display control step, it is judged as in the case where moving the editor position described first The character adjacent with the editor position after movement is at least a portion of the second character positioned at the viewing area on direction When outer, the multiple first character is moved described in second character extremely along the first direction to the viewing area side Width extent at least part of first direction, makes second character be shown generally in the viewing area.According to Third Way, can bring and first method identical effect.
Brief description of the drawings
Fig. 1 is the stereogram of the printing equipment 1 in the state of lid 6 is closed.
Fig. 2 be in open lid 6 in the state of printing equipment 1 and tape drum 30 stereogram.
Fig. 3 is the block diagram for the electrical structure for showing printing equipment 1.
Fig. 4 is the flow chart of main process task.
Fig. 5 is the flow chart of scroll process.
Fig. 6 is the flow chart that left side checks processing.
Fig. 7 is the flow chart that right side checks processing.
Fig. 8 is the flow chart of display processing.
Fig. 9 is the flow chart of cursor movement processing.
Figure 10 is the flow chart of the dynamic processing of cursor left.
Figure 11 is the flow chart of the dynamic processing of cursor right.
Figure 12 is the flow chart of mobile processing on cursor.
Figure 13 is the flow chart of mobile processing under cursor.
Figure 14 is the explanation figure of the character 200 and the character 210 represented by display data represented by character data.
Figure 15 is the explanation figure of the character 300 and the character 310 represented by display data represented by character data.
Figure 16 is the figure for the display example 111~115 for showing the character and cursor 102 shown in text display area 100.
Figure 17 is the figure for the display example 121 for showing the character and cursor 102 shown in text display area 100.
Embodiment
Referring to the drawings, the embodiment for embodying the present invention is illustrated.In addition, the accompanying drawing of institute's reference is used to illustrate the present invention The technical characteristic that can be used, the described structure of device etc. not represents only to be defined in this, only illustrates example.
Referring to Figures 1 and 2, the schematic configuration of printing equipment 1 is illustrated.In the following description, by Fig. 1 and Fig. 2 upper right Side, lower left side, lower right side, upper left side, upside, downside be set to the rear side of printing equipment 1, front side, right side, left side, upside, Downside.
The printing equipment 1 of present embodiment is the device for the print media that word is printed on to banding using ink.Such as Fig. 1 It is shown, the upper surface of printing equipment 1 is provided with keyboard 3.Keyboard 3 includes multiple character keys, delete key, determination key etc..It is multiple Character keys are respectively used to the characters such as input word, numeral, mark.That is, character include can be showed by literal code word, Numeral, mark, foreign language, blank etc..In addition, in the present embodiment, character includes the character (hereinafter referred to as half of narrower width Angle word) and wider width this 2 kinds of character (hereinafter referred to as full size character).Set in the rear side (paper upper right side) of keyboard 3 There are the function key groups 4 such as power switch, cursor key, purposes key.Cursor key includes left button, right button, upper key, lower key.Purposes key includes Printing key, cancel key etc..In the following description, keyboard 3 and function key group 4 are referred to as and are recited as operating portion 2.In function key The rear side of group 4 is provided with display 5.The lid 6 that can be opened and closed is provided with the rear portion of the upper surface of printing equipment 1.In printing dress The left rear corner for putting 1 is provided with the pallet 7 of print media for receiving to be finished by the printing of shut-off mechanism described later cut-out (not shown).
As shown in Fig. 2 display 5 rear side be formed with handling tape drum 30 box installation portion 8.The tape drum of present embodiment 30 possess the framework i.e. box housing of approximately parallelepiped body shape (box).There is the print media of banding in the inner containment of box housing, beat Ink ribbon that India and China use etc..The species of tape drum 30 is e.g. stacked, receiving type, tubular type etc..In printing equipment 1, peace is used Tape drum 30 loaded on box installation portion 8, is printed to print media.
Box installation portion 8 is provided with drive shaft 11, winding off spindle 9, thermal head 10 (reference picture 3) etc..Drive shaft 11 is used to pass Send print media.Winding off spindle 9 is used to batch the ink ribbon using finishing.Thermal head 10 is printed to print media.In this implementation In mode, thermal head 10 is printed at print position using untapped ink ribbon to the print media transmitted.Beating The downstream side for printing the print position on the direction of transfer of medium is provided with shut-off mechanism (not shown).Shut-off mechanism cut-out printing is situated between Matter and the part that finishes will be printed and be partially separated from being not used.
Reference picture 3, illustrates the electrical structure of printing equipment 1.As shown in figure 3, printing equipment 1, which possesses, is formed at control base board On control circuit portion 400.Control circuit portion 400 possess CPU401, ROM402, RAM404, flash memories 410, input it is defeated Outgoing interface 411 etc., they are connected via data/address bus.
ROM402 stores CPU401 for the various programs for controlling printing equipment 1 and performing.RAM404 stores interim number According to.Multiple storage regions such as text buffer, display buffer, print buffer are provided with RAM404.In text buffer Text data is stored in area.Text data represents to include the text of at least one character via character key input.Text data Including character data.Character data represents character.The display for showing character in display 5 is stored in display buffer Data.In addition, showing the mark for representing blank at the position that there is blank.Representing the mark of blank can not also show. The print data as print object is stored in print buffer.Various operational datas etc. are stored in other storage regions.
Be stored with character data, various setting values of each character etc. in flash memories 410.Character data is also illustrated that Character duration and character height.In addition, in this manual, word as character refers to during comprising as printing, display Handle the rectangular area of unit, word, numeral, mark foreign language etc..Character duration represents the first party of character (rectangular area) Upward width.Character height represents the height in the second direction of character (rectangular area).Second direction is and first direction Orthogonal direction.First direction is that the side of the character arrangements inputted in the case of multiple characters is being sequentially input via character keys To.In addition, in the present embodiment, it is possible to inputting character in multirow.Herein, first direction is in display 5 is shown in The direction that multiple characters are arranged in each row in the text display area 100 (reference picture 16) of editing pictures, multirow is in second party Arrangement upwards.In addition, text display area 100 refers to the predetermined region on display 5, show in text display area 100 Show the text in the indication range described later in text.
Input/output interface 411 be connected with operating portion 2, liquid crystal display drive circuit (LCDC) 405, drive circuit 406,407, 408 etc..LCDC405, which has, is used for the video-ram (not shown) to the output display data of display 5.Drive circuit 406 is to be used for Drive the electronic circuit of thermal head 10.Drive circuit 407 is for driving the band for rotating winding off spindle 9 and drive shaft 11 to transmit electricity The electronic circuit of motivation 24.Drive circuit 408 is to be used to driving make the cutting equipment motor of shut-off mechanism action (not shown) 25 electronic circuit.
4~Figure 16 of reference picture, illustrates the main process task of present embodiment.By Figure 14 right side, left side, upside, downside difference It is set to right side, left side, upside, the downside of character 200 and 210.Figure 15 right side, left side, upside, downside are set to character 300 and 310 right side, left side, upside, downside.Figure 16 right side, left side, upside, downside are set to text display area 100 and right side, left side, upside, the downside of text 101.In the present embodiment, the first direction in text display area 100 It is left and right directions.In the present embodiment, the second direction in text display area 100 is above-below direction.
When connecting the power supply of printing equipment 1, the program that CPU401 is stored by performing in ROM402 starts Fig. 4 institutes The main process task shown.As shown in figure 4, when starting main process task, CPU401 carries out initialization process (S11).In S11, CPU401 RAM404 is emptied.Thereafter, CPU401 makes display 5 show editing pictures.CPU401 is shown in the text of editing pictures The left end display highlighting in region 100.Cursor is the cursor position for the position (editor position) for being denoted as inputting character Mark.In the present embodiment, shown in cursor 102 as illustrated in Figure 16, cursor is extend in a second direction bar-shaped Mark.In the present embodiment, character is inputted on the right side of cursor position, when inputting character, cursor position, which is moved to, to be inputted Character right side.
After S11 is performed, CPU401 has judged whether to key input (S13).CPU401 is detecting the behaviour of operating portion 2 In the case of work, it is judged as having carried out key input.(the S13 in the case where not carrying out key input:"No"), CPU401 repeats S13.(the S13 in the case where having carried out key input:"Yes"), CPU401 judges whether operated key is character keys or deletion Key (S15).
(the S15 in the case where operated key is character keys or delete key:"Yes"), CPU401 is according to operated key And carry out making or the editor (S17) of text.Hereinafter, the making of text or editor are referred to as " editor of text ". In the case of operating character keys, CPU401 accepts the input of character according to operated character keys.Operating delete key In the case of, CPU401 accepts the deletion of the character adjacent with cursor position.In the present embodiment, CPU401 is accepted in light The deletion of the character in the left side of cursor position.CPU401 can also accept the deletion of the character on the right side in cursor position. CPU401 will represent the text data store of edited text in RAM404 text buffer.After S17 is performed, CPU401 performs scroll process (S18).
Reference picture 5, illustrates scroll process.First, judge whether to have input word in the editor of texts of the CPU401 in S17 Accord with (S31).In the case that the key that operation is detected in S13 is delete key, CPU401 is judged as not inputting character and deleting Except character (S31:"No").In this case, cursor position moves what is deleted to the left from the right side for the character deleted The width extent of character.CPU401 performs left side inspection processing (reference picture 6) (S33).On the other hand, when being detected in S13 In the case that the key of operation is character keys, CPU401 is judged as have input character (S31:"Yes").In this case, cursor position It is moved to the right side of inputted character.CPU401 performs right side inspection processing (reference picture 7) (S35).
Reference picture 6, illustrates left side inspection processing.First, CPU401 judges whether be located at text by the cursor position after movement The left end (S81) of this viewing area 100.Cursor position after by movement is located at the situation of the left end of text display area 100 Under (S81:"Yes"), CPU401 cross reference file data judge to whether there is character in the left side of cursor position in the text (S83).(the S83 in the case of character is not present in the left side of cursor position:"No"), CPU401 terminates left side inspection processing. (the S83 in the case of it there is character on the left of cursor position:"Yes"), CPU401 judges whether the character is that full-shape is shown The character (S85) of (being shown as full size character).
(the S85 in the case where character is the character that half-angle shows and (is shown as half size character):"No"), character is wide with first Degree and predetermined altitude are shown.First width is the predetermined width on the first direction of shown character.Predetermined altitude is institute Predetermined height in the second direction of the character of display.(the S85 in the case where character is the character that full-shape is shown:YES), word Symbol is shown with the second width and predetermined altitude.Second width is the predetermined width on the first direction of shown character.The Two width are bigger than the first width.For example, predetermined altitude is 2 times of the first width, it is equal with the second width.In this case, Two width are also 2 times of the first width.
In the case where the character height of character is less than threshold value relative to the ratio of character duration, CPU401 is judged as character It is the character (S85 that full-shape is shown:"Yes").In this case, CPU401 makes text overall relative to indication range phase to the right The second width extent (S87) is moved over the ground.Indication range is the scope for referring to show in text display area 100.In character Ratio of the character height relative to character duration in the case of more than threshold value, CPU401 is judged as that character is that half-angle is shown Character (S85:"No").In this case, CPU401 makes text is overall relatively to move first to the right relative to indication range Width extent (S89).
In S81, (the S81 in the case where the cursor position after by movement is not located at the left end of text display area 100: "No"), CPU401 judges whether a part for the character in the left side in cursor position is located at outside text display area 100 (S91).(the S91 in the case where a part for the character in the left side in cursor position is located at outside text display area 100: "Yes"), CPU401 makes text is overall relatively to move the first width extent (S93) to the right relative to indication range.That is, in In the case that a part for the character that the full-shape in the left side of cursor position is shown is located at the outside of viewing area 100, in order that should Character is shown generally in viewing area 100, text is integrally moved right.The left side in cursor position character it is whole (S91 in the case that body is located in text display area 100:"No"), CPU401 terminates left side inspection processing.In addition, performing After S87, S89 or S93, CPU401 terminates left side inspection processing.
Next, reference picture 7, illustrates right side inspection processing.First, CPU401 judge by the cursor position after movement whether Positioned at the right-hand member (S111) of text display area 100.Cursor position after by movement is located at the right-hand member of text display area 100 In the case of (S111:"Yes"), CPU401 cross reference file data judge to whether there is word on the right side of cursor position in the text Accord with (S113).(the S113 in the case of character is not present on the right side of cursor position:"No"), CPU401 terminates right side inspection department Reason.(the S113 in the case of it there is character on the right side of cursor position:"Yes"), CPU401 judges whether the character is that full-shape shows The character (S115) shown.
In the case where the character height of character is less than threshold value relative to the ratio of character duration, CPU401 is judged as character It is the character (S115 that full-shape is shown:"Yes").In this case, CPU401 makes text overall relative to indication range phase to the left The second width extent (S117) is moved over the ground.Relative to the ratio of character duration it is situation more than threshold value in the character height of character Under, CPU401 is judged as that character is the character (S115 that half-angle is shown:"No").In this case, CPU401 makes the overall phase of text The first width extent (S119) is relatively moved to the left for indication range.
In S111, in the case where the cursor position after by movement is not located at the right-hand member of text display area 100 (S111:"No"), CPU401 judges whether a part for the character on the right side in cursor position is located at text display area 100 Outside (S121).In the case where a part for the character on the right side in cursor position is located at outside text display area 100 (S121:"Yes"), make text is overall relatively to move the first width extent (S123) to the left relative to indication range, i.e. at place In the case that a part for the character shown by full-shape on the right side of cursor position is located at the outside of viewing area 100, in order to The character is shown generally in viewing area 100, text is moved to the left.The right side in cursor position character it is whole (S121 in the case that body is located in text display area 100:"No"), CPU401 terminates right side inspection processing.In addition, performing After S117, S119 or S123, CPU401 terminates right side inspection processing.
On the left of the execution after inspection processing (S33) or right side inspection processing (S35), CPU401 terminates scroll process, returns To main process task (reference picture 4).CPU401 performs display processing (S19) after main process task is returned to.
Reference picture 8, illustrates display processing.In display processing, edited text is shown in text display area 100 At least a portion character.At least 1 line character can be shown in text display area 100.With a line multiple characters with from The left end of text display area 100 towards right-hand member in the first direction (left and right directions) arrangement status display.As described above, at this In embodiment, many line characters can be shown in text display area 100.
When performing display processing, first, CPU401 carries out initialization process (S41).In S41, CPU401 will RAM404 display buffer is emptied.Next, CPU401 judges whether shown in all rows of text display area 100 Character (S43).When interior in the presence of (S43 in the case of not showing the row of character in text display area 100:"No"), CPU401 ginsengs According to display buffer, judge that turning into the current row (row where cursor) for showing object in text display area 100 is No presence can show the space (S45) of character.Hereinafter, the row as current display object is referred to as to " display object row ".
In display processing, obtained in the text data stored from text buffer for each character with showing model Enclose the character data of corresponding character.According to acquired character data, display data is stored in display buffer.In display In 1st wheel of processing, display data is not stored in display buffer.Therefore, character is not shown in text display area 100 (S43:"No").In addition, presence can show the sky of character in display object row (the 1st row) in text display area 100 Between (S45:"Yes").
(the S45 in the case of it can show the space of character in presence in showing object row:"Yes"), CPU401 judges text Whether all characters in the row as currently processed object in the text represented by notebook data are shown in display object row (S47).It is the 1st row in indication range as the row of currently processed object in the 1st wheel of display processing.In display processing The 1st wheel in, as the character in the row of currently processed object be not shown in display object row in (S47:"No").
In the case of all characters in not showing the row as currently processed object, i.e., at least one character not (S47 in the case of display:"No"), CPU401 judges ratio of the character height relative to character duration of the character next shown Whether rate is more than threshold value (S49).Hereinafter, the character next shown is referred to as " display Object Character ".In S49, CPU401 obtains the character data of display Object Character from text data.CPU401 judges with reference to acquired character data Whether the character height of display Object Character is more than threshold value relative to the ratio of character duration.User can be by using operation Portion 2 inputs threshold value and preset threshold value.Set threshold value is stored in flash memories 410.It can also be deposited in flash memory The default value of threshold value is stored in reservoir 410.Threshold value is, for example, 2.
(the S49 in the case where ratio is more than threshold value:"Yes"), CPU401 is judged as showing display Object Character with half-angle Show that mode (with the first width and predetermined altitude) is shown in text display area 100 (S51).In this case, CPU401 gives birth to Display Object Character sets the display data of the first width and predetermined altitude in pairs, and stores into display buffer.Than Rate is less than (S49 in the case of threshold value:"No"), CPU401 is judged as display Object Character with full-shape display mode (with second Width and predetermined altitude) it is shown in text display area 100 (S53).In this case, CPU401 generations are to display object word Symbol sets the display data of the second width and predetermined altitude, and stores into display buffer.
After S51 or S53 is performed, CPU401 will show object according to the display data stored in display buffer Character is shown in text display area 100 (S55).After S51 is performed, CPU401 is with half-angle display mode (with the first width And predetermined altitude) display Object Character is shown.After S53 is performed, CPU401 is with full-shape display mode (with the second width And predetermined altitude) display Object Character is shown.In the case where cursor position is adjacent with display Object Character, CPU401 Corresponding position in text display area 100 is set to cursor position, display highlighting.For example, when the cursor in display data In the case that position is in the right side of display Object Character, display objects of the CPU401 in text display area 100 is shown in The right side display highlighting of character.
Reference picture 14, illustrates the example of character shown in the case where performing S49, S51, S55.As illustrated in Figure 14 Ground, the character data of the character 200 of mark represents character duration W11 and character height H11.Character height H11 is relative to character Width W11 ratio is more than threshold value (for example, 2) (S49:"Yes").In this case, CPU401 generations set the first width The display data (S51) of W21 and predetermined altitude H21 character 210.CPU401 is with the first width W21 and predetermined altitude H21 by word Symbol 210 is shown in text display area 100 (S55).
In addition, in S51, CPU401 is high in the character of not change character 200 when generating the display data of character 210 It is contained in the case of degree ratios of the H11 relative to character duration W11 in the rectangular area of character 210.Therefore, such as Figure 14 Illustratedly, it is provided with sometimes in the left and right of character 210 remaining white.
Reference picture 15, illustrates the example of character shown in the case where performing S49, S53, S55.As illustrated in Figure 15 Ground, the character data of the character 300 of foreign language represents character duration W12 and character height H12.Character height H12 is relative to character Width W12 ratio is less than threshold value (for example, 2) (S49:"No").In this case, CPU401 generations set the second width The display data (S53) of W22 and predetermined altitude H21 character 310.CPU401 is with the second width W22 and predetermined altitude H21 by word Symbol 310 is shown in text display area 100 (S55).
In addition, in S53, CPU401 is high in the character of not change character 300 when generating the display data of character 310 It is contained in the case of degree ratios of the H12 relative to character duration W12 in the rectangular area of character 310.Therefore, such as Figure 15 Illustratedly, sometimes character 310 it is setting up and down have a surplus it is white.
Perform S55 after, CPU401 in text display area 100 by it is ensuing display Object Character position to the right The width extent (S57) of mobile current display Object Character.When in S55 with half-angle mode (with the first width and predetermined altitude) In the case of showing current display Object Character, in S57, CPU401 moves the position of ensuing display Object Character Dynamic first width extent.When current display object word is shown with DbChar Format (with the second width and predetermined altitude) in S55 In the case of symbol, in S57, the second width extent is moved in the position of ensuing display Object Character by CPU401.
After S57 is performed, CPU401 makes processing return to S45.Character can be shown when being not present in display object row (S45 in the case of space:"No"), CPU401 will show that object row is set as next line (S59).In addition, showing text (S47 in the case of all characters in the row as currently processed object in text represented by data:"Yes"), CPU401 Display object row is set as next line (S59).After S59 is performed, CPU401 makes processing return to S43.
In S43, when character is shown in the situation in viewing area 100 in all rows in text display area 100 Under (S43:"Yes"), CPU401 terminates display processing, returns to main process task (reference picture 4).When the display object row set in S59 In the case of can not being shown in text display area 100, CPU401 is judged as in all rows in text display area 100 It all show character.For example, 2 style of writing sheets and the display object set in S59 can be shown in text display area 100 by working as In the case that row is the 3rd row, display object row (the 3rd row) is not appeared in text display area 100.In this case, CPU401 is judged as all show character in all rows in text display area 100 (2 row).
CPU401 has judged whether to key input (S13) after main process task is returned to.Carrying out key input and operated Key be not (S13 in the case of any one in character keys and delete key:"Yes", S15:"No"), CPU401 judges operated Key whether be cursor key (S21).(S21 in the case of being cursor key in operated key:"Yes"), CPU401 performs cursor and moved Dynamic processing (S23).
Reference picture 9, illustrates that cursor movement is handled.First, CPU401 judges whether operated cursor key is left button.Left button For the movement of indicating cursor position to the left.(S61 in the case of being left button in operated cursor key:"Yes"), CPU401 is held Line cursor moves left processing (S62).
Reference picture 10, illustrates the dynamic processing of cursor left.First, CPU401 is judged in text display area 100 in cursor The left side of position whether there is character (S71).(the S71 in the case of it there is character on the left of cursor position:"Yes"), Cursor position is moved to the left the width extent (S73) of the character in the left side in cursor position by CPU401.CPU401 performs left side Inspection handles (reference picture 6) (S75).(the S71 in the case of character is not present in the left side of cursor position:"No") or holding After the inspection processing of row left side (S75), CPU401 end cursors move left processing, return to cursor movement processing (reference picture 9).
In S61, (the S61 in the case where operated cursor key is not left button:"No"), CPU401 judges operated Whether cursor key is right button (S63).Right button is used for the movement of indicating cursor position to the right.It is right button in operated cursor key In the case of (S63:"Yes"), CPU401 performs the dynamic processing (S64) of cursor right.
Reference picture 11, illustrates the dynamic processing of cursor right.First, CPU401 is judged in text display area 100 in cursor The right side of position whether there is character (S101).(the S101 in the case of it there is character on the right side of cursor position:"Yes"), CPU401 by cursor position move right the right side in cursor position character width extent (S103).CPU401 performs right side Inspection handles (reference picture 7) (S105).(the S101 in the case of character is not present on the right side of cursor position:"No") or Perform after the inspection processing of right side (S105), CPU401 end cursors move right processing, return to cursor movement processing (reference picture 9).
In S63, (the S63 in the case where operated cursor key is not right button:"No"), CPU401 judges operated Whether cursor key is upper key (S65).Upper key is used for the movement of indicating cursor position upwards.The key on operated cursor key is In the case of (S65:"Yes"), CPU401 performs mobile processing (S66) on cursor.
Reference picture 12, illustrates mobile processing on cursor.First, CPU401 cross reference files data, judge cursor in the text The upside of position whether there is the row (S131) of character.(the S131 in the case of it there is the row of character on the upside of cursor position: "Yes"), CPU401 judge on the upside of row right side end whether in locating (S133) on the right side than cursor position.When in cursor The upside of position be not present character row in the case of (S131:"No") or it is not in the end on the right side of the row of upside ratio Cursor position (S133 in the case of place on the right side:"No"), mobile processing in CPU401 end cursors returns to cursor movement processing (reference picture 9).
(S133 in the case of being in the end on the right side of the row of upside than cursor position on the right side place:"Yes"), CPU401 judge when cursor position is moved up cursor position whether with character overlap (S135).For example, being shown in full-shape Character left and right directions on be centrally located at the surface of cursor position in the case of, CPU401 is judged as cursor position and word Symbol is overlapping.
(the S135 in the case of cursor position after cursor position is moved up and character are nonoverlapping:"No"), CPU401 Cursor position is moved up into 1 row (S141).In the case of cursor position after cursor position is moved up and character overlap (S135:"Yes"), cursor position is moved up 1 row (S137) by CPU401.Thereafter, cursor position is moved to and light by CPU401 The left side (S139) of the overlapping character of cursor position.For example, being located in cursor position on the left and right directions for the character that full-shape is shown In the case of center, cursor position is moved to the left the width extent for the character that half-angle is shown by CPU401.
After S139 or S141 is performed, CPU401 performs left side inspection processing (reference picture 6) (S143).Thereafter, CPU401 performs right side inspection processing (reference picture 7) (S145).Thereafter, mobile processing in CPU401 end cursors, returns to cursor Mobile processing (reference picture 9).
(the S65 in the case of key on operated cursor key in S65 is not:"No"), under operated cursor key is Key.In this case, CPU401 performs mobile processing (S67) under cursor.
Reference picture 13, illustrates mobile processing under cursor.First, CPU401 cross reference files data, judge in the text in light The downside of cursor position whether there is the row (S151) of character.In the case of it there is the row of character on the downside of cursor position (S151:"Yes"), CPU401 judge on the downside of row right side end whether in locating (S153) on the right side than cursor position.When (S151 in the case of the row of character is not present in the downside of cursor position:"No") or downside row right side end not (the S153 in the case of than cursor position on the right side place:"No"), mobile processing under CPU401 end cursors returns to cursor shifting Dynamic processing (reference picture 9).
(S153 in the case of being in the end on the right side of the row of downside than cursor position on the right side place:"Yes"), CPU401 judge when cursor position is moved down cursor position whether with character overlap (S155).Cursor position is downward (S155 in the case of cursor position and character are nonoverlapping when mobile:"No"), cursor position is moved down 1 row by CPU401 (S161).(the S155 in the case of cursor position and character overlap when cursor position is moved down:"Yes"), CPU401 is by light Cursor position moves down 1 row (S157).Thereafter, cursor position is moved to the left side of the character overlapping with cursor position by CPU401 (S159)。
After S159 or S161 is performed, CPU401 performs left side inspection processing (reference picture 6) (S163).Thereafter, CPU401 performs right side inspection processing (reference picture 7) (S165).Thereafter, mobile processing in CPU401 end cursors, returns to cursor Mobile processing (reference picture 9).
Performing the dynamic processing (S62) of cursor left, the dynamic processing (S64) of cursor right, on cursor mobile processing (S66) or Under cursor after mobile processing (S67), CPU401 end cursors movement processing returns to main process task (reference picture 4).
CPU401 performs display processing (reference picture 8) (S19) after main process task is returned to.CPU401 is performing display processing Afterwards, processing is made to return to S13.Carried out key input and operated key be not character keys and delete key in the situation of any one Under (S13:"Yes", S15:"No"), CPU401 judges whether operated key is cursor key (S21).In operated key also not It is (S21 in the case of cursor key:"No"), CPU401 judges whether operated key is printing key (S25).
(S25 in the case of being printing key in operated key:"Yes"), CPU401 performs print processing (S27).In detail Say, CPU401 generates print data and stored into print buffer according to text data.CPU401 is controlled according to print data Drive circuit 406 and 407 processed.Thus, rotate drive shaft 11 and winding off spindle 9.In addition, selecting the heater element of thermal head 10 Property and be intermittently powered.Thus, print media and ink ribbon are transmitted, on the print medium print text.Performing S27 Afterwards, CPU401 makes processing return to S13.
In S25, (the S25 in the case where operated key is not printing key:"No"), operated key is operating portion 2 Key in the key in addition to character keys, delete key, cursor key and printing key.In this case, CPU401 is performed with being grasped The key of work is handled (S29) accordingly.After S29 is performed, CPU401 makes processing return to S13.When the power supply for disconnecting printing equipment 1 Afterwards, CPU401 terminates main process task.
Reference picture 16, illustrates the display example 111~115 shown in the case where performing main process task (reference picture 4).In display In example 111~115, text 101 is the text being made via character key input character.Text 101 includes character in the 1st row " 1A2345B678 ", includes character " C9012DEF " in the 2nd row.With half-angle mode (with the first width W21 and predetermined altitude H21) The numeral that display text 101 is included.Show that text 101 is wrapped with DbChar Format (with second width W22 and predetermined altitude H21) The letter contained.In addition, the dotted line around each character is illustrated to show the size of each character, in display 5 Do not show.
In display example 111, cursor 102 is shown between the character " 9 " of the 2nd row and " 0 ".It is set to press in this condition Left button (Fig. 4 S13, S15:"No", S21:The S61 of "Yes", Fig. 9:"Yes").In this case, as shown in display example 112, light Mark 102 moves (Figure 10 S71 to the left side of character " 9 ":The S19 of "Yes", S73, Fig. 4).In addition, by the way that text 101 is relative The width extent of the character of full-shape is relatively moved to the right in indication range, by the word in the left side of the cursor 102 after movement Symbol " C " is shown in text display area 100 (Fig. 6 S81:"Yes", S83:"Yes", S85:The S19 of "Yes", S87, Fig. 4).
It is set to press key (Fig. 4 S13, S15 in the state of shown in display example 112:"No", S21:"Yes", Fig. 9's S61:"No", S63:"No", S65:"Yes").In this case, as shown in display example 113, cursor 102 is moved upward 1 row, And it is moved to character " A " left side.(Figure 12 S131:"Yes", S133:"Yes", S135:"Yes", S137, S139, S143, S145, Fig. 4 S19).
It is set to press right button (Fig. 4 S13, S15 5 times in the state of shown in display example 113:"No", S21:"Yes", Fig. 9 S61:"No", S63:"Yes").In this case, as shown in display example 114, cursor 102 is made to move right the amounts of 5 characters, (Figure 11 S101 between character " 5 " and " B ":The S19 of "Yes", S103, Fig. 4).In addition, by by text 101 relative to Indication range relatively moves the width extent of the character of half-angle to the left, by the character on the right side of the cursor 102 after movement " B " is shown generally in text display area 100 (Fig. 7 S111:"No", S121:The S19 of "Yes", S123, Fig. 4).
It is set to press lower key (Fig. 4 S13, S15 in the state of shown in display example 114:"No", S21:"Yes", Fig. 9's S61:"No", S63:"No", S65:"No").In this case, as shown in display example 115, cursor 102 is moved downward 1 row, And it is moved to character " D " left side (Figure 13 S151:"Yes", S153:"Yes", S155:"Yes", S157, S159, S163, S165, Fig. 4 S19).
As mentioned above, according to present embodiment, in the text display area 100 of the editing pictures of display 5, Multiple characters (Fig. 4 S19) are shown from the left end of text display area 100 towards right-hand member with arranging in left-right direction.Represent light The cursor of cursor position is also shown in text display area 100 (S11, S19).In the case where moving cursor position, sentencing Break for character adjacent with cursor position in the lateral direction at least a portion be located at text display area 100 outside situation Under, text 101 is relatively moved to width (the first width or second of character in the lateral direction relative to indication range Width) amount (S18, S23).Thus, with the width on the left and right directions of character independently, the character adjacent with cursor position is overall It is shown in text display area 100 (S19).User is overall by observing the character adjacent with cursor position, can be easy Grasp the character in ground.
Left side inspection processing (reference picture 6) in, in the case where moving cursor position, judge cursor position whether position In the left end (S81) of text display area 100.Cursor position after movement is judged as is located at a left side for text display area 100 (S81 in the case of end:"Yes"), judge to whether there is character (S83) in the left side of cursor position.When in the left side of cursor position (S83 in the case of there is character:"Yes"), text is relatively moved to the width (of character to the right relative to indication range One width or the second width) amount (S87, S89).Thus, the character in the left side in cursor position is shown generally at text and shown Show in region 100 (S19).
Cursor position after movement is not located at (S81 in the case of the left end of text display area 100:"No"), judge It is outer (S91) whether a part for the character in the left side in cursor position is located at text display area 100.It is being judged as character (S91 in the case that a part is located at outside text display area 100:"Yes"), text is relative to the right relative to indication range Move the first width extent (S93) in ground.Thus, the character in the left side in cursor position is shown generally at text display area 100 In (S19).
Right side inspection processing (reference picture 7) in, in the case where moving cursor position, judge cursor position whether position In the right-hand member (S111) of text display area 100.Cursor position after movement is judged as is located at the right side of text display area 100 (S111 in the case of end:"Yes"), judge to whether there is character (S113) on the right side of cursor position.When on the right side of cursor position (S113 in the case that side has character:"Yes"), text is relatively moved to the width of character to the left relative to indication range (the first width or the second width) measures (S117, S119).Thus, the character on the right side in cursor position is shown generally at text In this viewing area 100 (S19).
Cursor position after movement is not located at (S111 in the case of the right-hand member of text display area 100:"No"), judge It is outer (S121) whether a part for the character on the right side in cursor position is located at text display area 100.It is being judged as character A part be located at text display area 100 it is outer in the case of (S121:"Yes"), by text relative to indication range phase to the left The first width extent (S123) is moved over the ground.Thus, the character on the right side in cursor position is shown generally at text display area In 100 (S19).
So, cursor position or the character adjacent with cursor position are directed in the case of cursor position according to moving Position judgement, text is relatively moved relative to indication range.Thereby, it is possible to show in text display area 100 Show that the character adjacent with cursor position is overall.User is overall by observing the character adjacent with cursor position, can easily slap Hold the character.
Many line characters can be shown in text display area 100.(Fig. 9 S65 in the case of key on operating: "Yes"), perform mobile processing (reference picture 12) (S66) on cursor.(Fig. 9 S65 in the case where operating lower key:"No"), Perform mobile processing (reference picture 13) (S67) under cursor.
On cursor in mobile processing, judge to whether there is the row (S131) of character in the upside of cursor position.When in light There is (S131 in the case of the row of character on the upside of cursor position:"Yes"), whether the end on the right side of the row on the upside of judgement is in Locate on the right side than cursor position (S133).In the case of being in the end on the right side of the row of upside than cursor position on the right side place (S133:"Yes"), cursor position is moved up into 1 row (S137, S141).Cursor position is being moved up to the situation of 1 row Under, when being judged as cursor position with character overlap, cursor position is moved to the left side (S139) of character by (S135).Thereafter, hold Row left side inspection processing (S143) and right side inspection processing (S145), make the character adjacent with cursor position be shown generally at text In viewing area 100 (Fig. 4 S19).
Under the cursor in mobile processing, judge to whether there is the row (S151) of character in the downside of cursor position.When in light There is (S151 in the case of the row of character on the downside of cursor position:"Yes"), whether the end on the right side of the row on the downside of judgement is in Locate on the right side than cursor position (S153).In the case of being in the end on the right side of the row of downside than cursor position on the right side place (S153:"Yes"), cursor position is moved down into 1 row (S157, S161).Cursor position is being moved downwardly to the situation of 1 row Under, when being judged as cursor position with character overlap, cursor position is moved to the left side (S159) of character by (S155).Thereafter, hold Row left side inspection processing (S163) and right side inspection processing (S165), make the character adjacent with cursor position be shown generally at text In viewing area 100 (Fig. 4 S19).
So, also can be with phase in the case of the instruction for moving up cursor position has been accepted Independently character is shown generally in viewing area adjacent to the width on the left and right directions of the character of cursor position.User passes through The character entirety adjacent to cursor position is observed, the character can be easily grasped.
Text includes the characters such as word, numeral, mark, foreign language.Character data represents character duration and character height.Aobvious Show in processing (reference picture 8), judge to show the character height of Object Character relative to the ratio of character duration whether be threshold value with Upper (S49).Ratio is that character more than threshold value is shown in (S49 in text display area 100 with the first width and predetermined altitude: "Yes", S51, S55).Ratio is less than the character of threshold value and is shown in text with second width and predetermined altitude bigger than the first width (S49 in viewing area 100:"No", S53, S55).CPU401 can according to character height relative to character duration ratio come Which in the first width and the second width the width of shown character is defined as.With the character shown by unified determine The situation of width compare, user is easier visual confirmation character.
User is able to confirm that shown character by observing the display 5 that printing equipment 1 possesses.The energy of printing equipment 1 It is enough by by the text printing that is made via character key input character in print media.
The present invention is not limited to above-mentioned embodiment, can carry out various changes.Main process task in above-mentioned embodiment is not The situation for being defined in by the CPU401 of printing equipment 1 to perform.For example, the program of main process task can also be by that can edit text This and possess the editing device of display part to perform.In this case, editing device can also be unable to print text.Can not also Perform the S25 and S27 in main process task.The S29 in main process task can not also be performed.Editing device can also generate edited text This text data.Printing equipment 1 can also obtain text data from editing device, be printed according to text data.
Character data can also include representing that character is which the information in half-angle and full-shape.In this case, S49, S51, S53 in display processing (reference picture 8) can not be performed.It is which in half-angle and full-shape according to character in S55 One, display data is generated, character is included in text display area 100.
Can also be that 1 line character can be shown in text display area 100.In this case, light can not also be performed S65, S66 (mobile processing on cursor) and S67 (mobile processing under cursor) in the mobile processing (reference picture 9) of mark.
On cursor in mobile processing (reference picture 12), left side inspection processing (S143) can also be handled in right side inspection (S145) performed after.Under the cursor in mobile processing (reference picture 13), left side inspection processing (S163) can also be examined on right side Investigate and prosecute execution after reason (S165).
On cursor in the S139 of mobile processing, cursor position can also be moved to overlapping with cursor position by CPU401 The right side of character.In the S159 for moving processing under the cursor, cursor position can also be moved to and cursor position weight by CPU401 The right side of folded character.
Character can not can also be showed by literal code.For example, character can also be view data (raster data).Word The view data of symbol includes representing the information of the height on width and second direction on the first direction of character.
In the S51 of display processing (reference picture 8), CPU401 can also set first in generation to display Object Character In the case of the display data of width and predetermined altitude, ratio of the change character height relative to character duration.For example, it is also possible to It is, to make the character duration mode consistent and consistent with predetermined altitude character height with the first width be amplified/contract character It is small.In S53, CPU401 can also set the display data of the second width and predetermined altitude in generation to display Object Character In the case of, ratio of the change character height relative to character duration.For example, it is also possible to be, so that character duration is wide with second Degree is consistent and the character height mode consistent with predetermined altitude is amplified/reduced to character.
In the above-described embodiment, the character adjacent with cursor position is made to be shown generally in text display area 100. Do not have in the row of cursor position, a part for character is located at outside text display area 100 sometimes.However, in no cursor position Row in, can also make on the left and right directions of text display area 100 positioned at cursor position side end character It is shown generally in text display area 100.
In detail, in the case where being judged as that cursor position is located at the left end or right-hand member of text display area 100, root Text 101 is moved in the lateral direction according to needs, thus cursor not row in can also make to be located at text viewing area The left end in domain 100 or the character of right-hand member are shown generally in text display area 100.Alternatively, it is also possible to be, it is being judged as In the case of there is 1 character between cursor position and the left end or right-hand member of text display area 100, make text as needed This 101 right and left is moved up, thus also make in the row without cursor position positioned at text display area 100 left end or The character of right-hand member is shown generally in text display area 100.For example, execution is handled CPU401 in the following manner.
In the scroll process shown in Fig. 5, CPU401 is after inspection processing (S33) on the left of execution, for no cursor position The row put, judges whether a part for the character of the left end positioned at text display area 100 is located at outside text display area 100 i.e. Can.Then, in the case where a part for character is located at outside text display area 100, processing is checked with the left side shown in Fig. 6 Similarly, text is relatively moved the first width extent to S93 by CPU401 to the right relative to indication range.Positioned at text In the case that the character of the left end of viewing area 100 is integrally located in text display area 100, CPU401 terminates scroll process i.e. Can.
In scroll process, CPU401, for the row without cursor position, sentences after inspection processing (S35) on the right side of execution It is outer whether a part for the character of the disconnected right-hand member positioned at text display area 100 is located at text display area 100.Then, It is same with the S123 that the right side shown in Fig. 7 checks processing in the case where a part for character is located at outside text display area 100 Text is relatively moved the first width extent by ground, CPU401 to the left relative to indication range.Positioned at text viewing area In the case that the character of the right-hand member in domain 100 is integrally located in text display area 100, CPU401 terminates scroll process.
In the dynamic processing of cursor left shown in Figure 10, CPU401 is after inspection processing (S75) on the left of execution, for not having The row of cursor position, judges whether a part for the character of the left end positioned at text display area 100 is located at text display area 100 is outer.Then, in the case where a part for character is located at outside text display area 100, in the same manner as S93, CPU401 Text is relatively moved into the first width extent to the right relative to indication range.On the left side positioned at text display area 100 In the case that the character at end is integrally located in text display area 100, CPU401 end cursors move left processing.
In the dynamic processing of cursor right shown in Figure 11, CPU401 is after inspection processing (S105) on the right side of execution, for not having There is the row of cursor position, judge whether a part for the character of the right-hand member positioned at text display area 100 is located at text viewing area Domain 100 is outer.Then, in the case where a part for character is located at outside text display area 100, in the same manner as S123, Text is relatively moved the first width extent by CPU401 to the left relative to indication range.Positioned at text display area In the case that the character of 100 right-hand member is integrally located in text display area 100, CPU401 end cursors move right processing i.e. Can.
On the cursor shown in Figure 12 in mobile processing, performed in S143 left side check processing as a result, being moved Cursor position after dynamic is located at the left end of text display area 100 sometimes.In addition, sometimes the cursor position after by movement with text There is 1 character between the left end of this viewing area 100.In this case, CPU401 is directed to the row without cursor position, performs Identical is handled afterwards with performing left side inspection processing (S75) in the dynamic processing of cursor left.
On cursor in mobile processing, performed in S145 right side check processing as a result, by the cursor after movement Position is located at the right-hand member of text display area 100 sometimes.In addition, the cursor position and text display area after by movement sometimes There is 1 character between 100 right-hand member.In this case, CPU401 is directed to the row without cursor position, performs and right in cursor Identical processing after right side inspection processing (S105) is performed in mobile processing.
Under the cursor shown in Figure 13 in mobile processing, performed in S163 left side check processing as a result, sometimes It is located at the left end of text display area 100 by the cursor position after movement.In addition, sometimes the cursor position after by movement with text There is 1 character between the left end of this viewing area 100.In this case, CPU401 is directed to the row without cursor position, performs Identical is handled afterwards with performing left side inspection processing (S75) in the dynamic processing of cursor left.
Under the cursor in mobile processing, performed in S165 right side check processing as a result, sometimes by after movement Cursor position is located at the right-hand member of text display area 100.In addition, the cursor position and text display area after by movement sometimes There is 1 character between 100 right-hand member.In this case, CPU401 is directed to the row without cursor position, performs and right in cursor Identical processing after right side inspection processing (S105) is performed in mobile processing.
Illustrate the display example shown in the case where performing processing in the above described manner.For example, as shown in figure 16, above-mentioned In display example 114 in embodiment, the character " B " on the right side of cursor 102 is set to be shown generally in text display area 100. A part positioned at the character " E " of the left end of text display area 100 in the row without cursor 102 is located at text display area Outside 100.However, in this case, text 101 is relatively moved into the first width extent to the left relative to indication range is Can.Then, as shown in Figure 17 display example 121, character " E " is made to be shown generally in text display area 100.
In the above-described embodiment, " display part " of the display 5 equivalent to the present invention.Text display area 100 equivalent to " viewing area " of the present invention." first end " of the left end of text display area 100 equivalent to the present invention.Text display area " second end " of 100 right-hand member equivalent to the present invention." input unit " of the operating portion 2 equivalent to the present invention.Cursor position equivalent to " the editor position " of the present invention." mark " of the cursor 102 equivalent to the present invention.Upside in text 101 is equivalent to the present invention's " the first side "." second side " of the downside equivalent to the present invention in text 101.
In the display processing shown in Fig. 8, the CPU401 that character is shown in text display area 100 is of the invention One of " the first display control unit ".In text viewing area in the S11 and S19 (display processing) of the main process task shown in Fig. 4 The CPU401 of display highlighting is one of " the second display control unit " of the invention in domain 100.Performing scroll process (S18) The CPU401 of display processing (S19) is performed afterwards and performs display processing (S19) afterwards performing cursor movement processing (S23) CPU401 is one of " the 3rd display control unit " of the invention.
The CPU401 for performing the S65 of the movement processing of the cursor shown in Fig. 9 is one of " accepting unit " of the invention.Perform The S151 of mobile processing CPU401 is this hair under cursor on cursor shown in Figure 12 shown in the S131 and Figure 13 of mobile processing One of bright " judging unit ".Perform the cursor shown in S137, S141 and Figure 13 of mobile processing on the cursor shown in Figure 12 S157, S161 of lower mobile processing CPU401 are one of " the first mobile unit " of the invention.Perform the light shown in Figure 12 The CPU401 for putting on the S159 of mobile processing under the cursor shown in the S139 and Figure 13 of mobile processing is " the second movement of the invention One of unit ".The S27 of thermal head 10, drive circuit 406 and execution main process task CPU401 is " print unit " of the invention One.
In the display processing shown in Fig. 8, the processing that character is shown in text display area 100 is of the invention " One of one step display ".In the S11 and S19 (display processing) of main process task in text display area 100 display highlighting Processing is one of " the second display control step " of the invention.Display processing (S19) is performed afterwards performing scroll process (S18) Processing and perform cursor movement processing (S23) afterwards perform display processing (S19) processing be it is of the invention " the 3rd display One of rate-determining steps ".
Label declaration
1 printing equipment
2 operating portions
5 displays
10 thermal heads
100 text display areas
101 texts
102 cursors
200 characters
210 characters
300 characters
310 characters
401 CPU
406 drive circuits
H11 character heights
H12 character heights
H21 predetermined altitudes
W11 character durations
W12 character durations
The width of W21 first
The width of W22 second.

Claims (10)

1. a kind of editing device, it is characterised in that including:
Display part, being capable of display image;
First display control unit, in the viewing area of the display part, one from the first direction of the viewing area End is first end to the other end on the first direction of the viewing area i.e. the second end, arranges ground along the first direction Show multiple first characters as multiple characters represented by multiple character datas;
Second display control unit, enables the position that expression inputs character according to the operation to input unit to edit position Mark is shown in the viewing area;And
3rd display control unit, be judged as in the case where moving the editor position in said first direction with movement , will be described many when the adjacent character in the rear editor position is that at least a portion of the second character is located at outside the viewing area Individual first character moves at least one of institute of second character along the first direction to the viewing area side The width extent on first direction is stated, second character is shown generally in the viewing area.
2. editing device according to claim 1, it is characterised in that
3rd display control unit is judged as the edit bit setting in institute in the case where moving the editor position When stating first end, the multiple first character is in and described the to second side mobile phase for the first end Width extent on the first direction of second character of two end opposite side, makes second character be shown generally at institute State in viewing area,
3rd display control unit is judged as the edit bit setting in institute in the case where moving the editor position When stating the second end, the multiple first character is in and described the to first end side movement relative to second end Width extent on the first direction of second character of one end opposite side, makes second character be shown generally at institute State in viewing area,
3rd display control unit is judged as that second character is located at institute in the case where moving the editor position The part for stating the first end on the first direction of viewing area and second character is located at the viewing area When outer, the multiple first character is moved to a part of first party of second character to second side Upward width extent, makes second character be shown generally in the viewing area,
3rd display control unit is judged as that second character is located at institute in the case where moving the editor position The part for stating second end on the first direction of viewing area and second character is located at the viewing area In the case of outer, by the multiple first character to the first end side move second character it is described it is a part of described in Width extent on first direction, makes second character be shown generally in the viewing area.
3. editing device according to claim 2, it is characterised in that
First display control unit is in the viewing area, by the multiple first character from the first direction The first end is arranged along the first direction, and on the second direction as the direction orthogonal with the first direction Shown in multirow,
The editing device also includes:
Accept unit, accept the editor position to the first side in the second direction and with first side opposite side The second side in either one movement instruction;
Judging unit, accepts in the case that unit accepted the instruction by described, judges the institute in the editor position State indicating mobile side by the instruction and whether there is in first side and second side in second direction A line in the multirow;
First mobile unit, is being judged as that described a line is in the second party of the editor position by the judging unit Mobile side is indicated by the instruction in upward first side and second side, also, described a line The end of second side on the first direction is in rests against described the than the edit bit in said first direction In the case of two sides, by the editor position into first side and second side in the second direction Indicate mobile side by the instruction and move;And
Second mobile unit, the volume is judged as in the case where moving the editor position by first mobile unit When collecting the character overlap in position and described a line, by the institute of the editor position in said first direction into described a line Either one movement in first side and second side of character is stated,
3rd display control unit is judged as second character in the case where moving the editor position at least When a part is located at outside the viewing area, mobile the multiple first character is shown generally at second character described In viewing area.
4. editing device according to claim 3, it is characterised in that
The multiple first character includes any one in word, numeral, mark and foreign language,
The multiple character data represents the width and described second on the respective first direction of the multiple character respectively Height on direction,
First display control unit and the 3rd display control unit judge that the multiple first character is respective described Height relative to the width ratio whether be more than threshold value,
The ratio is set to be shown in for the character more than threshold value with the first width and predetermined altitude in the viewing area,
The ratio is set to be less than the character of the threshold value aobvious with the second big width than first width and the predetermined altitude Show in the viewing area.
5. editing device according to claim 2, it is characterised in that
The multiple first character includes any one in word, numeral, mark and foreign language,
The multiple character data represent respectively width on the respective first direction of the multiple character and as with institute The height in the second direction in the orthogonal direction of first direction is stated,
First display control unit and the 3rd display control unit judge that the multiple first character is respective described Height relative to the width ratio whether be more than threshold value,
The ratio is set to be shown in for the character more than threshold value with the first width and predetermined altitude in the viewing area,
The ratio is set to be less than the character of the threshold value aobvious with the second big width than first width and the predetermined altitude Show in the viewing area.
6. editing device according to claim 1, it is characterised in that
First display control unit is in the viewing area, by the multiple first character from the first direction The first end is arranged along the first direction, and on the second direction as the direction orthogonal with the first direction Shown in multirow,
The editing device also includes:
Accept unit, accept the editor position to the first side in the second direction and with first side opposite side The second side in either one movement instruction;
Judging unit, accepts in the case that unit accepted the instruction by described, judges the institute in the editor position State indicating mobile side by the instruction and whether there is in first side and second side in second direction A line in the multirow;
First mobile unit, is being judged as that described a line is in the second party of the editor position by the judging unit Mobile side is indicated by the instruction in upward first side and second side, also, described a line The end of second side on the first direction is in rests against described the than the edit bit in said first direction In the case of two sides, by the editor position into first side and second side in the second direction Indicate mobile side by the instruction and move;And
Second mobile unit, the volume is judged as in the case where moving the editor position by first mobile unit When collecting the character overlap in position and described a line, by the institute of the editor position in said first direction into described a line Either one movement in first side and second side of character is stated,
3rd display control unit is judged as second character in the case where moving the editor position at least When a part is located at outside the viewing area, mobile the multiple first character is shown generally at second character described In viewing area.
7. editing device according to claim 6, it is characterised in that
The multiple first character includes any one in word, numeral, mark and foreign language,
The multiple character data represents the width and described second on the respective first direction of the multiple character respectively Height on direction,
First display control unit and the 3rd display control unit judge that the multiple first character is respective described Height relative to the width ratio whether be more than threshold value,
The ratio is set to be shown in for the character more than threshold value with the first width and predetermined altitude in the viewing area,
The ratio is set to be less than the character of the threshold value aobvious with the second big width than first width and the predetermined altitude Show in the viewing area.
8. editing device according to claim 1, it is characterised in that
The multiple first character includes any one in word, numeral, mark and foreign language,
The multiple character data represent respectively width on the respective first direction of the multiple character and as with institute The height in the second direction in the orthogonal direction of first direction is stated,
First display control unit and the 3rd display control unit judge that the multiple first character is respective described Height relative to the width ratio whether be more than threshold value,
The ratio is set to be shown in for the character more than threshold value with the first width and predetermined altitude in the viewing area,
The ratio is set to be less than the character of the threshold value aobvious with the second big width than first width and the predetermined altitude Show in the viewing area.
9. a kind of printing equipment, it is characterised in that including:
Editing device described in any one of claim 1 to 8;And
Print unit, by the multiple first character print to print media.
10. a kind of control method, is the control method for the editing device for possessing the display part for being capable of display image, its feature exists In, including:
First display control step, in the viewing area of the display part, one from the first direction of the viewing area End is first end to the other end on the first direction of the viewing area i.e. the second end, arranges ground along the first direction Show multiple first characters as multiple characters represented by multiple character datas;
Second display control step, enables the position that expression inputs character according to the operation to input unit to edit position Mark is shown in the viewing area;And
3rd display control step, be judged as in the case where moving the editor position in said first direction with movement , will be described many when the adjacent character in the rear editor position is that at least a portion of the second character is located at outside the viewing area Individual first character moves at least one of institute of second character along the first direction to the viewing area side The width extent on first direction is stated, second character is shown generally in the viewing area.
CN201610862367.3A 2015-09-30 2016-09-28 Editing apparatus, printing apparatus, control method, and storage medium Active CN107025895B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2015-194645 2015-09-30
JP2015194645A JP6528632B2 (en) 2015-09-30 2015-09-30 Editing device, printing device, and control program

Publications (2)

Publication Number Publication Date
CN107025895A true CN107025895A (en) 2017-08-08
CN107025895B CN107025895B (en) 2021-06-08

Family

ID=58492643

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610862367.3A Active CN107025895B (en) 2015-09-30 2016-09-28 Editing apparatus, printing apparatus, control method, and storage medium

Country Status (2)

Country Link
JP (1) JP6528632B2 (en)
CN (1) CN107025895B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110091630A (en) * 2018-01-31 2019-08-06 兄弟工业株式会社 Editing equipment, non-transitory storage medium and printing device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN215649210U (en) 2021-05-24 2022-01-28 深圳市舜宝科技有限公司 Aerosol-generating article

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01126684A (en) * 1987-11-11 1989-05-18 Canon Inc Document processor
JPH0244398A (en) * 1988-08-05 1990-02-14 Nec Corp Oblique scroll realizing system in interactive text editor
CN1321941A (en) * 2000-05-03 2001-11-14 苏荣斌 Digitalization operation coding processing system of Chinese and foreign language information
CN1387138A (en) * 2001-04-23 2002-12-25 精工爱普生株式会社 Text managing method and device
CN102804121A (en) * 2010-03-23 2012-11-28 夏普株式会社 Information display device and method for editing document data
JP2013175162A (en) * 2012-12-10 2013-09-05 Shogo Tsuchida Beautiful word and japanese
US20140062878A1 (en) * 2009-06-04 2014-03-06 Sony Corporation Control device, input device, control system, handheld device, and control method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07200557A (en) * 1993-12-27 1995-08-04 Brother Ind Ltd Document processing device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01126684A (en) * 1987-11-11 1989-05-18 Canon Inc Document processor
JPH0244398A (en) * 1988-08-05 1990-02-14 Nec Corp Oblique scroll realizing system in interactive text editor
CN1321941A (en) * 2000-05-03 2001-11-14 苏荣斌 Digitalization operation coding processing system of Chinese and foreign language information
CN1387138A (en) * 2001-04-23 2002-12-25 精工爱普生株式会社 Text managing method and device
US20140062878A1 (en) * 2009-06-04 2014-03-06 Sony Corporation Control device, input device, control system, handheld device, and control method
CN102804121A (en) * 2010-03-23 2012-11-28 夏普株式会社 Information display device and method for editing document data
JP2013175162A (en) * 2012-12-10 2013-09-05 Shogo Tsuchida Beautiful word and japanese

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
孟军 温作晓 魏同立: "《一种带有光标显示的LCD驱动控制芯片的设计_孟军》", 《电子器件》 *
石虎山 裘雪红: "《在滚动视图中嵌入局部文本编辑》", 《微机发展》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110091630A (en) * 2018-01-31 2019-08-06 兄弟工业株式会社 Editing equipment, non-transitory storage medium and printing device
CN110091630B (en) * 2018-01-31 2021-10-29 兄弟工业株式会社 Editing apparatus, non-transitory storage medium, and printing apparatus

Also Published As

Publication number Publication date
JP2017068664A (en) 2017-04-06
CN107025895B (en) 2021-06-08
JP6528632B2 (en) 2019-06-12

Similar Documents

Publication Publication Date Title
CN103543968B (en) Label printing apparatus
US8908221B2 (en) Tape printing apparatus
JP2008080588A (en) Two-dimensional code printing apparatus
JP5293387B2 (en) Label printer and information processing apparatus
CN105144078A (en) User interface for label printer
CN107025895A (en) Editing device, printing equipment and control method
US8913255B2 (en) Recording medium
JP2006209564A (en) Print data edition device, print data edition program, and computer-readable storage medium
JP6418123B2 (en) Information processing apparatus, tape printing apparatus, and display control method for information processing apparatus
JP2006309473A (en) Print data processing unit, print data processing program, and recording medium recording print data processing program
CN102541973B (en) Image display apparatus and image display method
JP2009093243A (en) Label data generating device, program, and recording medium
JP2011143648A (en) Tape printing device, label forming method, and storage medium storing program for forming label
CN102609228A (en) Electronic device, display control method and storage medium for displaying a plurality of lines of character strings
JP4475279B2 (en) Printing apparatus and tape printing apparatus
JP2005292964A (en) Print data editing device and print data edit program
CN101628508B (en) Documentation apparatus and tape printing apparatus
CN107368698A (en) Bar code masterplate acquisition methods and medical history management equipment
JP5104424B2 (en) Label making device
EP1167066B1 (en) Card making device, method and program
JP4445874B2 (en) Management data generation apparatus and management data generation program
JP2007034364A (en) Tape printing system, tape printer, and its control method
JP2008290390A (en) Label design preparation device
JP2008195024A (en) Image forming apparatus
JP2009226688A (en) Label making apparatus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant