[SOLVED] Printer no longer Printing

You have a problem with Salix? Post here and we'll do what we can to help.
User avatar
Atip
Posts: 539
Joined: 5. Jun 2011, 04:27

[SOLVED] Printer no longer Printing

Post by Atip »

For what-so-ever reason my printer will just not print any more.
I tried all kind of settings, nothing works.

Code: Select all

lpq
Brother_DCP-385C is ready
no entries

Code: Select all

cat file | lpr
lpq
Brother_DCP-385C is ready
no entries
In cups website printing a test page I get in Jobs:
Brother_DCP-385C-100 Unknown Withheld 1k Unknown completed at
Sat 15 Aug 2015 10:05:06 AM
and nothing ist printed.

The last lines of the Error Log from cups for this job are

Code: Select all

D [15/Aug/2015:10:43:27 +0800] [CGI] /usr/share/cups/drivers/pscript5.dll: No such file or directory
D [15/Aug/2015:10:43:27 +0800] cupsdReadClient: 16 POST / HTTP/1.1
D [15/Aug/2015:10:43:27 +0800] cupsdSetBusyState: newbusy="Active clients", busy="Active clients"
D [15/Aug/2015:10:43:27 +0800] cupsdAuthorize: No authentication data provided.
D [15/Aug/2015:10:43:27 +0800] cupsdReadClient: 16 1.1 Get-Subscriptions 1
D [15/Aug/2015:10:43:27 +0800] Get-Subscriptions ipp://localhost/
D [15/Aug/2015:10:43:27 +0800] Get-Subscriptions client-error-not-found: No subscriptions found.
D [15/Aug/2015:10:43:27 +0800] Returning IPP client-error-not-found for Get-Subscriptions (ipp://localhost/) from localhost
D [15/Aug/2015:10:43:27 +0800] cupsdSetBusyState: newbusy="Active clients", busy="Active clients"
D [15/Aug/2015:10:43:27 +0800] [CGI] cgiSetVariable: SERVER_NAME="localhost"
D [15/Aug/2015:10:43:27 +0800] [CGI] cgiSetVariable: REMOTE_USER="root"
D [15/Aug/2015:10:43:27 +0800] [CGI] cgiSetVariable: CUPS_VERSION="CUPS v1.5.4"
D [15/Aug/2015:10:43:27 +0800] [CGI] cgiSetVariable: TITLE="Administration"
D [15/Aug/2015:10:43:27 +0800] [CGI] cgiSetVariable: SERVER_NAME="localhost"
D [15/Aug/2015:10:43:27 +0800] [CGI] cgiSetVariable: REMOTE_USER="root"
D [15/Aug/2015:10:43:27 +0800] [CGI] cgiSetVariable: CUPS_VERSION="CUPS v1.5.4"
D [15/Aug/2015:10:43:27 +0800] cupsdReadClient: 16 WAITING Closing on EOF
D [15/Aug/2015:10:43:27 +0800] cupsdCloseClient: 16
D [15/Aug/2015:10:43:27 +0800] cupsdSetBusyState: newbusy="Active clients", busy="Active clients"
D [15/Aug/2015:10:43:27 +0800] PID 8137 (/usr/lib/cups/cgi-bin/admin.cgi) exited with no errors.
D [15/Aug/2015:10:43:27 +0800] Script header: Content-Type: text/html;charset=utf-8
D [15/Aug/2015:10:43:27 +0800] Script header: 
D [15/Aug/2015:10:43:27 +0800] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
D [15/Aug/2015:10:43:30 +0800] cupsdReadClient: 12 GET /admin/log/error_log HTTP/1.1
D [15/Aug/2015:10:43:30 +0800] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
D [15/Aug/2015:10:43:30 +0800] cupsdAuthorize: Authorized as root using Basic
In system-config-printer again no test page is being printed.
troubleshoot file opening lines:

Code: Select all

Page 1 (Scheduler not running?):     
{'cups_connection_failure': False}   
Page 2 (Is local server publishing?):
{'local_server_exporting_printers': False}
Page 3 (Choose printer):
{'cups_dest': <cups.Dest Brother-DCP-385C (default)>,
 'cups_instance': None,
 'cups_queue': 'Brother-DCP-385C',
 'cups_queue_listed': True}   
Page 4 (Check printer sanity):
{'cups_device_uri_scheme': u'usb',
 'cups_printer_dict': {'device-uri': u'usb://Brother/DCP-385C?serial=BROL8F326376',
                       'printer-info': u'Brother DCP-385C',
                       'printer-is-shared': True,
                       'printer-location': u'',
                       'printer-make-and-model': u'Brother DCP-385C CUPS v1.1',
                       'printer-state': 3,
                       'printer-state-message': u'Sending data to printer.',
                       'printer-state-reasons': [u'none'],
                       'printer-type': 8556620,
                       'printer-uri-supported': u'ipp://localhost:631/printers/Brother-DCP-385C'},
 'cups_printer_remote': False,
 'is_cups_class': False,
 'local_cups_queue_attributes': {'auth-info-required': u'none', 
                                 'charset-configured': u'utf-8',
                                 'charset-supported': [u'us-ascii', u'utf-8'],
                                 'color-supported': True,
                                 'compression-supported': [u'none', u'gzip'],
                                 'copies-default': 1,
                                 'copies-supported': (1, 9999),
                                 'cups-version': u'1.5.4',
                                 'device-uri': u'usb://Brother/DCP-385C?serial=BROL8F326376'
the last 20 lines of troublshoot file

Code: Select all


'D [15/Aug/2015:10:52:27 +0800] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"',
               'D [15/Aug/2015:10:52:27 +0800] cupsdReadClient: 24 POST / HTTP/1.1',
               'D [15/Aug/2015:10:52:27 +0800] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"',
               'D [15/Aug/2015:10:52:27 +0800] cupsdAuthorize: Authorized as user using PeerCred',
               'D [15/Aug/2015:10:52:27 +0800] cupsdReadClient: 24 1.1 Cancel-Subscription 1',
               'D [15/Aug/2015:10:52:27 +0800] Cancel-Subscription /',
               'D [15/Aug/2015:10:52:27 +0800] cupsdIsAuthorized: username="user"',
               'D [15/Aug/2015:10:52:27 +0800] cupsdMarkDirty(-----S)',
               'D [15/Aug/2015:10:52:27 +0800] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients"',
               'D [15/Aug/2015:10:52:27 +0800] Returning IPP successful-ok for Cancel-Subscription (/) from localhost',
               'D [15/Aug/2015:10:52:27 +0800] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"',
               'D [15/Aug/2015:10:52:27 +0800] cupsdAcceptClient: 27 from localhost (Domain)',
               'D [15/Aug/2015:10:52:27 +0800] cupsdReadClient: 27 GET /admin/log/error_log HTTP/1.1',
               'D [15/Aug/2015:10:52:27 +0800] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Dirty files"',
               'D [15/Aug/2015:10:52:27 +0800] cupsdAuthorize: No authentication data provided.']}
Page 13 (Locale issues):
{'printer_page_size': u'Letter',
 'system_locale_lang': None,
 'user_locale_ctype': 'en_US',
 'user_locale_messages': 'en_US'}
For me to print now I have to change to another slack distro which I am testing. Not really ideal. However, it shows my printer is working.

How could I get the printer in Salix to print again?
Last edited by Atip on 19. Aug 2015, 04:01, edited 1 time in total.
User avatar
laprjns
Salix Warrior
Posts: 1113
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: Printer no longer Printing

Post by laprjns »

Check your cups configuration file (/etc/cups/cupsd.conf) to see that it still has the wheel group in the SystemGroup directive. It should look like this:

Code: Select all

SystemGroup sys root wheel
If the wheel group is not there then you most likely accepted the configuration file (via dotnew) after the cups package was upgraded back on July 7.
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
User avatar
Atip
Posts: 539
Joined: 5. Jun 2011, 04:27

Re: Printer no longer Printing

Post by Atip »

laprjns wrote:Check your cups configuration file (/etc/cups/cupsd.conf) to see that it still has the wheel group in the SystemGroup directive. It should look like this:

Code: Select all

SystemGroup sys root wheel
If the wheel group is not there then you most likely accepted the configuration file (via dotnew) after the cups package was upgraded back on July 7.
I had done that. Nothing doing.

I copied cupsd.conf and printerns.conf over from the slack distro where the printer is working.
Added wheels. Nothing doing. I copied the entire /etc/cups over from that distro over. No printing.

My entire printing system acts as if it woud be printing or that all the settings point to printing. By now I have 115 jobs showing as completed, yet none did print.

Where is the hang-up?
User avatar
ibka
Posts: 159
Joined: 12. Sep 2010, 13:14
Location: Sweden
Contact:

Re: Printer no longer Printing

Post by ibka »

Try to run cups-genppdupdate as root.
Image
User avatar
Atip
Posts: 539
Joined: 5. Jun 2011, 04:27

Re: Printer no longer Printing

Post by Atip »

ibka wrote:Try to run cups-genppdupdate as root.
/quote]
sudo /usr/sbin/cups-genppdupdate
Did not update any PPD files
[/quote]

