KR102491649B1 - Method for controlling print function and electronic device thereof - Google Patents

Method for controlling print function and electronic device thereof Download PDF

Info

Publication number
KR102491649B1
KR102491649B1 KR1020150187751A KR20150187751A KR102491649B1 KR 102491649 B1 KR102491649 B1 KR 102491649B1 KR 1020150187751 A KR1020150187751 A KR 1020150187751A KR 20150187751 A KR20150187751 A KR 20150187751A KR 102491649 B1 KR102491649 B1 KR 102491649B1
Authority
KR
South Korea
Prior art keywords
external device
electronic device
external
print mode
print
Prior art date
Application number
KR1020150187751A
Other languages
Korean (ko)
Other versions
KR20170077648A (en
Inventor
문종채
성주연
윤영준
정수연
김현경
임은영
Original Assignee
삼성전자주식회사
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 삼성전자주식회사 filed Critical 삼성전자주식회사
Priority to KR1020150187751A priority Critical patent/KR102491649B1/en
Publication of KR20170077648A publication Critical patent/KR20170077648A/en
Application granted granted Critical
Publication of KR102491649B1 publication Critical patent/KR102491649B1/en

Links

Images

Classifications

    • 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/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/1242Image or content composition onto a page
    • G06F3/1243Variable data printing, e.g. document forms, templates, labels, coupons, advertisements, logos, watermarks, transactional printing, fixed content versioning
    • 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/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1203Improving or facilitating administration, e.g. print management
    • G06F3/1204Improving or facilitating administration, e.g. print management resulting in reduced user or operator actions, e.g. presetting, automatic actions, using hardware token storing data
    • 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/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1278Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
    • G06F3/1285Remote printer device, e.g. being remote from client or server

Abstract

본 발명의 다양한 실시예는 전자 장치에서 인쇄 서비스를 제공하기 위한 장치 및 방법에 관한 것이다. 이때, 전자 장치의 동작 방법은, 상기 전자 장치와 연결된 적어도 하나의 외부 장치의 속성 및 연결 상태를 확인하는 동작과 상기 적어도 하나의 외부 장치의 속성 및 연결 상태에 기반하여 상기 전자 장치에서 지원 가능한 적어도 하나의 인쇄 모드를 결정하는 동작과 상기 적어도 하나의 인쇄 모드 중 어느 하나의 인쇄 모드에 기반하여 데이터를 인쇄하도록 적어도 하나의 외부 장치를 제어하는 동작을을 포함할 수 있다. 다른 실시예들도 가능할 수 있다.Various embodiments of the present disclosure relate to an apparatus and method for providing a print service in an electronic device. In this case, the operating method of the electronic device includes an operation of checking a property and a connection state of at least one external device connected to the electronic device, and at least one supportable by the electronic device based on the property and connection state of the at least one external device. An operation of determining one print mode and an operation of controlling at least one external device to print data based on any one of the at least one print mode may be included. Other embodiments may also be possible.

Description

인쇄 기능을 제어하기 위한 방법 및 그 전자 장치{METHOD FOR CONTROLLING PRINT FUNCTION AND ELECTRONIC DEVICE THEREOF}Method for controlling printing function and electronic device therefor

본 발명의 다양한 실시예는 전자 장치에서 외부 장치와 연동하여 인쇄 기능을 제공하기 위한 장치 및 방법에 관한 것이다.Various embodiments of the present disclosure relate to a device and method for providing a printing function in conjunction with an external device in an electronic device.

인쇄 장치(예: 프린터)는 유선 또는 무선 통신을 통해 기능적으로 연결된 전자 장치에서 처리된 정보(예: 문자 또는 이미지)를 종이 등과 같은 매체에 출력할 수 있다. A printing device (eg, a printer) may output information (eg, text or image) processed by an electronic device functionally connected through wired or wireless communication to a medium such as paper.

인쇄 장치는 사용자의 다양한 욕구를 충족시키기 위해 다양한 형태로 매체에 정보를 출력할 수 있다. 예를 들어, 인쇄 장치는 전자 장치에서 처리된 정보를 점자, 라벨, 바코드, 사진 및 영수증 등과 같은 다양한 형태로 매체에 출력할 수 있다.A printing device may output information to media in various forms to satisfy various needs of users. For example, the printing device may output information processed by the electronic device to media in various forms such as braille, label, barcode, photo, and receipt.

인쇄 장치는 매체에 정보를 출력하는 형태에 따라 점자 인쇄 장치, 라벨 인쇄 장치, 바코드 인쇄 장치, 사진 인쇄 장치 및 영수증 인쇄 장치 등으로 구분될 수 있다. 다시 말해, 인쇄 장치는 해당 인쇄 장치에 설정된 출력 형태에 따라 전자 장치로부터 제공받은 정보를 매체에 출력할 수 있다. The printing device may be classified into a braille printing device, a label printing device, a barcode printing device, a photo printing device, a receipt printing device, and the like according to a type of outputting information on a medium. In other words, the printing device may output information provided from the electronic device to a medium according to an output type set in the printing device.

이에 따라, 전자 장치는 전자 장치에서 처리된 정보를 다양한 형태로 매체에 출력하려는 사용자의 다양한 욕구를 충족시키기 위해 서로 다른 출력 형태를 갖는 다양한 인쇄 장치들과 기능적으로 연결되어야 하는 제약이 있다. Accordingly, there is a constraint that the electronic device must be functionally connected to various printing devices having different output types in order to satisfy users' various desires to output information processed by the electronic device to media in various forms.

본 발명의 다양한 실시예는 전자 장치에서 다양한 형태의 인쇄 방식을 제공하기 위한 장치 및 방법을 제공할 수 있다.Various embodiments of the present disclosure may provide an apparatus and method for providing various types of printing methods in an electronic device.

본 발명의 다양한 실시예에 따르면, 전자 장치는, 연결 인터페이스와 프로세서를 포함하고, 상기 프로세서는, 상기 연결 인터페이스를 통해 연결된 적어도 하나의 외부 장치의 속성 및 연결 상태를 확인하고, 상기 적어도 하나의 외부 장치의 속성 및 연결 상태에 기반하여 상기 전자 장치에서 지원 가능한 적어도 하나의 인쇄 모드를 결정하고, 상기 적어도 하나의 인쇄 모드 중 어느 하나의 인쇄 모드에 기반하여 데이터를 인쇄하도록 적어도 하나의 외부 장치를 제어하도록 설정될 수 있다.According to various embodiments of the present disclosure, an electronic device includes a connection interface and a processor, wherein the processor checks properties and a connection state of at least one external device connected through the connection interface, and determines the connection state of the at least one external device. At least one print mode supportable by the electronic device is determined based on device properties and a connection state, and at least one external device is controlled to print data based on any one of the at least one print mode. can be set to

본 발명의 다양한 실시예에 따르면, 전자 장치는, 디스플레이와 연결 인터페이스와 프로세서를 포함하고, 상기 프로세서는, 상기 연결 인터페이스를 통해 적어도 하나의 외부 장치의 연결을 검출한 경우, 상기 외부 장치와 연동 가능한 적어도 하나의 인쇄 모드를 결정하고, 상기 디스플레이를 통해 상기 적어도 하나의 인쇄 모드 정보를 표시하도록 설정되며, 상기 외부 장치와 연동 가능한 적어도 하나의 인쇄 모드는, 상기 외부 장치를 통해 지원할 수 있는 적어도 하나의 인쇄 모드 및 다른 외부 장치가 추가적으로 연결되어야 상기 외부 장치를 통해 지원할 수 있는 적어도 하나의 인쇄 모드를 포함할 수 있다.According to various embodiments of the present disclosure, an electronic device includes a display, a connection interface, and a processor, and the processor is capable of interworking with the external device when a connection of at least one external device is detected through the connection interface. At least one print mode is set to determine at least one print mode, display the at least one print mode information through the display, and at least one print mode that can be interlocked with the external device corresponds to at least one print mode that can be supported through the external device. It may include at least one print mode that can be supported through the external device only when the print mode and another external device are additionally connected.

본 발명의 다양한 실시예에 따르면, 전자 장치의 동작 방법은, 상기 전자 장치와 연결된 적어도 하나의 외부 장치의 속성 및 연결 상태를 확인하는 동작과 상기 적어도 하나의 외부 장치의 속성 및 연결 상태에 기반하여 상기 전자 장치에서 지원 가능한 적어도 하나의 인쇄 모드를 결정하는 동작과 상기 적어도 하나의 인쇄 모드 중 어느 하나의 인쇄 모드에 기반하여 데이터를 인쇄하도록 적어도 하나의 외부 장치를 제어하는 동작을을 포함할 수 있다.According to various embodiments of the present disclosure, a method of operating an electronic device may include an operation of checking properties and a connection state of at least one external device connected to the electronic device and based on the properties and connection state of the at least one external device. An operation of determining at least one print mode supportable by the electronic device and an operation of controlling at least one external device to print data based on any one of the at least one print mode. .

본 발명의 다양한 실시예에 따르면, 전자 장치의 동작 방법은, 적어도 하나의 외부 장치의 연결을 검출한 경우, 상기 외부 장치와 연동 가능한 적어도 하나의 인쇄 모드를 결정하는 동작과 상기 적어도 하나의 인쇄 모드 정보를 표시하는 동작을 포함하며, 상기 외부 장치와 연동 가능한 적어도 하나의 인쇄 모드는, 상기 외부 장치를 통해 지원할 수 있는 적어도 하나의 인쇄 모드 및 다른 외부 장치가 추가적으로 연결되어야 상기 외부 장치를 통해 지원할 수 있는 적어도 하나의 인쇄 모드를 포함할 수 있다.According to various embodiments of the present disclosure, a method of operating an electronic device includes determining at least one print mode interoperable with the external device when a connection of at least one external device is detected, and selecting the at least one print mode. It includes an operation of displaying information, and the at least one print mode that can be interlocked with the external device cannot be supported through the external device until at least one print mode that can be supported through the external device and another external device are additionally connected. It may include at least one print mode.

다양한 실시예에 따른 전자 장치 및 그 동작 방법은, 전자 장치와 기능적 또는 물리적으로 연결되는 적어도 하나의 외부 장치의 속성 및 외부 장치와의 연결 상태 정보(예: 연결 위치 및 순서)에 기반하여 다양한 종류의 인쇄 모드를 지원함으로써, 사용자가 필요로 하는 다양한 형태의 인쇄 모드를 손쉽게 제공할 수 있다. An electronic device and an operating method thereof according to various embodiments of the present disclosure provide various types of electronic devices based on attributes of at least one external device functionally or physically connected to the electronic device and connection state information (eg, connection location and order) with the external device. By supporting the print mode of the user, it is possible to easily provide various types of print modes required by the user.

다양한 실시예에 따른 전자 장치 및 그 동작 방법은, 전자 장치와 기능적 또는 물리적으로 연결되는 적어도 하나의 외부 장치의 속성 및 외부 장치와의 연결 상태 정보(예: 연결 위치 및 순서)에 기반하여 연동 가능한 추가적인 외부 장치 정보를 제공함으로써, 사용자가 전자 장치를 이용하여 필요로 하는 인쇄 모드를 손쉽게 사용할 수 있다.An electronic device and an operating method thereof according to various embodiments may interwork based on attributes of at least one external device functionally or physically connected to the electronic device and connection state information (eg, connection location and order) with the external device. By providing additional external device information, a user can easily use a required print mode using an electronic device.

도 1은 본 발명의 다양한 실시예에서의 네트워크 환경 내의 전자 장치를 도시한다.
도 2는 본 발명의 다양한 실시예에 따른 전자 장치의 블록도를 도시한다.
도 3은 본 발명의 다양한 실시예에 따른 프로그램 모듈의 블록도를 도시한다.
도 4는 본 발명의 다양한 실시예에 따른 인쇄를 제어하기 위한 전자 장치의 블록도를 도시한다.
도 5a 내지 5c는 본 발명의 다양한 실시예에 따른 인쇄를 제어하기 위한 전자 장치의 구성을 도시한다.
도 6은 본 발명의 다양한 실시예에 따른 전자 장치에서 적어도 하나의 외부 장치를 이용하여 인쇄를 제어하기 위한 흐름도를 도시한다.
도 7은 본 발명의 다양한 실시예에 따른 전자 장치에서 외부 장치에 대응하는 인쇄 모드를 결정하기 위한 흐름도를 도시한다.
도 8은 본 발명의 다양한 실시예에 따른 외부 장치의 식별 정보를 전송하기 위한 구성을 도시한다.
도 9a 내지 도 9d는 본 발명의 다양한 실시예에 따른 외부 장치의 연결 상태에 대응하도록 다양한 인쇄 모드를 제공하기 위한 구성을 도시한다.
도 10은 본 발명의 다양한 실시예에 따른 전자 장치에서 지원 가능한 인쇄 목록을 이용하여 인쇄 모드를 선택하기 위한 흐름도를 도시한다.
도 11a 내지 도 11d는 본 발명의 다양한 실시예에 따른 전자 장치에서 지원 가능한 인쇄 목록을 이용하여 인쇄 모드를 선택하기 위한 화면 구성을 도시한다.
도 12는 본 발명의 다양한 실시예에 따른 전자 장치에서 인쇄 모드에 대응하도록 외부 장치를 제어하기 위한 흐름도를 도시한다.
도 13a 내지 도 13b는 본 발명의 다양한 실시예에 따른 전자 장치에서 인쇄 모드에 대응하도록 외부 장치를 제어하기 위한 구성을 도시한다.
도 14는 본 발명의 다양한 실시예에 따른 전자 장치에서 외부 장치에 대응하는 인쇄 모드 목록을 제공하기 위한 흐름도를 도시한다.
도 15a 내지 도 15e는 본 발명의 다양한 실시예에 따른 전자 장치에서 외부 장치에 대응하는 인쇄 모드 목록을 제공하기 위한 화면 구성을 도시한다.
1 illustrates electronic devices in a network environment in various embodiments of the present invention.
2 shows a block diagram of an electronic device according to various embodiments of the present invention.
3 shows a block diagram of program modules according to various embodiments of the present invention.
4 shows a block diagram of an electronic device for controlling printing according to various embodiments of the present disclosure.
5A to 5C illustrate configurations of electronic devices for controlling printing according to various embodiments of the present disclosure.
6 is a flowchart for controlling printing using at least one external device in an electronic device according to various embodiments of the present disclosure.
7 is a flowchart for determining a print mode corresponding to an external device in an electronic device according to various embodiments of the present disclosure.
8 illustrates a configuration for transmitting identification information of an external device according to various embodiments of the present invention.
9A to 9D illustrate configurations for providing various print modes to correspond to connection states of external devices according to various embodiments of the present disclosure.
10 is a flowchart for selecting a print mode using a print list supportable by an electronic device according to various embodiments of the present disclosure.
11A to 11D illustrate screen configurations for selecting a print mode using a print list supportable by an electronic device according to various embodiments of the present disclosure.
12 is a flowchart for controlling an external device to correspond to a print mode in an electronic device according to various embodiments of the present disclosure.
13A and 13B illustrate configurations for controlling an external device to correspond to a print mode in an electronic device according to various embodiments of the present disclosure.
14 is a flowchart for providing a print mode list corresponding to an external device in an electronic device according to various embodiments of the present disclosure.
15A to 15E illustrate screen configurations for providing a print mode list corresponding to an external device in an electronic device according to various embodiments of the present disclosure.

이하, 본 문서의 다양한 실시예가 첨부된 도면을 참조하여 기재된다. 그러나, 이는 본 문서에 기재된 기술을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 문서의 실시예의 다양한 변경(modifications), 균등물(equivalents), 및/또는 대체물(alternatives)을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다.Hereinafter, various embodiments of this document will be described with reference to the accompanying drawings. However, this is not intended to limit the technology described in this document to specific embodiments, and should be understood to include various modifications, equivalents, and/or alternatives of the embodiments of this document. . In connection with the description of the drawings, like reference numerals may be used for like elements.

본 문서에서, "가진다", "가질 수 있다", "포함한다", 또는 "포함할 수 있다" 등의 표현은 해당 특징(예: 수치, 기능, 동작, 또는 부품 등의 구성요소)의 존재를 가리키며, 추가적인 특징의 존재를 배제하지 않는다.In this document, expressions such as "has", "may have", "includes", or "may include" refer to the presence of a corresponding feature (eg, numerical value, function, operation, or component such as a part). , which does not preclude the existence of additional features.

본 문서에서, "A 또는 B", "A 또는/및 B 중 적어도 하나", 또는 "A 또는/및 B 중 하나 또는 그 이상" 등의 표현은 함께 나열된 항목들의 모든 가능한 조합을 포함할 수 있다. 예를 들면, "A 또는 B", "A 및 B 중 적어도 하나", 또는 "A 또는 B 중 적어도 하나"는, (1) 적어도 하나의 A를 포함, (2) 적어도 하나의 B를 포함, 또는 (3) 적어도 하나의 A 및 적어도 하나의 B 모두를 포함하는 경우를 모두 지칭할 수 있다.In this document, expressions such as "A or B", "at least one of A and/and B", or "one or more of A or/and B" may include all possible combinations of the items listed together. . For example, "A or B", "at least one of A and B", or "at least one of A or B" includes (1) at least one A, (2) at least one B, Or (3) may refer to all cases including at least one A and at least one B.

본 문서에서 사용된 "제 1", "제 2", "첫째", 또는 "둘째" 등의 표현들은 다양한 구성요소들을, 순서 및/또는 중요도에 상관없이 수식할 수 있고, 한 구성요소를 다른 구성요소와 구분하기 위해 사용될 뿐 해당 구성요소들을 한정하지 않는다. 예를 들면, 제 1 사용자 기기와 제 2 사용자 기기는, 순서 또는 중요도와 무관하게, 서로 다른 사용자 기기를 나타낼 수 있다. 예를 들면, 본 문서에 기재된 권리 범위를 벗어나지 않으면서 제 1 구성요소는 제 2 구성요소로 명명될 수 있고, 유사하게 제 2 구성요소도 제 1 구성요소로 바꾸어 명명될 수 있다.Expressions such as "first", "second", "first", or "second" as used herein may modify various elements, in any order and/or importance, and may refer to one element as another. It is used to distinguish from components, but does not limit the components. For example, a first user device and a second user device may represent different user devices regardless of order or importance. For example, without departing from the scope of rights described in this document, a first element may be called a second element, and similarly, the second element may also be renamed to the first element.

어떤 구성요소(예: 제 1 구성요소)가 다른 구성요소(예: 제 2 구성요소)에 "(기능적으로 또는 통신적으로) 연결되어((operatively or communicatively) coupled with/to)" 있다거나 "접속되어(connected to)" 있다고 언급된 때에는, 상술한 어떤 구성요소가 상술한 다른 구성요소에 직접적으로 연결되거나, 다른 구성요소(예: 제 3 구성요소)를 통하여 연결될 수 있다고 이해되어야 할 것이다. 반면에, 어떤 구성요소(예: 제 1 구성요소)가 다른 구성요소(예: 제 2 구성요소)에 "직접 연결되어" 있다거나 "직접 접속되어" 있다고 언급된 때에는, 어떤 구성요소와 다른 구성요소 사이에 다른 구성요소(예: 제 3 구성요소)가 존재하지 않는 것으로 이해될 수 있다.A component (e.g., a first component) is "(operatively or communicatively) coupled with/to" another component (e.g., a second component); When referred to as "connected to", it should be understood that any of the above-mentioned elements may be directly connected to the above-mentioned other elements or may be connected through another element (eg, a third element). On the other hand, when an element (eg, a first element) is referred to as being “directly connected” or “directly connected” to another element (eg, a second element), a component and other elements It may be understood that there are no other components (eg, a third component) between the elements.

본 문서에서 사용된 표현 "~하도록 구성된(또는 설정된)(configured to)"은 상황에 따라, 예를 들면, "~에 적합한(suitable for)", "~하는 능력을 가지는(having the capacity to)", "~하도록 설계된(designed to)", "~하도록 변경된(adapted to)", "~하도록 만들어진(made to)", 또는 "~를 할 수 있는(capable of)"과 바꾸어 사용될 수 있다. 용어 "~하도록 구성된(또는 설정된)"은 하드웨어적으로 "특별히 설계된(specifically designed to)" 것만을 반드시 의미하지 않을 수 있다. 대신, 어떤 상황에서는, "~하도록 구성된 장치"라는 표현은, 그 장치가 다른 장치 또는 부품들과 함께 "~할 수 있는" 것을 의미할 수 있다. 예를 들면, 문구 "A, B, 및 C를 수행하도록 구성된(또는 설정된) 프로세서"는 해당 동작을 수행하기 위한 전용 프로세서(예: 임베디드 프로세서), 또는 메모리 장치에 저장된 하나 이상의 소프트웨어 프로그램들을 실행함으로써, 해당 동작들을 수행할 수 있는 범용 프로세서(generic-purpose processor)(예: CPU 또는 AP(application processor))를 의미할 수 있다. As used in this document, the expression "configured to" means "suitable for", "having the capacity to", depending on the situation. ", "designed to", "adapted to", "made to", or "capable of" can be used interchangeably. The term "configured (or set) to" may not necessarily mean only "specifically designed to" hardware. Instead, in some contexts, the phrase "device configured to" may mean that the device is "capable of" in conjunction with other devices or components. For example, the phrase "a processor configured (or configured) to perform A, B, and C" may include a dedicated processor (eg, embedded processor) to perform the operation, or by executing one or more software programs stored in a memory device. , may mean a general-purpose processor (eg, CPU or application processor (AP)) capable of performing corresponding operations.

본 문서에서 사용된 용어들은 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 다른 실시예의 범위를 한정하려는 의도가 아닐 수 있다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함할 수 있다. 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 용어들은 본 문서에 기재된 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가질 수 있다. 본 문서에 사용된 용어들 중 일반적인 사전에 정의된 용어들은, 관련 기술의 문맥상 가지는 의미와 동일 또는 유사한 의미로 해석될 수 있으며, 본 문서에서 명백하게 정의되지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다. 경우에 따라서, 본 문서에서 정의된 용어일지라도 본 문서의 실시예들을 배제하도록 해석될 수 없다.Terms used in this document are only used to describe a specific embodiment, and may not be intended to limit the scope of other embodiments. Singular expressions may include plural expressions unless the context clearly dictates otherwise. Terms used herein, including technical or scientific terms, may have the same meaning as commonly understood by a person of ordinary skill in the technical field described in this document. Among the terms used in this document, terms defined in a general dictionary may be interpreted as having the same or similar meaning as the meaning in the context of the related art, and unless explicitly defined in this document, an ideal or excessively formal meaning. not be interpreted as In some cases, even terms defined in this document cannot be interpreted to exclude the embodiments of this document.

본 문서의 다양한 실시예들에 따른 전자 장치는 디스플레이를 포함하는 스마트폰(smartphone), 태블릿 PC(tablet personal computer), 이동 전화기(mobile phone), 영상 전화기, 전자책 리더기(e-book reader), 데스크탑 PC(desktop personal computer), 랩탑 PC(laptop personal computer), 넷북 컴퓨터(netbook computer), 워크스테이션(workstation), 서버, PDA(personal digital assistant), PMP(portable multimedia player), MP3 플레이어, 모바일 의료기기, 카메라(camera), 또는 웨어러블 장치(wearable device) 중 적어도 하나를 포함할 수 있다. 다양한 실시예에 따르면, 웨어러블 장치는 액세서리형(예: 시계, 반지, 팔찌, 발찌, 목걸이, 안경, 콘택트 렌즈, 또는 머리 착용형 장치(head-mounted-device(HMD)), 직물 또는 의류 일체형(예: 전자 의복), 신체 부착형(예: 스킨 패드(skin pad) 또는 문신), 또는 생체 이식형(예: implantable circuit) 중 적어도 하나를 포함할 수 있다. Electronic devices according to various embodiments of the present document include a smartphone including a display, a tablet personal computer (PC), a mobile phone, a video phone, an e-book reader, Desktop personal computer, laptop personal computer, netbook computer, workstation, server, personal digital assistant (PDA), portable multimedia player (PMP), MP3 player, mobile medical It may include at least one of a device, a camera, or a wearable device. According to various embodiments, the wearable device may be an accessory (eg, watch, ring, bracelet, anklet, necklace, glasses, contact lens, or head-mounted-device (HMD)), fabric or clothing integrated ( For example, it may include at least one of an electronic clothing), a body attachment type (eg, a skin pad or tattoo), or a living body implantable type (eg, an implantable circuit).

어떤 실시예들에서, 전자 장치는 가전 제품(home appliance)일 수 있다. 예를 들어, 가전 제품은 디스플레이를 포함하는 텔레비전, DVD(digital video disk) 플레이어, 오디오, 냉장고, 에어컨, 청소기, 오븐, 전자레인지, 세탁기, 공기 청정기, 셋톱 박스(set-top box), 홈 오토매이션 컨트롤 패널(home automation control panel), 보안 컨트롤 패널(security control panel), TV 박스(예: 삼성 HomeSyncTM, 애플TVTM, 또는 구글 TVTM), 게임 콘솔(예: XboxTM, PlayStationTM), 전자 사전, 전자 키, 캠코더(camcorder), 또는 전자 액자 중 적어도 하나를 포함할 수 있다.In some embodiments, the electronic device may be a home appliance. For example, home appliances include televisions including displays, digital video disk (DVD) players, audio devices, refrigerators, air conditioners, vacuum cleaners, ovens, microwave ovens, washing machines, air purifiers, set-top boxes, and home autos. Home automation control panel, security control panel, TV box (e.g. Samsung HomeSync™, Apple TV™, or Google TV™), game console (e.g. Xbox™, PlayStation™), electronic dictionary, electronic It may include at least one of a key, a camcorder, or an electronic photo frame.

다른 실시예에서, 전자 장치는, 각종 의료기기(예: 각종 휴대용 의료측정기기(혈당 측정기, 심박 측정기, 혈압 측정기, 또는 체온 측정기 등), MRA(magnetic resonance angiography), MRI(magnetic resonance imaging), CT(computed tomography), 촬영기, 또는 초음파기 등), 네비게이션(navigation) 장치, 위성 항법 시스템(GNSS(global navigation satellite system)), EDR(event data recorder), FDR(flight data recorder), 자동차 인포테인먼트(infotainment) 장치, 선박용 전자 장비(예: 선박용 항법 장치, 자이로 콤파스 등), 항공 전자기기(avionics), 보안 기기, 차량용 헤드 유닛(head unit), 산업용 또는 가정용 로봇, 금융 기관의 ATM(automatic teller's machine), 상점의 POS(point of sales), 또는 사물 인터넷 장치(internet of things)(예: 전구, 각종 센서, 전기 또는 가스 미터기, 스프링클러 장치, 화재경보기, 온도조절기(thermostat), 가로등, 토스터(toaster), 운동기구, 온수탱크, 히터, 보일러 등) 중 적어도 하나를 포함할 수 있다.In another embodiment, the electronic device may include various types of medical devices (e.g., various portable medical measuring devices (such as blood glucose meter, heart rate monitor, blood pressure monitor, or body temperature monitor), magnetic resonance angiography (MRA), magnetic resonance imaging (MRI), CT (computed tomography), imager, or ultrasonicator, etc.), navigation device, GNSS (global navigation satellite system), EDR (event data recorder), FDR (flight data recorder), automotive infotainment ) devices, marine electronics (e.g. marine navigation systems, gyrocompasses, etc.), avionics, security devices, automotive head units, industrial or home robots, automatic teller's machines (ATMs) of financial institutions , point of sales (POS) in stores, or internet of things devices (e.g. light bulbs, sensors, electric or gas meters, sprinklers, smoke alarms, thermostats, street lights, toasters) , Exercise equipment, hot water tank, heater, boiler, etc.) may include at least one.

어떤 실시예에 따르면, 전자 장치는 가구(furniture) 또는 건물/구조물의 일부, 전자 보드(electronic board), 전자 사인 수신 장치(electronic signature receiving device), 프로젝터(projector), 또는 각종 계측 기기(예: 수도, 전기, 가스, 또는 전파 계측 기기 등) 중 적어도 하나를 포함할 수 있다. 다양한 실시예에서, 전자 장치는 전술한 다양한 장치들 중 하나 또는 그 이상의 조합일 수 있다. According to some embodiments, the electronic device is a piece of furniture or a building/structure, an electronic board, an electronic signature receiving device, a projector, or various measuring devices (eg, Water, electricity, gas, radio wave measuring devices, etc.) may include at least one. In various embodiments, the electronic device may be a combination of one or more of the various devices described above.

어떤 실시예에 따른 전자 장치는 플렉서블 전자 장치일 수 있다. 또한, 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않으며, 기술 발전에 따른 새로운 전자 장치를 포함할 수 있다.An electronic device according to some embodiments may be a flexible electronic device. In addition, the electronic device according to the embodiment of this document is not limited to the above-described devices, and may include new electronic devices according to technological development.

이하, 첨부 도면을 참조하여, 다양한 실시예에 따른 전자 장치가 설명된다. 본 문서에서, 사용자라는 용어는 전자 장치를 사용하는 사람 또는 전자 장치를 사용하는 장치(예: 인공지능 전자 장치)를 지칭할 수 있다. Hereinafter, an electronic device according to various embodiments will be described with reference to the accompanying drawings. In this document, the term user may refer to a person using an electronic device or a device using an electronic device (eg, an artificial intelligence electronic device).

이하 설명은 전자 장치에서 전자 장치와 기능적 또는 물리적으로 연결된 적어도 하나의 외부 장치와 연동하여 적어도 하나의 인쇄 모드를 제공하기 위한 기술에 대해 설명한다. 여기서, 인쇄 모드는 컨텐츠를 종이 등과 같은 매체에 인쇄하는 방법으로, 최종 인쇄 결과를 얻기 위해 데이터를 가공하는 방법을 포함할 수 있다. 예를 들어, 인쇄 모드는 인화지를 이용하여 사진을 인쇄하는 사진 인쇄 모드, 데이터를 점자 형태로 인쇄하는 점자 인쇄 모드, 데이터를 바코드 형태로 인쇄하는 바코드 인쇄 모드 등을 포함할 수 있다.The following description describes a technology for providing at least one print mode in an electronic device by interworking with at least one external device functionally or physically connected to the electronic device. Here, the print mode is a method of printing content on a medium such as paper, and may include a method of processing data to obtain a final print result. For example, the print mode may include a photo print mode in which a photo is printed using photo paper, a braille print mode in which data is printed in a braille form, and a barcode print mode in which data is printed in a barcode form.

도 1은 본 발명의 다양한 실시예에서의 네트워크 환경(100) 내의 전자 장치(101)를 도시하고 있다.1 illustrates an electronic device 101 within a network environment 100 in various embodiments of the present invention.

도 1을 참조하여, 전자 장치(101)는 버스(110), 프로세서(120), 메모리(130), 입출력 인터페이스(150), 디스플레이(160) 및 통신 인터페이스(170)를 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)는, 구성요소들 중 적어도 하나를 생략하거나 다른 구성요소를 추가적으로 구비할 수 있다. Referring to FIG. 1 , an electronic device 101 may include a bus 110, a processor 120, a memory 130, an input/output interface 150, a display 160, and a communication interface 170. In some embodiments, the electronic device 101 may omit at least one of the components or may additionally include other components.

버스(110)는, 예를 들면, 구성요소들(120 내지 170)을 서로 연결하고, 구성요소들 간의 통신(예: 제어 메시지 및/또는 데이터)을 전달하는 회로를 포함할 수 있다.The bus 110 may include, for example, circuitry that connects the components 120 to 170 to each other and communicates (eg, control messages and/or data) between the components.

프로세서(120)는, 중앙처리전자 장치 (central processing unit(CPU)), 어플리케이션 프로세서 (application processor(AP)), 또는 커뮤니케이션 프로세서 (communication processor(CP)) 중 하나 또는 그 이상을 포함할 수 있다. 프로세서(120)는, 예를 들면, 전자 장치(101)의 적어도 하나의 다른 구성요소들의 제어 및/또는 통신에 관한 연산이나 데이터 처리를 실행할 수 있다. The processor 120 may include one or more of a central processing unit (CPU), an application processor (AP), or a communication processor (CP). The processor 120 may, for example, execute calculations or data processing related to control and/or communication of at least one other component of the electronic device 101 .

한 실시예에 따르면, 프로세서(120)는 전자 장치(101)와 기능적 또는 물리적으로 연결된 적어도 하나의 외부 장치를 이용하여 적어도 하나의 인쇄 모드를 제공할 수 있다. 예를 들어, 프로세서(120)는 전자 장치(101)와 연결된 외부 장치의 속성 및 외부 장치와의 연결 상태 정보에 기반하여 전자 장치(101)에서 지원 가능한 적어도 하나의 인쇄 모드를 결정할 수 있다. 예컨대, 외부 장치의 속성은 외부 장치에서 지원하는 출력 형태(인쇄 형태)를 포함할 수 있다. 외부 장치와의 연결 상태는 외부 전자 장치와의 결합 위치 및 적어도 하나의 외부 장치의 결합 순서 중 적어도 하나를 포함할 수 있다. According to an embodiment, the processor 120 may provide at least one print mode using at least one external device functionally or physically connected to the electronic device 101 . For example, the processor 120 may determine at least one print mode supportable by the electronic device 101 based on the property of the external device connected to the electronic device 101 and the connection state information with the external device. For example, the properties of the external device may include an output type (print type) supported by the external device. The connection state with the external device may include at least one of a coupling position with the external electronic device and a coupling sequence of at least one external device.

한 실시예에 따르면, 프로세서(120)는 전자 장치(101)와 기능적 또는 물리적으로 연결된 적어도 하나의 외부 장치에 기반하여 추가적으로 연결 가능한 다른 외부 장치의 정보를 제공할 수 있다. 예를 들어, 프로세서(120)는 전자 장치(101)와 외부 장치가 연결된 경우, 외부 장치와 연동 가능한 다른 외부 장치 정보 및 다른 외부 장치와의 연동을 통해 지원할 수 있는 인쇄 모드 정보를 출력하도록 디스플레이(160)를 제어할 수 있다.According to an embodiment, the processor 120 may provide information on another additionally connectable external device based on at least one external device functionally or physically connected to the electronic device 101 . For example, when the electronic device 101 and the external device are connected, the processor 120 outputs other external device information that can be interlocked with the external device and print mode information that can be supported through interworking with the other external device. 160) can be controlled.

