Показать статистику
0 голосов
от (160 баллов)

Обновил ubuntu от версии 16.04 до 18.04 и теперь возникла проблема, что принтер перестал печатать. До этого норм все печатал. Сейчас файлы в очередь как бы становятся, но сама печать не идет и все. Как исправить?

Вот что видно в логах:

nuga99@mycloudpc:/var/log/cups$ tail error_log

    I [22/Oct/2018:17:10:45 +1000] Expiring subscriptions...
    D [22/Oct/2018:17:10:45 +1000] [Client 121] con->http=0x5573beab3140
    D [22/Oct/2018:17:10:45 +1000] [Client 121] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=106, response=0x5573bea747d0(IPP_STATE_DATA), pipe_pid=0, file=-1
    D [22/Oct/2018:17:10:45 +1000] [Client 121] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
    D [22/Oct/2018:17:10:45 +1000] [Client 121] bytes=0, http_state=0, data_remaining=106
    D [22/Oct/2018:17:10:45 +1000] [Client 121] Flushing write buffer.
    D [22/Oct/2018:17:10:45 +1000] [Client 121] New state is HTTP_STATE_WAITING
    D [22/Oct/2018:17:10:45 +1000] [Client 121] Waiting for request.
    D [22/Oct/2018:17:10:45 +1000] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"
    I [22/Oct/2018:17:10:46 +1000] Expiring subscriptions...
    D [22/Oct/2018:17:11:01 +1000] [Client 121] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
    D [22/Oct/2018:17:11:01 +1000] [Client 121] Closing connection.
976 просмотров 1 ответов

1 Ответ

0 голосов
от (17.4тыс. баллов)

У меня была аналогичная проблема. На ответ наткнулся в инете. 

Причем у меня еще вдобавок были такие сообщения в /var/log/cups/error_log:

Started filter pstops (PID 16389)    
./base/gsicc_manage.c:1244: gsicc_open_search(): Could not find default_gray.icc    
./base/gsicc_manage.c:2261: gsicc_init_iccmanager(): cannot find default icc profile   
./base/gsicc_manage.c:1244: gsicc_open_search(): Could not find default_rgb.icc    
./base/gsicc_manage.c:2025: gsicc_set_device_profile(): cannot find device profile   
**** Unable to open the initial device, quitting.   

Решилось следующими командами:

sudo rmdir /usr/share/ghostscript/9.25/iccprofiles   
sudo apt-get install --reinstall libgs9-common  
...