Now I changed to another kernel-3.18.11-smp still not printing. :?: :?: :?:
User avatar
laprjns
Salix Warrior
Posts: 1113
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: Printer no longer Printing

Post by laprjns »

Atip wrote:
laprjns wrote:I copied cupsd.conf and printerns.conf over from the slack distro where the printer is working. Added wheels. Nothing doing. I copied the entire /etc/cups over from that distro over. No printing.
I assume you did restart the cups service after doing this.
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
User avatar
Atip
Posts: 539
Joined: 5. Jun 2011, 04:27

Re: Printer no longer Printing

Post by Atip »

laprjns wrote:
Atip wrote:
laprjns wrote:I copied cupsd.conf and printerns.conf over from the slack distro where the printer is working. Added wheels. Nothing doing. I copied the entire /etc/cups over from that distro over. No printing.
I assume you did restart the cups service after doing this.
Of cause ;-)
djemos
Salix Warrior
Posts: 1464
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: Printer no longer Printing

Post by djemos »

In case you mixed up new cups package from slackware current , qpdf is needed to be able to print along with cups-fliters package.
If you don't then forget this post.
User avatar
Atip
Posts: 539
Joined: 5. Jun 2011, 04:27

Re: Printer no longer Printing

Post by Atip »

djemos wrote:In case you mixed up new cups package from slackware current , qpdf is needed to be able to print along with cups-fliters package.
If you don't then forget this post.
I have a libqpdf file in ./usr/lib.

Booted into live Slackel Openbox. No printing there as well. From this attempt I have a troublshoot.txt file available.

The moment I boot into distro partition with VL-7.1 32bit I can print instantly.
User avatar
Atip
Posts: 539
Joined: 5. Jun 2011, 04:27

Re: Printer no longer Printing

Post by Atip »

A last try.

On my IDE HD I have an unused partion with Salix-14.0 installed. At least that what
/etc/slackware-version says. I revived this partion now and booted into it.

And printers will not print. :?: :twisted:

There is one difference so from my current working box, command "lpq" does show the
print queues.
Post Reply