메모리(130)는 휘발성 및/또는 비휘발성 메모리를 포함할 수 있다. 메모리(130)는, 예를 들면, 전자 장치(101)의 적어도 하나의 다른 구성요소에 관련된 명령 또는 데이터(예: 기준 거리)를 저장할 수 있다. 예를 들어, 메모리(130)는 전자 장치(101)와 연결 가능한 적어도 하나의 외부 장치와의 연동하여 전자 장치(101)에서 지원 가능한 적어도 하나의 인쇄 모드 정보를 포함하는 테이블을 저장할 수 있다. Memory 130 may include volatile and/or non-volatile memory. The memory 130 may store, for example, commands or data (eg, a reference distance) related to at least one other component of the electronic device 101 . For example, the memory 130 may store a table including at least one print mode information supportable by the electronic device 101 in association with at least one external device connectable to the electronic device 101 .

한 실시예에 따르면, 메모리(130)는 소프트웨어 및/또는 프로그램(140)을 저장할 수 있다. 예를 들어, 프로그램은 커널(kernal)(141), 미들웨어(middleware)(143), 어플리케이션 프로그래밍 인터페이스(application programming interface(API))(145) 또는 어플리케이션(또는 “어플리케이션 프로그램")(147) 등을 포함할 수 있다. 커널(141), 미들웨어(143), 또는 API(145)의 적어도 일부는, 운영 시스템(operating system(OS))으로 지칭될 수 있다.According to one embodiment, memory 130 may store software and/or programs 140 . For example, a program may include a kernel 141, middleware 143, an application programming interface (API) 145, or an application (or “application program”) 147. At least a part of the kernel 141, middleware 143, or API 145 may be referred to as an operating system (OS).

입출력 인터페이스(150)는, 예를 들면, 사용자 또는 다른 외부 기기로부터 입력된 명령 또는 데이터를 전자 장치(101)의 다른 구성요소(들)에 전달할 수 있는 인터페이스의 역할을 할 수 있다. 또한, 입출력 인터페이스(150)는 전자 장치(101)의 다른 구성요소(들)로부터 수신된 명령 또는 데이터를 사용자 또는 다른 외부 기기로 출력할 수 있다. 한 실시예에 따르면, 입출력 인터페이스(150)는 전자 펜 또는 사용자의 신체의 일부를 이용한 터치 입력 또는 호버링 입력을 검출하는 터치 패널을 포함할 수 있다. 한 실시예에 따르면, 입출력 인터페이스(150)는 전자 펜 또는 사용자의 신체의 일부를 이용한 제스쳐 또는 근접 입력을 수신할 수 있다. The input/output interface 150 may serve as an interface capable of transferring commands or data input from a user or other external device to other component(s) of the electronic device 101 . Also, the input/output interface 150 may output commands or data received from other element(s) of the electronic device 101 to a user or other external device. According to one embodiment, the input/output interface 150 may include a touch panel that detects a touch input using an electronic pen or a part of a user's body or a hovering input. According to one embodiment, the input/output interface 150 may receive a gesture or proximity input using an electronic pen or a part of a user's body.

디스플레이(160)는, 예를 들면, 사용자에게 각종 콘텐츠(예: 텍스트, 이미지, 비디오, 아이콘, 또는 심볼 등)을 표시할 수 있다. The display 160 may display, for example, various types of content (eg, text, image, video, icon, symbol, etc.) to the user.

통신 인터페이스(170)는, 예를 들면, 전자 장치(101)와 외부 장치 간의 통신을 설정할 수 있다. 예를 들어, 통신 인터페이스(170)는 무선 통신 또는 유선 통신을 통해서 네트워크(162)에 연결되어 외부 장치(예: 제 2 외부 전자 장치(104) 또는 서버(106))와 통신할 수 있다. 예를 들어, 통신 인터페이스(170)는 근거리 통신(164) 또는 유선 통신을 통해 외부 장치(예: 제 1 외부 전자 장치(102))와 통신할 수 있다. 한 실시예에 따르면, 네트워크(162)는 통신 네트워크(telecommunications network), 컴퓨터 네트워크(computer network)(예: LAN 또는 WAN), 인터넷, 또는 전화 망(telephone network) 중 적어도 하나를 포함할 수 있다.The communication interface 170 may establish communication between the electronic device 101 and an external device, for example. For example, the communication interface 170 may be connected to the network 162 through wireless or wired communication to communicate with an external device (eg, the second external electronic device 104 or the server 106). For example, the communication interface 170 may communicate with an external device (eg, the first external electronic device 102) through short-distance communication 164 or wired communication. According to one embodiment, the network 162 may include at least one of a telecommunications network, a computer network (eg, a LAN or WAN), the Internet, or a telephone network.

한 실시예에 따르면, 입출력 인터페이스(150)의 터치 패널 및 디스플레이(160)를 하나의 모듈로 구성하여 터치 스크린이라 칭할 수 있다.According to one embodiment, the touch panel of the input/output interface 150 and the display 160 may be configured as a single module and referred to as a touch screen.

도 2는 다양한 실시예에 따른 전자 장치(201)의 블록도이다. 이하 설명에서 전자 장치(201)는 도 1에 도시된 전자 장치(101)의 전체 또는 일부를 포함할 수 있다. 전자 장치(201)는 하나 이상의 프로세서(예: AP(application processor))(210), 통신 모듈(220), 가입자 식별 모듈(224), 메모리(230), 센서 모듈(240), 입력 장치(250), 디스플레이(260), 인터페이스(270), 오디오 모듈(280), 카메라 모듈(291), 전력 관리 모듈(295), 배터리(296), 인디케이터(297), 및 모터(298)를 포함할 수 있다.2 is a block diagram of an electronic device 201 according to various embodiments. In the following description, the electronic device 201 may include all or part of the electronic device 101 shown in FIG. 1 . The electronic device 201 includes one or more processors (eg, an application processor (AP)) 210, a communication module 220, a subscriber identification module 224, a memory 230, a sensor module 240, and an input device 250. ), display 260, interface 270, audio module 280, camera module 291, power management module 295, battery 296, indicator 297, and motor 298. there is.

