EP0469692A2 - Method and device for positioning a print head in a printer by a control programme - Google Patents

Method and device for positioning a print head in a printer by a control programme Download PDF

Info

Publication number
EP0469692A2
EP0469692A2 EP91250180A EP91250180A EP0469692A2 EP 0469692 A2 EP0469692 A2 EP 0469692A2 EP 91250180 A EP91250180 A EP 91250180A EP 91250180 A EP91250180 A EP 91250180A EP 0469692 A2 EP0469692 A2 EP 0469692A2
Authority
EP
European Patent Office
Prior art keywords
printer
print head
basic position
moved
characters
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.)
Withdrawn
Application number
EP91250180A
Other languages
German (de)
French (fr)
Other versions
EP0469692A3 (en
Inventor
Lorenz Fromme
Annemarie Münkle
Hubert Oelmaier
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.)
Vodafone GmbH
Original Assignee
Mannesmann AG
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 Mannesmann AG filed Critical Mannesmann AG
Publication of EP0469692A2 publication Critical patent/EP0469692A2/en
Publication of EP0469692A3 publication Critical patent/EP0469692A3/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • 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
    • B41J21/00Column, tabular or like printing arrangements; Means for centralising short lines
    • B41J21/17Column, tabular or like printing arrangements; Means for centralising short lines controlled by stored information

Definitions

  • the invention relates to a method and a device for positioning a printhead in a printer via a control program, in which the predetermined maximum defined line length is contained in a number of characters, columns, steps or the like and the printhead in end or zero Positions is driven.
  • Such position determinations serve as the basis for the sequence of the printing process, e.g. for matrix printers or matrix dot matrix printers.
  • Printers are designed so that they can be used for a maximum line length, e.g. can be designed for a maximum number of characters in a line.
  • the control program must take into account the printer width ultimately resulting from the maximum line length. From a zero position at the left end of the available print head movement path, the movement of the print head, based on individual characters, the underlying matrix, columns or steps and thus the printing of a line of the printer width are controlled accordingly.
  • a certain control program is required for a certain printer width. This means that parameters such as the number of columns in a line, the length of the line in inches, and the maximum movement of the print head.
  • printers are no longer constructed individually but as a "family", it is necessary to design a control program tailored to each individual printer. This means that several controls have to be developed for printers of different widths. The respective control program must take into account the parameters that match a width. As a result of such an activity, there is a considerable effort in the development, maintenance, manufacture and storage of these various control modules. The larger a printer family is, the greater the effort and the associated inefficiency.
  • the present invention is therefore based on the object, in the presence of a control module which contains all the control parameters of all control parameters occurring in a product range as a whole, in each case to select those parameters which are suitable for the present printer.
  • a basic position must first be approached and determined, regardless of a printer width. Then the width of the printer in question should also be determined.
  • the object is achieved according to the invention in that when a print head carriage drive motor is switched on to determine a basic position, the print head is moved away from the position currently assumed in the direction of the basic position side and is then moved in the opposite direction to the basic position and thereby into the Area of a basic position detector is traversed and that the basic position is determined when the basic position detector is reached and is stored in a memory. This procedure can be carried out with just a single position detector.
  • a random position of the printhead is taken into account in that when the printhead is in a current position in the area of the home position detector while the printhead carriage drive motor is switched on, the printhead is first moved out of the area of the home position detector by a predetermined number of characters, columns or steps and only then is moved back in the opposite direction to the home position detector. It is also advantageous here that exactly the same basic position of the print head is reached each time the printer is switched on.
  • the timing for positioning the printhead is determined after the printhead carriage drive motor turns on along with the printer on.
  • the control program can make this determination of the basic position at any time.
  • Further positions of the print head are evaluated in such a way that the print head is moved out of the determined basic position by a predetermined first number of characters, columns or steps towards the printer side wall opposite the basic position side of the printer, the number of characters, columns or steps is larger than a printer with a narrow width (DIN A 4) and smaller than a printer with a larger width (DIN A 3), that in each case from the reverse position of the print head from the print head by a second number of characters, columns or steps in the opposite direction is moved to the home position, the second number of characters, columns or steps being smaller than the first number, so that the print head recognizes the printer width when the home position detector is reached or not reached, and that the control program then stores all the width-dependent parameters in a resident memory and / or via one in the right resident memory stored control code is made available.
  • the advantage is now to recognize which printer of the printer family is present, even though the same control module is present. After recognizing the printer width, the printer configures itself for the control program intended only for it.
  • the printer configures itself for the control program intended only for it.
  • the device for positioning a printhead in a printer of the type described is designed such that only a single basic position detector is provided in the inner region of the two printer side walls, specifically for the selected basic position, and that all the width-dependent parameters are stored in a resident memory and by a control program / or is available via a control code stored in the resident memory.
  • the basic position detector consists of a switch, a light barrier or a Hall sensor, the physical position of which is arbitrary between the printer side walls.
  • a solution is also possible that a motion feedback device is provided instead of the basic position indicator.
  • a further improvement of the invention is therefore that the motion feedback device is formed from a clock disc with a pair of photocells or a clock ruler with a corresponding scanning device.
  • Yet another improvement of the invention is that when the printer is switched on, the presence of the control code stored in the resident memory can be checked by a test program. Using this control code, the control program can decide whether the printer width has already been determined, for example which printer variant it is.
  • a print head 1 can be moved on a print head carriage 6 in a print head carriage guide 6a of a printer 2 by means of a print head carriage drive motor 3 between printer side walls 4 and 5 in directions 9 and 11.
  • a printer 2 is shown with the print head carriage drive motor 3 and a basic position detector 12 without a motion feedback device (that is to say without a clock disk with a pair of photocells or a clock line with associated scanning device).
  • the path 15 which can be moved by the print head carriage 6 is divided into characters (character matrix), columns and steps which are used by a control program 7 to control the print head movement.
  • the determination of a basic position 8 can be carried out at any time, of course also when the printer 2 is switched on by actuating a printer main switch.
  • the basic position 8 of the print head 1 is recorded in a non-resident memory 13 and a determined printer width is stored in a resident memory 14.
  • the basic position detector 12 consists of a switch, a light barrier or a Hall sensor.
  • a motion feedback device can also be provided.
  • the motion feedback device can be formed from a clock disc with a pair of photocells or from a clock ruler with a corresponding scanning device. If a motion feedback device is used, the basic position 8 of the print head 1 is obtained by moving the print head 1 in any direction until no more motion feedback is registered.
  • a printer 2 with the motion feedback device uses the lack of a motion feedback signal as a home position feature.
  • the print head carriage drive motor 3 when the print head carriage drive motor 3 is switched on, the print head 1 is moved away from a basic position side 10 in the direction 9 for the determination of a basic position 8 to be determined when switched on, and then moved back in the opposite direction 11 to the actual and correct basic position 8 and thereby Move to the area of a home position indicator 12.
  • the basic position detector 12 When the basic position detector 12 is reached, the basic position 8 is determined and stored in a memory 13.
  • the print head 1 In the event that the print head 1 is currently in the area of the home position detector 12 when the print head carriage drive motor 3 is switched on, the print head 1 is moved out of the area of the home position detector 12 by a predetermined number (for example ten) of characters, columns or steps and then only moves back in the opposite direction 11 to the basic position detector 12.
  • a predetermined number for example ten
  • Turning on the print head carriage drive motor 3 can of course be done together with turning on the printer 2, i.e. by operating a printer main switch.
  • the print head 1 is moved by a second number of characters, columns or steps in the opposite direction 11 to the basic position 8, the second number of characters, columns or steps being smaller than the first number, so that the print head 1 recognizes the printer width 15.
  • the control program 7 then stores all the width-dependent parameters in the memory 14.
  • the printer 2 is equipped with the print head carriage drive motor 3 without a motion feedback device.
  • the print head carriage drive motor 3 consists of a stepper motor.
  • the stepper motor performs sixty steps to move the printhead 1 by 1 inch (25.4 mm).
  • the printer width 15 by 8 inches corresponds to 480 steps of the stepper motor.
  • the printer width 15 is checked here for 13.6 and 8.0 inches.
  • the width parameters obtained according to FIGS. 2 to 4 are transferred after their determination into the resident memory 14, which consists of an EEPROM component.
  • a control code is stored in the EEPROM, which reflects the success or the result of the test. Building on this, the control program 7 automatically configures the printer when it is switched on. There is therefore only one control program for all printer widths in a printer family.
  • a special test program which is part of the control program 7, causes the control code in the memory 14 to be checked when the printer 2 is switched on. If a correct code is found, the printer 2 is initialized with the stored parameters. Printer 2 then operates as a programmed width printer. In the other case, if the code is recognized as incorrect, the test described for FIGS. 3 and 4 is carried out.
  • control of the printer 2 can still be adapted to any printer width after installation of the control program 7. This process means that the control program 7 is interchangeable among the printers in a family, which considerably simplifies production and service since only one control module (control program) has to be maintained.

