Raspberry Pi_Kor_21.4.4 print 설치 확인 및 인쇄

21.4.4 print 설치 확인 및 인쇄

Desktop GUI window의 [Leafpad] 메뉴 File àPrint나 web Browser 메뉴 Setting à Print같은 기능을 이용해서 print하면, 다음과 같이 새로 설치된 프린터가 추가되어 있음을 알 수 있다. 새로 설치된 프린터를 선택해서 인쇄하면 해당 printer로 내용이 인쇄되어 나온다.

Raspberry Pi_Kor_21.4.3 CUPS 프로그램을 이용한 printer server 설정

21.4.3 프로그램을 이용한 printer server 설정

프로그램 설치가 완료되면, 이제 프로그램에 의해 설치된 printer server가 실제로 정상 작동할 수 있도록 하고, 실제 인쇄할 printer와 연결하기 위한 설정 작업을 해야 한다.

먼저 프린터에 대한 관리자 권한을 특정 사용자 계정에게 부여해야 한다. 여기서는 “pi” 계정에 프린터 관리 권한을 부여하도록 하겠다. “usermod” 명령으로 다음과 같이 처리한다. 이것은 사용자 group “lpadmin”을 “pi” 계정에 추가로 부여하는 것이다.

Raspberry Pi_Kor_21.4.2 CUPS 프로그램 설치

21.4.2 프로그램 설치

아래와 같이 프로그램을 설치한다. 해당 명령을 실행하면 프로그램 설치에 대한 점검을 한 후 설치여부를 확인하게 된다. 계속 진행을 선택하면 설치작업이 시작된다.

Raspberry Pi_Kor_21.4.1 CUPS 프로그램 설치 직전의 printer 상태

21.4 프로그램 – 네트워크 인쇄

Raspberry Pi에서는 인쇄를 하기 위해서는 별도의 도구가 필요하다. 이를 위해서 프로그램이라는 도구를 사용할 수 있다. (Common Unix Printing System)는 Unix에서 pinter server 기능을 제공하는 프로그램이다. 이 프로그램을 이용하면 USB로 Raspberry Pi에 직접 연결된 printer뿐만 아니라 네트워크에 있는 printer에서도 인쇄를 할 수 있다.

여기서는 프로그램을 설치하고, 이용하는 절차에 대해서 설명하도록 하겠다. 추가적인 정보는 다음을 참고하기 바란다.

■ http://www.cups.org/

21.4.1 프로그램 설치 직전의 printer 상태

Raspberry Pi_Eng_21.4.4 Verifying Printer Installation and Printing

21.4.4 Verifying Printer Installation and Printing

In the Desktop GUI window, if you print using menu FileàPrint in [Leafpad] or menu Setting à Print in web browser, you can see that newly installed printer is added as below. When you print with the newly installed printer, the contents are printed on the printer.

Raspberry Pi_Eng_21.4.3 Setting up Printer Server Using CUPS Program

21.4.3 Setting up Printer Server Using Program

After the installation of the program is complete, you need to configure the printer server installed by the program so that it actually works properly, and can connect to the actual printer to be printed on.

Raspberry Pi_Eng_21.4.2 Installing CUPS Program

21.4.2 Installing Program

Install the program as shown below. If you run the command, it checks the installation of the program and confirms whether or not to install the program. If you choose “Continue”, the installation process begins as follows.

Raspberry Pi_Eng_21.4.1 Printer Status just before Program Installation

21.4 Program – Network Printing

Raspberry Pi requires a separate tool for printing. To do this, you can use a tool called program. (Common Unix Printing System) is a program that provides pinter server function on Unix. With this program, you can print on a printer connected to Raspberry Pi using a USB as well as a printer on the network.