프로세서(210)는, 예를 들면, 운영 체제 또는 응용 프로그램을 구동하여 프로세서(210)에 연결된 다수의 하드웨어 또는 소프트웨어 구성요소들을 제어할 수 있고, 각종 데이터 처리 및 연산을 수행할 수 있다. 프로세서(210)는, 예를 들면, SoC(system on chip) 로 구현될 수 있다. 한 실시예에 따르면, 프로세서(210)는 GPU(graphic processing unit) 및/또는 이미지 신호 프로세서(image signal processor)를 더 포함할 수 있다. 프로세서(210)는 도 2에 도시된 구성요소들 중 적어도 일부(예: 셀룰러 모듈(221))를 포함할 수도 있다. 프로세서(210) 는 다른 구성요소들(예: 비휘발성 메모리) 중 적어도 하나로부터 수신된 명령 또는 데이터를 휘발성 메모리에 로드(load)하여 처리하고, 다양한 데이터를 비휘발성 메모리에 저장(store)할 수 있다.The processor 210 may control a plurality of hardware or software components connected to the processor 210 by driving, for example, an operating system or an application program, and may perform various data processing and calculations. The processor 210 may be implemented as, for example, a system on chip (SoC). According to one embodiment, the processor 210 may further include a graphic processing unit (GPU) and/or an image signal processor. The processor 210 may include at least some of the components shown in FIG. 2 (eg, the cellular module 221). The processor 210 loads and processes commands or data received from at least one of the other components (eg, non-volatile memory) into the volatile memory, and stores various data in the non-volatile memory. there is.

한 실시예에 따르면, 프로세서(210)는 전자 장치(201)와 기능적 또는 물리적으로 연결된 외부 장치의 속성 및 외부 장치와의 연결 상태 정보에 기반하여 전자 장치(201)에서 지원 가능한 적어도 하나의 인쇄 모드를 결정할 수 있다. According to an embodiment, the processor 210 selects at least one print mode supportable by the electronic device 201 based on attributes of an external device functionally or physically connected to the electronic device 201 and connection state information with the external device. can decide

한 실시예에 따르면, 프로세서(210)는 전자 장치(201)와 기능적 또는 물리적으로 연결된 적어도 하나의 외부 장치에 기반하여 추가적으로 연결 가능한 다른 외부 장치의 정보를 제공할 수 있다. According to an embodiment, the processor 210 may provide information on another additionally connectable external device based on at least one external device functionally or physically connected to the electronic device 201 .

통신 모듈(220)은, 도 1의 통신 인터페이스(170)와 동일 또는 유사한 구성을 가질 수 있다. 통신 모듈(220)은, 예를 들면, 셀룰러 모듈(221), WiFi 모듈(223), 블루투스 모듈(225), GNSS 모듈(227)(예: GPS 모듈, Glonass 모듈, Beidou 모듈, 또는 Galileo 모듈), NFC 모듈(228) 및 RF(radio frequency) 모듈(229)을 포함할 수 있다.The communication module 220 may have the same or similar configuration as the communication interface 170 of FIG. 1 . The communication module 220 includes, for example, a cellular module 221, a WiFi module 223, a Bluetooth module 225, a GNSS module 227 (eg, a GPS module, a Glonass module, a Beidou module, or a Galileo module) , an NFC module 228 and a radio frequency (RF) module 229.

셀룰러 모듈(221)은, 예를 들면, 통신망을 통해서 어플리케이션 통화, 영상 통화, 문자 서비스, 또는 인터넷 서비스 등을 제공할 수 있다. 한 실시예에 따르면, 셀룰러 모듈(221)은 가입자 식별 모듈(예: SIM 카드)(224)을 이용하여 통신 네트워크 내에서 전자 장치(201)의 구별 및 인증을 수행할 수 있다. 한 실시예에 따르면, 셀룰러 모듈(221)은 프로세서(210)가 제공할 수 있는 기능 중 적어도 일부 기능을 수행할 수 있다. 한 실시예에 따르면, 셀룰러 모듈(221)은 커뮤니케이션 프로세서(CP: communication processor)를 포함할 수 있다.The cellular module 221 may provide, for example, an application call, a video call, a text service, or an Internet service through a communication network. According to one embodiment, the cellular module 221 may identify and authenticate the electronic device 201 within a communication network using the subscriber identity module (eg, SIM card) 224 . According to one embodiment, the cellular module 221 may perform at least some of the functions that the processor 210 may provide. According to one embodiment, the cellular module 221 may include a communication processor (CP).

WiFi 모듈(223), 블루투스 모듈(225), GNSS 모듈(227) 또는 NFC 모듈(228) 각각은, 예를 들면, 해당하는 모듈을 통해서 송수신되는 데이터를 처리하기 위한 프로세서를 포함할 수 있다. 어떤 실시예에 따르면, 셀룰러 모듈(221), WiFi 모듈(223), 블루투스 모듈(225), GNSS 모듈(227) 또는 NFC 모듈(228) 중 적어도 일부(예: 두 개 이상)는 하나의 IC(integrated chip) 또는 IC 패키지 내에 포함될 수 있다. Each of the WiFi module 223, the Bluetooth module 225, the GNSS module 227, or the NFC module 228 may include, for example, a processor for processing data transmitted and received through the corresponding module. According to some embodiments, at least some (eg, two or more) of the cellular module 221, the WiFi module 223, the Bluetooth module 225, the GNSS module 227, or the NFC module 228 are one IC ( integrated chip) or IC package.

RF 모듈(229)은, 예를 들면, 통신 신호(예: RF 신호)를 송수신할 수 있다. 다른 실시예에 따르면, 셀룰러 모듈(221), WiFi 모듈(223), 블루투스 모듈(225), GNSS 모듈(227) 또는 NFC 모듈(228) 중 적어도 하나는 별개의 RF 모듈을 통하여 RF 신호를 송수신할 수 있다. The RF module 229 may transmit and receive communication signals (eg, RF signals), for example. According to another embodiment, at least one of the cellular module 221, the WiFi module 223, the Bluetooth module 225, the GNSS module 227, or the NFC module 228 transmits and receives an RF signal through a separate RF module. can

가입자 식별 모듈(224)은, 예를 들면, 가입자 식별 모듈을 포함하는 카드 및/또는 내장 SIM(embedded SIM)을 포함할 수 있으며, 고유한 식별 정보(예: ICCID(integrated circuit card identifier)) 또는 가입자 정보(예: IMSI(international mobile subscriber identity))를 포함할 수 있다. The subscriber identification module 224 may include, for example, a card and/or an embedded SIM including a subscriber identification module, and unique identification information (eg, an integrated circuit card identifier (ICCID)) or Subscriber information (eg, international mobile subscriber identity (IMSI)) may be included.

메모리(230)(예: 메모리(130))는, 예를 들면, 내장 메모리(232) 또는 외장 메모리(234)를 포함할 수 있다. 외장 메모리(234)는 다양한 인터페이스를 통하여 전자 장치(201)와 기능적으로 및/또는 물리적으로 연결될 수 있다.The memory 230 (eg, the memory 130) may include, for example, an internal memory 232 or an external memory 234. The external memory 234 may be functionally and/or physically connected to the electronic device 201 through various interfaces.

센서 모듈(240)은, 예를 들면, 물리량을 계측하거나 전자 장치(201)의 작동 상태를 감지하여, 계측 또는 감지된 정보를 전기 신호로 변환할 수 있다. 센서 모듈(240)은, 예를 들면, 제스처 센서(240A), 자이로 센서(240B), 기압 센서(240C), 마그네틱 센서(240D), 가속도 센서(240E), 그립 센서(240F), 근접 센서(240G), 컬러(color) 센서(240H)(예: RGB(red, green, blue) 센서), 생체 센서(240I), 온/습도 센서(240J), 조도 센서(240K), 또는 UV(ultra violet) 센서(240M) 중의 적어도 하나를 포함할 수 있다. 추가적으로 또는 대체적으로(additionally or alternatively), 센서 모듈(240)은, 예를 들면, 후각 센서(E-nose sensor), EMG 센서(electromyography sensor), EEG 센서(electroencephalogram sensor), ECG 센서(electrocardiogram sensor), IR(infrared) 센서, 홍채 센서 및/또는 지문 센서를 포함할 수 있다. 센서 모듈(240)은 그 안에 속한 적어도 하나 이상의 센서들을 제어하기 위한 제어 회로를 더 포함할 수 있다. 어떤 실시예에서는, 전자 장치(201)는 프로세서(210)의 일부로서 또는 별도로, 센서 모듈(240)을 제어하도록 구성된 프로세서를 더 포함하여, 프로세서(210)가 슬립(sleep) 상태에 있는 동안, 센서 모듈(240)을 제어할 수 있다.The sensor module 240 may, for example, measure a physical quantity or detect an operating state of the electronic device 201 and convert the measured or sensed information into an electrical signal. The sensor module 240 includes, for example, a gesture sensor 240A, a gyro sensor 240B, an air pressure sensor 240C, a magnetic sensor 240D, an acceleration sensor 240E, a grip sensor 240F, and a proximity sensor ( 240G), color sensor (240H) (e.g. RGB (red, green, blue) sensor), bio sensor (240I), temperature/humidity sensor (240J), light sensor (240K), or UV (ultra violet) ) may include at least one of the sensors 240M. Additionally or alternatively, the sensor module 240 may include, for example, an olfactory sensor (E-nose sensor), an EMG sensor (electromyography sensor), an EEG sensor (electroencephalogram sensor), an ECG sensor (electrocardiogram sensor) , an infrared (IR) sensor, an iris sensor, and/or a fingerprint sensor. The sensor module 240 may further include a control circuit for controlling one or more sensors included therein. In some embodiments, the electronic device 201 further includes a processor configured to control the sensor module 240, either as part of the processor 210 or separately, so that while the processor 210 is in a sleep state, The sensor module 240 may be controlled.

입력 장치(250)는, 예를 들면, 터치 패널(touch panel)(252), (디지털) 펜 센서(pen sensor)(254), 키(key)(256), 또는 초음파(ultrasonic) 입력 장치(258)를 포함할 수 있다. 터치 패널(252)은, 예를 들면, 정전식, 적외선 방식, 또는 초음파 방식 중 어느 하나의 방식을 사용할 수 있다. 또한, 터치 패널(252)은 제어 회로를 더 포함할 수도 있다. 터치 패널(252)은 택타일 레이어(tactile layer)를 더 포함하여, 사용자에게 촉각 반응을 제공할 수 있다. The input device 250 may include, for example, a touch panel 252, a (digital) pen sensor 254, a key 256, or an ultrasonic input device ( 258) may be included. The touch panel 252 may use any one of, for example, an electrostatic method, an infrared method, or an ultrasonic method. Also, the touch panel 252 may further include a control circuit. The touch panel 252 may further include a tactile layer to provide a tactile response to the user.

(디지털) 펜 센서(254)는, 예를 들면, 터치 패널의 일부이거나, 별도의 인식용 쉬트(sheet)를 포함할 수 있다. 키(256)는, 예를 들면, 물리적인 버튼, 광학식 키, 또는 키패드를 포함할 수 있다. 초음파 입력 장치(258)는 마이크(예: 마이크(288))를 통해, 입력 도구에서 발생된 초음파를 감지하여, 감지된 초음파에 대응하는 데이터를 확인할 수 있다.The (digital) pen sensor 254 may be, for example, part of a touch panel or may include a separate recognition sheet. Keys 256 may include, for example, physical buttons, optical keys, or keypads. The ultrasonic input device 258 may detect ultrasonic waves generated from an input tool through a microphone (eg, the microphone 288) and check data corresponding to the detected ultrasonic waves.

디스플레이(260)(예: 디스플레이(160))는 패널(262), 홀로그램 장치(264), 또는 프로젝터(266)를 포함할 수 있다. 패널(262)은, 도 1의 디스플레이(160)와 동일 또는 유사한 구성을 포함할 수 있다. 패널(262)은, 예를 들면, 유연하게(flexible), 투명하게(transparent), 또는 착용할 수 있게(wearable) 구현될 수 있다. 패널(262)은 터치 패널(252)과 하나의 모듈로 구성될 수도 있다. 홀로그램 장치(264)는 빛의 간섭을 이용하여 입체 영상을 허공에 보여줄 수 있다. 프로젝터(266)는 스크린에 빛을 투사하여 영상을 표시할 수 있다. 스크린은, 예를 들면, 전자 장치(201)의 내부 또는 외부에 위치할 수 있다. 한 실시예에 따르면, 디스플레이(260)는 패널(262), 홀로그램 장치(264), 또는 프로젝터(266)를 제어하기 위한 제어 회로를 더 포함할 수 있다. The display 260 (eg, the display 160 ) may include a panel 262 , a hologram device 264 , or a projector 266 . The panel 262 may include the same or similar configuration as the display 160 of FIG. 1 . The panel 262 may be implemented to be flexible, transparent, or wearable, for example. The panel 262 and the touch panel 252 may be configured as one module. The hologram device 264 may display a 3D image in the air using interference of light. The projector 266 may display an image by projecting light onto a screen. The screen may be located inside or outside the electronic device 201 , for example. According to one embodiment, the display 260 may further include a control circuit for controlling the panel 262 , the hologram device 264 , or the projector 266 .

인터페이스(270)는, 예를 들면, HDMI(high-definition multimedia interface)(272), USB(universal serial bus)(274), 광 인터페이스(optical interface)(276), 또는 D-sub(D-subminiature)(278)를 포함할 수 있다. 인터페이스(270)는, 예를 들면, 도 1에 도시된 통신 인터페이스(170)에 포함될 수 있다. 추가적으로 또는 대체적으로, 인터페이스(270)는, 예를 들면, MHL(mobile high-definition link) 인터페이스, SD(secure digital) 카드/MMC(multi-media card) 인터페이스, 또는 IrDA(infrared data association) 규격 인터페이스를 포함할 수 있다. The interface 270 may be, for example, a high-definition multimedia interface (HDMI) 272, a universal serial bus (USB) 274, an optical interface 276, or a D-subminiature (D-sub). ) (278). Interface 270 may be included in, for example, communication interface 170 shown in FIG. 1 . Additionally or alternatively, interface 270 may be, for example, a mobile high-definition link (MHL) interface, a secure digital (SD) card/multi-media card (MMC) interface, or an infrared data association (IrDA) standard interface. can include

오디오 모듈(280)은, 예를 들면, 소리(sound)와 전기 신호를 쌍방향으로 변환시킬 수 있다. 오디오 모듈(280)의 적어도 일부 구성요소는, 예를 들면, 도 1 에 도시된 입출력 인터페이스(145)에 포함될 수 있다. 오디오 모듈(280)은, 예를 들면, 스피커(282), 리시버(284), 이어폰(286), 또는 마이크(288) 등을 통해 입력 또는 출력되는 소리 정보를 처리할 수 있다. The audio module 280 may, for example, convert a sound and an electrical signal in both directions. At least some components of the audio module 280 may be included in the input/output interface 145 shown in FIG. 1 , for example. The audio module 280 may process sound information input or output through, for example, the speaker 282, the receiver 284, the earphone 286, or the microphone 288.

카메라 모듈(291)은, 예를 들면, 정지 영상 및 동영상을 촬영할 수 있는 장치로서, 한 실시예에 따르면, 하나 이상의 이미지 센서(예: 전면 센서 또는 후면 센서), 렌즈, ISP(image signal processor), 또는 플래시(flash)(예: LED 또는 xenon lamp 등)를 포함할 수 있다.The camera module 291 is, for example, a device capable of capturing still images and moving images. According to one embodiment, the camera module 291 includes one or more image sensors (eg, a front sensor or a rear sensor), a lens, and an image signal processor (ISP). , or a flash (eg, LED or xenon lamp, etc.).

전력 관리 모듈(295)(예: 전력 관리 모듈(180))은, 예를 들면, 전자 장치(201)의 전력을 관리할 수 있다. 한 실시예에 따르면, 전력 관리 모듈(295)은 PMIC(power management integrated circuit), 충전 IC(charger integrated circuit), 또는 배터리 또는 연료 게이지(battery or fuel gauge)를 포함할 수 있다. The power management module 295 (eg, the power management module 180) may manage power of the electronic device 201, for example. According to one embodiment, the power management module 295 may include a power management integrated circuit (PMIC), a charger integrated circuit (IC), or a battery or fuel gauge.

배터리(296)(예: 배터리(190))는, 예를 들면, 충전식 전지(rechargeable battery) 및/또는 태양 전지(solar battery)를 포함할 수 있다. 한 실시예에 따르면, 배터리(296)는 직렬 또는 병렬로 연결 가능한 다수 개의 셀들을 포함할 수 있다.Battery 296 (eg, battery 190 ) may include, for example, a rechargeable battery and/or a solar battery. According to one embodiment, the battery 296 may include a plurality of cells connectable in series or parallel.

인디케이터(297)는 전자 장치(201) 또는 그 일부(예: 프로세서(210))의 특정 상태, 예를 들면, 부팅 상태, 메시지 상태 또는 충전 상태 등을 표시할 수 있다. 모터(298)는 전기적 신호를 기계적 진동으로 변환할 수 있고, 진동(vibration), 또는 햅틱(haptic) 효과 등을 발생시킬 수 있다. The indicator 297 may indicate a specific state of the electronic device 201 or a part thereof (eg, the processor 210), for example, a booting state, a message state, or a charging state. The motor 298 may convert electrical signals into mechanical vibrations and generate vibrations or haptic effects.

본 문서에서 기술된 구성요소들 각각은 하나 또는 그 이상의 부품(component)으로 구성될 수 있으며, 해당 구성요소의 명칭은 전자 장치의 종류에 따라서 달라질 수 있다. 다양한 실시예에서, 전자 장치는 본 문서에서 기술된 구성요소 중 적어도 하나를 포함하여 구성될 수 있으며, 일부 구성요소가 생략되거나 또는 추가적인 다른 구성요소를 더 포함할 수 있다. 또한, 다양한 실시예에 따른 전자 장치의 구성요소들 중 일부가 결합되어 하나의 개체(entity)로 구성됨으로써, 결합되기 이전의 해당 구성요소들의 기능을 동일하게 수행할 수 있다.Each of the components described in this document may be composed of one or more components, and the name of the corresponding component may vary depending on the type of electronic device. In various embodiments, an electronic device may include at least one of the components described in this document, and some components may be omitted or additional components may be further included. In addition, some of the components of the electronic device according to various embodiments are combined to form a single entity, so that the functions of the corresponding components before being combined can be performed the same.

도 3은 다양한 실시예에 따른 프로그램 모듈의 블록도이다. 한 실시예에 따르면, 프로그램 모듈(310)(예: 프로그램(140))은 전자 장치(예: 전자 장치(101 또는 201))에 관련된 자원을 제어하는 운영 체제(operating system (OS)) 및/또는 운영 체제 상에서 구동되는 다양한 어플리케이션(예: 어플리케이션(147))을 포함할 수 있다. 운영 체제는, 예를 들면, 안드로이드(android), iOS, 윈도우즈(windows), 심비안(symbian), 타이젠(tizen), 또는 바다(bada) 등이 될 수 있다.3 is a block diagram of program modules according to various embodiments. According to one embodiment, the program module 310 (eg, the program 140) is an operating system (OS) that controls resources related to an electronic device (eg, the electronic device 101 or 201) and/or Alternatively, it may include various applications (eg, the application 147) running on the operating system. The operating system may be, for example, Android, iOS, Windows, Symbian, Tizen, or bada.

프로그램 모듈(310)은 커널(320), 미들웨어(330), 어플리케이션 프로그래밍 인터페이스(application programming interface (API))(360), 및/또는 어플리케이션(370)을 포함할 수 있다. 프로그램 모듈(310)의 적어도 일부는 전자 장치에 프리로드(preload) 되거나, 외부 장치(예: 외부 전자 장치(102, 104), 서버(106) 등)로부터 다운로드(download) 가능하다.The program module 310 may include a kernel 320 , middleware 330 , an application programming interface (API) 360 , and/or an application 370 . At least a part of the program module 310 can be preloaded in an electronic device or downloaded from an external device (eg, external electronic devices 102 and 104, server 106, etc.).

커널(320)(예: 커널(141))은, 예를 들면, 시스템 리소스 매니저(321) 및/또는 디바이스 드라이버(323)를 포함할 수 있다. 시스템 리소스 매니저(321)는 시스템 리소스의 제어, 할당, 또는 회수 등을 수행할 수 있다. The kernel 320 (eg, the kernel 141 ) may include, for example, a system resource manager 321 and/or a device driver 323 . The system resource manager 321 may control, allocate, or recover system resources.

