Код: Выделить всё
make config-recursive -C /usr/ports/print/cups-base
Код: Выделить всё
make install clean -C /usr/ports/print/cups-base
Модератор: f0s
Код: Выделить всё
make config-recursive -C /usr/ports/print/cups-base
Код: Выделить всё
make install clean -C /usr/ports/print/cups-base
Везде советуют проверять кабель, в другой порт втыкать и т.п. Это всё делал. Пробовал разные кабеля (5 м и 1.8 м), в винде при подключении ими принтера работает без проблем. Мать новая, портов USB 1.1 нет. Системой принтер определяется:Waiting for printer to become available.
Код: Выделить всё
Oct 3 19:06:37 KOREICY-BSD kernel: ugen0.2: <Samsung Electronics Co., Ltd.> at usbus0
Oct 3 19:06:37 KOREICY-BSD kernel: ulpt0: <Samsung Electronics Co., Ltd. ML-1640 Series, class 0/0, rev 1.10/1.00, addr 2> on usbus0
Oct 3 19:06:37 KOREICY-BSD kernel: ulpt0: using bi-directional mode
Код: Выделить всё
FreeBSD KOREICY-BSD 10.1-BETA3 FreeBSD 10.1-BETA3 #0: Sun Sep 28 23:12:15 MSK 2014 kor@KOREICY-BSD:/usr/obj/usr/src/sys/BSD amd64
Код: Выделить всё
dbus_enable="YES"
avahi_daemon_enable="YES"
cupsd_enable="YES"
Код: Выделить всё
34 1 0xffffffff80ca1000 3f48 uhid.ko
35 1 0xffffffff80ca5000 3410 amdtemp.ko
36 1 0xffffffff80ca9000 aeb0 uhci.ko
37 1 0xffffffff80cb4000 a3f0 ohci.ko
38 1 0xffffffff80cbf000 d058 ehci.ko
39 1 0xffffffff80ccd000 d138 xhci.ko
40 1 0xffffffff80cdb000 7ee0 kbdmux.ko
41 3 0xffffffff80ce3000 6ca28 vboxdrv.ko
42 2 0xffffffff80e11000 29b2 vboxnetflt.ko
43 2 0xffffffff80e14000 9158 netgraph.ko
44 1 0xffffffff80e1e000 1602 ng_ether.ko
45 1 0xffffffff80e20000 3f64 vboxnetadp.ko
46 1 0xffffffff80f58000 15b4 fdescfs.ko
47 1 0xffffffff80f5a000 ed7 ulpt.ko
Код: Выделить всё
cups-base-1.7.3_1 Common UNIX Printing System: Server
cups-client-1.7.3_2 Common UNIX Printing System: Library cups
cups-image-1.7.3_1 Common UNIX Printing System: Library cupsimage
splix-2.0.0_6 CUPS printer drivers for Samsung Printer Language printers
gutenprint-base-5.2.10 GutenPrint Printer Driver
Код: Выделить всё
# Printer configuration file for CUPS v1.7.3
# Written by cupsd on 2014-10-03 18:59
# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
<DefaultPrinter ml1640>
UUID urn:uuid:63231b61-6fee-3594-523b-4b678fdd1ba8
Info Samsung ML-1240 gdi
MakeModel Samsung ML-1640, SpliX V. 2.0.0
DeviceURI usb:/dev/ulpt0
State Idle
StateTime 1412339045
Type 12372
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>
Код: Выделить всё
# Show troubleshooting information in error_log.
LogLevel debug
# Allow remote access
Port 631
Listen /var/run/cups.sock
# Share local printers on the local network.
Browsing Off
BrowseLocalProtocols
DefaultAuthType Basic
WebInterface Yes
<Location />
# Allow shared printing...
Order allow,deny
Allow all
</Location>
<Location /admin>
AuthType Default
</Location>
<Location /admin/conf>
AuthType Default
Require user @SYSTEM
</Location>
<Policy default>
JobPrivateAccess default
JobPrivateValues default
SubscriptionPrivateAccess default
SubscriptionPrivateValues default
<Limit Create-Job Print-Job Print-URI Validate-Job>
Order deny,allow
</Limit>
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
<Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
<Limit CUPS-Authenticate-Job>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit All>
Order deny,allow
</Limit>
</Policy>
<Policy authenticated>
JobPrivateAccess default
JobPrivateValues default
SubscriptionPrivateAccess default
SubscriptionPrivateValues default
<Limit Create-Job Print-Job Print-URI Validate-Job>
AuthType Default
Order deny,allow
</Limit>
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
AuthType Default
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
<Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
<Limit Cancel-Job CUPS-Authenticate-Job>
AuthType Default
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit All>
Order deny,allow
</Limit>
</Policy>
Код: Выделить всё
crw-rw---- 1 root cups 0x78 3 окт 19:06 /dev/ulpt0
Код: Выделить всё
D [03/Oct/2014:19:35:52 +0600] [Client 13] POST /printers/ml1640 HTTP/1.1
D [03/Oct/2014:19:35:52 +0600] cupsdSetBusyState: newbusy="Active clients, printing jobs, and dirty files", busy="Printing jobs and dirty files"
D [03/Oct/2014:19:35:52 +0600] [Client 13] No authentication data provided.
D [03/Oct/2014:19:35:52 +0600] [Client 13] 1.0 Get-Printer-Attributes 11
D [03/Oct/2014:19:35:52 +0600] Get-Printer-Attributes http://192.168.1.240:631/printers/ml1640
D [03/Oct/2014:19:35:52 +0600] [Client 13] Returning IPP successful-ok for Get-Printer-Attributes (http://192.168.1.240:631/printers/ml1640) from 192.168.1.114
D [03/Oct/2014:19:35:52 +0600] [Client 13] Content-Length: 6735
D [03/Oct/2014:19:35:52 +0600] [Client 13] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=6735, response=0x8040ae2c0(IPP_IDLE), pipe_pid=0, file=-1
D [03/Oct/2014:19:35:52 +0600] [Client 13] Writing IPP response, ipp_state=DATA, old wused=0, new wused=0
D [03/Oct/2014:19:35:52 +0600] [Client 13] bytes=0, http_state=0, data_remaining=0
D [03/Oct/2014:19:35:52 +0600] [Client 13] Waiting for request.
D [03/Oct/2014:19:35:52 +0600] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Active clients, printing jobs, and dirty files"
D [03/Oct/2014:19:35:52 +0600] [Client 13] POST /printers/ml1640 HTTP/1.1
D [03/Oct/2014:19:35:52 +0600] cupsdSetBusyState: newbusy="Active clients, printing jobs, and dirty files", busy="Printing jobs and dirty files"
D [03/Oct/2014:19:35:52 +0600] [Client 13] No authentication data provided.
D [03/Oct/2014:19:35:52 +0600] [Client 13] 1.0 Get-Jobs 10
D [03/Oct/2014:19:35:52 +0600] Get-Jobs http://192.168.1.240:631/printers/ml1640
D [03/Oct/2014:19:35:52 +0600] [Client 13] Returning IPP successful-ok for Get-Jobs (http://192.168.1.240:631/printers/ml1640) from 192.168.1.114
D [03/Oct/2014:19:35:52 +0600] [Client 13] Content-Length: 843
D [03/Oct/2014:19:35:52 +0600] [Client 13] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=843, response=0x8040ae2c0(IPP_IDLE), pipe_pid=0, file=-1
D [03/Oct/2014:19:35:52 +0600] [Client 13] Writing IPP response, ipp_state=DATA, old wused=0, new wused=0
D [03/Oct/2014:19:35:52 +0600] [Client 13] bytes=0, http_state=0, data_remaining=0
D [03/Oct/2014:19:35:52 +0600] [Client 13] Waiting for request.
D [03/Oct/2014:19:35:52 +0600] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Active clients, printing jobs, and dirty files"
D [03/Oct/2014:19:35:57 +0600] [Job 8] libusb_get_device_list=0
I [03/Oct/2014:19:35:57 +0600] Saving job.cache...
D [03/Oct/2014:19:35:57 +0600] cupsdSetBusyState: newbusy="Printing jobs", busy="Printing jobs and dirty files"
I [03/Oct/2014:19:35:57 +0600] [Job 8] Waiting for printer to become available.
D [03/Oct/2014:19:36:02 +0600] [Job 8] libusb_get_device_list=0
I [03/Oct/2014:19:36:02 +0600] [Job 8] Waiting for printer to become available.
Код: Выделить всё
WITHOUT_LPR="YES"
Код: Выделить всё
cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Active clients, printing jobs, and dirty files"
Код: Выделить всё
/usr/ports/print/gutenprint-foomatic
Код: Выделить всё
Port: splix-2.0.0_4
Path: /usr/ports/print/splix
Info: CUPS printer drivers for Samsung Printer Language printers
Код: Выделить всё
FreeBSD bsd_vii 10.1-RELEASE FreeBSD 10.1-RELEASE #1: Tue Nov 25 15:03:28 MSK 2014 vitya@bsd_vii:/usr/obj/usr/src/sys/VITYA_VII amd64
Код: Выделить всё
dmesg | grep -i HP
ls /dev/ | grep lpt
Код: Выделить всё
ls /dev/ | grep lpt
ulpt0
unlpt0
Код: Выделить всё
dmesg | grep ulpt0
Код: Выделить всё
usb:/dev/ulpt0
Кстати я на своей машине вижу, что драйвера под ваш принтер в природе есть и не только там:vitya_vii писал(а):за тык на вкладке добавление принтера во вкладке локальный принтер нечего нету
посмотрел в инете что драйвера на мой МФУ есть в этом порте /usr/ports/print/hplip
Код: Выделить всё
HP LaserJet 3055 CUPS+Gutenprint v5.2.8 (en)
Код: Выделить всё
cd /usr/ports/ && make search name=gutenprint
Код: Выделить всё
# dmesg | grep ulpt0
ulpt0: <1284.4 Printer> on usbus0
ulpt0: using bi-directional mode
Код: Выделить всё
localhost - - [25/Nov/2014:20:19:16 +0300] "POST /admin/ HTTP/1.1" 401 332 CUPS-Add-Modify-Printer successful-ok
192.168.250.2 - - [25/Nov/2014:20:19:16 +0300] "POST /admin HTTP/1.1" 401 1538 - -
192.168.250.2 - - [25/Nov/2014:20:19:16 +0300] "POST /admin HTTP/1.1" 200 1538 - -
192.168.250.2 - root [25/Nov/2014:20:19:16 +0300] "POST /admin HTTP/1.1" 200 1538 - -
localhost - - [25/Nov/2014:20:19:16 +0300] "POST /admin/ HTTP/1.1" 401 332 CUPS-Add-Modify-Printer successful-ok
localhost - root [25/Nov/2014:20:19:16 +0300] "POST /admin/ HTTP/1.1" 200 332 CUPS-Add-Modify-Printer successful-ok
192.168.250.2 - root [25/Nov/2014:20:19:16 +0300] "POST /admin HTTP/1.1" 200 23575 - -
192.168.250.2 - root [25/Nov/2014:20:19:32 +0300] "POST /admin HTTP/1.1" 200 664 - -
localhost - - [25/Nov/2014:20:19:32 +0300] "POST /admin/ HTTP/1.1" 401 166378 CUPS-Add-Modify-Printer successful-ok
localhost - root [25/Nov/2014:20:19:32 +0300] "POST /admin/ HTTP/1.1" 200 166378 CUPS-Add-Modify-Printer successful-ok
192.168.250.2 - root [25/Nov/2014:20:19:32 +0300] "POST /admin HTTP/1.1" 200 2994 - -
192.168.250.2 - root [25/Nov/2014:20:28:29 +0300] "POST /admin/ HTTP/1.1" 200 60 - -
localhost - - [25/Nov/2014:20:28:29 +0300] "POST / HTTP/1.1" 401 91 CUPS-Get-Devices successful-ok
localhost - root [25/Nov/2014:20:28:29 +0300] "POST / HTTP/1.1" 200 1348 CUPS-Get-Devices -
192.168.250.2 - root [25/Nov/2014:20:28:29 +0300] "POST /admin/ HTTP/1.1" 200 3368 - -
192.168.250.2 - root [25/Nov/2014:20:31:31 +0300] "POST /admin/ HTTP/1.1" 200 83 - -
localhost - - [25/Nov/2014:20:31:31 +0300] "POST / HTTP/1.1" 401 91 CUPS-Get-Devices successful-ok
localhost - root [25/Nov/2014:20:31:31 +0300] "POST / HTTP/1.1" 200 1348 CUPS-Get-Devices -
192.168.250.2 - root [25/Nov/2014:20:31:31 +0300] "POST /admin/ HTTP/1.1" 200 3604 - -
192.168.250.2 - root [25/Nov/2014:20:31:37 +0300] "POST /admin HTTP/1.1" 200 115 - -
192.168.250.2 - root [25/Nov/2014:20:31:37 +0300] "POST /admin HTTP/1.1" 200 3588 - -
192.168.250.2 - root [25/Nov/2014:20:31:48 +0300] "POST /admin HTTP/1.1" 200 101 - -
192.168.250.2 - root [25/Nov/2014:20:31:48 +0300] "POST /admin HTTP/1.1" 200 3145 - -
192.168.250.2 - root [25/Nov/2014:20:31:58 +0300] "POST /admin HTTP/1.1" 200 115 - -
192.168.250.2 - root [25/Nov/2014:20:31:58 +0300] "POST /admin HTTP/1.1" 200 3588 - -
192.168.250.2 - root [25/Nov/2014:20:32:03 +0300] "POST /admin HTTP/1.1" 200 204 - -
localhost - - [25/Nov/2014:20:32:03 +0300] "POST / HTTP/1.1" 200 249026 CUPS-Get-PPDs -
192.168.250.2 - root [25/Nov/2014:20:32:03 +0300] "POST /admin HTTP/1.1" 200 96613 - -
192.168.250.2 - root [25/Nov/2014:20:32:14 +0300] "POST /admin HTTP/1.1" 200 1431 - -
localhost - - [25/Nov/2014:20:32:14 +0300] "POST /admin/ HTTP/1.1" 401 319 CUPS-Add-Modify-Printer successful-ok
localhost - root [25/Nov/2014:20:32:14 +0300] "POST /admin/ HTTP/1.1" 200 319 CUPS-Add-Modify-Printer successful-ok
192.168.250.2 - root [25/Nov/2014:20:32:14 +0300] "POST /admin HTTP/1.1" 200 3672 - -
192.168.250.2 - root [25/Nov/2014:20:47:38 +0300] "POST /admin/ HTTP/1.1" 200 60 - -
localhost - - [25/Nov/2014:20:47:38 +0300] "POST / HTTP/1.1" 401 91 CUPS-Get-Devices successful-ok
localhost - root [25/Nov/2014:20:47:38 +0300] "POST / HTTP/1.1" 200 1348 CUPS-Get-Devices -
192.168.250.2 - root [25/Nov/2014:20:47:38 +0300] "POST /admin/ HTTP/1.1" 200 3368 - -
Код: Выделить всё
E [25/Nov/2014:16:17:21 +0300] Unable to create master DNS-SD reference: -65563
E [25/Nov/2014:16:17:29 +0300] [CGI] Unable to create service connection: No such file or directory
E [25/Nov/2014:16:17:29 +0300] [cups-deviced] PID 40745 (dnssd) stopped with status 1!
E [25/Nov/2014:16:17:50 +0300] [CGI] Unable to create service connection: No such file or directory
E [25/Nov/2014:16:17:50 +0300] [cups-deviced] PID 40767 (dnssd) stopped with status 1!
E [25/Nov/2014:16:30:44 +0300] cupsdLoadBanners: Unable to open banner directory "/usr/local/share/cups/banners": No such file or directory
E [25/Nov/2014:16:30:47 +0300] Unable to create master DNS-SD reference: -65563
E [25/Nov/2014:16:30:57 +0300] [CGI] Unable to create service connection: No such file or directory
E [25/Nov/2014:16:30:57 +0300] [cups-deviced] PID 90760 (dnssd) stopped with status 1!
E [25/Nov/2014:16:33:18 +0300] [CGI] Unable to create service connection: No such file or directory
E [25/Nov/2014:16:33:18 +0300] [cups-deviced] PID 90820 (dnssd) stopped with status 1!
E [25/Nov/2014:16:33:26 +0300] [CGI] Unable to create service connection: No such file or directory
E [25/Nov/2014:16:33:26 +0300] [cups-deviced] PID 90834 (dnssd) stopped with status 1!
E [25/Nov/2014:16:35:33 +0300] cupsdLoadBanners: Unable to open banner directory "/usr/local/share/cups/banners": No such file or directory
E [25/Nov/2014:16:35:36 +0300] Unable to create master DNS-SD reference: -65563
E [25/Nov/2014:16:37:51 +0300] [CGI] Unable to create service connection: No such file or directory
E [25/Nov/2014:16:37:51 +0300] [cups-deviced] PID 1323 (dnssd) stopped with status 1!
E [25/Nov/2014:16:38:05 +0300] [CGI] Unable to create service connection: No such file or directory
E [25/Nov/2014:16:38:05 +0300] [cups-deviced] PID 1339 (dnssd) stopped with status 1!
E [25/Nov/2014:17:29:27 +0300] [CGI] Unable to create service connection: No such file or directory
E [25/Nov/2014:17:29:27 +0300] [cups-deviced] PID 5685 (dnssd) stopped with status 1!
E [25/Nov/2014:18:02:53 +0300] cupsdLoadBanners: Unable to open banner directory "/usr/local/share/cups/banners": No such file or directory
E [25/Nov/2014:18:02:56 +0300] Unable to create master DNS-SD reference: -65563
E [25/Nov/2014:19:03:47 +0300] cupsdLoadBanners: Unable to open banner directory "/usr/local/share/cups/banners": No such file or directory
E [25/Nov/2014:19:03:51 +0300] Unable to create master DNS-SD reference: -65563
E [25/Nov/2014:19:34:41 +0300] [CGI] Unable to create service connection: No such file or directory
E [25/Nov/2014:19:34:41 +0300] [cups-deviced] PID 1579 (dnssd) stopped with status 1!
E [25/Nov/2014:19:49:29 +0300] [CGI] Unable to create service connection: No such file or directory
E [25/Nov/2014:19:49:29 +0300] [cups-deviced] PID 23044 (dnssd) stopped with status 1!
E [25/Nov/2014:19:51:35 +0300] [CGI] Unable to create service connection: No such file or directory
E [25/Nov/2014:19:51:35 +0300] [cups-deviced] PID 23589 (dnssd) stopped with status 1!
E [25/Nov/2014:20:15:04 +0300] cupsdLoadBanners: Unable to open banner directory "/usr/local/share/cups/banners": No such file or directory
E [25/Nov/2014:20:15:07 +0300] Unable to create master DNS-SD reference: -65563
E [25/Nov/2014:20:15:13 +0300] [CGI] Unable to create service connection: No such file or directory
E [25/Nov/2014:20:15:13 +0300] [cups-deviced] PID 87253 (dnssd) stopped with status 1!
E [25/Nov/2014:20:15:20 +0300] [CGI] Unable to create service connection: No such file or directory
E [25/Nov/2014:20:15:20 +0300] [cups-deviced] PID 87270 (dnssd) stopped with status 1!
E [25/Nov/2014:20:26:22 +0300] cupsdLoadBanners: Unable to open banner directory "/usr/local/share/cups/banners": No such file or directory
E [25/Nov/2014:20:26:25 +0300] Unable to create master DNS-SD reference: -65563
E [25/Nov/2014:20:28:32 +0300] [CGI] Unable to create service connection: No such file or directory
E [25/Nov/2014:20:28:32 +0300] [cups-deviced] PID 1321 (dnssd) stopped with status 1!
E [25/Nov/2014:20:31:34 +0300] [CGI] Unable to create service connection: No such file or directory
E [25/Nov/2014:20:31:34 +0300] [cups-deviced] PID 1374 (dnssd) stopped with status 1!
E [25/Nov/2014:20:47:41 +0300] [CGI] Unable to create service connection: No such file or directory
E [25/Nov/2014:20:47:41 +0300] [cups-deviced] PID 1519 (dnssd) stopped with status 1!
Код: Выделить всё
usbconfig list
ugen0.1: <EHCI root HUB Intel> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)
ugen1.1: <EHCI root HUB Intel> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)
ugen0.2: <product 0x0024 vendor 0x8087> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)
ugen1.2: <product 0x0024 vendor 0x8087> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)
ugen0.3: <HP LaserJet 3055 Hewlett-Packard> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (2mA)
Код: Выделить всё
sane-find-scanner -q
found USB scanner (vendor=0x03f0 [Hewlett-Packard], product=0x3417 [HP LaserJet 3055]) at libusb:/dev/usb:/dev/ugen0.3
Код: Выделить всё
192.168.250.2 - root [25/Nov/2014:22:46:03 +0300] "POST /admin HTTP/1.1" 200 2419 - -
localhost - - [25/Nov/2014:22:46:09 +0300] "POST /printers/1 HTTP/1.1" 200 406 Print-Job successful-ok
Код: Выделить всё
E [25/Nov/2014:22:50:18 +0300] Unable to create master DNS-SD reference: -65563
Код: Выделить всё
1 root 7 [25/Nov/2014:22:46:10 +0300] 1 1 - localhost Test Page - -
Код: Выделить всё
lpstat -d -p
Код: Выделить всё
# lpstat -d -p
no system default destination
printer 1 now printing 1-7. enabled since Tue Nov 25 22:50:50 2014
Waiting for printer to become available.
Код: Выделить всё
echo 111 | /usr/local/bin/lp
Код: Выделить всё
? ID ? Название Пользователь Размер Страниц Статус Управление
1-9 Неизвестное Приостановлено пользователем 1k 1 Создано
Tue Nov 25 23:11:46 2014
"Waiting for printer to become available."
Код: Выделить всё
echo 111 | /usr/local/bin/lp