'2018/12/20'에 해당되는 글 8건

  1. 2018.12.20 rpi epson printer
  2. 2018.12.20 cups banner file format
  3. 2018.12.20 CUPS 외부에서 접근 가능하도록 설정하기
  4. 2018.12.20 리눅스에서 프린터 추가
  5. 2018.12.20 cairo
  6. 2018.12.20 cups api
  7. 2018.12.20 node-red rpi 접속
  8. 2018.12.20 mysql client 다른 호스트 접속하기
회사일/Epson L805 rpi2018. 12. 20. 14:32

escpr 드라이버는 웬지 도움이 안되는 느낌...

$ sudo apt-cache search epson

escputil - maintenance utility for Epson Stylus printers

libimage-exiftool-perl - library and program to read and write meta information in multimedia files

libinklevel-dev - development files for libinklevel5

libinklevel5 - library for checking the ink level of your local printer

mtink - Status monitor tool for Epson inkjet printers

mtink-doc - Status monitor tool for Epson inkjet printers - documentation

photopc - Interface to digital still cameras

printer-driver-escpr - printer driver for Epson Inkjet that use ESC/P-R 

[링크 : http://www.openprinting.org/driver/epson-escpr]


그래서 L805 드라이버 소스 받아서 빌드하려고 하면

automake-1.15 버전과(1.16 안됨.. 망할 -_-)

$ wget http://ftp.gnu.org/gnu/automake/automake-1.15.tar.gz 


libcups 관련 헤더가 필요하다.

$ sudo apt-get install libcupsimage2-dev libcups2-dev 

[링크 : https://www.raspberrypi.org/forums/viewtopic.php?t=38467]

'회사일 > Epson L805 rpi' 카테고리의 다른 글

epson 개발자 사이트  (0) 2019.03.26
esc/p 예제  (0) 2019.03.19
Epson L805 power flush  (0) 2019.02.07
epson L805 헤드 청소(성공) 및 종료 시점 확인하기(실패)  (0) 2018.12.21
escputil 디버그 모드  (0) 2018.12.21
Posted by 구차니
프로그램 사용/CUPS2018. 12. 20. 14:18

궁금해 하던

#PDF-BANNER

Template

Show 

요녀석의 출처인가?

[링크 : https://www.cups.org/doc/spec-banner.html]


+

2018.12.21

#PDF-BANNER 를 삭제하고 출력하니 그냥 텍스트로 출력된다.


+

2018.12.21

췟 안되잖아!?

pi@raspberrypi:~/src $ cat cups_testpage

#CUPS-BANNER


# What to show on the cover page

Show job-id job-name job-originating-user-name time-at-creation


$ lp cups_testpage

lp: Unsupported document-format "application/vnd.cups-banner".


이미 깔려있고 설치한다고 해서 먼가 달라지진 않는다. cups 설정에서 필터 사용하도록 활성화 하는게 있나?

$ apt-cache search cups-filters

cups-filters - OpenPrinting CUPS Filters - Main Package 

[링크 : https://github.com/apple/cups/issues/5173]

Posted by 구차니
프로그램 사용/CUPS2018. 12. 20. 14:11

특이하게도 아래 명령은 cups 패키지 안깔아도 있네(라즈베리 기준)

아무튼 아래의 명령을 하면 외부에서도 631번 포트를 통해 cups 관리 페이지 접근이 가능해진다.


# cupsctl --remote-admin --remote-any --share-printers 

[링크 : https://askubuntu.com/questions/23936/how-do-you-administer-cups-remotely-using-the-web-interface]

'프로그램 사용 > CUPS' 카테고리의 다른 글

lpoptions 로 기본 프린터 지정하기  (0) 2018.12.21
cups banner file format  (0) 2018.12.20
리눅스에서 프린터 추가  (0) 2018.12.20
cups / lp로 출력하기  (0) 2018.12.18
cups.. 드라이버 경로 print$  (0) 2016.06.16
Posted by 구차니
프로그램 사용/CUPS2018. 12. 20. 14:04

대개 CUPS나

우분투의 프린터 프로그램을 통해서 추가하라고 하네..

일단 콘솔로 추가하는거 찾아 보니 cups를 기반으로 하는 듯..


[링크 : https://blog.ostermiller.org/ubuntu-printer-install-command-line/]

Posted by 구차니
파일방2018. 12. 20. 14:03

cairo 라이브러리로 일일이 그리기에는 귀찮네.. -_-

어떻게 보면 RTF를 직접 코딩하는 느낌?


+

2018.12.21

backend로 ps(post script)를 지원하니

이걸로 출력을 위해 장난질 칠 수 있을 듯


[링크 : https://stackoverflow.com/questions/14518004/linux-cups-printing-example-tutorial]

[링크 : https://www.cairographics.org/manual/]

'파일방' 카테고리의 다른 글

git sourcetree  (0) 2019.01.30
vworld  (0) 2019.01.13
swagger.io  (0) 2018.09.07
차트 관련 자바스크립트  (3) 2018.09.04
웹에서 회면 캡쳐하기  (2) 2018.09.03
Posted by 구차니
Linux API2018. 12. 20. 13:06

lp나 lpr 명령어의 소스코드를 보면 좋을텐데 어디서 구할 수 있으려나?

그나저나.. cups 외에는 프린터 관련 api가 없는건가?


원본링크 깨져서..

[링크 : https://wiki.linuxfoundation.org/images/1/15/Lexington06-cups-api.pdf] 구글 웹캐시

[링크 : https://refspecs.linuxfoundation.org/LSB_3.2.0/LSB-Printing/LSB-Printing/libcupsman.html]

[링크 : http://janaxelson.com/code/printer.c]


+

lpr.c로 검색하니 하나 나오긴 하네.. 얘도 cups api를 쓴 듯?

[링크 : https://opensource.apple.com/source/cups/cups-86/berkeley/lpr.c.auto.html]


+

[링크 : https://github.com/apple/cups]

'Linux API' 카테고리의 다른 글

syslog c api(?)  (0) 2021.02.17
libescp  (0) 2019.01.03
system wait stdout  (0) 2018.10.22
ncurse  (0) 2015.04.27
lirc - linux IR Remote control  (0) 2015.03.31
Posted by 구차니
Programming/node.js2018. 12. 20. 10:53

실행과 정지는 node-red-start / node-red-stop 으로 하고

서비스는 따로 등록을 해주어야 하는 듯

$ node-red

node-red        node-red-log    node-red-pi     node-red-start  node-red-stop 

[링크 : https://wikidocs.net/16817]


http://localhost:1880

[링크 : https://wikidocs.net/16816]


+

node-red MQTT 사용법

[링크 : https://www.clien.net/service/board/lecture/10699234]

'Programming > node.js' 카테고리의 다른 글

node_modules include  (0) 2019.01.29
npm npx yarn bower  (0) 2019.01.28
node-red 자동시작 관련  (0) 2018.12.14
node.js express static  (0) 2018.12.11
node.js sso  (0) 2018.12.11
Posted by 구차니

걍 아이피 주면 될줄 알았는데 그건 dbname으로 인식하고

-h 옵션 뒤에 호스트 아이피나 도메인을 입력하면 된다.

$ mysql -u fooUser -p -h 44.55.66.77 

[링크 : https://support.rackspace.com/how-to/mysql-connect-to-your-database-remotely/]

Posted by 구차니