Landscapes

  • Character Spaces And Line Spaces In Printers (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

In the positioning of a print head (1) in a printer (2), a maximum line length in a number of characters, spaces, steps or the like is contained in the control program (7), and the print head (1) is moved to corresponding end or zero positions. In order that, for a whole printer family, i.e. printers (2a, 2b) of different widths, only one control module and a single control program (7) are necessary, and in order independently thereof to approach a basic position (8), it is proposed that, when a print head carriage drive motor (3) is switched on, the print head (1), to define a basic position (8), is moved away from the instantaneously adopted position in the direction (9) from the basic position side (10) and is subsequently moved in the opposite direction (11) towards the basic position (8) and in this connection is displaced as far as the region of a basic position indicator (12) and that, when the basic position indicator (12) is reached, the basic position (8) is fixed and stored in a memory (13). <IMAGE>

Description

Die Erfindung betrifft ein Verfahren und eine Einrichtung zum Positionieren eines Druckkopfes in einem Drucker über ein Steuerprogramm, in dem die vorgegebene maximal festgelegte Zeilenlänge in einer Anzahl von Zeichen, Spalten, Schritten oder dgl. enthalten ist und der Druckkopf in End- bzw. Null-Stellungen gefahren wird.The invention relates to a method and a device for positioning a printhead in a printer via a control program, in which the predetermined maximum defined line length is contained in a number of characters, columns, steps or the like and the printhead in end or zero Positions is driven.

Derartige Positionsbestimmungen dienen als Basis für den Ablauf des Druckvorganges, z.B. bei Matrixdruckern bzw. Matrixnadeldruckern. Drucker werden dabei so ausgelegt, daß sie für eine maximale Zeilenlänge, z.B. für eine maximale Anzahl von Zeichen in einer Zeile konzipiert werden. Das Steuerprogramm muß die sich aus der maximalen Zeilenlänge letztendlich ergebende Druckerbreite berücksichtigen. Von einer Null-Stellung am linken Ende des zur Verfügung stehenden Druckkopfbewegungsweges aus wird die Bewegung des Druckkopfes, bezogen auf einzelne Zeichen, die zugrundeliegende Matrix, Spalten oder Schritte und damit der Druck einer Zeile der Druckerbreite entsprechend gesteuert. Für eine bestimmte Druckerbreite ist ein bestimmtes Steuerprogramm erforderlich. Damit liegen Parameter, wie z.B. die Anzahl Spalten in einer Zeile, die Länge der Zeile in Zoll und der maximale Bewegungsweg des Druckkopfes fest.Such position determinations serve as the basis for the sequence of the printing process, e.g. for matrix printers or matrix dot matrix printers. Printers are designed so that they can be used for a maximum line length, e.g. can be designed for a maximum number of characters in a line. The control program must take into account the printer width ultimately resulting from the maximum line length. From a zero position at the left end of the available print head movement path, the movement of the print head, based on individual characters, the underlying matrix, columns or steps and thus the printing of a line of the printer width are controlled accordingly. A certain control program is required for a certain printer width. This means that parameters such as the number of columns in a line, the length of the line in inches, and the maximum movement of the print head.

Es ist daher bekannt und in jedem bekannten Drucker verwirklicht, das Steuerprogramm für die vorhandene Druckerbreite auszulegen.It is therefore known and implemented in every known printer to design the control program for the existing printer width.

Da Drucker jedoch nicht mehr einzeln sondern als "Familie" konstruiert werden, ist es erforderlich, für jeden einzelnen Drucker ein auf ihn zugeschnittenes Steuerprogramm zu entwerfen. Hierbei müssen also mehrere Steuerungen für Drucker unterschiedlicher Breite entwickelt werden. Das jeweilige Steuerprogramm muß jeweils die zu einer Breite passenden Parameter berücksichtigen. Als Ergebnis einer solchen Tätigkeit entsteht ein erheblicher Aufwand an Entwicklung, Wartung, Fertigung und Lagerung dieser verschiedenen Steuermodule. Der Aufwand und die damit verbundene Unwirtschaftlichkeit wachsen je größer eine Drucker-Familie ist.However, since printers are no longer constructed individually but as a "family", it is necessary to design a control program tailored to each individual printer. This means that several controls have to be developed for printers of different widths. The respective control program must take into account the parameters that match a width. As a result of such an activity, there is a considerable effort in the development, maintenance, manufacture and storage of these various control modules. The larger a printer family is, the greater the effort and the associated inefficiency.

Der vorliegenden Erfindung ist deshalb die Aufgabe zugrundegelegt, bei Vorhandensein eines Steuermoduls, das sämtliche Steuerparameter aller in einer Produktpalette vorkommenden Steuer-Parameter insgesamt enthält, jeweils diejenigen Parameter auszuwählen, die für den vorliegenden Drukker passend sind. Hierbei ist zunächst unabhängig von einer Druckerbreite eine Grundposition anzufahren und fest zu bestimmen. Danach soll auch die Breite des betreffenden Druckers festgestellt werden.The present invention is therefore based on the object, in the presence of a control module which contains all the control parameters of all control parameters occurring in a product range as a whole, in each case to select those parameters which are suitable for the present printer. In this case, a basic position must first be approached and determined, regardless of a printer width. Then the width of the printer in question should also be determined.

Die gestellte Aufgabe wird erfindungsgemäß dadurch gelöst, daß der Druckkopf beim Einschalten eines Druckkopfschlitten-Antriebsmotors für die Bestimmung einer Grundposition von der momentan eingenommenen Position in Richtung von der Grundpositions-Seite wegbewegt wird und danach in Gegenrichtung auf die Grundposition zubewegt wird und dabei bis in den Bereich eines Grundpositionsmelders verfahren wird und daß mit dem Erreichen des Grundpositionsmelders die Grundposition festgestellt und in einem Speicher abgelegt wird. Dieses Verfahren kann mit nur einem einzigen Positionsmelder durchgeführt werden.The object is achieved according to the invention in that when a print head carriage drive motor is switched on to determine a basic position, the print head is moved away from the position currently assumed in the direction of the basic position side and is then moved in the opposite direction to the basic position and thereby into the Area of a basic position detector is traversed and that the basic position is determined when the basic position detector is reached and is stored in a memory. This procedure can be carried out with just a single position detector.

Eine zufällige Stellung des Druckkopfes wird dadurch berücksichtigt, daß bei einer momentanen Position des Druckkopfes im Bereich des Grundpositionsmelders während des Einschaltens des Druckkopfschlitten-Antriebsmotors der Druckkopf um eine vorgegebene Anzahl von Zeichen, Spalten oder Schritten aus dem Bereich des Grundpositionsmelders zuerst herausbewegt wird und dann erst in Gegenrichtung auf den Grundpositionsmelder zurückbewegt wird. Auch hier ist vorteilhaft, daß bei jeder Einschaltung des Druckers exakt dieselbe Grundposition des Druckkopfes erreicht wird.A random position of the printhead is taken into account in that when the printhead is in a current position in the area of the home position detector while the printhead carriage drive motor is switched on, the printhead is first moved out of the area of the home position detector by a predetermined number of characters, columns or steps and only then is moved back in the opposite direction to the home position detector. It is also advantageous here that exactly the same basic position of the print head is reached each time the printer is switched on.

Der Zeitpunkt zum Positionieren des Druckkopfes wird danach festgelegt, daß das Einschalten des Druckkopfschlitten-Antriebsmotors zusammen mit dem Einschalten des Druckers erfolgt. Zusätzlich kann das Steuerprogramm jederzeit diese Bestimmung der Grundposition vornehmen.The timing for positioning the printhead is determined after the printhead carriage drive motor turns on along with the printer on. In addition, the control program can make this determination of the basic position at any time.

Weitere Positionen des Druckkopfes werden dahingehend ausgewertet, daß der Druckkopf aus der bestimmten Grundposition heraus um eine vorgegebene erste Anzahl von Zeichen, Spalten oder Schritten in Richtung auf die zur Grundpositions-Seite des Druckers gegenüberliegende Druckerseitenwand gefahren wird, wobei die Anzahl Zeichen, Spalten oder Schritte größer ist als ein Drucker mit schmaler Breite (DIN A 4) und kleiner ist als ein Drucker mit größerer Breite (DIN A 3), daß jeweils von der Umkehrposition des Druckkopfes aus der Druckkopf um eine zweite Anzahl von Zeichen, Spalten oder Schritten in Gegenrichtung auf die Grundposition bewegt wird, wobei die zweite Anzahl von Zeichen, Spalten oder Schritten kleiner ist als die erste Anzahl, so daß der Druckkopf durch Erreichen oder Nichterreichen des Grundpositionsmelders die Druckerbreite erkennt und daß danach durch das Steuerprogramm alle breitenabhängigen Parameter in einem residenten Speicher abgelegt und/oder über einen im residenten Speicher abgelegten Control-Code verfügbar gemacht wird. Der Vorteil besteht nunmehr in dem Erkennen, welcher Drucker der Drucker-Familie vorliegt, obwohl dasselbe Steuermodul vorhanden ist. Nach dem Erkennen der Druckerbreite konfiguriert sich der Drucker für das nur für ihn bestimmte Steuerprogramm selbst. Vorteilhafterweise liegt nur ein einziges Steuermodul für alle Drucker einer Drucker-Familie vor, so daß der Aufwand für Entwicklung, Wartung, Fertigung und Lagerung verringert wird.Further positions of the print head are evaluated in such a way that the print head is moved out of the determined basic position by a predetermined first number of characters, columns or steps towards the printer side wall opposite the basic position side of the printer, the number of characters, columns or steps is larger than a printer with a narrow width (DIN A 4) and smaller than a printer with a larger width (DIN A 3), that in each case from the reverse position of the print head from the print head by a second number of characters, columns or steps in the opposite direction is moved to the home position, the second number of characters, columns or steps being smaller than the first number, so that the print head recognizes the printer width when the home position detector is reached or not reached, and that the control program then stores all the width-dependent parameters in a resident memory and / or via one in the right resident memory stored control code is made available. The advantage is now to recognize which printer of the printer family is present, even though the same control module is present. After recognizing the printer width, the printer configures itself for the control program intended only for it. Advantageously, there is only a single control module for all printers in a printer family, so that the effort for development, Maintenance, manufacturing and storage is reduced.

Die Einrichtung zum Positionieren eines Druckkopfes in einem Drucker der bezeichneten Art ist derart gestaltet, daß im inneren Bereich der beiden Druckerseitenwände, und zwar für die gewählte Grundposition nur ein einziger Grundpositionsmelder vorgesehen ist und daß durch ein Steuerprogramm alle breitenabhängigen Parameter in einem residenten Speicher abgelegt und/oder über einen im residenten Speicher abgelegten Control-Code verfügbar ist.The device for positioning a printhead in a printer of the type described is designed such that only a single basic position detector is provided in the inner region of the two printer side walls, specifically for the selected basic position, and that all the width-dependent parameters are stored in a resident memory and by a control program / or is available via a control code stored in the resident memory.

Hierbei ist vorteilhaft, daß der Grundpositionsmelder aus einem Schalter, einer Lichtschranke oder einem Hall-Sensor besteht, dessen physikalische Lage zwischen den Druckerseitenwänden beliebig ist.It is advantageous here that the basic position detector consists of a switch, a light barrier or a Hall sensor, the physical position of which is arbitrary between the printer side walls.

Es ist auch eine Lösung möglich, daß anstelle des Grundpositionsmelders eine Bewegungsrückmelde-Vorrichtung vorgesehen ist.A solution is also possible that a motion feedback device is provided instead of the basic position indicator.

Eine weitere Verbesserung der Erfindung besteht daher darin, daß die Bewegungsrückmelde-Vorrichtung aus einer Taktscheibe mit Fotozellenpaar oder einem Taktlineal mit entsprechender Abtasteinrichtung gebildet ist.A further improvement of the invention is therefore that the motion feedback device is formed from a clock disc with a pair of photocells or a clock ruler with a corresponding scanning device.

Noch eine weitere Verbesserung der Erfindung besteht darin, daß beim Einschalten des Druckers durch ein Testprogramm das Vorhandensein des im residenten Speicher abgelegten Control-Codes überprüfbar ist. Anhand dieses Control-Codes kann das Steuerprogramm entscheiden, ob die Druckerbreite schon bestimmt wurde, beispielsweise um welche Druckervariante es sich handelt.Yet another improvement of the invention is that when the printer is switched on, the presence of the control code stored in the resident memory can be checked by a test program. Using this control code, the control program can decide whether the printer width has already been determined, for example which printer variant it is.

Ein Ausführungsbeispiel der Erfindung (für das Verfahren und die Einrichtung) ist in der Zeichnung dargestellt und wird im folgenden näher beschrieben. Es zeigen:

  • Fig. 1 ein Blockschaltbild der Gesamteinrichtung,
  • Fig. 2 eine Prinzipdarstellung des Druckers für das Positionieren des Druckkopfes in einer Grundposition,
  • Fig. 3 das Positionieren des Druckkopfes zum Erkennen eines schmalen Drukkers,
  • Fig. 4 das Positionieren des Druckkopfes zum Erkennen eines breiten Druckers derselben Drucker-Familie.
An embodiment of the invention (for the method and the device) is shown in the drawing and is described in more detail below. Show it:
  • 1 is a block diagram of the overall device,
  • 2 shows a schematic diagram of the printer for positioning the print head in a basic position,
  • 3 shows the positioning of the print head for recognizing a narrow printer,
  • Fig. 4 shows the positioning of the print head to recognize a wide printer of the same printer family.

Wie in Fig. 1 dargestellt ist, kann ein Druckkopf 1 auf einem Druckkopfschlitten 6 in einer Druckkopfschlitten-Führung 6a eines Druckers 2 mittels eines Druckkopfschlitten-Antriebsmotors 3 zwischen Druckerseitenwänden 4 und 5 in den Richtungen 9 und 11 verfahren werden. Im Ausführungsbeispiel ist ein Drucker 2 mit dem Druckkopfschlitten-Antriebsmotor 3 und einem Grundpositionsmelder 12 ohne Bewegungsrückmelde-Vorrichtung (also ohne Taktscheibe mit Fotozellenpaar oder Taktlinial mit zugehöriger Abtasteinrichtung) dargestellt. Der vom Druckkopfschlitten 6 verfahrbare Weg 15 wird in Zeichen (Zeichenmatrix), Spalten und Schritte eingeteilt, die einem Steuerprogramm 7 zur Kontrolle der Druckkopf-Bewegung dienen. Die Bestimmung einer Grundposition 8 kann jederzeit durchgeführt werden, selbstverständlich auch zusammen mit dem Einschalten des Druckers 2 durch Betätigen eines Druckerhauptschalters. Die Grundposition 8 des Druckkopfes 1 wird in einem nicht residenten Speicher 13 festgehalten und eine ermittelte Drukkerbreite in einem residenten Speicher 14 abgelegt.As shown in FIG. 1, a print head 1 can be moved on a print head carriage 6 in a print head carriage guide 6a of a printer 2 by means of a print head carriage drive motor 3 between printer side walls 4 and 5 in directions 9 and 11. In the exemplary embodiment, a printer 2 is shown with the print head carriage drive motor 3 and a basic position detector 12 without a motion feedback device (that is to say without a clock disk with a pair of photocells or a clock line with associated scanning device). The path 15 which can be moved by the print head carriage 6 is divided into characters (character matrix), columns and steps which are used by a control program 7 to control the print head movement. The determination of a basic position 8 can be carried out at any time, of course also when the printer 2 is switched on by actuating a printer main switch. The basic position 8 of the print head 1 is recorded in a non-resident memory 13 and a determined printer width is stored in a resident memory 14.

Gemäß Fig. 1 besteht der Grundpositionsmelder 12 aus einem Schalter, einer Lichtschranke oder einen Hall-Sensor. Anstelle des Grundpositionsmelders 12 kann auch eine Bewegungsrückmelde-Vorrichtung vorgesehen sein. Die Bewegungsrückmelde-Vorrichtung kann aus einer Taktscheibe mit Fotozellenpaar oder aus einem Taktlineal mit entsprechender Abtasteinrichtung gebildet sein. Wenn eine Bewegungsrückmelde-Vorrichtung angewendet wird, erhält man die Grundposition 8 des Druckkopfes 1, indem man den Druckkopf 1 solange in eine beliebige Richtung bewegt, bis keine Bewegungsrückmeldung mehr registriert wird. Ein Drukker 2 mit der Bewegungsrückmelde-Vorrichtung verwendet das Fehlen eines Bewegungsrückmeldungs-Signals als Grundpositionsmerkmal.1, the basic position detector 12 consists of a switch, a light barrier or a Hall sensor. Instead of the basic position detector 12, a motion feedback device can also be provided. The motion feedback device can be formed from a clock disc with a pair of photocells or from a clock ruler with a corresponding scanning device. If a motion feedback device is used, the basic position 8 of the print head 1 is obtained by moving the print head 1 in any direction until no more motion feedback is registered. A printer 2 with the motion feedback device uses the lack of a motion feedback signal as a home position feature.

Gemäß Fig. 2 wird der Druckkopf 1 beim Einschalten des Druckkopfschlitten-Antriebsmotors 3 für die Bestimmung einer beim Einschalten neu festzulegenden Grundposition 8 in Richtung 9 von einer Grundpositions-Seite 10 wegbewegt und danach in Gegenrichtung 11 auf die eigentliche und richtige Grundposition 8 zurückbewegt und dabei bis in den Bereich eines Grundpositionsmelders 12 verfahren. Bei Erreichen des Grundpositionsmelders 12 wird die Grundposition 8 festgestellt und in einem Speicher 13 abgelegt.2, when the print head carriage drive motor 3 is switched on, the print head 1 is moved away from a basic position side 10 in the direction 9 for the determination of a basic position 8 to be determined when switched on, and then moved back in the opposite direction 11 to the actual and correct basic position 8 and thereby Move to the area of a home position indicator 12. When the basic position detector 12 is reached, the basic position 8 is determined and stored in a memory 13.

Für den Fall, daß der Druckkopf 1 beim Einschalten des Druckkopfschlitten-Antriebsmotors 3 momentan im Bereich des Grundpositionsmelders 12 steht, wird der Druckkopf 1 um eine vorgegebene Anzahl (z.B. zehn) von Zeichen, Spalten oder Schritten aus dem Bereich des Grundpositionsmelders 12 zuerst herausbewegt und dann erst in Gegenrichtung 11 auf den Grundpositionsmelder 12 zu zurückbewegt.In the event that the print head 1 is currently in the area of the home position detector 12 when the print head carriage drive motor 3 is switched on, the print head 1 is moved out of the area of the home position detector 12 by a predetermined number (for example ten) of characters, columns or steps and then only moves back in the opposite direction 11 to the basic position detector 12.

Das Einschalten des Druckkopfschlitten-Antriebsmotors 3 kann selbstverständlich zusammen mit dem Einschalten des Druckers 2, d.h. durch Betätigung eines Drucker-Hauptschalters erfolgen.Turning on the print head carriage drive motor 3 can of course be done together with turning on the printer 2, i.e. by operating a printer main switch.

Gemäß den Fig. 3 und 4 können weitere Positionen durch den Druckkopf 1 angefahren werden. Der Druckkopf 1 wird aus der bestimmten Grundposition 8 heraus um eine vorgegebene erste Anzahl von Zeichen, Spalten oder Schritten in Richtung 9 auf die zur Grundpositions-Seite 10 des Druckers 2a gegenüberliegende Druckerseitenwand 5 gefahren, wobei die Anzahl Zeichen, Spalten oder Schritte größer ist als ein Drucker 2a mit schmaler Breite (DIN A 4 = 210 mm) und kleiner ist als ein Drucker 2b mit größerer Breite (DIN A 3 = 297 mm). Jeweils von der Umkehrposition des Druckkopfes 1 aus wird der Druckkopf 1 um eine zweite Anzahl von Zeichen, Spalten oder Schritten in Gegenrichtung 11 auf die Grundposition 8 zubewegt, wobei die zweite Anzahl von Zeichen, Spalten oder Schritten kleiner ist als die erste Anzahl, so daß der Druckkopf 1 die Druckerbreite 15 erkennt. Danach werden durch das Steuerprogramm 7 alle breitenabhängigen Parameter in dem Speicher 14 abgelegt.3 and 4, further positions can be moved to by the print head 1. The print head 1 is for the specific reason position 8 is moved out by a predetermined first number of characters, columns or steps in the direction 9 onto the printer side wall 5 opposite the basic position side 10 of the printer 2a, the number of characters, columns or steps being greater than a printer 2a with a narrow width ( DIN A 4 = 210 mm) and is smaller than a printer 2b with a larger width (DIN A 3 = 297 mm). Each time from the reverse position of the print head 1, the print head 1 is moved by a second number of characters, columns or steps in the opposite direction 11 to the basic position 8, the second number of characters, columns or steps being smaller than the first number, so that the print head 1 recognizes the printer width 15. The control program 7 then stores all the width-dependent parameters in the memory 14.

Im Ausführungsbeispiel ist der Drucker 2 mit dem Druckkopfschlitten-Antriebsmotor 3 ohne eine Bewegungsrückmelde-Vorrichtung ausgerüstet. Der Druckkopfschlitten-Antriebsmotor 3 besteht aus einem Schrittmotor. Der Schrittmotor führt sechzig Schritte aus, um den Druckkopf 1 um 1 Zoll (25,4 mm) zu verschieben. Der Druckerbreite 15 von 8 Zoll entsprechen 480 Schritte des Schrittmotors. Die Druckerbreite 15 wird hier auf 13.6 und 8.0 Zoll geprüft. Der Druckkopf 1 wird, wie beschrieben in die Grundposition 8 gefahren. Sodann werden zur Erkennung der Druckerbreite 15 fünfhundert Schritte aus der Grundposition 8 heraus ausgeführt. Dabei schlägt (Fig. 3) bei einem Drucker 2a von 8 Inch. Breite der Druckkopfschlitten 6 an die Drukkerseitenwand 5 an und arbeitet ohne eine Bewegung 500 - 480 = 20 überzählige Schritte, die vom Steuerprogramm als ausgeführte Schritte gezählt werden. Anschließend wird der Druckkopf 1 in Gegenrichtung 11 zurück in Richtung auf die Grundposition mit 490 Schritten gefahren. Sofern der Druckkopf 1 bei dieser Bewegung den Grundpositionsmelder 12 nach 480 Schritten erreicht, beträgt die Druckerbreite 15 = 8 Zoll. Die zwanzig überzähligen Schritte sind an der Druckerseitenwand 5 verlorengegangen. Erreicht der Druckkopf 1 die Grundposition 8 nicht, sondern bleibt zehn Schritte vorher stehen, so beträgt die Druckerbreite 15 = 13.6 Zoll (Fig. 4).In the exemplary embodiment, the printer 2 is equipped with the print head carriage drive motor 3 without a motion feedback device. The print head carriage drive motor 3 consists of a stepper motor. The stepper motor performs sixty steps to move the printhead 1 by 1 inch (25.4 mm). The printer width 15 by 8 inches corresponds to 480 steps of the stepper motor. The printer width 15 is checked here for 13.6 and 8.0 inches. The print head 1 is moved into the basic position 8 as described. Then five hundred steps are carried out from the basic position 8 to identify the printer width 15. This beats (Fig. 3) for a printer 2a of 8 inches. Width of the print head carriage 6 on the printer side wall 5 and works without a movement 500-480 = 20 excess steps which are counted as executed steps by the control program. The print head 1 is then moved back in the opposite direction 11 in the direction of the basic position with 490 steps. If the print head 1 reaches the basic position detector 12 after 480 steps during this movement, the printer width is 15 = 8 inches. The twenty excess steps have been lost on the printer side wall 5. If the print head 1 does not reach the basic position 8, but stops ten steps earlier, the printer width is 15 = 13.6 inches (FIG. 4).

Die nach den Fig. 2 bis 4 erhaltenen Breitenparameter werden nach ihrer Feststellung in den residenten Speicher 14 übertragen, der aus einem EEPROM-Bauteil besteht. Zusätzlich wird noch ein Control-Code im EEPROM abgelegt, das den Erfolg bzw. das Ergebnis der Prüfung widerspiegelt. Darauf aufbauend konfiguriert das Steuerprogramm 7 den Drucker beim Einschalten automatisch. Für alle Druckerbreiten einer Drucker-Familie existiert daher nur noch ein einziges Steuerprogramm.The width parameters obtained according to FIGS. 2 to 4 are transferred after their determination into the resident memory 14, which consists of an EEPROM component. In addition, a control code is stored in the EEPROM, which reflects the success or the result of the test. Building on this, the control program 7 automatically configures the printer when it is switched on. There is therefore only one control program for all printer widths in a printer family.

Ein spezielles Testprogramm, das Teil des Steuerprogramms 7 ist, veranlaßt beim Einschalten des Druckers 2 die Prüfung des Control-Codes im Speicher 14. Sofern ein korrekter Code gefunden wird, wird der Drucker 2 mit den gespeicherten Parametern initialisiert. Der Drucker 2 arbeitet dann als ein Drucker der programmierten Breite. Für den anderen Fall, daß der Code als falsch erkannt wird, erfolgt die zu den Fig. 3 und 4 beschriebene Prüfung.A special test program, which is part of the control program 7, causes the control code in the memory 14 to be checked when the printer 2 is switched on. If a correct code is found, the printer 2 is initialized with the stored parameters. Printer 2 then operates as a programmed width printer. In the other case, if the code is recognized as incorrect, the test described for FIGS. 3 and 4 is carried out.

Die Steuerung des Druckers 2 läßt sich nach Installation des Steuerprogramms 7 noch auf jede Druckerbreite anpassen. Dieser Vorgang bedeutet, daß das Steuerprogramm 7 unter den Druckern einer Familie austauschbar ist, was die Produktion und den Service erheblich erleichtert, da nur ein Steuermodul (Steuerprogramm) gewartet werden muß.The control of the printer 2 can still be adapted to any printer width after installation of the control program 7. This process means that the control program 7 is interchangeable among the printers in a family, which considerably simplifies production and service since only one control module (control program) has to be maintained.

Claims (9)

1. Verfahren zum Positionieren eines Druckkopfes in einem Drucker über ein Steuerprogramm, in dem die vorgegebene maximal festgelegte Zeilenlänge in einer Anzahl von Zeichen, Spalten, Schritten oder dgl. enthalten ist und der Druckkopf in End- bzw. Null-Stellungen gefahren wird,
dadurch gekennzeichnet,
daß der Druckkopf (1) beim Einschalten eines Druckkopfschlitten-Antriebsmotors (3) für die Bestimmung einer Grundposition (8) von der momentan eingenommenen Position in Richtung (9) von der Grundpositions-Seite (10) wegbewegt wird und danach in Gegenrichtung (11) auf die Grundposition (8) zubewegt wird und dabei bis in den Bereich eines Grundpositionsmelders (12) verfahren wird und daß mit dem Erreichen des Grundpositionsmelders (12) die Grundposition (8) festgestellt und in einem Speicher (13) abgelegt wird.
1. Method for positioning a printhead in a printer via a control program, in which the predetermined maximum defined line length is contained in a number of characters, columns, steps or the like and the printhead is moved to end or zero positions,
characterized,
that when a print head carriage drive motor (3) is switched on for determining a basic position (8), the print head (1) is moved away from the position currently assumed in the direction (9) from the basic position side (10) and then in the opposite direction (11) is moved to the basic position (8) and is thereby moved into the area of a basic position detector (12) and that when the basic position detector (12) is reached the basic position (8) is determined and stored in a memory (13).
2. Verfahren nach Anspruch 1,
dadurch gekennzeichnet,
daß bei einer momentanen Position des Druckkopfes (1) im Bereich des Grundpositionsmelders (12) während des Einschaltens des Druckkopfschlitten- Antriebsmotors (3) der Druckkopf (1) um eine vorgegebene Anzahl von Zeichen, Spalten oder Schritten aus dem Bereich des Grundpositionsmelders (12) zuerst herausbewegt wird und dann erst in Gegenrichtung (11) auf den Grundpositionsmelder (12) zurückbewegt wird.
2. The method according to claim 1,
characterized,
that at a current position of the print head (1) in the area of the home position detector (12) while the print head carriage drive motor (3) is switched on, the print head (1) by a predetermined number of characters, columns or steps from the area of the home position detector (12) is first moved out and then only in the opposite direction (11) is moved back to the basic position indicator (12).
3. Verfahren nach den Ansprüchen 1 oder 2,
dadurch gekennzeichnet,
daß das Einschalten des Druckkopfschlitten-Antriebsmotors (3) zusammen mit dem Einschalten des Druckers (2) erfolgt.
3. The method according to claims 1 or 2,
characterized,
that switching on the print head carriage drive motor (3) together with the on switching of the printer (2) takes place.
4. Verfahren nach einem oder mehreren der Ansprüche 1 bis 3,
dadurch gekennzeichnet,
daß der Druckkopf (1) aus der bestimmten Grundposition (8) heraus um eine vorgegebene erste Anzahl von Zeichen, Spalten oder Schritten in Richtung (9) auf die zur Grundpositions-Seite (10) des Druckers (2) gegenüberliegende Druckerseitenwand (5) gefahren wird, wobei die Anzahl Zeichen, Spalten oder Schritte größer ist als ein Drucker (2a) mit schmaler Breite (DIN A 4) und kleiner ist als ein Drucker (2b) mit größerer Breite (DIN A 3), daß jeweils von der Umkehrposition (14) des Druckkopfes (1) aus der Druckkopf (1) um eine zweite Anzahl von Zeichen, Spalten oder Schritten in Gegenrichtung (11) auf die Grundposition (8) bewegt wird, wobei die zweite Anzahl von Zeichen, Spalten oder Schritten kleiner ist als die erste Anzahl, so daß der Druckkopf (1) durch Erreichen oder Nichterreichen des Grundpositionsmelders (12) die Druckerbreite (15) erkennt und daß danach durch das Steuerprogramm (7) alle breitenabhängigen Parameter in einem residenten Speicher (14) abgelegt, und/oder über einen im residenten Speicher (14) abgelegten Control-Code verfügbar gemacht wird.
4. The method according to one or more of claims 1 to 3,
characterized,
that the print head (1) moves out of the determined basic position (8) by a predetermined first number of characters, columns or steps in the direction (9) onto the printer side wall (5) opposite the basic position side (10) of the printer (2) , the number of characters, columns or steps being larger than a printer (2a) with a narrow width (A4) and smaller than a printer (2b) with a larger width (A3), that in each case from the reverse position ( 14) of the print head (1) is moved out of the print head (1) by a second number of characters, columns or steps in the opposite direction (11) to the basic position (8), the second number of characters, columns or steps being less than the first number, so that the print head (1) recognizes the printer width (15) by reaching or not reaching the home position detector (12) and that the control program (7) then stores all width-dependent parameters in a resident memory (14), and / or practice a control code stored in the resident memory (14) is made available.
5. Einrichtung zum Positionieren eines Druckkopfes in einem Drucker, der mittels eines Druckkopfschlitten-Antriebsmotors zwischen Druckerseitenwänden des Druckerrahmens für festgelegte Zeilenlängen hin- und herverfahrbar ist, wobei für verschiedene Druckerbreiten Steuerprogramme für jeweils verschiedene Parameter vorgesehen sind,
dadurch gekennzeichnet,
daß im inneren Bereich (4a; 5a) der beiden Druckerseitenwände (4;5), und zwar für die gewählte Grundposition (8) nur ein einziger Grundpositionsmelder (12) vorgesehen ist und daß durch ein Steuerprogramm (7) alle breitenabhängigen Parameter in einem residenten Speicher (14) abgelegt und/oder über einen im residenten Speicher abgelegten Control-Code verfügbar ist.
5. A device for positioning a print head in a printer, which can be moved back and forth between printer side walls of the printer frame for defined line lengths by means of a print head carriage drive motor, control programs for different parameters being provided for different printer widths,
characterized,
that only one basic position indicator (12) is provided in the inner area (4a; 5a) of the two printer side walls (4; 5), specifically for the selected basic position (8), and that all width-dependent parameters are resident in a resident by means of a control program (7) Store (14) and / or is available via a control code stored in the resident memory.
6. Einrichtung nach Anspruch 5,
dadurch gekennzeichnet,
daß der Grundpositionsmelder (12) aus einem Schalter, einer Lichtschranke oder einem Hall-Sensor besteht, dessen physikalische Lage zwischen den Druckerseitenwänden (4,5) beliebig ist.
6. Device according to claim 5,
characterized,
that the basic position detector (12) consists of a switch, a light barrier or a Hall sensor, the physical location between the printer side walls (4,5) is arbitrary.
7. Einrichtung nach Anspruch 5,
dadurch gekennzeichnet,
daß anstelle des Grundpositionsmelders (12) eine Bewegungsrückmelde-Vorrichtung vorgesehen ist.
7. Device according to claim 5,
characterized,
that a movement feedback device is provided instead of the basic position detector (12).
8. Einrichtung nach Anspruch 7,
dadurch gekennzeichnet,
daß die Bewegungsrückmelde-Vorrichtung aus einer Taktscheibe mit Fotozellenpaar oder einem Taktlineal mit entsprechender Abtasteinrichtung gebildet ist.
8. Device according to claim 7,
characterized,
that the motion feedback device is formed from a clock disc with a pair of photocells or a clock ruler with a corresponding scanning device.
9. Einrichtung nach einem oder mehreren der Ansprüche 5 bis 8,
dadurch gekennzeichnet,
daß beim Einschalten des Druckers (2) durch ein Testprogramm das Vorhandensein des im residenten Speicher abgelegten Control-Codes überprüfbar ist.
9. Device according to one or more of claims 5 to 8,
characterized,
that when the printer (2) is switched on, the presence of the control code stored in the resident memory can be checked by a test program.
EP19910250180 1990-07-31 1991-07-04 Method and device for positioning a print head in a printer by a control programme Withdrawn EP0469692A3 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
DE19904024620 DE4024620A1 (en) 1990-07-31 1990-07-31 METHOD AND DEVICE FOR POSITIONING A PRINT HEAD IN A PRINTER BY A CONTROL PROGRAM
DE4024620 1990-07-31

Publications (2)

Publication Number Publication Date
EP0469692A2 true EP0469692A2 (en) 1992-02-05
EP0469692A3 EP0469692A3 (en) 1992-05-13

Family

ID=6411558

Family Applications (1)

Application Number Title Priority Date Filing Date
EP19910250180 Withdrawn EP0469692A3 (en) 1990-07-31 1991-07-04 Method and device for positioning a print head in a printer by a control programme

Country Status (3)

Country Link
EP (1) EP0469692A3 (en)
JP (1) JPH04226777A (en)
DE (1) DE4024620A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106079920A (en) * 2016-06-07 2016-11-09 江南大学 A kind of changeable stamp digital inkjet printing machine and printing method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5116554B2 (en) * 2008-04-25 2013-01-09 株式会社沖データ Printer width detection method and printer using the same

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE2705282A1 (en) * 1977-02-09 1978-08-10 Olympia Werke Ag Typing field detector for processor controlled recorder - has optical sensor to detect frame-fixed marks and left hand paper edge
GB2170934A (en) * 1985-02-13 1986-08-13 Sharp Kk Automatic printer margin setting device
GB2211330A (en) * 1987-10-16 1989-06-28 Brother Ind Ltd Printer having a carriage zeroing device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE2836349C2 (en) * 1978-08-19 1984-07-05 Kienzle Apparate Gmbh, 7730 Villingen-Schwenningen Edge control for a print head
JPH02305674A (en) * 1989-05-19 1990-12-19 Nec Corp Serial printer

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE2705282A1 (en) * 1977-02-09 1978-08-10 Olympia Werke Ag Typing field detector for processor controlled recorder - has optical sensor to detect frame-fixed marks and left hand paper edge
GB2170934A (en) * 1985-02-13 1986-08-13 Sharp Kk Automatic printer margin setting device
GB2211330A (en) * 1987-10-16 1989-06-28 Brother Ind Ltd Printer having a carriage zeroing device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106079920A (en) * 2016-06-07 2016-11-09 江南大学 A kind of changeable stamp digital inkjet printing machine and printing method

Also Published As

Publication number Publication date
JPH04226777A (en) 1992-08-17
EP0469692A3 (en) 1992-05-13
DE4024620A1 (en) 1992-02-06

Similar Documents

Publication Publication Date Title
DE3835066A1 (en) PRINTING DEVICE WITH SLIDE RESETTING DEVICE
DE938938C (en) Punch card evaluator for the written definition of information formed from hole combinations on the cards themselves
DE3533320C2 (en)
EP0158719B1 (en) Method of homing a printing mechanism on a typewriter or the like
EP0469692A2 (en) Method and device for positioning a print head in a printer by a control programme
DE3890244C2 (en)
DE4042466C2 (en) Dot matrix print head positioning method
DE973975C (en) Device for the printed reproduction of the information from recording media
EP0040883B1 (en) Matrix printer with magnetic print-head adjustment
DE1049480B (en) Register control for multicolor rotary printing machines
DE2107854C3 (en)
DE3207374C2 (en)
AT396794B (en) EMBROIDERY MACHINE
DE2159611C3 (en) Printing device for a serial printer
DE2715792C3 (en) Device for printing descenders in a braille printer
DE876804C (en) Apparatus for the photographic typesetting of excluded lines of text
DE2636078A1 (en) X-RAY ACCEPTANCE DEVICE
DE646509C (en) Device for photoelectric control of electromagnetically set display and printing units for measuring instruments, e.g. B. Inclination scales
DE1549837C3 (en) Registration or punching device that can be controlled by a typewriter
DE1115496B (en) Setting device for punch selection of punched card-controlled card holes
DE2012739C (en) Printing unit for simultaneous printing of all characters in a line
DE924486C (en) Machine control through graphic characters
DE1652401A1 (en) Automatic marking device
DE2724342C2 (en) Printing device for a multiple dot printer
DE2629763B2 (en) Mosaic print head

Legal Events

Date Code Title Description
PUAI Public reference made under article 153(3) epc to a published international application that has entered the european phase

Free format text: ORIGINAL CODE: 0009012

AK Designated contracting states

Kind code of ref document: A2

Designated state(s): AT BE CH DE FR GB IT LI NL

PUAL Search report despatched

Free format text: ORIGINAL CODE: 0009013

AK Designated contracting states

Kind code of ref document: A3

Designated state(s): AT BE CH DE FR GB IT LI NL

17P Request for examination filed

Effective date: 19920623

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: THE APPLICATION IS DEEMED TO BE WITHDRAWN

18D Application deemed to be withdrawn

Effective date: 19940201