미들웨어(330)는, 예를 들면, 어플리케이션(370)이 공통적으로 필요로 하는 기능을 제공하거나, 어플리케이션(370)이 전자 장치 내부의 제한된 시스템 자원을 효율적으로 사용할 수 있도록 API(360)를 통해 다양한 기능들을 어플리케이션(370)으로 제공할 수 있다. 한 실시예에 따르면, 미들웨어(330)(예: 미들웨어(143))는 런타임 라이브러리(335), 어플리케이션 매니저(application manager)(341), 윈도우 매니저(window manager)(342), 멀티미디어 매니저(multimedia manager)(343), 리소스 매니저(resource manager)(344), 파워 매니저(power manager)(345), 데이터베이스 매니저(database manager)(346), 패키지 매니저(package manager)(347), 연결 매니저(connectivity manager)(348), 통지 매니저(notification manager)(349), 위치 매니저(location manager)(350), 그래픽 매니저(graphic manager)(351), 또는 보안 매니저(security manager)(352) 중 적어도 하나를 포함할 수 있다.The middleware 330, for example, provides a function commonly required by the application 370 or uses various APIs 360 so that the application 370 can efficiently use limited system resources inside the electronic device. Functions may be provided to the application 370 . According to one embodiment, the middleware 330 (eg, the middleware 143) includes a runtime library 335, an application manager 341, a window manager 342, and a multimedia manager. ) 343, resource manager 344, power manager 345, database manager 346, package manager 347, connectivity manager ) 348, a notification manager 349, a location manager 350, a graphic manager 351, or a security manager 352. can do.

런타임 라이브러리(335)는 어플리케이션(370)이 실행되는 동안에 프로그래밍 언어를 통해 새로운 기능을 추가하기 위해 컴파일러가 사용하는 라이브러리 모듈을 포함할 수 있다. 어플리케이션 매니저(341)는 어플리케이션(370) 중 적어도 하나의 어플리케이션의 생명 주기(life cycle)를 관리할 수 있다. 윈도우 매니저(342)는 화면에서 사용하는 GUI 자원을 관리할 수 있다. 멀티미디어 매니저(343)는 다양한 미디어 파일들의 재생에 필요한 포맷을 파악하고, 해당 포맷에 맞는 코덱(codec)을 이용하여 미디어 파일의 인코딩(encoding) 또는 디코딩(decoding)을 수행할 수 있다. 리소스 매니저(344)는 어플리케이션(370) 중 적어도 어느 하나의 어플리케이션의 소스 코드, 메모리 또는 저장 공간 등의 자원을 관리할 수 있다. The runtime library 335 may include a library module used by a compiler to add new functions through a programming language while the application 370 is being executed. The application manager 341 may manage the life cycle of at least one of the applications 370 . The window manager 342 may manage GUI resources used in the screen. The multimedia manager 343 may determine a format necessary for reproducing various media files, and encode or decode the media file using a codec suitable for the format. The resource manager 344 may manage resources such as source code, memory, or storage space of at least one of the applications 370 .

파워 매니저(345)는 바이오스(BIOS: basic input/output system) 등과 함께 동작하여 배터리(battery) 또는 전원을 관리하고, 전자 장치의 동작에 필요한 전력 정보 등을 제공할 수 있다. 한 실시예에 따르면, 파워 매니저(345)는 배터리의 충전 및 방전을 유선 또는 무선 중 적어도 하나로 제공하도록 제어할 수 있다.The power manager 345 may operate together with a basic input/output system (BIOS) to manage a battery or power and provide power information required for operation of the electronic device. According to one embodiment, the power manager 345 may control charging and discharging of the battery to provide at least one of wired and wireless methods.

데이터베이스 매니저(346)는 어플리케이션(370) 중 적어도 하나의 어플리케이션에서 사용할 데이터베이스를 생성, 검색, 또는 변경할 수 있다. 패키지 매니저(347)는 패키지 파일의 형태로 배포되는 어플리케이션의 설치 또는 업데이트를 관리할 수 있다. 연결 매니저(348)는 WiFi 또는 블루투스 등의 무선 연결을 관리할 수 있다. 통지 매니저(349)는 도착 메시지, 약속, 근접성 알림 등의 사건(event)을 사용자에게 방해되지 않는 방식으로 표시 또는 통지할 수 있다. 위치 매니저(350)는 전자 장치의 위치 정보를 관리할 수 있다. 그래픽 매니저(351)는 사용자에게 제공될 그래픽 효과 또는 이와 관련된 사용자 인터페이스를 관리할 수 있다. 보안 매니저(352)는 시스템 보안 또는 사용자 인증 등에 필요한 제반 보안 기능을 제공할 수 있다. 한 실시예에 따르면, 전자 장치(예: 전자 장치(101))가 전화 기능을 포함한 경우, 미들웨어(330)는 전자 장치의 어플리케이션 또는 영상 통화 기능을 관리하기 위한 통화 매니저(telephony manager)를 더 포함할 수 있다. The database manager 346 may create, search, or change a database to be used by at least one of the applications 370 . The package manager 347 may manage installation or update of applications distributed in the form of package files. The connection manager 348 may manage wireless connections such as WiFi or Bluetooth. The notification manager 349 may display or notify the user of events such as arrival messages, appointments, and proximity notifications in a non-intrusive manner. The location manager 350 may manage location information of an electronic device. The graphic manager 351 may manage graphic effects to be provided to users or user interfaces related thereto. The security manager 352 may provide various security functions necessary for system security or user authentication. According to one embodiment, when the electronic device (eg, the electronic device 101) includes a phone function, the middleware 330 further includes a telephony manager for managing an application or video call function of the electronic device. can do.

미들웨어(330)는 전술한 구성요소들의 다양한 기능의 조합을 형성하는 미들웨어 모듈을 포함할 수 있다. 미들웨어(330)는 차별화된 기능을 제공하기 위해 운영 체제의 종류별로 특화된 모듈을 제공할 수 있다. 또한, 미들웨어(330)는 동적으로 기존의 구성요소를 일부 삭제하거나 새로운 구성요소들을 추가할 수 있다.The middleware 330 may include a middleware module that forms a combination of various functions of the aforementioned components. The middleware 330 may provide modules specialized for each type of operating system in order to provide differentiated functions. Also, the middleware 330 may dynamically delete some existing components or add new components.

API(360)(예: API(145))는, 예를 들면, API 프로그래밍 함수들의 집합으로, 운영 체제에 따라 다른 구성으로 제공될 수 있다. 예를 들면, 안드로이드 또는 iOS의 경우, 플랫 별로 하나의 API 셋을 제공할 수 있으며, 타이젠(tizen)의 경우, 플랫폼 별로 두 개 이상의 API 셋을 제공할 수 있다.The API 360 (eg, the API 145) is, for example, a set of API programming functions, and may be provided in different configurations depending on the operating system. For example, in the case of Android or iOS, one API set can be provided for each platform, and in the case of Tizen, two or more API sets can be provided for each platform.

어플리케이션(370)(예: 어플리케이션(147))은, 예를 들면, 홈(371), 다이얼러(372), SMS/MMS(373), IM(instant message)(374), 브라우저(375), 카메라(376), 알람(377), 컨택트(378), 어플리케이션 다이얼(379), 이메일(380), 달력(381), 미디어 플레이어(382), 앨범(383), 또는 시계(384), 건강 관리(health care)(예: 운동량 또는 혈당 등을 측정), 또는 환경 정보 제공(예: 기압, 습도, 또는 온도 정보 등을 제공) 등의 기능을 수행할 수 있는 하나 이상의 어플리케이션을 포함할 수 있다.The application 370 (eg, the application 147) includes, for example, a home 371, a dialer 372, an SMS/MMS 373, an instant message (IM) 374, a browser 375, and a camera. (376), alarm (377), contact (378), application dial (379), email (380), calendar (381), media player (382), album (383), or clock (384), health management ( health care) (eg, measuring exercise or blood sugar) or providing environment information (eg, providing atmospheric pressure, humidity, or temperature information).

한 실시예에 따르면, 어플리케이션(370)은 프리로드 어플리케이션(preloaded application) 또는 서버로부터 다운로드 가능한 제3자 어플리케이션(third party application)을 포함할 수 있다. 도시된 실시예에 따른 프로그램 모듈(310)의 구성요소들의 명칭은 운영 체제의 종류에 따라서 달라질 수 있다. According to one embodiment, the application 370 may include a preloaded application or a third party application downloadable from a server. Names of components of the program module 310 according to the illustrated embodiment may vary depending on the type of operating system.

다양한 실시예에 따르면, 프로그램 모듈(310)의 적어도 일부는 소프트웨어, 펌웨어, 하드웨어, 또는 이들 중 적어도 둘 이상의 조합으로 구현될 수 있다. 프로그램 모듈(310)의 적어도 일부는, 예를 들면, 프로세서(예: 프로세서(210))에 의해 구현(implement)(예: 실행)될 수 있다. 프로그램 모듈(310)의 적어도 일부는 하나 이상의 기능을 수행하기 위한, 예를 들면, 모듈, 프로그램, 루틴, 명령어 세트(sets of instructions) 또는 프로세스 등을 포함할 수 있다.According to various embodiments, at least a portion of the program module 310 may be implemented as software, firmware, hardware, or a combination of at least two or more of these. At least part of the program module 310 may be implemented (eg, executed) by, for example, a processor (eg, the processor 210). At least some of the program modules 310 may include, for example, modules, programs, routines, sets of instructions, or processes for performing one or more functions.

도 4는 본 발명의 다양한 실시예에 따른 인쇄를 제어하기 위한 전자 장치의 블록도를 도시하고 있다. 이하 설명에서 전자 장치(400)는 도 1에 도시된 전자 장치(101) 또는 도 2에 도시된 전자 장치(201)의 전체 또는 일부를 포함할 수 있다.4 is a block diagram of an electronic device for controlling printing according to various embodiments of the present disclosure. In the following description, the electronic device 400 may include all or part of the electronic device 101 shown in FIG. 1 or the electronic device 201 shown in FIG. 2 .

도 4를 참조하면, 전자 장치(400)는 프로세서(410), 연결 인터페이스(420), 인쇄 관리 모듈(430), 디스플레이(440), 메모리(450), 입력 인터페이스(460) 및 통신 인터페이스(470)를 포함할 수 있다.Referring to FIG. 4 , the electronic device 400 includes a processor 410, a connection interface 420, a print management module 430, a display 440, a memory 450, an input interface 460, and a communication interface 470. ) may be included.

프로세서(410)(예: 도 1의 프로세서(120) 또는 도 2의 프로세서(210))는 전자 장치(400)에서 전반적인 동작을 제어할 수 있다. 예를 들어, 프로세서(410)는 다양한 기능들을 수행할 수 있다. 이를 위해, 프로세서(410)는 전자 장치(400)의 구성요소들을 제어할 수 있다. 또한, 프로세서(410)는 전자 장치(400)의 구성요소들로부터 명령 또는 데이터를 수신하여 처리할 수 있다.The processor 410 (eg, the processor 120 of FIG. 1 or the processor 210 of FIG. 2 ) may control overall operations of the electronic device 400 . For example, processor 410 may perform various functions. To this end, the processor 410 may control elements of the electronic device 400 . Also, the processor 410 may receive and process commands or data from components of the electronic device 400 .

한 실시예에 따르면, 프로세서(410)는 연결 인터페이스(420)를 통해 적어도 하나의 외부 장치가 연결된 경우, 적어도 하나의 외부 장치의 속성 및 외부 장치와의 연결 상태 정보를 추출하여 인쇄 관리 모듈(430)로 제공할 수 있다.According to an embodiment, when at least one external device is connected through the connection interface 420, the processor 410 extracts properties of the at least one external device and information on a connection state with the external device to print the print management module 430. ) can be provided.

한 실시예에 따르면, 프로세서(410)는 연결 인터페이스(420)를 통해 전자 장치(400)와 기능적 또는 물리적으로 연결된 적어도 하나의 외부 장치와 연동되는 인쇄 가이드 정보를 제공하도록 제어할 수 있다. 예를 들어, 프로세서(410)는 연결 인터페이스(420)를 통해 외부 장치가 연결된 경우, 외부 장치의 속성 및 연결 상태 정보에 기반하여 인쇄 가이드 정보를 생성할 수 있다. 예컨대, 인쇄 가이드 정보는 전자 장치(400)와 결합된 외부 장치와 연동 가능한 다른 외부 장치 정보 및 다른 외부 장치와 연동하여 지원 가능한 인쇄 모드 정보 중 적어도 하나를 포함할 수 있다.According to one embodiment, the processor 410 may control to provide print guide information interworking with at least one external device functionally or physically connected to the electronic device 400 through the connection interface 420 . For example, when an external device is connected through the connection interface 420, the processor 410 may generate print guide information based on attributes and connection state information of the external device. For example, the print guide information may include at least one of other external device information capable of interworking with an external device coupled with the electronic device 400 and print mode information supportable in association with the other external device.

연결 인터페이스(420)는 적어도 하나의 외부 장치와 전자 장치(400)를 기능적 또는 물리적으로 연결할 수 있다. 예를 들어, 연결 인터페이스(420)는 자기 센서(예: hall 센서) 및 압력 센서(press sensor) 중 적어도 하나를 이용하여 전자 장치(400)와 적어도 하나의 외부 장치의 물리적 결합을 인식할 수 있다. 예를 들어, 연결 인터페이스(420)는 연결 인터페이스(420)에 포함되는 전기적 단자의 접촉 정보를 이용하여 전자 장치(400)와 적어도 하나의 외부 장치의 물리적 결합을 인식할 수 있다. The connection interface 420 may functionally or physically connect at least one external device and the electronic device 400 . For example, the connection interface 420 may recognize physical coupling between the electronic device 400 and at least one external device using at least one of a magnetic sensor (eg, a hall sensor) and a pressure sensor. . For example, the connection interface 420 may recognize physical coupling between the electronic device 400 and at least one external device by using contact information of an electrical terminal included in the connection interface 420 .

인쇄 관리 모듈(430)은 전자 장치(400)의 인쇄 서비스를 제어할 수 있다. 예를 들어, 인쇄 관리 모듈(430)은 전자 장치(400) 또는 적어도 하나의 외부 장치를 통해 인쇄하기 위한 컨텐츠를 인쇄 모드에 대응하도록 처리(변환)할 수 있다.The print management module 430 may control the print service of the electronic device 400 . For example, the print management module 430 may process (convert) content to be printed through the electronic device 400 or at least one external device to correspond to the print mode.

한 실시예에 따르면, 인쇄 관리 모듈(430)은 연결 인터페이스(420)를 통해 전자 장치(400)와 기능적 또는 물리적으로 연결된 적어도 하나의 외부 장치와 연동하여 인쇄 서비스를 제공할 수 있다. 예를 들어, 인쇄 관리 모듈(430)은 프로세서(410)로부터 제공받은 외부 장치의 속성 및 외부 장치와의 연결 상태 정보에 기반하여 전자 장치(400)에서 지원 가능한 적어도 하나의 인쇄 모드를 결정할 수 있다. 인쇄 관리 모듈(430)은 전자 장치(400)에서 지원 가능한 적어도 하나의 인쇄 모드 중 사용자의 입력 정보에 의해 선택된 어느 하나의 인쇄 모드를 전자 장치(400)의 인쇄 모드로 결정할 수 있다. 인쇄 관리 모듈(430)은 전자 장치(400)의 인쇄 모드에 기반하여 인쇄 서비스를 제공하도록 적어도 하나의 외부 장치를 제어할 수 있다. 예컨대, 외부 장치의 속성은 외부 장치의 식별 정보에 매핑된 외부 장치에서 지원하는 출력 형태(인쇄 형태)를 포함할 수 있다. 외부 장치와의 연결 상태는 전자 장치(400)에 대한 외부 전자 장치의 결합 위치 및 적어도 하나의 외부 장치의 결합 순서 중 적어도 하나를 포함할 수 있다. 여기서, 외부 장치의 식별 정보는 외부 장치를 통해 제공할 수 있는 인쇄 정보(인쇄 종류)를 나타낼 수 있다.According to an embodiment, the print management module 430 may provide a print service by interworking with at least one external device functionally or physically connected to the electronic device 400 through the connection interface 420 . For example, the print management module 430 may determine at least one print mode supportable by the electronic device 400 based on the attributes of the external device and connection state information with the external device provided from the processor 410 . . The print management module 430 may determine, as the print mode of the electronic device 400, one print mode selected by user input information from among at least one print mode supportable by the electronic device 400. The print management module 430 may control at least one external device to provide a print service based on the print mode of the electronic device 400 . For example, the attribute of the external device may include an output type (print type) supported by the external device mapped to identification information of the external device. The connection state with the external device may include at least one of a coupling position of the external electronic device to the electronic device 400 and a coupling order of at least one external device. Here, the identification information of the external device may represent print information (type of print) that can be provided through the external device.

한 실시예에 따르면, 인쇄 관리 모듈(430)은 연결 인터페이스(420)를 통해 전자 장치(400)와 결합된 외부 장치가 존재하지 않는 경우, 전자 장치(400)에 설정된 기본 인쇄 기능(예: 문자 인쇄, 이미지 인쇄)에 기반하여 인쇄 서비스를 제공하도록 제어할 수 있다. According to one embodiment, the print management module 430 performs a basic print function (eg, text) set in the electronic device 400 when there is no external device coupled to the electronic device 400 through the connection interface 420. print, image print) to provide a print service.

디스플레이(440)는 전자 장치(400)의 구동을 위한 표시 데이터를 출력할 수 있다. 예를 들어, 디스플레이(440)는 자체 발광 현상을 이용하여 구동될 수 있다. 이러한 디스플레이(440)는 유기 발광 다이오드(OLED; organic light emitting diode) 디스플레이 및 능동형 유기 발광 다이오드(AMOLED; active matrix light emitting diode)를 포함할 수 있다. 한 실시예에 따르면, 디스플레이(440)는 입력인터페이스(460)(예: 터치 패널)와 결합되어 터치 스크린(touch screen)으로 구현될 수 있다. The display 440 may output display data for driving the electronic device 400 . For example, the display 440 may be driven using a self-luminous phenomenon. The display 440 may include an organic light emitting diode (OLED) display and an active matrix light emitting diode (AMOLED) display. According to one embodiment, the display 440 may be implemented as a touch screen by being combined with the input interface 460 (eg, a touch panel).

한 실시예에 따르면, 디스플레이(440)는 프로세서(410)에서 인쇄 이벤트의 발생을 검출한 경우, 전자 장치(400)에서 지원 가능한 적어도 하나의 인쇄 모드 정보를 표시할 수 있다. According to an embodiment, when the processor 410 detects the occurrence of a print event, the display 440 may display at least one print mode information supportable by the electronic device 400 .

한 실시예에 따르면, 디스플레이(440)는 연결 인터페이스(420)를 통해 적어도 하나의 외부 장치와 전자 장치(400)의 결합을 검출한 경우, 프로세서(410)로부터 제공받은 인쇄 가이드 정보를 표시할 수 있다. According to an embodiment, the display 440 may display print guide information provided from the processor 410 when a connection between at least one external device and the electronic device 400 is detected through the connection interface 420. there is.

메모리(450)는 전자 장치(400)를 구성하는 구성요소에 관련된 명령 또는 데이터를 저장할 수 있다. 예를 들어, 메모리(450)는 인쇄 서비스를 통해 전자 장치(400)와 결합 가능한 외부 장치 정보 및 외부 장치와 연동하여 전자 장치(400)에서 제공할 수 있는 인쇄 모드 정보를 저장할 수 있다. 예컨대, 메모리(450)는 외부 장치 정보 및 인쇄 모드 정보를 테이블 형식으로 저장할 수 있다.The memory 450 may store commands or data related to components constituting the electronic device 400 . For example, the memory 450 may store information on an external device that can be combined with the electronic device 400 through a print service and print mode information that can be provided by the electronic device 400 in conjunction with the external device. For example, the memory 450 may store external device information and print mode information in a table format.

입력부(460)는 사용자 또는 다른 외부 기기로부터 입력된 전자 장치의 동작 제어를 위한 명령 또는 데이터를 전자 장치의 다른 구성요소(들)에 전달할 수 있다. 예를 들어, 입력부(412)는 키패드(key pad), 돔 스위치(dome switch), 물리 버튼, 터치 패널(touch panel), 조그 셔틀(jog & shuttle) 및 센서(sensor)를 포함할 수 있다. 예컨대, 물리 버튼은 전자 장치(400)의 전원 키를 포함할 수 있다. The input unit 460 may transfer a command or data for operation control of the electronic device input from a user or other external device to other component(s) of the electronic device. For example, the input unit 412 may include a key pad, a dome switch, a physical button, a touch panel, a jog & shuttle, and a sensor. For example, the physical button may include a power key of the electronic device 400.

