postscript (2) 썸네일형 리스트형 [SO번역] CUPS 시스템에서 포스트 스크립트 드라이버 출력을 가로채기 https://stackoverflow.com/questions/42154774/intercepting-a-postscript-driver-output-on-a-cups-system CUPS 시스템에서 포스트 스크립트 드라이버 출력을 가로채기 질문 : Linux PC 에서 CUPS 를 사용한다. CUPS 로 연결된 프린터가 있다. CUPS 드라이버가 생성해서 프린터로 보내는 PostScript 문서를 얻어내는 게 가능할까? 답변 : 1. 프린터큐를 정지시키고, /var/spool/cups 에 있는 작업파일을 가져오라는 조언은 좀 부족하다. - 그 파일은 (포스트 스크립트) 프린터로 보내지는 작업파일이 **아니다**. - 그 파일은 CUPS 에게 (어플리케이션으로부터) 전달되는 원래형식의 작업파일이다. C.. [PS] 포스트스크립트로 프랙탈 트리 그리기 포스트 스크립트 예제 책을 좀 보다가 재미있는 게 있어서 예제를 아주 살짝 변형해서 그려 봄. 소스를 프린터로 쏘니까 프린터가 그걸 알아먹고 예쁜 그림을 그려주는 게 신기했음. %%-- variables and procedures /depth 0 def /maxdepth 14 def /down { /depth depth 1 add def } def /up { /depth depth 1 sub def } def % print a vertical line /DoLine { 0 144 rlineto currentpoint stroke translate 0 0 moveto } def /FracArrow { % reduce scale gsave .7 .7 scale 10 setlinewidth down DoLin.. 이전 1 다음