»Ë»Ñ Æ÷·³

ÇÁ¸°ÅÍ ¼­¹ö ±¸±Û ÇÁ¸°ÅÍ °¡´É(½Ã³î·ÎÁö ¹× Çسî·ÎÁö)3

  • Solaris_ko
  • µî·ÏÀÏ 2019-10-16 10:17
  • Á¶È¸¼ö 2390

ÀÌÀü¿¡ ¿Ã¸° ¶óÁ¸®ÆÄÀ̸¦ È°¿ëÀ» Çß¾ú´Âµ¥¿ä.

 

´õ ½±°Ô ±¸¼ºÀÌ µÇ¾î ¶óÁ¸®ÆÄÀ̸¦ ¹ö¸®°í Ÿ¿À¹ß ³ª½º·Î ±¸¼ºÇغýÀ´Ï´Ù.


 

SSH ¸ðµå ÁøÇà 

 

docker run -d -p 631:631 -v /volume1/docker/cups:/config -v /var/run/dbus:/var/run/dbus --name cupsd --net=host olbat/cupsd

 

http://IPÁÖ¼Ò:631


Administration

À§¿¡ ¶È°°Àº ¸Þ´º Ŭ¸¯ 

¾ÆÀ̵ð ºñ¹Ð¹øÈ£´Â print

Add Printer Ŭ¸¯

 

ÇØ´ç ÇÁ¸°ÅÍ Ãß°¡ÇÏ½Ã¸é µÇ½Ê´Ï´Ù.

´ëºÎºÐ µå¶óÀ̹ö ³ª¿Ã°Å °°½À´Ï´Ù.


docker exec -it cupsd /bin/sh

 

apt update

apt upgrade

apt install google-cloud-print-connector

 

/usr/bin/gcp-connector-util

cp gcp-cups-connector.config.json /config

 

chmod 777 /config/gcp-cups-connector.config.json

apt install nano

 

nano test.sh or vi test.sh

 

#!/bin/bash

case "$1" in

        start)

                kill -9 `ps -ef | grep 'gcp-cups-connector' | awk '{print $2}'`

                rm /tmp/*.sock

                /usr/bin/gcp-cups-connector -config-filename /config/gcp-cups-connecto>

                ;;

        stop)

                kill -9 `ps -ef | grep 'gcp-cups-connector' | awk '{print $2}'`

                rm /tmp/*.sock

                ;;

        *)

                echo "Usage {start|stop}"

        exit 1

        ;;

esac

exit 0

 

vi or nano Á¾·á ¹× ÀúÀå

cp test.sh /config

chmod 777 /config/test.sh

 

ÀÛ¾÷ ½ºÄÉÁÙ·¯¿¡ Ãß°¡

docker exec cupsd /config/test.sh start

 

¶óÁ¸®ÆÄÀÌ´Â ¾Æ·¡ ÀÖÀ¸´Ï Âü°í ÇϽñ⠹ٶø´Ï´Ù.

 

À©µµ¿ì¿¡¼­ Ãß°¡ÇϽǷÁ¸é 

 

http://print:print@IPÁÖ¼Ò:631/printers/ÇÁ¸°ÅÍÀ̸§

 

ÇÁ¸°ÅÍ Ãß°¡ÇϽǶ§ Àú ÁÖ¼Ò·Î Ãß°¡ÇÏ½Ã¸é µÇ½Ê´Ï´Ù.

ÇÁ¸°ÅÍ À̸§Àº 

Printers

µé¾î°¡½Ã¸é ÀÖ½À´Ï´Ù.

 

 

Âü°í»çÇ×

------------------------------------------------------------------------------------------------------

Á¦ ±¸¼ºÀº ÀÌ·¸½À´Ï´Ù.

 

½Ã³î·ÎÁö Á¤Ç°¿¡ ÇÁ¸°Å͸¦ ¿¬°áÇÏ¿´°í Ÿ¿À¹ß ³ª½º·Î °øÀ¯±â´ÉÀ» ÄѼ­ »ç¿ëÁßÀÔ´Ï´Ù.

 

ÀÌ·±½ÄÀ¸·Î »ç¿ëÀ» ÇϽ÷Á¸é ÇÁ¸°ÅÍ Ãß°¡ÇϽǶ§ 

 

¼öµ¿À¸·Î Ãß°¡ÇÏ¼Å¾ß µË´Ï´Ù.

 

LPD/LPR Host or Printer

 

lpd://½Ã³îÁ¤Ç°IP:515/usbprinter1

 

------------------------------------------------------------------------------------------------------

ÀÌÁ¦ ¸ðµç ÄÄÇ»ÅÍ¿¡¼­µµ ¿ÜºÎ¿¡¼­µµ ÇÁ¸°Å͸¦ È°¿ëÇÒ¼öÀÖ½À´Ï´Ù.

 

°³ÀÎÀûÀ¸·Î´Â CUPS ÇÁ¸°ÅÍ ¼­¹ö°¡ ¿¹Àü¿¡´Â º°·Î ÁÁÁö°¡ ¾Ê¾Ò½À´Ï´Ù.

 

Á¤¸» ³ë°¡´Ù¸¦ Çß¾ú´Âµ¥ Áö±ÝÀº ±×·¸Áö ¾Ê¾Æ ÆíÇÕ´Ï´Ù. ´ëºÎºÐ µå¶óÀ̹ö°¡ Áö¿øÀÌ µÇ´Ï ¸»ÀÌÁÒ.

 

°Å±â´Ù°¡ ±¸±Û Ŭ¶ó¿ìµå ÇÁ¸°ÅͱîÁö µÈ´Ù¸é ¿Ø¸¸ÇÑ »ç¹«½Ç »£Ä¡´Â ±¸¼ºÀÌ µÇ°í ½º¸¶Æ®Æù¿¡¼­µµ µÇ´Ï Á¤¸» ÁÁÁö¿ä.

 

¹°·Ð ¿ÍÀÌÆÄÀÌ ¹× ³×Æ®¿öÅ© Áö¿ø ÇÁ¸°Åͱâ±â´Â ÀÌ·±°Å ÇÊ¿ä°¡ ¾ø½À´Ï´Ù.

0
ÃßõÇϱ⠴ٸ¥ÀÇ°ß 0
|
°øÀ¯¹öÆ°

´Ù¸¥ÀÇ°ß 0 Ãßõ 0 ¶Ç°¡°í½Í´Ù

´Ù¸¥ÀÇ°ß 0 Ãßõ 0 Solaris_ko

´Ù¸¥ÀÇ°ß 0 Ãßõ 0 ¶Ç°¡°í½Í´Ù
  • ¾Ë¸² ¿å¼³, »óó ÁÙ ¼ö ÀÖ´Â ¾ÇÇÃÀº »ï°¡ÁÖ¼¼¿ä.
©¹æ »çÁø  
¡â ÀÌÀü±Û¡ä ´ÙÀ½±Û ¸ñ·Ïº¸±â