통신 인터페이스(470)는 외부 전자 장치(도시되지 않음)와 통신을 수행할 수 있다. 예를 들어, 통신 인터페이스(470)는 유선 또는 무선으로 외부 전자 장치와 통신을 수행할 수 있다. 이를 위해, 통신 인터페이스(470)는 적어도 하나의 안테나(antenna)를 포함할 수 있다. 통신 인터페이스(470)는 안테나를 통해 이동 통신망 또는 데이터 통신망 중 적어도 어느 하나에 접속할 수 있다. 또는, 통신 인터페이스(470)는 근거리 통신을 수행할 수 있다. 예컨대, 통신 방식은 LTE(long term evolution), WCDMA(wideband code division multiple access), GSM(global system for mobile communications), WiFi(wireless fidelity), 무선랜(wireless LNA; wireless Local area network), 블루투스(bluetooth), BLE(bluetooth low energy) 및 NFC(near field communications)를 포함할 수 있다.The communication interface 470 may communicate with an external electronic device (not shown). For example, the communication interface 470 may perform wired or wireless communication with an external electronic device. To this end, the communication interface 470 may include at least one antenna. The communication interface 470 may access at least one of a mobile communication network and a data communication network through an antenna. Alternatively, the communication interface 470 may perform short-range communication. For example, the communication method is LTE (long term evolution), WCDMA (wideband code division multiple access), GSM (global system for mobile communications), WiFi (wireless fidelity), wireless LAN (wireless LNA; wireless local area network), Bluetooth ( bluetooth), bluetooth low energy (BLE), and near field communications (NFC).

한 실시예에 따르면, 통신 인터페이스(470)는 인쇄 서비스를 제공하기 위한 적어도 하나의 외부 장치와 통신 링크를 연결할 수 있다. 이 경우, 프로세서(410)는 통신 인터페이스(470)를 통해 통신 링크가 연결된 외부 장치를 인쇄 서비스를 위해 전자 장치(400)와 결합된 것으로 판단할 수 있다. According to one embodiment, the communication interface 470 may connect a communication link with at least one external device for providing a print service. In this case, the processor 410 may determine that the external device to which the communication link is connected through the communication interface 470 is coupled with the electronic device 400 for the print service.

한 실시예에 따르면, 도 4에 도시된 프로세서(410)는 인쇄 관리 모듈(430)에서 제공하는 인쇄 서비스의 적어도 일부 기능을 제공할 수 있다.According to one embodiment, the processor 410 shown in FIG. 4 may provide at least some functions of the print service provided by the print management module 430 .

도 5a 내지 도 5c는 본 발명의 다양한 실시예에 따른 인쇄를 제어하기 위한 전자 장치의 구성을 도시하고 있다. 5A to 5C illustrate configurations of electronic devices for controlling printing according to various embodiments of the present disclosure.

도 5a를 참조하면, 전자 장치(500)는 하나의 바디(502)로 구성될 수 있다. 예를 들어, 전자 장치(500)는 바디(502)의 일측면에 인쇄 서비스와 관련된 정보를 표시하는 디스플레이(504)을 포함할 수 있다. Referring to FIG. 5A , an electronic device 500 may be composed of one body 502 . For example, the electronic device 500 may include a display 504 displaying information related to a print service on one side of the body 502 .

한 실시예에 따르면, 전자 장치(500)의 바디(502)는 인쇄 서비스를 위한 외부 장치가 연결되는 기기 결합부(506)를 포함할 수 있다. 예를 들어, 전자 장치(500)의 바디(502)는 외부 장치와 수직 구조로 결합하기 위해 상측과 하측에 외부 장치와의 물리적인 결합을 위한 기기 결합부(506)를 포함할 수 있다.According to one embodiment, the body 502 of the electronic device 500 may include a device coupler 506 to which an external device for printing service is connected. For example, the body 502 of the electronic device 500 may include device couplers 506 for physical coupling with the external device on upper and lower sides to be coupled with the external device in a vertical structure.

한 실시예에 따르면, 전자 장치(500)의 바디(502)는 인쇄용지를 투입하기 위한 용지 투입구(508) 및 인쇄용지를 배출하기 위한 용지 배출구(미 도시)를 포함할 수 있다. According to an embodiment, the body 502 of the electronic device 500 may include a paper inlet 508 for inputting printing paper and a paper outlet (not shown) for discharging printing paper.

한 실시예에 따르면, 전자 장치(500)는 도 5b와 같이, 인쇄 서비스를 위한 외부 장치가 결합되지 않은 경우, 용지 투입구(508)를 통해 투입된 인쇄용지에 컨텐츠 정보를 인쇄하여 용지 배출구를 통해 배출할 수 있다. 예컨대, 전자 장치(500)는 전자 장치(500)에서 제공하는 기본 인쇄 기능(예: 문자 인쇄, 이미지 인쇄)에 기반하여 인쇄용지에 컨텐츠 정보를 인쇄할 수 있다. According to one embodiment, as shown in FIG. 5B , when an external device for printing service is not coupled, the electronic device 500 prints content information on printing paper input through the paper inlet 508 and discharges it through the paper outlet. can do. For example, the electronic device 500 may print content information on printing paper based on a basic printing function (eg, text printing, image printing) provided by the electronic device 500 .

한 실시예에 따르면, 전자 장치(500)는 도 5c와 같이, 인쇄 서비스를 위한 외부 장치(510)가 결합된 경우, 외부 장치(510)와 연동하여 제공할 수 있는 인쇄 모드에 대응하도록 용지 투입구(508)를 통해 투입된 인쇄용지에 컨텐츠 정보를 인쇄하여 용지 배출구를 통해 배출할 수 있다. 예를 들어, 전자 장치(500)는 외부 장치(510)가 결합된 경우, 인쇄하기 위한 컨텐츠를 외부 장치(510)로 전송할 수 있다. 외부 장치(510)는 전자 장치(500)로부터 제공받은 컨텐츠를 인쇄 모드에 대응하도록 변환하여 인쇄용지에 인쇄할 수 있다. 예컨대, 컨텐츠가 인쇄된 인쇄용지는 외부 장치(510)의 용지 배출구를 통해 외부로 배출될 수 있다. 예를 들어, 전자 장치(500)는 외부 장치(510)가 결합된 경우, 인쇄하기 위한 컨텐츠를 외부 장치(510)에서 제공하는 인쇄 모드에 대응하도록 변환하여 외부 장치(510)로 전송할 수 있다. 외부 장치(510)는 전자 장치(500)로부터 제공받은 컨텐츠를 인쇄용지에 인쇄하여 외부 장치(510)의 용지 배출구를 통해 외부로 배출될 수 있다. 예를 들어, 전자 장치(500)는 외부 장치(510)가 결합된 경우, 인쇄하기 위한 컨텐츠를 인쇄용지에 인쇄할 수 있다. 외부 장치(510)는 전자 장치(500)에 의해 인쇄된 인쇄용지를 인쇄 모드에 대응하도록 가공하여 외부 장치(510)의 용지 배출구를 통해 외부로 배출될 수 있다. According to one embodiment, as shown in FIG. 5C, when the external device 510 for print service is coupled, the electronic device 500 has a paper inlet to correspond to a print mode that can be provided in conjunction with the external device 510. Content information can be printed on the input printing paper through step 508 and discharged through the paper outlet. For example, when the external device 510 is coupled, the electronic device 500 may transmit content for printing to the external device 510 . The external device 510 may convert the content provided from the electronic device 500 to correspond to the print mode and print it on printing paper. For example, printing paper on which content is printed may be discharged to the outside through a paper outlet of the external device 510 . For example, when the external device 510 is coupled, the electronic device 500 may convert content to be printed to correspond to a print mode provided by the external device 510 and transmit the content to the external device 510 . The external device 510 may print the content provided from the electronic device 500 on printing paper and discharge the contents to the outside through a paper outlet of the external device 510 . For example, when the external device 510 is coupled, the electronic device 500 may print content to be printed on printing paper. The external device 510 may process the printing paper printed by the electronic device 500 to correspond to the printing mode and discharge it to the outside through a paper outlet of the external device 510 .

다양한 실시예에 따르면, 전자 장치(400)는 외부 장치가 결합되지 않은 경우, 인쇄 서비스가 제한될 수 있다. 이 경우, 전자 장치(400)는 도 5a와 같은 전자 장치의 구성에서 인쇄용지의 투입 및 배출을 위한 용지 투입구(508) 및 용지 배출구가 생략될 수 있다. According to various embodiments, when an external device is not coupled to the electronic device 400, a print service may be limited. In this case, the electronic device 400 may omit a paper inlet 508 and a paper outlet for inserting and discharging printing paper in the configuration of the electronic device as shown in FIG. 5A.

도 6은 본 발명의 다양한 실시예에 따른 전자 장치에서 적어도 하나의 외부 장치를 이용하여 인쇄를 제어하기 위한 흐름도를 도시하고 있다. 이하 설명에서 전자 장치는 도 1에 도시된 전자 장치(101) 또는 도 2에 도시된 전자 장치(201) 또는 도 4의 전자 장치(400)를 포함할 수 있다. 6 is a flowchart for controlling printing using at least one external device in an electronic device according to various embodiments of the present disclosure. In the following description, the electronic device may include the electronic device 101 shown in FIG. 1 , the electronic device 201 shown in FIG. 2 , or the electronic device 400 shown in FIG. 4 .

도 6을 참조하면, 전자 장치는 동작 601에서, 전자 장치의 제어에 의해 컨텐츠의 적어도 일부를 종이 등과 같은 매체에 인쇄하는 인쇄 모드를 실행할 수 있다. 예를 들어, 프로세서(410)는 입력 인터페이스(460)을 통해 검출한 입력 정보에 기반하여 인쇄 기능을 제공하는 어플리케이션을 실행할 수 있다. 예를 들어, 인쇄 모드의 실행은 인쇄 기능을 제공하는 전자 장치에 전원이 인가되는 상황을 포함할 수 있다. Referring to FIG. 6 , in operation 601, the electronic device may execute a print mode in which at least a portion of content is printed on a medium such as paper under control of the electronic device. For example, the processor 410 may execute an application providing a printing function based on input information detected through the input interface 460 . For example, execution of the print mode may include a situation in which power is applied to an electronic device providing a print function.

전자 장치는 동작 603에서, 인쇄 기능을 지원하는 외부 장치가 연결되었는지 확인할 수 있다. 예를 들어, 프로세서(410)는 통신 인터페이스(470)를 통해 통신이 연결된 적어도 하나의 외부 장치 중 인쇄 기능을 지원하는 외부 장치가 존재하는지 확인할 수 있다. 예를 들어, 프로세서(410)는 연결 인터페이스(420)에 의해 수집된 센서 값에 기반하여 인쇄 기능을 지원하는 외부 장치가 전자 장치(400)와 결합되었는지 확인할 수 있다. 예컨대, 연결 인터페이스(420)는 자기 센서, 압력 센서, 근접 센서 중 적어도 하나를 이용하여 외부 장치의 결합 여부를 판단할 수 있다. 예컨대, 연결 인터페이스(420)는 소음 감지 센서(예: 마이크 등)를 통해 외부 장치와의 연결에 의해 발생되는 소음이 검출되는지 확인하여 발생하는지 확인하여 외부 장치의 결합 여부를 판단할 수 있다.In operation 603, the electronic device may check whether an external device supporting a print function is connected. For example, the processor 410 may determine whether an external device supporting a print function exists among at least one external device connected through communication through the communication interface 470 . For example, the processor 410 may determine whether an external device supporting a print function is coupled with the electronic device 400 based on the sensor value collected by the connection interface 420 . For example, the connection interface 420 may determine whether an external device is coupled using at least one of a magnetic sensor, a pressure sensor, and a proximity sensor. For example, the connection interface 420 may determine whether or not the external device is coupled by checking whether or not noise generated by connection with the external device is detected through a noise sensor (eg, a microphone, etc.).

전자 장치는 동작 605에서, 인쇄 기능을 지원하는 외부 장치가 전자 장치에 연결된 경우, 외부 장치에 기반하여 인쇄 모드를 결정할 수 있다. 예를 들어, 프로세서(410)는 외부 장치의 속성 및 외부 장치의 연결 상태 정보에 기반하여 전자 장치에서 인쇄 서비스를 제공하기 위한 인쇄 모드를 결정할 수 있다. 예를 들어, 프로세서(410)는 외부 장치의 속성 및 외부 장치의 연결 상태 정보에 기반하여 전자 장치에서 지원 가능한 적어도 하나의 인쇄 모드를 검출할 수 있다. 프로세서(410)는 전자 장치에서 지원 가능한 적어도 하나의 인쇄 모드 중 사용자 입력에 의해 선택되는 어느 하나의 인쇄 모드를 인쇄 서비스를 제공하기 위한 인쇄 모드를 결정할 수 있다. 예컨대, 프로세서(410)는 외부 장치의 식별 정보에 기반하여 외부 장치의 속성을 획득할 수 있다. In operation 605, the electronic device may determine a print mode based on the external device when an external device supporting a print function is connected to the electronic device. For example, the processor 410 may determine a print mode for providing a print service in the electronic device based on the attributes of the external device and connection state information of the external device. For example, the processor 410 may detect at least one print mode supported by the electronic device based on the attributes of the external device and connection state information of the external device. The processor 410 may determine one print mode selected by a user input from among at least one print mode supportable by the electronic device as a print mode for providing a print service. For example, the processor 410 may obtain attributes of the external device based on identification information of the external device.

전자 장치는 동작 607에서, 인쇄 모드에 대응하도록 외부 장치를 제어하여 컨텐츠를 인쇄 서비스를 제어할 수 있다. 예를 들어, 프로세서(410)는 연결 인터페이스(420)를 통해 적어도 하나의 외부 장치가 결합된 경우, 인쇄하기 위한 컨텐츠를 인쇄 모드에 대응하는 외부 장치로 전송할 수 있다. 만일, 프로세서(410)는 동작 605에서 결정된 인쇄 모드에 기반하여 다수 개의 외부 장치들이 연동되는 경우, 외부 장치들의 연결 순서에 기반하여 전자 장치(400)에 가장 인접한 제 1 외부 장치로 인쇄하기 위한 컨텐츠를 전송할 수 있다. 이에 따라, 외부 장치는 전자 장치(400)로부터 제공받은 컨텐츠를 인쇄 모드에 대응하도록 변환하여 인쇄용지에 인쇄할 수 있다. 예를 들어, 프로세서(410)는 연결 인터페이스(420)를 통해 적어도 하나의 외부 장치가 결합된 경우, 인쇄 모드에 대응하도록 인쇄하기 위한 컨텐츠를 변환하여 외부 장치로 전송할 수 있다. 이에 따라, 외부 장치는 전자 장치(400)로부터 제공받은 변환된 컨텐츠를 인쇄용지에 인쇄하여 외부로 배출될 수 있다. 예를 들어, 프로세서(410)는 연결 인터페이스(420)를 통해 적어도 하나의 외부 장치가 결합된 경우, 인쇄하기 위한 컨텐츠를 인쇄용지에 인쇄할 수 있다. 이 경우, 외부 장치는 전자 장치(400)에 의해 인쇄된 인쇄용지를 인쇄 모드에 대응하도록 가공하여 외부로 배출될 수 있다. In operation 607, the electronic device may control the content printing service by controlling the external device to correspond to the printing mode. For example, when at least one external device is coupled through the connection interface 420, the processor 410 may transmit content to be printed to the external device corresponding to the print mode. If a plurality of external devices are linked based on the print mode determined in operation 605, the processor 410 outputs content for printing to the first external device closest to the electronic device 400 based on the connection order of the external devices. can transmit. Accordingly, the external device can convert the content provided from the electronic device 400 to correspond to the print mode and print it on printing paper. For example, when at least one external device is coupled through the connection interface 420, the processor 410 may convert content for printing to correspond to a print mode and transmit the converted content to the external device. Accordingly, the external device may print the converted content provided from the electronic device 400 on printing paper and discharge it to the outside. For example, when at least one external device is coupled through the connection interface 420, the processor 410 may print content to be printed on printing paper. In this case, the external device may process the printing paper printed by the electronic device 400 to correspond to the printing mode and discharge it to the outside.

한 실시예에 따르면, 전자 장치는 인쇄 서비스를 위한 외부 장치가 결합되지 않은 경우, 전자 장치에서 제공하는 기본 인쇄 기능(예: 문자 인쇄, 이미지 인쇄)에 기반하여 인쇄용지에 컨텐츠 정보를 인쇄하여 외부로 출력할 수 있다. According to one embodiment, when an external device for a print service is not coupled, the electronic device prints content information on printing paper based on a basic printing function (eg, text printing, image printing) provided by the electronic device to externally can be output as

도 7은 본 발명의 다양한 실시예에 따른 전자 장치에서 외부 장치에 대응하는 인쇄 모드를 결정하기 위한 흐름도를 도시하고 있다. 도 8은 본 발명의 다양한 실시예에 따른 외부 장치의 식별 정보를 전송하기 위한 구성을 도시하고 있다. 이하 설명은 도 8을 이용하여 도 6의 동작 605에서 인쇄 모드를 결정하는 동작을 설명한다. 이하 설명에서 전자 장치는 도 1에 도시된 전자 장치(101) 또는 도 2에 도시된 전자 장치(201) 또는 도 4의 전자 장치(400)를 포함할 수 있다. 7 is a flowchart for determining a print mode corresponding to an external device in an electronic device according to various embodiments of the present disclosure. 8 illustrates a configuration for transmitting identification information of an external device according to various embodiments of the present invention. The following description will explain the operation of determining the print mode in operation 605 of FIG. 6 using FIG. 8 . In the following description, the electronic device may include the electronic device 101 shown in FIG. 1 , the electronic device 201 shown in FIG. 2 , or the electronic device 400 shown in FIG. 4 .

도 7을 참조하면, 전자 장치는 동작 701에서, 전자 장치와 기능적 또는 물리적으로 연결된 외부 장치가 존재하는 경우(도 6의 동작 603), 외부 장치의 식별 정보를 확인할 수 있다. 예를 들어, 프로세서(410)는 연결 인터페이스(420)를 통해 전자 장치(400)에 결합된 적어도 하나의 외부 장치로부터 해당 외부 장치의 식별 정보를 수신할 수 있다. 예를 들어, 프로세서(410)는 연결 인터페이스(420)를 통해 외부 장치의 연결을 판단하기 위한 센서값에 기반하여 외부 장치를 식별할 수 있다. 예컨대, 프로세서(410)는 자기 센서를 통해 획득한 자기 센서 값에 기반하여 외부 장치의 종류를 식별할 수 있다. 예컨대, 프로세서(410)는 외부 장치가 접촉되는 전기적 단자의 종류에 기반하여 외부 장치의 종류를 식별할 수 있다.Referring to FIG. 7 , in operation 701, the electronic device may check identification information of the external device if there is an external device functionally or physically connected to the electronic device (operation 603 of FIG. 6). For example, the processor 410 may receive identification information of a corresponding external device from at least one external device coupled to the electronic device 400 through the connection interface 420 . For example, the processor 410 may identify an external device based on a sensor value for determining connection of the external device through the connection interface 420 . For example, the processor 410 may identify the type of external device based on a magnetic sensor value obtained through a magnetic sensor. For example, the processor 410 may identify the type of external device based on the type of electrical terminal to which the external device is in contact.

전자 장치는 동작 703에서, 외부 장치와의 연결 상태 정보를 확인할 수 있다. 예컨대, 외부 장치와의 연결 상태 정보는 외부 장치가 결합된 전자 장치의 위치 및 외부 장치의 연결 순서를 확인할 수 있다. 예를 들어, 프로세서(410)는 연결 인터페이스(420)를 통해 전자 장치(400)와의 연결을 검출한 순서에 기반하여 외부 장치의 연결 순서를 확인할 수 있다. 예를 들어, 프로세서(410)는 외부 장치로부터 수신된 식별 정보에 기반하여 외부 장치의 연결 순서를 확인할 수 있다. 구체적으로, 도 8과 같이, 전자 장치(400)에 다수 개의 외부 장치들이 연결된 경우, 외부 장치들은 외부 장치의 식별 정보를 순차적으로 포함하는 패킷을 생성하여 전자 장치로 전송할 수 있다. 예컨대, 전자 장치(메인 출력 장치(800))에 다수 개의 서브 출력 장치들(810, 820, 830)이 연결된 경우, 각각의 서브 출력 장치(810, 820, 또는 830)는 자신의 식별 정보를 포함하는 패킷을 전자 장치로 전송할 수 있다. 만일, 서브 출력 장치 3(830)이 서브 출력 장치 2(820)를 통해 전자 장치(메인 출력 장치(800))에 연결된 경우, 서브 출력 장치 2(820)는 서브 출력 장치 3(830)으로부터 서브 출력 장치 3(830)의 식별 정보(ID (#3))를 포함하는 패킷을 수신할 수 있다. 서브 출력 장치 2(820)는 서브 출력 장치 3(830)의 식별 정보(ID (#3))를 포함하는 패킷에 서브 출력 장치 2(820)의 식별 정보(ID (#2))를 순차적으로 삽입하여 전자 장치로 전송할 수 있다. 이에 따라, 전자 장치(메인 출력 장치(800))는 외부 장치로부터 패킷에 포함되는 식별 정보에 기반하여 외부 장치의 연결 순서를 확인할 수 있다.In operation 703, the electronic device may check connection state information with the external device. For example, the connection state information with the external device may check the position of the electronic device to which the external device is coupled and the connection order of the external device. For example, the processor 410 may check the connection order of external devices based on the order in which the connection with the electronic device 400 is detected through the connection interface 420 . For example, the processor 410 may check the connection order of external devices based on the identification information received from the external devices. Specifically, as shown in FIG. 8 , when a plurality of external devices are connected to the electronic device 400, the external devices may sequentially generate packets containing identification information of the external devices and transmit the packets to the electronic device. For example, when a plurality of sub-output devices 810, 820, and 830 are connected to an electronic device (main output device 800), each sub-output device 810, 820, or 830 includes its own identification information. packets may be transmitted to the electronic device. If the sub output device 3 (830) is connected to an electronic device (main output device 800) through the sub output device 2 (820), the sub output device 2 (820) is connected to the sub output device 3 (830). A packet including identification information (ID (#3)) of the output device 3 (830) may be received. The sub output device 2 (820) sequentially sends the identification information (ID (#2)) of the sub output device 2 (820) to the packet including the identification information (ID (#3)) of the sub output device 3 (830). It can be inserted and transmitted to an electronic device. Accordingly, the electronic device (the main output device 800) can check the connection order of the external devices based on the identification information included in the packet from the external devices.

전자 장치는 동작 705에서, 외부 장치의 식별 정보 및 외부 장치의 연결 상태 정보 중 적어도 하나에 기반하여 인쇄 서비스를 제공하기 위한 인쇄 모드를 결정할 수 있다. 예를 들어, 프로세서(410)는 외부 장치의 식별 정보에 대응하는 외부 장치의 속성(종류) 및 외부 장치의 연결 상태 정보 중 적어도 하나에 기반하여 인쇄 서비스를 제공하기 위한 인쇄 모드를 결정할 수 있다. In operation 705, the electronic device may determine a print mode for providing a print service based on at least one of identification information of the external device and connection state information of the external device. For example, the processor 410 may determine a print mode for providing a print service based on at least one of a property (type) of the external device corresponding to identification information of the external device and connection state information of the external device.

도 9a 내지 도 9d는 본 발명의 다양한 실시예에 따른 외부 장치의 연결 상태에 대응하도록 다양한 인쇄 모드를 제공하기 위한 구성을 도시하고 있다. 이하 설명은 도 7의 동작 701 내지 동작 705와 같이, 전자 장치에서 외부 장치의 속성 및 연결 상태 정보에 대응하는 인쇄 모드를 제공하는 동작에 대해 설명한다.9A to 9D illustrate configurations for providing various print modes to correspond to connection states of external devices according to various embodiments of the present invention. The following description will describe an operation of providing a print mode corresponding to the properties and connection state information of the external device in the electronic device, like operations 701 to 705 of FIG. 7 .

도 9a를 참조하면, 전자 장치(900)는 상단에 스캔 장치(스캐너)(910)가 결합되고, 하단에 통신 장치(920)가 결합된 경우, 팩스 송신 모드로 동작할 수 있다. 예를 들어, 전자 장치(900)는 상단의 스캔 장치(910)를 통해 스캔한 컨텐츠를 하단의 통신 장치(920)를 통해 외부로 전송하도록 제어할 수 있다. 이때, 전자 장치(900)는 팩스 송신 기능을 위한 사용자 인터페이스(902)를 디스플레이에 표시할 수 있다. 예컨대, 팩스 송신 기능을 위한 사용자 인터페이스(902)는 팩스 송신 상태 정보 및 팩스 송신 모드의 제어 메뉴 중 적어도 하나를 포함할 수 있다.Referring to FIG. 9A , the electronic device 900 may operate in a fax transmission mode when a scanning device (scanner) 910 is coupled to the top and a communication device 920 is coupled to the bottom. For example, the electronic device 900 may control content scanned through the upper scan device 910 to be externally transmitted through the lower communication device 920 . At this time, the electronic device 900 may display the user interface 902 for the fax transmission function on the display. For example, the user interface 902 for a fax transmission function may include at least one of fax transmission status information and a control menu of a fax transmission mode.

도 9b를 참조하면, 전자 장치(900)는 상단에 통신 장치(920)가 결합된 경우, 팩스 수신 모드로 동작할 수 있다. 예를 들어, 전자 장치(900)는 상단의 통신 장치(920)를 통해 수신한 컨텐츠를 인쇄용지에 인쇄하여 외부로 출력할 수 있다. 이때, 전자 장치(900)는 팩스 수신 기능을 위한 사용자 인터페이스(904)를 디스플레이에 표시할 수 있다. 예컨대, 팩스 수신 기능을 위한 사용자 인터페이스(904)는 팩스 수신 상태 정보 및 팩스 수신 모드의 제어 메뉴 중 적어도 하나를 포함할 수 있다.Referring to FIG. 9B , when the communication device 920 is coupled to the top, the electronic device 900 may operate in a fax reception mode. For example, the electronic device 900 may print the content received through the upper communication device 920 on printing paper and output the content to the outside. At this time, the electronic device 900 may display the user interface 904 for the fax receiving function on the display. For example, the user interface 904 for a fax reception function may include at least one of fax reception status information and a control menu for a fax reception mode.

도 9c를 참조하면, 전자 장치(900)는 상단에 카드 리더기(930)와 POS(point of sales)(940)가 순차적으로 결합된 경우, 영수증 프린트 기능이 결합된 POS 기능을 제공할 수 있다. 예를 들어, 전자 장치(900)는 상단에 결합된 카드 리더기(930)를 통해 결제를 위한 카드 정보를 스캔하여 POS(940)를 통해 구매 물품을 결제할 수 있다. 전자 장치(900)는 카드 리더기(930) 및 POS(940)를 이용하여 결제한 구매 물품의 영수증을 인쇄용지에 인쇄하여 외부로 출력할 수 있다. 이때, 전자 장치(900)는 POS 기능을 위한 사용자 인터페이스(906)를 디스플레이에 표시할 수 있다. 예컨대, POS 기능을 위한 사용자 인터페이스(906)는 결제 상태 정보 및 POS 기능의 제어 메뉴 중 적어도 하나를 포함할 수 있다.Referring to FIG. 9C , when a card reader 930 and a point of sales (POS) 940 are sequentially coupled at the top, the electronic device 900 may provide a POS function combined with a receipt printing function. For example, the electronic device 900 may scan card information for payment through the card reader 930 coupled to the top and pay for the purchased product through the POS 940 . The electronic device 900 may print a receipt of a purchased item for which payment has been made using the card reader 930 and the POS 940 on printing paper and output the output to the outside. At this time, the electronic device 900 may display the user interface 906 for the POS function on the display. For example, the user interface 906 for the POS function may include at least one of payment status information and a control menu of the POS function.

도 9d를 참조하면, 전자 장치(900)는 상단에 카메라 장치(950)가 결합되고, 하단에 폴라로이드 장치(960)가 결합된 경우, 폴라로이드 카메라 기능을 제공할 수 있다. 예를 들어, 전자 장치(900)는 상단의 카메라 장치(950)를 통해 캡쳐한 이미지를 하단의 폴라로이드 장치(960)를 통해 폴라로이드 형태로 변환하여 인쇄용지(예: 폴라로이드 인쇄용지)에 인쇄하여 외부로 출력하도록 제어할 수 있다. 이때, 전자 장치(900)는 카메라 기능을 위한 사용자 인터페이스(908)를 디스플레이에 표시할 수 있다. 예컨대, 카메라 기능을 위한 사용자 인터페이스(908)는 카메라 장치(950)를 통해 획득한 이미지 및 카메라 제어 메뉴 중 적어도 하나를 포함할 수 있다.Referring to FIG. 9D , the electronic device 900 may provide a Polaroid camera function when a camera device 950 is coupled to the top and a Polaroid device 960 is coupled to the bottom. For example, the electronic device 900 converts an image captured through the camera device 950 at the top into a Polaroid form through the Polaroid device 960 at the bottom, and prints it on printing paper (eg, Polaroid printing paper) to externally It can be controlled to output as . At this time, the electronic device 900 may display the user interface 908 for the camera function on the display. For example, the user interface 908 for a camera function may include at least one of an image acquired through the camera device 950 and a camera control menu.

도 10은 본 발명의 다양한 실시예에 따른 전자 장치에서 지원 가능한 인쇄 목록을 이용하여 인쇄 모드를 선택하기 위한 흐름도를 도시하고 있다. 도 11a 내지 도 11d는 본 발명의 다양한 실시예에 따른 전자 장치에서 지원 가능한 인쇄 목록을 이용하여 인쇄 모드를 선택하기 위한 화면 구성을 도시하고 있다. 이하 설명은 도 11a 내지 도 11d를 이용하여 도 6의 동작 605에서 인쇄 모드를 결정하는 동작을 설명한다. 이하 설명에서 전자 장치는 도 1에 도시된 전자 장치(101) 또는 도 2에 도시된 전자 장치(201) 또는 도 4의 전자 장치(400)를 포함할 수 있다. 10 is a flowchart for selecting a print mode using a print list supportable by an electronic device according to various embodiments of the present disclosure. 11A to 11D illustrate screen configurations for selecting a print mode using a print list supportable by an electronic device according to various embodiments of the present disclosure. The following description will explain the operation of determining the print mode in operation 605 of FIG. 6 using FIGS. 11A to 11D. In the following description, the electronic device may include the electronic device 101 shown in FIG. 1 , the electronic device 201 shown in FIG. 2 , or the electronic device 400 shown in FIG. 4 .

도 10을 참조하면, 전자 장치는 동작 1001에서, 전자 장치와 기능적 또는 물리적으로 연결된 외부 장치가 존재하는 경우(도 6의 동작 603), 외부 장치의 식별 정보를 확인할 수 있다. 예를 들어, 프로세서(410)는 연결 인터페이스(420)를 통해 전자 장치(400)에 결합된 적어도 하나의 외부 장치로부터 수신한 패킷을 통해 각각의 외부 장치의 식별 정보를 확인할 수 있다. Referring to FIG. 10 , in operation 1001, when an external device functionally or physically connected to the electronic device exists (operation 603 of FIG. 6), the electronic device may check identification information of the external device. For example, the processor 410 may check identification information of each external device through a packet received from at least one external device coupled to the electronic device 400 through the connection interface 420 .

전자 장치는 동작 1003에서, 전자 장치에 대한 외부 장치의 연결 상태 정보를 확인할 수 있다. 예컨대, 외부 장치와의 연결 상태 정보는 외부 장치가 결합된 전자 장치의 위치 및 외부 장치의 연결 순서를 확인할 수 있다. 예를 들어, 프로세서(410)는 외부 장치로부터 수신된 패킷에 포함된 외부 장치의 식별 정보에 기반하여 외부 장치의 연결 순서를 확인할 수 있다. In operation 1003, the electronic device may check connection state information of the external device to the electronic device. For example, the connection state information with the external device may check the position of the electronic device to which the external device is coupled and the connection order of the external device. For example, the processor 410 may check the connection order of the external devices based on the identification information of the external devices included in the packet received from the external devices.

전자 장치는 동작 1005에서, 외부 장치의 식별 정보에 대응하는 속성 정보 및 외부 장치의 연결 상태 정보 중 적어도 하나에 기반하여 전자 장치의 인쇄 모드 목록을 결정할 수 있다. 예를 들어, 프로세서(410)는 전자 장치(400)와 연결된 적어도 하나의 외부 장치의 속성 정보 및 연결 상태 정보에 기반하여 전자 장치(400)에서 지원 가능한 적어도 하나의 인쇄 모드를 결정할 수 있다. 즉, 프로세서(410)는 전자 장치(400) 및 전자 장치(400)와 연결된 적어도 하나의 외부 장치에 의해 생성될 수 있는 각각의 조합에 대응하는 인쇄 모드를 검출할 수 있다. In operation 1005, the electronic device may determine a print mode list of the electronic device based on at least one of attribute information corresponding to identification information of the external device and connection state information of the external device. For example, the processor 410 may determine at least one print mode supportable by the electronic device 400 based on attribute information and connection state information of at least one external device connected to the electronic device 400 . That is, the processor 410 may detect a print mode corresponding to each combination generated by the electronic device 400 and at least one external device connected to the electronic device 400 .

전자 장치는 동작 1007에서, 전자 장치의 인쇄 모드 목록을 디스플레이에 출력할 수 있다. 예를 들어, 전자 장치(1100)는 도 11a와 같이, 하단에 사진 인쇄 장치(예: 폴라로이드 장치)(1110) 및 악보 인쇄 장치(1120)가 순차적으로 결합될 수 있다. 전자 장치(1100)는 사진 인쇄 장치(1110) 및 악보 인쇄 장치(1120)와 연동하여 "사진 인쇄 기능", "악보 인쇄 기능" 및 "사진 형태의 악보 인쇄 기능"을 제공할 수 있다. 이에 따라, 전자 장치(1100)는 "사진 인쇄 기능", "악보 인쇄 기능" 및 "사진 형태의 악보 인쇄 기능"을 포함하는 전자 장치(1100)의 인쇄 모드 목록을 디스플레이에 표시할 수 있다(1102). 예를 들어, 전자 장치(1100)는 도 11b와 같이, 전자 장치(1100)에 연결된 외부 장치 정보를 인쇄 모드 목록으로 디스플레이에 표시할 수도 있다(1104).In operation 1007, the electronic device may output a print mode list of the electronic device to a display. For example, as shown in FIG. 11A , in the electronic device 1100 , a photo printing device (eg, a Polaroid device) 1110 and a music sheet printing device 1120 may be sequentially coupled to each other. The electronic device 1100 may provide a "photo print function", a "music print function", and a "photo print sheet music function" in conjunction with the photo print device 1110 and the sheet music print device 1120. Accordingly, the electronic device 1100 may display a print mode list of the electronic device 1100 including a "photo print function", a "music print function", and a "photo print sheet music function" on the display (1102 ). For example, the electronic device 1100 may display information on an external device connected to the electronic device 1100 as a print mode list on the display as shown in FIG. 11B (1104).

전자 장치는 동작 1009에서, 디스플레이에 출력된 전자 장치의 인쇄 모드 목록에 대한 선택 입력이 검출되는지 확인한다. 예를 들어, 프로세서(410)는 입력 인터페이스(460)(예: 터치 패널)를 통해 디스플레이(440)에 표시된 인쇄 모드 목록(1102)에 대응하는 터치 입력이 검출되는지 확인한다.In operation 1009, the electronic device checks whether a selection input for the print mode list of the electronic device output on the display is detected. For example, the processor 410 checks whether a touch input corresponding to the print mode list 1102 displayed on the display 440 is detected through the input interface 460 (eg, a touch panel).

전자 장치는 동작 1011에서, 디스플레이에 출력된 전자 장치의 인쇄 모드 목록에 대한 선택 입력이 검출된 경우, 전자 장치의 인쇄 모드 목록 중 선택 입력에 대응하는 인쇄 모드를 선택할 수 있다. 이 경우, 전자 장치는 선택 입력에 대응하는 인쇄 모드를 인쇄 서비스를 제공하기 위한 인쇄 모드로 판단할 수 있다.In operation 1011, the electronic device may select a print mode corresponding to the selection input from the print mode list of the electronic device when a selection input for the print mode list of the electronic device outputted on the display is detected. In this case, the electronic device may determine a print mode corresponding to the selection input as a print mode for providing a print service.

한 실시예에 따르면, 전자 장치는 전자 장치와 기능적 또는 물리적으로 연결된 외부 장치를 제어하기 사용자 인터페이스를 디스플레이에 출력할 수 있다. 예를 들어, 전자 장치(1100)는 장치 설정 이벤트가 발생한 경우, 도 11c와 같이 전자 장치(1100)에서 제어 가능한 장치 목록을 디스플레이에 표시할 수 있다(1106). 전자 장치(1100)는 장치 목록 중 "서브 장치 #1"의 선택 입력을 검출한 경우, 도 11d와 같이 서브 장치 #1의 장치 설정을 위한 메뉴를 디스플레이에 표시할 수 있다(1108). 전자 장치는 서브 장치 #1의 장치 설정을 위한 메뉴를 토대로, 서브 장치 #1를 제어할 수 있다.According to one embodiment, the electronic device may output a user interface to the display to control an external device functionally or physically connected to the electronic device. For example, when a device setting event occurs, the electronic device 1100 may display a list of devices controllable by the electronic device 1100 on the display as shown in FIG. 11C (1106). When the electronic device 1100 detects a selection input for “sub device #1” from the device list, it may display a menu for device setting of sub device #1 on the display as shown in FIG. 11D (1108). The electronic device may control the sub device #1 based on the menu for setting the device of the sub device #1.

도 12는 본 발명의 다양한 실시예에 따른 전자 장치에서 인쇄 모드에 대응하도록 외부 장치를 제어하기 위한 흐름도를 도시하고 있다. 이하 설명은 도 6의 동작 607에서 인쇄 서비스를 제어하는 동작을 설명한다. 이하 설명에서 전자 장치는 도 1에 도시된 전자 장치(101) 또는 도 2에 도시된 전자 장치(201) 또는 도 4의 전자 장치(400)를 포함할 수 있다. 12 is a flowchart for controlling an external device to correspond to a print mode in an electronic device according to various embodiments of the present disclosure. The following description describes the operation of controlling the print service in operation 607 of FIG. 6 . In the following description, the electronic device may include the electronic device 101 shown in FIG. 1 , the electronic device 201 shown in FIG. 2 , or the electronic device 400 shown in FIG. 4 .

도 12를 참조하면, 전자 장치는 동작 1201에서, 전자 장치의 인쇄 모드에 대응하는 인쇄를 수행할 것인지 판단할 수 있다. 예를 들어, 프로세서(410)는 입력 인터페이스(460)를 통해 "인쇄 수행"을 위한 입력이 검출되는지 확인할 수 있다. 예를 들어, 프로세서(410)는 통신 인터페이스(470)를 통해 "인쇄 수행"을 위한 제어 신호가 수신되는지 확인할 수 있다.Referring to FIG. 12 , in operation 1201, the electronic device may determine whether to perform printing corresponding to the print mode of the electronic device. For example, the processor 410 may check whether an input for “printing” is detected through the input interface 460 . For example, the processor 410 may check whether a control signal for “printing” is received through the communication interface 470 .

전자 장치는 동작 1203에서, 인쇄를 수행하는 것으로 판단한 경우, 인쇄용지에 인쇄하기 위한 컨텐츠를 확인할 수 있다. 예를 들어, 프로세서(410)는 전자 장치(400)에 저장된 데이터들 중 인쇄하기 위한 데이터(예: 문서 또는 이미지 등)를 추출할 수 있다. 예를 들어, 프로세서(410)는 통신 인터페이스(470)를 통해 인쇄하기 위한 데이터(예: 문서 또는 이미지 등)를 수신할 수 있다. In operation 1203, when it is determined that printing is to be performed, the electronic device may check content to be printed on printing paper. For example, the processor 410 may extract data (eg, documents or images) for printing from among data stored in the electronic device 400 . For example, the processor 410 may receive data (eg, documents or images) for printing through the communication interface 470 .

전자 장치는 동작 1205에서, 인쇄 모드에 대응하도록 컨텐츠를 변환할 수 있다. 예를 들어, 프로세서(410)는 악보 인쇄 모드를 선택한 경우(예: 도 6의 동작 605), 컨텐츠(예: 음악 파일)를 악보로 변환할 수 있다. 예를 들어, 프로세서(410)는 폴라로이드 인쇄 모드를 선택한 경우(예: 도 6의 동작 605), 컨텐츠(예: 사진 파일)를 폴라로이드 필름으로 변환할 수 있다. 예를 들어, 프로세서(410)는 점자 인쇄 모드를 선택한 경우(예: 도 6의 동작 605), 컨텐츠(예: 문서)를 점자 형태로 변환할 수 있다.In operation 1205, the electronic device may convert content to correspond to the print mode. For example, when the score print mode is selected (eg, operation 605 of FIG. 6 ), the processor 410 may convert content (eg, a music file) into a score. For example, when the Polaroid print mode is selected (eg, operation 605 of FIG. 6 ), the processor 410 may convert content (eg, a photo file) into Polaroid film. For example, when the braille printing mode is selected (eg, operation 605 of FIG. 6 ), the processor 410 may convert content (eg, a document) into a braille form.

전자 장치는 동작 1207에서, 인쇄 모드에 대응하도록 변환한 컨텐츠를 인쇄 서비스를 위한 외부 장치로 전송할 수 있다. 예를 들어, 프로세서(410)는 전자 장치(400)에 다수 개의 외부 장치들이 연결된 경우, 인쇄 모드에 대응하는 적어도 하나의 외부 장치에서 인쇄 모드에 대응하도록 변환한 컨텐츠를 전송할 수 있다. 예컨대, 프로세서(410)는 인쇄 모드에 기반하여 인쇄 서비스에 사용되지 않는 외부 장치를 비활성 상태로 전환되도록 제어할 수 있다. In operation 1207, the electronic device may transmit the content converted to correspond to the print mode to an external device for a print service. For example, when a plurality of external devices are connected to the electronic device 400, the processor 410 may transmit content converted to correspond to the print mode from at least one external device corresponding to the print mode. For example, the processor 410 may control an external device not used for a print service to be switched to an inactive state based on a print mode.

한 실시예에 따르면, 외부 장치는 전자 장치로부터 제공받은 인쇄 모드에 대응하도록 변환한 컨텐츠를 인쇄용지에 인쇄하여 외부로 배출할 수 있다. 추가적으로, 외부 장치는 인쇄 모드에 대응하도록 인쇄용지를 가공하여 외부로 배출할 수 있다. 예컨대, 인쇄용지의 가공은 인쇄 용지의 절단, 코딩 등과 같이 인쇄용지에 대한 물리적 변화를 포함할 수 있다. According to one embodiment, the external device may print the content converted to correspond to the print mode provided from the electronic device on printing paper and discharge it to the outside. Additionally, the external device may process the printing paper to correspond to the printing mode and discharge it to the outside. For example, processing the printing paper may include physical changes to the printing paper, such as cutting and coding the printing paper.

한 실시예에 따르면, 전자 장치는 인쇄 모드에 대응하는 외부 장치를 이용하여 인쇄 모드에 대응하도록 컨텐츠를 변환할 수 있다. 예를 들어, 프로세서(410)는 연결 인터페이스(420)를 통해 적어도 하나의 외부 장치 중 인쇄 모드에 대응하는 외부 장치로 인쇄하기 위한 컨텐츠를 전송할 수 있다. 이에 따라, 외부 장치는 전자 장치(400)로부터 제공받은 컨텐츠를 인쇄 모드에 대응하도록 변환하여 인쇄용지에 인쇄할 수 있다.According to one embodiment, the electronic device may convert content to correspond to the print mode using an external device corresponding to the print mode. For example, the processor 410 may transmit content for printing to an external device corresponding to a print mode among at least one external device through the connection interface 420 . Accordingly, the external device can convert the content provided from the electronic device 400 to correspond to the print mode and print it on printing paper.

도 13a 내지 도 13b는 본 발명의 다양한 실시예에 따른 전자 장치에서 인쇄 모드에 대응하도록 외부 장치를 제어하기 위한 구성을 도시하고 있다. 이하 설명은 도 12의 동작 1201 내지 동작 1207과 같이, 전자 장치의 제어에 따라 컨텐츠를 인쇄하는 동작을 설명한다.13A and 13B illustrate configurations for controlling an external device to correspond to a print mode in an electronic device according to various embodiments of the present disclosure. The following description describes an operation of printing content according to the control of the electronic device, like operations 1201 to 1207 of FIG. 12 .

한 실시예에 따르면, 전자 장치(1300)는 상단에 저장 매체(1310)가 결합되고, 하단에 악보 프린터(예: 악보 인쇄 장치)(1320) 및 사진 프린터(예: 사진 인쇄 장치)(1330)가 순차적으로 결합될 수 있다. 전자 장치(1300)는 악보 프린터(1320) 및 사진 프린터(1330)와 연동하여 저장 매체(1310)에 저장된 데이터를 "사진 인쇄 기능", "악보 인쇄 기능" 및 "사진 형태의 악보 인쇄 기능" 중 어느 하나의 기능으로 인쇄할 수 있다. According to one embodiment, the electronic device 1300 has a storage medium 1310 coupled to the top, a sheet music printer (eg, a sheet music printing device) 1320 and a photo printer (eg, a photo printing device) 1330 at the bottom. can be sequentially combined. The electronic device 1300 interworks with the sheet music printer 1320 and the photo printer 1330 to transfer data stored in the storage medium 1310 among "photo print function", "music print function" and "photo print sheet music function". You can print with either function.

한 실시예에 따르면, 전자 장치(1300)는 인쇄 서비스를 위해 "악보 인쇄 기능" 이 선택된 경우, 저장 매체(1310)에 저장된 음악 컨텐츠를 악보 형태로 변환할 수 있다. 전자 장치(1300)는 악보 형태로 변환된 음악 컨텐츠를 악보 프린터(1320)로 전송하여 인쇄용지에 악보 형태의 컨텐츠를 인쇄하도록 제어할 수 있다. 악보 프린터(1320)는 도 13a와 같이, 전자 장치(1300)로부터 제공받은 악보 형태의 컨텐츠를 인쇄 용지에 인쇄하여 외부로 배출할 수 있다(1340).According to an embodiment, the electronic device 1300 may convert music content stored in the storage medium 1310 into a sheet music form when a “music print function” is selected for the print service. The electronic device 1300 transmits the music content converted into a sheet music form to the sheet music printer 1320 and can control to print the content in the form of a sheet music on printing paper. As shown in FIG. 13A , the music score printer 1320 may print the content in the form of music provided from the electronic device 1300 on printing paper and discharge the contents to the outside (1340).

한 실시예에 따르면, 전자 장치(1300)는 인쇄 서비스를 위해 "악보 인쇄 기능" 이 선택된 경우, 저장 매체(1310)에 저장된 음악 컨텐츠를 악보 프린터(1320)로 전송할 수 있다. 이에 따라, 악보 프린터(1320)는 음악 컨텐츠를 악보 형태로 변환하여 인쇄용지에 인쇄할 수 있다. 악보 프린터(1320)는 도 13a와 같이, 악보 형태의 컨텐츠가 인쇄된 인쇄용지를 외부로 배출할 수 있다(1340).According to one embodiment, the electronic device 1300 may transmit music contents stored in the storage medium 1310 to the sheet music printer 1320 when a “music print function” is selected for the print service. Accordingly, the sheet music printer 1320 may convert the music content into a sheet music form and print it on printing paper. As shown in FIG. 13A, the music score printer 1320 may discharge the printing paper on which the content in the form of music score is printed to the outside (1340).

한 실시예에 따르면, 전자 장치(1300)는 인쇄 서비스를 위해 "사진 형태의 악보 인쇄 기능" 이 선택된 경우, 저장 매체(1310)에 저장된 음악 컨텐츠를 악보 프린터(1320)로 전송할 수 있다. 악보 프린터(1320)는 음악 컨텐츠를 악보 형태로 변환하여 사진 프린터(1330)로 전송할 수 있다. 사진 프린터(1330)는 악보 형태의 컨텐츠를 사진 형태로 변환하여 인쇄용지에 인쇄할 수 있다. 사진 프린터(1330)는 도 13b와 같이, 사진 형태로 인쇄된 악보를 외부로 배출할 수 있다(1350).According to an embodiment, the electronic device 1300 may transmit the music contents stored in the storage medium 1310 to the sheet music printer 1320 when a “photo print sheet music function” is selected for the print service. The sheet music printer 1320 may convert music content into a sheet music form and transmit it to the photo printer 1330 . The photo printer 1330 may convert content in the form of a musical score into a photo form and print it on printing paper. As shown in FIG. 13B, the photo printer 1330 may output sheet music printed in the form of a photo to the outside (1350).

도 14는 본 발명의 다양한 실시예에 따른 전자 장치에서 외부 장치에 대응하는 인쇄 모드 목록을 제공하기 위한 흐름도를 도시하고 있다. 도 15a 내지 도 15e는 본 발명의 다양한 실시예에 따른 전자 장치에서 외부 장치에 대응하는 인쇄 모드 목록을 제공하기 위한 화면 구성을 도시하고 있다. 이하 설명은 도 15a 내지 도 15e를 이용하여 인쇄 가이드 정보를 제공하는 동작을 설명한다. 이하 설명에서 전자 장치는 도 1에 도시된 전자 장치(101) 또는 도 2에 도시된 전자 장치(201) 또는 도 4의 전자 장치(400)를 포함할 수 있다.14 is a flowchart for providing a print mode list corresponding to an external device in an electronic device according to various embodiments of the present disclosure. 15A to 15E illustrate screen configurations for providing a print mode list corresponding to an external device in an electronic device according to various embodiments of the present disclosure. The following description describes an operation of providing print guide information using FIGS. 15A to 15E. In the following description, the electronic device may include the electronic device 101 shown in FIG. 1 , the electronic device 201 shown in FIG. 2 , or the electronic device 400 shown in FIG. 4 .

도 14를 참조하면, 전자 장치는 동작 1401에서, 인쇄 기능을 지원하는 외부 장치가 연결되었는지 확인할 수 있다. 예를 들어, 프로세서(410)는 통신 인터페이스(470)를 통해 인쇄 기능을 지원하는 적어도 하나의 외부 장치와 통신이 연결되었는지 확인할 수 있다. 예를 들어, 프로세서(410)는 연결 인터페이스(420)를 통해 전자 장치(400)와 결합된 적어도 하나의 외부 장치가 존재하는지 확인할 수 있다. 예를 들어, 프로세서(410)는 소음 감지 센서를 통해 외부 장치 연결음이 검출되는지 확인할 수 있다.Referring to FIG. 14 , in operation 1401, the electronic device may determine whether an external device supporting a print function is connected. For example, the processor 410 may determine whether communication is connected with at least one external device supporting a print function through the communication interface 470 . For example, the processor 410 may check whether at least one external device coupled to the electronic device 400 exists through the connection interface 420 . For example, the processor 410 may determine whether a connection sound of an external device is detected through a noise sensor.

전자 장치는 동작 1403에서, 인쇄 기능을 지원하는 적어도 하나의 외부 장치가 전자 장치에 연결된 경우, 외부 장치와 연동 가능한 인쇄 가능 목록을 결정할 수 있다. 예를 들어, 프로세서(410)는 전자 장치(400)와 연결된 적어도 하나의 외부 장치의 속성 정보 및 연결 상태 정보에 기반하여 적어도 하나의 외부 장치와의 연동을 통해 전자 장치(400)에서 제공 가능한 적어도 하나의 인쇄 모드를 결정할 수 있다. 예컨대, 프로세서(410)는 메모리(450)에 저장된 테이블에서 전자 장치(400)와 연결된 적어도 하나의 외부 장치에 대응되는 모든 인쇄 모드를 추출할 수 있다. In operation 1403, the electronic device may determine a printable list interoperable with the external device when at least one external device supporting a print function is connected to the electronic device. For example, the processor 410 may perform at least one information provided by the electronic device 400 through interworking with at least one external device based on attribute information and connection state information of at least one external device connected to the electronic device 400 . One print mode can be determined. For example, the processor 410 may extract all print modes corresponding to at least one external device connected to the electronic device 400 from a table stored in the memory 450 .

전자 장치는 동작 1405에서, 전자 장치의 인쇄 가능 목록을 디스플레이에 출력할 수 있다. 예를 들어, 전자 장치(1500)는 도 15a와 같이, 하단에 스캔 장치(1510)가 결합될 수 있다. 전자 장치(1500)는 도 15b와 같이, 하단에 결합된 스캔 장치(1510)에 대응하는 인쇄 가능 목록(1520)을 디스플레이에 표시할 수 있다. 예컨대, 인쇄 가능 목록(1520)은 스캔 장치(1510)의 의해 제공 가능한 기능 정보(1520) 및 스캔 장치(1510)와 연동 가능한 추천 기능 정보(1522)를 포함할 수 있다. 추가적으로, 전자 장치(1500)는 스캔 장치(1510)와 연동 가능한 추천 기능 정보(1522)에서 구매 아이콘(1524)은 해당 추천 기능의 장치 구매 사이트와 링크될 수 있다. 이에 따라, 전자 장치(1500)는 구매 아이콘(1524)의 선택 입력을 검출한 경우, 해당 추천 기능의 장치 구매 사이트를 디스플레이에 표시할 수 있다. 예를 들어, 전자 장치(1500)는 도 15a와 같이, 하단에 스캔 장치(1510)가 결합된 경우, 도 15c와 같이, 하단에 결합된 스캔 장치(1510)에 대응하는 인쇄 가능 목록(1530)을 디스플레이에 표시할 수 있다. 예컨대, 인쇄 가능 목록(1530)은 스캔 장치(1510)의 의해 제공 가능한 기능 정보와 스캔 장치(1510)와 연동 가능한 추천 기능 정보가 구분되도록 그래픽 요소를 다르게 설정할 수 있다. 여기서, 그래픽 요소는, 색상, 음영, 조도 등과 같이 디스플레이에 객체를 표시하기 위한 구성 요소를 포함할 수 있다.In operation 1405, the electronic device may output a printable list of the electronic device to the display. For example, the electronic device 1500 may have a scan device 1510 coupled to the lower end as shown in FIG. 15A. As shown in FIG. 15B , the electronic device 1500 may display a printable list 1520 corresponding to the scan device 1510 coupled to the bottom on the display. For example, the printable list 1520 may include function information 1520 that can be provided by the scan device 1510 and recommended function information 1522 that can be linked with the scan device 1510 . Additionally, the purchase icon 1524 in the recommendation function information 1522 that can be linked with the scan device 1510 of the electronic device 1500 may be linked to a device purchase site of the corresponding recommendation function. Accordingly, when the selection input of the purchase icon 1524 is detected, the electronic device 1500 may display the device purchase site of the corresponding recommendation function on the display. For example, when the electronic device 1500 has the scan device 1510 coupled to the bottom as shown in FIG. 15A, the printable list 1530 corresponding to the scan device 1510 coupled to the bottom as shown in FIG. 15C can be displayed on the display. For example, the printable list 1530 may set different graphic elements so that function information that can be provided by the scan device 1510 and recommended function information that can be interlocked with the scan device 1510 are distinguished. Here, the graphic element may include components for displaying an object on a display, such as color, shade, and illuminance.

전자 장치는 동작 1407에서, 디스플레이에 출력된 전자 장치의 인쇄 가능 목록에 대한 선택 입력이 검출되는지 확인한다. 예를 들어, 프로세서(410)는 입력 인터페이스(460)(예: 터치 패널)를 통해 디스플레이(440)에 표시된 인쇄 가능 목록(1102)에 대응하는 터치 입력이 검출되는지 확인한다.In operation 1407, the electronic device checks whether a selection input for the printable list of the electronic device output on the display is detected. For example, the processor 410 determines whether a touch input corresponding to the printable list 1102 displayed on the display 440 is detected through the input interface 460 (eg, a touch panel).

전자 장치는 동작 1409에서, 디스플레이에 출력된 전자 장치의 인쇄 가능 목록에 대한 선택 입력이 검출된 경우, 전자 장치의 인쇄 가능 목록 중 선택 입력에 대응하는 인쇄 모드를 사용할 수 있는지 판단할 수 있다. 예를 들어, 프로세서(410)는 전자 장치(400)와 연결된 외부 장치를 통해 선택 입력에 대응하는 인쇄 모드를 제공할 수 있는지 판단할 수 있다. When a selection input for the printable list of the electronic device outputted on the display is detected, in operation 1409, the electronic device may determine whether a print mode corresponding to the selection input from the printable list of the electronic device can be used. For example, the processor 410 may determine whether a print mode corresponding to a selection input can be provided through an external device connected to the electronic device 400 .

전자 장치는 동작 1411에서, 전자 장치의 인쇄 가능 목록 중 선택 입력에 대응하는 인쇄 모드를 사용할 수 있는 경우, 선택 입력에 대응하는 인쇄 모드를 인쇄 서비스를 제공하기 위한 인쇄 모드로 결정할 수 있다. In operation 1411, when the print mode corresponding to the selection input from the printable list of the electronic device can be used, the electronic device may determine the print mode corresponding to the selection input as a print mode for providing a print service.

전자 장치는 동작 1413에서, 전자 장치의 인쇄 가능 목록 중 선택 입력에 대응하는 인쇄 모드를 사용할 수 없는 경우, 선택 입력에 대응하는 인쇄 모드에 대한 가이드 정보를 출력할 수 있다. 예를 들어, 프로세서(410)는 도 15c에서 스캔 장치(1510)와 연동 가능한 추천 기능인 "CUT"가 선택된 경우, 도 15d와 같이 "CUT" 기능을 이용하는 예시 화면을 디스플레이에 표시할 수 있다(1540). 예를 들어, 프로세서(410)는 도 15c에서 스캔 장치(1510)와 연동 가능한 추천 기능인 "CUT"가 선택된 경우, 도 15e와 같이 "CUT" 기능을 수행하기 위해서는 "CUTTER" 장치의 추가 결합이 필요하다는 안내 메시지를 디스플레이에 표시할 수 있다(1550).In operation 1413, the electronic device may output guide information on a print mode corresponding to the selection input when the print mode corresponding to the selection input is unavailable from among the printable list of the electronic device. For example, when “CUT”, which is a recommended function that can be interlocked with the scan device 1510, is selected in FIG. 15C, the processor 410 may display an example screen using the “CUT” function on the display as shown in FIG. 15D (1540). ). For example, when "CUT", which is a recommended function that can be interlocked with the scan device 1510, is selected in FIG. 15C, the processor 410 requires additional coupling of the "CUTTER" device to perform the "CUT" function as shown in FIG. 15E. A guide message may be displayed on the display (1550).

한 실시예에 따르면, 전자 장치는 도 15b와 같이, 스캔 장치(1510)와 연동 가능한 추천 기능 정보(1522)에 대한 구매 아이콘(1524)을 표시하는 경우, 이전 구매 이력이 존재하는 추천 기능 정보에 대해서는 구매 아이콘(1524)의 표시를 제한할 수 있다.According to one embodiment, when the electronic device displays a purchase icon 1524 for recommendation function information 1522 that can be interlocked with the scan device 1510 as shown in FIG. 15B, the recommended function information for which a previous purchase history exists For this, the display of the purchase icon 1524 can be restricted.

본 발명의 다양한 실시예에 따르면, 전자 장치는 전자 장치와 기능적 또는 물리적으로 연결된 적어도 하나의 외부 장치로부터 해당 외부 장치의 속성 정보를 수신할 수 있다.According to various embodiments of the present disclosure, an electronic device may receive attribute information of a corresponding external device from at least one external device functionally or physically connected to the electronic device.

본 문서에서 사용된 용어 "모듈"은, 예를 들면, 하드웨어, 소프트웨어 또는 펌웨어(firmware) 중 하나 또는 둘 이상의 조합을 포함하는 단위(unit)를 의미할 수 있다. "모듈"은, 예를 들면, 유닛(unit), 로직(logic), 논리 블록(logical block), 부품(component), 또는 회로(circuit) 등의 용어와 바꾸어 사용(interchangeably use)될 수 있다. "모듈"은, 일체로 구성된 부품의 최소 단위 또는 그 일부가 될 수 있다. "모듈"은 하나 또는 그 이상의 기능을 수행하는 최소 단위 또는 그 일부가 될 수도 있다. "모듈"은 기계적으로 또는 전자적으로 구현될 수 있다. 예를 들면, "모듈"은, 알려졌거나 앞으로 개발될, 어떤 동작들을 수행하는 ASIC(application-specific integrated circuit) 칩, FPGAs(field-programmable gate arrays) 또는 프로그램 가능 논리 장치(programmable-logic device) 중 적어도 하나를 포함할 수 있다. The term "module" used in this document may refer to a unit including one or a combination of two or more of, for example, hardware, software, or firmware. “Module” may be used interchangeably with terms such as, for example, unit, logic, logical block, component, or circuit. A “module” may be a minimum unit or part of an integrally formed part. A “module” may be a minimal unit or part thereof that performs one or more functions. A “module” may be implemented mechanically or electronically. For example, a "module" is any known or future developed application-specific integrated circuit (ASIC) chip, field-programmable gate arrays (FPGAs), or programmable-logic device that performs certain operations. may contain at least one.

다양한 실시예에 따른 장치(예: 모듈들 또는 그 기능들) 또는 방법(예: 동작들)의 적어도 일부는, 예컨대, 프로그램 모듈의 형태로 컴퓨터로 읽을 수 있는 저장매체(computer-readable storage media)에 저장된 명령어로 구현될 수 있다. 명령어가 프로세서(예: 프로세서(120))에 의해 실행될 경우, 하나 이상의 프로세서가 명령어에 해당하는 기능을 수행할 수 있다. 컴퓨터로 읽을 수 있는 저장매체는, 예를 들면, 메모리(130)가 될 수 있다. At least some of the devices (eg, modules or functions thereof) or methods (eg, operations) according to various embodiments may be stored on computer-readable storage media in the form of, for example, program modules. It can be implemented as a command stored in . When a command is executed by a processor (eg, the processor 120), one or more processors may perform a function corresponding to the command. The computer-readable storage medium may be, for example, the memory 130 .

컴퓨터로 판독 가능한 기록 매체는, 하드디스크, 플로피디스크, 마그네틱 매체(magnetic media)(예: 자기테이프), 광기록 매체(optical media)(예: CD-ROM(compact disc read only memory), DVD(digital versatile disc), 자기-광 매체(magneto-optical media)(예: 플롭티컬 디스크(floptical disk)), 하드웨어 장치(예: ROM(read only memory), RAM(random access memory), 또는 플래시 메모리 등) 등을 포함할 수 있다. 또한, 프로그램 명령에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함할 수 있다. 상술한 하드웨어 장치는 다양한 실시예의 동작을 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지다.Computer-readable recording media include hard disks, floppy disks, magnetic media (eg magnetic tape), optical media (eg CD-ROM (compact disc read only memory), DVD ( digital versatile disc), magneto-optical media (such as floptical disk), hardware devices (such as read only memory (ROM), random access memory (RAM), or flash memory, etc.) ), etc. In addition, the program command may include not only machine code generated by a compiler, but also high-level language code that can be executed by a computer using an interpreter, etc. The above-described hardware device may include various It may be configured to act as one or more software modules to perform the operations of an embodiment, and vice versa.

다양한 실시예에 따른 모듈 또는 프로그램 모듈은 전술한 구성요소들 중 적어도 하나 이상을 포함하거나, 일부가 생략되거나, 또는 추가적인 다른 구성요소를 더 포함할 수 있다. 다양한 실시예에 따른 모듈, 프로그램 모듈 또는 다른 구성요소에 의해 수행되는 동작들은 순차적, 병렬적, 반복적 또는 휴리스틱(heuristic)한 방법으로 실행될 수 있다. 또한, 일부 동작은 다른 순서로 실행되거나, 생략되거나, 또는 다른 동작이 추가될 수 있다. 그리고 본 문서에 개시된 실시예는 개시된, 기술 내용의 설명 및 이해를 위해 제시된 것이며, 본 문서에서 기재된 기술의 범위를 한정하는 것은 아니다. 따라서, 본 문서의 범위는, 본 문서의 기술적 사상에 근거한 모든 변경 또는 다양한 다른 실시예를 포함하는 것으로 해석되어야 한다. A module or program module according to various embodiments may include at least one or more of the aforementioned components, some may be omitted, or additional other components may be included. Operations performed by modules, program modules, or other components according to various embodiments may be executed in a sequential, parallel, repetitive, or heuristic manner. Also, some actions may be performed in a different order, omitted, or other actions may be added. In addition, the embodiments disclosed in this document are presented for explanation and understanding of the disclosed technical content, and do not limit the scope of the technology described in this document. Therefore, the scope of this document should be construed as including all changes or various other embodiments based on the technical idea of this document.

그리고 본 문서에 개시된 실시예는 개시된, 기술 내용의 설명 및 이해를 위해 제시된 것이며, 본 발명의 다양한 실시예의 범위를 한정하는 것은 아니다. 따라서, 본 발명의 다양한 실시예의 범위는, 본 발명의 다양한 실시예의 기술적 사상에 근거한 모든 변경 또는 다양한 다른 실시예를 포함하는 것으로 해석되어야 한다.And the embodiments disclosed in this document are presented for explanation and understanding of the disclosed technical content, and do not limit the scope of various embodiments of the present invention. Therefore, the scope of various embodiments of the present invention should be construed as including all changes or various other embodiments based on the technical spirit of various embodiments of the present invention.

Claims (20)

전자 장치에서,
연결 인터페이스; 및
프로세서를 포함하고,
상기 프로세서는,
상기 연결 인터페이스를 통해 연결된 적어도 하나의 외부 장치의 속성 및 연결 상태를 확인하고, 상기 외부 장치의 속성은 상기 적어도 하나의 외부 장치의 종류를 포함하며, 상기 연결 상태는 상기 적어도 하나의 외부 장치가 상기 전자 장치에 결합된 위치 및 외부 장치의 결합 순서를 포함하며,
상기 적어도 하나의 외부 장치의 종류, 상기 전자 장치에서 상기 외부 장치가 결합된 위치 및 상기 외부 장치의 결합 순서에 기반하여 상기 전자 장치에서 지원 가능한 적어도 하나의 인쇄 모드를 결정하고, 상기 적어도 하나의 인쇄 모드는 컨텐츠가 인쇄물에 인쇄될 형식에 상응하며,
인쇄하기 위한 컨텐츠를 포함하는 데이터를 식별하고,
상기 적어도 하나의 인쇄 모드 중 어느 하나의 인쇄 모드에 기반하여 상기 식별된 데이터를 변환하고,
상기 변환된 데이터에 기초하여 상기 컨텐츠를 인쇄하도록 적어도 하나의 외부 장치를 제어하도록 설정되고,
상기 외부 장치의 결합 순서는 상기 전자 장치와 외부 장치들이 결합된 상태에서 각각의 상기 외부 장치가 배치된 순서에 상응하는 전자 장치.
in electronic devices,
connection interface; and
contains a processor;
the processor,
A property and a connection state of at least one external device connected through the connection interface are checked, the property of the external device includes a type of the at least one external device, and the connection state determines whether the at least one external device is connected to the at least one external device. Including the position coupled to the electronic device and the order of coupling of the external device,
At least one print mode supportable by the electronic device is determined based on the type of the at least one external device, a coupled position of the external device in the electronic device, and a coupling order of the external device, and the at least one printing mode is determined. The mode corresponds to the format in which the content will be printed on the printed matter;
identify data containing content for printing;
Converting the identified data based on any one of the at least one print mode;
set to control at least one external device to print the content based on the converted data;
The electronic device according to claim 1 , wherein an order in which the external devices are coupled corresponds to an order in which the external devices are arranged in a state in which the electronic device and the external devices are coupled.
삭제delete 제 1항에 있어서,
상기 프로세서는, 상기 적어도 하나의 외부 장치로부터 해당 외부 장치의 식별 정보를 수신하고,
상기 외부 장치의 식별 정보에 대응하는 외부 장치의 종류를 검출하도록 설정된 전자 장치.
According to claim 1,
The processor receives identification information of a corresponding external device from the at least one external device;
An electronic device configured to detect a type of an external device corresponding to the identification information of the external device.
제 1항에 있어서,
디스플레이를 더 포함하며,
상기 프로세서는,
상기 디스플레이를 통해 상기 전자 장치에서 지원 가능한 적어도 하나의 인쇄 모드를 표시하도록 설정된 전자 장치.
According to claim 1,
further comprising a display;
the processor,
An electronic device configured to display at least one print mode supported by the electronic device through the display.
제 1항에 있어서,
상기 연결 인터페이스는, 적어도 하나의 센서 및 전기적 단자 중 적어도 하나를 이용하여 상기 외부 장치의 물리적 결합을 인식하도록 설정된 전자 장치.
According to claim 1,
The connection interface is configured to recognize physical coupling of the external device using at least one of at least one sensor and an electrical terminal.
전자 장치에서,
디스플레이;
연결 인터페이스; 및
프로세서를 포함하고,
상기 프로세서는,
상기 연결 인터페이스를 통해 적어도 하나의 외부 장치의 연결을 검출한 경우, 상기 적어도 하나의 외부 장치의 속성 및 연결 상태를 확인하고, 상기 외부 장치의 속성은 상기 적어도 하나의 외부 장치의 종류를 포함하고, 상기 연결 상태는 상기 적어도 하나의 외부 장치가 상기 전자 장치에 결합된 위치 및 외부 장치의 결합 순서를 포함하며,
상기 적어도 하나의 외부 장치의 종류, 상기 전자 장치에서 상기 외부 장치가 결합된 위치 및 상기 외부 장치의 결합 순서에 기반하여 상기 외부 장치와 연동 가능한 적어도 하나의 인쇄 모드를 결정하고, 상기 적어도 하나의 인쇄 모드는 컨텐츠가 인쇄물에 인쇄될 형식에 상응하며,
상기 디스플레이를 통해 상기 적어도 하나의 인쇄 모드 정보를 표시하도록 설정되며,
상기 외부 장치와 연동 가능한 적어도 하나의 인쇄 모드는, 상기 외부 장치를 통해 지원할 수 있는 적어도 하나의 인쇄 모드 및 다른 외부 장치가 추가적으로 연결되어야 상기 외부 장치를 통해 지원할 수 있는 적어도 하나의 인쇄 모드를 포함하고,
상기 외부 장치의 결합 순서는 상기 전자 장치와 외부 장치들이 결합된 상태에서 각각의 상기 외부 장치가 배치된 순서에 상응하는 전자 장치.
in electronic devices,
display;
connection interface; and
contains a processor;
the processor,
When the connection of at least one external device is detected through the connection interface, properties and a connection state of the at least one external device are checked, the property of the external device includes a type of the at least one external device, The connection state includes a position at which the at least one external device is coupled to the electronic device and a coupling sequence of the external devices,
determine at least one print mode interoperable with the external device based on the type of the at least one external device, a coupled position of the external device in the electronic device, and a coupling order of the external device; The mode corresponds to the format in which the content will be printed on the printed matter;
set to display the at least one print mode information through the display;
The at least one print mode interoperable with the external device includes at least one print mode that can be supported through the external device and at least one print mode that can be supported through the external device only when another external device is additionally connected, and ,
The electronic device according to claim 1 , wherein an order in which the external devices are coupled corresponds to an order in which the external devices are arranged in a state in which the electronic device and the external devices are coupled.
삭제delete 제 6항에 있어서,
상기 프로세서는, 상기 적어도 하나의 외부 장치로부터 해당 외부 장치의 식별 정보를 수신하고,
상기 외부 장치의 식별 정보에 대응하는 외부 장치의 종류를 검출하도록 설정된 전자 장치.
According to claim 6,
The processor receives identification information of a corresponding external device from the at least one external device;
An electronic device configured to detect a type of an external device corresponding to the identification information of the external device.
제 6항에 있어서,
상기 연결 인터페이스는, 적어도 하나의 센서 및 전기적 단자 중 적어도 하나를 이용하여 상기 외부 장치의 물리적 결합을 인식하도록 설정된 전자 장치.
According to claim 6,
The connection interface is configured to recognize physical coupling of the external device using at least one of at least one sensor and an electrical terminal.
전자 장치의 동작 방법에 있어서,
상기 전자 장치와 연결된 적어도 하나의 외부 장치의 속성 및 연결 상태를 확인하는 동작;
상기 적어도 하나의 외부 장치의 종류, 상기 전자 장치에서 상기 외부 장치가 결합된 위치 및 상기 외부 장치의 결합 순서에 기반하여 상기 전자 장치에서 지원 가능한 적어도 하나의 인쇄 모드를 결정하는 동작; 및
인쇄하기 위한 컨텐츠를 포함하는 데이터를 식별하고, 상기 적어도 하나의 인쇄 모드 중 어느 하나의 인쇄 모드에 기반하여 상기 식별된 데이터를 변환하는 동작;
상기 변환된 데이터에 기초하여 상기 컨텐츠를 인쇄하도록 적어도 하나의 외부 장치를 제어하는 동작을 포함하고,
상기 외부 장치의 속성은 상기 적어도 하나의 외부 장치의 종류를 포함하고, 상기 연결 상태는 상기 적어도 하나의 외부 장치가 상기 전자 장치에 결합된 위치 및 외부 장치의 결합 순서를 포함하며,
상기 적어도 하나의 인쇄 모드는 컨텐츠가 인쇄물에 인쇄될 형식에 상응하고,
상기 외부 장치의 결합 순서는 상기 전자 장치와 외부 장치들이 결합된 상태에서 각각의 상기 외부 장치가 배치된 순서에 상응하는 방법.
In the method of operating an electronic device,
checking properties and a connection state of at least one external device connected to the electronic device;
determining at least one print mode supportable by the electronic device based on the type of the at least one external device, a position where the external device is coupled to the electronic device, and an order in which the external device is coupled; and
identifying data including content to be printed, and converting the identified data based on one of the at least one print mode;
Controlling at least one external device to print the content based on the converted data;
The property of the external device includes a type of the at least one external device, and the connection state includes a location where the at least one external device is coupled to the electronic device and a coupling order of the external devices,
The at least one print mode corresponds to a format in which content is to be printed on a printed matter;
The coupling order of the external devices corresponds to the arrangement order of each of the external devices in a state in which the electronic device and the external devices are coupled.
삭제delete 제 10항에 있어서,
상기 외부 장치의 종류는, 상기 적어도 하나의 외부 장치로부터 수신한 상기 외부 장치의 식별 정보에 기반하여 결정되는 방법.
According to claim 10,
The type of the external device is determined based on identification information of the external device received from the at least one external device.
◈청구항 13은(는) 설정등록료 납부시 포기되었습니다.◈◈Claim 13 was abandoned when the registration fee was paid.◈ 제 10항에 있어서,
상기 전자 장치에서 지원 가능한 적어도 하나의 인쇄 모드를 상기 전자 장치의 디스플레이에 표시하는 동작을 더 포함하는 방법.
According to claim 10,
The method further comprising displaying at least one print mode supportable by the electronic device on a display of the electronic device.
◈청구항 14은(는) 설정등록료 납부시 포기되었습니다.◈◈Claim 14 was abandoned when the registration fee was paid.◈ 제 10항에 있어서
적어도 하나의 센서 및 전기적 단자 중 적어도 하나를 이용하여 상기 적어도 하나의 외부 장치와의 연결 여부를 판단하는 동작을 더 포함하는 방법.
According to claim 10
The method further comprising determining whether the at least one external device is connected using at least one of the at least one sensor and the electrical terminal.
전자 장치의 동작 방법에 있어서,
적어도 하나의 외부 장치의 연결을 검출한 경우, 상기 적어도 하나의 외부 장치의 속성 및 연결 상태를 확인하는 동작을 포함하며,
상기 적어도 하나의 외부 장치의 종류, 상기 전자 장치에서 상기 외부 장치가 결합된 위치 및 상기 외부 장치의 결합 순서에 기반하여 상기 외부 장치와 연동 가능한 적어도 하나의 인쇄 모드를 결정하는 동작을 포함하고, 상기 적어도 하나의 인쇄 모드는 컨텐츠가 인쇄물에 인쇄될 형식에 상응하고,
상기 적어도 하나의 인쇄 모드 정보를 표시하는 동작을 포함하며,
상기 외부 장치와 연동 가능한 적어도 하나의 인쇄 모드는, 상기 외부 장치를 통해 지원할 수 있는 적어도 하나의 인쇄 모드 및 다른 외부 장치가 추가적으로 연결되어야 상기 외부 장치를 통해 지원할 수 있는 적어도 하나의 인쇄 모드를 포함하고,
상기 외부 장치의 속성은 상기 적어도 하나의 외부 장치의 종류를 포함하고, 상기 연결 상태는 상기 적어도 하나의 외부 장치가 상기 전자 장치에 결합된 위치 및 외부 장치의 결합 순서를 포함하며,
상기 외부 장치의 결합 순서는 상기 전자 장치와 외부 장치들이 결합된 상태에서 각각의 상기 외부 장치가 배치된 순서에 상응하는 방법.
In the method of operating an electronic device,
When a connection of at least one external device is detected, an operation of checking properties and a connection state of the at least one external device,
determining at least one print mode interoperable with the external device based on the type of the at least one external device, a coupled position of the external device in the electronic device, and a coupling order of the external device; at least one print mode corresponds to a format in which the content will be printed on the printed matter;
An operation of displaying the at least one print mode information;
The at least one print mode interoperable with the external device includes at least one print mode that can be supported through the external device and at least one print mode that can be supported through the external device only when another external device is additionally connected, and ,
The property of the external device includes a type of the at least one external device, and the connection state includes a location where the at least one external device is coupled to the electronic device and a coupling order of the external devices,
The coupling order of the external devices corresponds to the arrangement order of each of the external devices in a state in which the electronic device and the external devices are coupled.
삭제delete ◈청구항 17은(는) 설정등록료 납부시 포기되었습니다.◈◈Claim 17 was abandoned when the registration fee was paid.◈ 제 15항에 있어서,
상기 외부 장치의 종류는, 상기 적어도 하나의 외부 장치로부터 수신한 상기 외부 장치의 식별 정보에 기반하여 결정되는 방법.
According to claim 15,
The type of the external device is determined based on identification information of the external device received from the at least one external device.
◈청구항 18은(는) 설정등록료 납부시 포기되었습니다.◈◈Claim 18 was abandoned when the registration fee was paid.◈ 제 15항에 있어서,
적어도 하나의 센서 및 전기적 단자 중 적어도 하나를 이용하여 상기 적어도 하나의 외부 장치와의 연결 여부를 판단하는 동작을 더 포함하는 방법.
According to claim 15,
The method further comprising determining whether the at least one external device is connected using at least one of the at least one sensor and the electrical terminal.
삭제delete 삭제delete
KR1020150187751A 2015-12-28 2015-12-28 Method for controlling print function and electronic device thereof KR102491649B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020150187751A KR102491649B1 (en) 2015-12-28 2015-12-28 Method for controlling print function and electronic device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020150187751A KR102491649B1 (en) 2015-12-28 2015-12-28 Method for controlling print function and electronic device thereof

Publications (2)

Publication Number Publication Date
KR20170077648A KR20170077648A (en) 2017-07-06
KR102491649B1 true KR102491649B1 (en) 2023-01-26

Family

ID=59354116

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020150187751A KR102491649B1 (en) 2015-12-28 2015-12-28 Method for controlling print function and electronic device thereof

Country Status (1)

Country Link
KR (1) KR102491649B1 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100618332B1 (en) * 2004-10-27 2006-08-31 삼성전자주식회사 Image forming device to change location of panels, and method thereof
JP5028798B2 (en) * 2005-12-27 2012-09-19 ソニー株式会社 Information processing apparatus, information processing method, and computer program
JP6106939B2 (en) * 2012-04-03 2017-04-05 セイコーエプソン株式会社 Printing control apparatus, printing apparatus, printing system, and printing control method

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
일본공개특허 제2013-214227호(2013.10.17.) 1부.*
한국공개특허 제10-2006-0036955호(2006.05.03.) 1부.*
한국공개특허 제10-2007-0069016호(2007.07.02.) 1부.*

Also Published As

Publication number Publication date
KR20170077648A (en) 2017-07-06

Similar Documents

Publication Publication Date Title
KR102394202B1 (en) Method for processing input between devices and electronic device thereof
KR102409782B1 (en) Method for initial setup and electronic device thereof
CN107105073B (en) Electronic device, auxiliary equipment and information display method using auxiliary equipment
KR102489876B1 (en) Method for providing notification and electronic device thereof
EP3118730B1 (en) Method for operating electronic device, and electronic device
CN106055300B (en) Method for controlling sound output and electronic device thereof
KR102560635B1 (en) Content recognition device and method for controlling thereof
KR20170046958A (en) Electronic apparatus and Method for executing function using speech recognition thereof
EP3364284B1 (en) Electronic device and method for determining underwater shooting
US20170249355A1 (en) Electronic device and method of processing user input by electronic device
EP3343876B1 (en) Method for managing contents and electronic device thereof
EP3119095B1 (en) Method for sharing content information and electronic device thereof
KR102366289B1 (en) Method for screen control and electronic device thereof
KR102459370B1 (en) Electronic device and method for controlling thereof
KR102507536B1 (en) Method for providing content information and electronic device thereof
US10635204B2 (en) Device for displaying user interface based on grip sensor and stop displaying user interface absent gripping
KR102312316B1 (en) Method for detecting external device and an electronic device thereof
US10691318B2 (en) Electronic device and method for outputting thumbnail corresponding to user input
US20150288884A1 (en) Method for detecting content based on recognition area and electronic device thereof
US20200058309A1 (en) Electronic device and communication connection method using voice thereof
KR102490673B1 (en) Method for providing additional information for application and electronic device supporting the same
KR20160096856A (en) Method for performing a function and device for providing the same
KR102319983B1 (en) Method for providing information and an electronic device thereof
KR102328449B1 (en) Electronic device and method for operation thereof
KR102354729B1 (en) Method for contacts management of electronic device and electronic device thereof

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant