LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-14-2019, 02:39 PM   #1
hkjz
Member
 
Registered: Apr 2019
Distribution: MX
Posts: 182

Rep: Reputation: Disabled
Printer Drivers : DCP-1512E


Dear All,

how to install drivers on Linux? (MX)
The printer is DCP-1512E

Search Forum doesn't help since there is 504 Gateway Time-out

Drivers are here

https://support.brother.com/g/b/down...512e_eu&os=128

Step by step is here
https://support.brother.com/g/b/down...ng=4&type3=625

But i cannot go through point
Code:
Step6. Run the tool:

Command: bash linux-brprinter-installer-*.*.*-* Brother machine name
e.g. bash linux-brprinter-installer-2.1.1-1 MFC-J880DW
Code:
~/Downloads
$ ls
linux-brprinter-installer-2.2.1-1
Thank you,

Last edited by hkjz; 04-14-2019 at 02:49 PM.
 
Old 04-14-2019, 03:53 PM   #2
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,805

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Since you're using the MX distro, you should probably be installing the .deb files rather than the .gz archive files.

Anyway, for .gz (compressed archive) files, the first step is to extract the payload first...

Code:
gzip -d linux-brprinter-installer-2.2.1-1.gz
 
Old 04-14-2019, 09:52 PM   #3
hkjz
Member
 
Registered: Apr 2019
Distribution: MX
Posts: 182

Original Poster
Rep: Reputation: Disabled
That is done, it is extracted (yes not unmounted) , that was step 3, you can see it through ls command as well.

But those guys - however good job they are doing, by doing manual for Linux people - are referring to 'bash' command, step 6. he?

Last edited by hkjz; 04-15-2019 at 02:29 AM.
 
Old 04-15-2019, 01:38 AM   #4
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,805

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Unmounted? That makes no sense to me - perhaps you meant extracted. Anyway, step 4 is where the extraction command is performed. In an effort to assist (I don't own this hardware), I downloaded and extracted the .gz installer file then ran

Code:
sudo sh /home/dean/Downloads/linux-brprinter-installer-2.2.1-1 MFC-J880DW
This works as well..
Code:
sudo bash /home/dean/Downloads/linux-brprinter-installer-2.2.1-1 MFC-J880DW
This generated the following output...
Code:
You are going to install following packages.
   mfcj880dwlpr-1.0.0-0.i386.rpm
   mfcj880dwcupswrapper-1.0.0-0.i386.rpm
   brscan4-0.4.7-1.x86_64.rpm
   brscan-skey-0.2.4-1.x86_64.rpm
OK? [y/N] ->
Works for me as expected.
 
1 members found this post helpful.
Old 04-15-2019, 02:31 AM   #5
hkjz
Member
 
Registered: Apr 2019
Distribution: MX
Posts: 182

Original Poster
Rep: Reputation: Disabled
Okkkkkk
.
You know, it is possible I didn't put there path like '.'


I didnt know this command till now. Actually it is kind of tricky to find something about it - anytime you research for 'bash Linux' or 'bash command Linux' it will tell you about different commands in bash or sh/bash in Linux. But what is meaning and purpose of bash command as such?

Thank you ferrari

Last edited by hkjz; 04-15-2019 at 02:37 AM.
 
Old 04-15-2019, 02:47 AM   #6
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,727

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
Quote:
Originally Posted by hkjz View Post
Okkkkkk
.
You know, it is possible I didn't put there path like '.'


I didnt know this command till now. Actually it is kind of tricky to find something about it - anytime you research for 'bash Linux' or 'bash command Linux' it will tell you about different commands in bash or sh/bash in Linux. But what is meaning and purpose of bash command as such?

Thank you ferrari
It (.) isn't a command so much as a shortcut for "the directory I'm in"
You can see it when you do an ls -al...you'll get something like
Code:
dr-xr-x---. 24 root root  4096 Apr 12 11:17 .
dr-xr-xr-x. 18 root root  4096 Feb 23 16:02 ..
where . is the directory you're in and .. is one directory higher.
 
1 members found this post helpful.
Old 04-15-2019, 02:57 AM   #7
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,805

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
The man pages are a good place to start...

Code:
man bash
Quote:
DESCRIPTION
Bash is an sh-compatible command language interpreter that executes commands read from the standard input or from a file. Bash
also incorporates useful features from the Korn and C shells (ksh and csh).

Bash is intended to be a conformant implementation of the Shell and Utilities portion of the IEEE POSIX specification (IEEE
Standard 1003.1). Bash can be configured to be POSIX-conformant by default.
The Brother installer is a bash script. Examine it with an editor and you'll see it starts with
Code:
#! /bin/bash
but there are many other shells available, and some *nix OS's may use different shells by default, so specifying bash explicitly ensures the correct interpreter is used.
 
Old 04-15-2019, 03:14 AM   #8
hkjz
Member
 
Registered: Apr 2019
Distribution: MX
Posts: 182

Original Poster
Rep: Reputation: Disabled
'man' would be first of my choice, but actually for a while I won't have access to any linux platform, except Android...

The bash shell info are easy to get,
But somehow I couldn't get info about 'bash' command (as in printer drivers example).

So bash scripts #! /bin/bash are run by using command 'bash',
Is that correct?
 
Old 04-16-2019, 02:12 AM   #9
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,727

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
Quote:
Originally Posted by hkjz View Post
'man' would be first of my choice, but actually for a while I won't have access to any linux platform, except Android...

The bash shell info are easy to get,
But somehow I couldn't get info about 'bash' command (as in printer drivers example).

So bash scripts #! /bin/bash are run by using command 'bash',
Is that correct?
Kind of...if the script starts with
Code:
#!/bin/bash
and is executable, it will be interpreted by bash. It does not need a preceding bash command.
 
Old 04-21-2019, 04:13 AM   #10
hkjz
Member
 
Registered: Apr 2019
Distribution: MX
Posts: 182

Original Poster
Rep: Reputation: Disabled
Ok,
ive came back to the computer with the printer drivers issue,
Im doing installation with code


Code:
sudo sh /home/xl/Downloads/linux-brprinter-installer-2.2.1-1 DCP-1512E
which works - (what command 'SH' stands for?)

and here we go with something which need my attention
Code:
-e -n Will you specify the Device URI? [Y/n] ->
I've press yes and used '15' -> USB


anyways, i cannot print anything - nor test page, nor some random blabla from libreoffice
they are waiting in queue

Last edited by hkjz; 04-21-2019 at 04:14 AM.
 
Old 04-21-2019, 04:22 AM   #11
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,805

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
This command will show the current reported printer status...
Code:
lpstat -t
This will examine the PPD file(s) in the /etc/cups/ppd directory
Code:
egrep -i "name|model|filter" /etc/cups/ppd/*
*From that I can see if the printer driver is configured as expected.

Report back with the output.

You can also put CUPS into debug mode (more verbose error logging) using
Code:
sudo cupsctl --debug-logging
Then send a print job, and examine /var/log/cups/error_log for errors, (in particular filter errors which may be occurring). It's a lengthy file, so be careful to look at the time stamps pertaining to a particular print job and if you want to share the output, upload it to https://pastebin.com/ and share the link to it here.
 
1 members found this post helpful.
Old 04-21-2019, 04:26 AM   #12
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,805

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Quote:
what command 'SH' stands for
A quick google will tell you that eg...
Quote:
sh — shell, the standard command language interpreter
https://linux.die.net/man/1/sh
https://superuser.com/questions/9761...the-sh-command
 
Old 04-29-2019, 05:34 AM   #13
hkjz
Member
 
Registered: Apr 2019
Distribution: MX
Posts: 182

Original Poster
Rep: Reputation: Disabled
Code:
$ lpstat -t
scheduler is running
no system default destination
device for DCP1510: usb://dev/usblp0
DCP1510 accepting requests since , 29  2019, 12:24:35
printer DCP1510 now printing DCP1510-1.  enabled since , 29 2019, 12:24:35
	Waiting for printer to become available.
DCP1510-1               root              1024   2019, 11:09:35
DCP1510-2               mx           7168   11:10:30
DCP1510-3               mx           7168    11:10:54
Code:
$ egrep -i "name|model|filter" /etc/cups/ppd/*
*PCFileName: "DCP1510.PPD"
*cupsModelNumber:       72
*cupsFilter:    "application/vnd.cups-postscript 0 brother_lpdwrapper_DCP1510"
*ModelName: "DCP-1510"
*NickName: "Brother DCP-1510 for CUPS "
*ShortNickName: "Brother DCP-1510"
	/devname (%disk0%) def 
		devname exch 48 add 5 exch put 
		devname devstatus { 
     {(fonts/)AppendName exch pop mark exch
      {}=string filenameforall counttomark
  }=string filenameforall
Code:
$ sudo cupsctl --debug-logging
Code:
$ sudo cat /var/log/cups/error_log
E [25/Apr/2019:15:37:00 +020$ sudo cat /var/log/cups/error_log
E [25/Apr/2019:15:37:00 +0200] [Client 9] Request from "localhost" using invalid Host: field "[v1.::1]:631".
I [29/Apr/2019:12:36:14 +0200] Listening to [v1.::1]:631 (IPv6)
I [29/Apr/2019:12:36:14 +0200] Listening to 127.0.0.1:631 (IPv4)
I [29/Apr/2019:12:36:14 +0200] Listening to /var/run/cups/cups.sock (Domain)
I [29/Apr/2019:12:36:14 +0200] Remote access is disabled.
D [29/Apr/2019:12:36:14 +0200] Added auto ServerAlias comp
I [29/Apr/2019:12:36:14 +0200] Loaded configuration file "/etc/cups/cupsd.conf"
D [29/Apr/2019:12:36:14 +0200] Using keychain "/etc/cups/ssl" for server name "comp".
I [29/Apr/2019:12:36:14 +0200] Configured for up to 100 clients.
I [29/Apr/2019:12:36:14 +0200] Allowing up to 100 client connections per host.
I [29/Apr/2019:12:36:14 +0200] Using policy "default" as the default.
D [29/Apr/2019:12:36:14 +0200] load_ppd: Loading /var/cache/cups/DCP1510.data...
D [29/Apr/2019:12:36:14 +0200] cupsdRegisterPrinter(p=0x555be7518460(DCP1510))
D [29/Apr/2019:12:36:14 +0200] cupsdMarkDirty(--p--)
D [29/Apr/2019:12:36:14 +0200] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs"
I [29/Apr/2019:12:36:14 +0200] Partial reload complete.
D [29/Apr/2019:12:36:14 +0200] Calling FindDeviceById(cups-DCP1510)
D [29/Apr/2019:12:36:14 +0200] FindDeviceById failed: org.freedesktop.ColorManager.NotFound:device id \'cups-DCP1510\' does not exist
D [29/Apr/2019:12:36:14 +0200] Using profile ID "DCP1510-Gray..".
D [29/Apr/2019:12:36:14 +0200] Calling CreateProfile(DCP1510-Gray..,temp)
D [29/Apr/2019:12:36:14 +0200] Created profile "/org/freedesktop/ColorManager/profiles/DCP1510_Gray__".
I [29/Apr/2019:12:36:14 +0200] Registering ICC color profiles for "DCP1510".
D [29/Apr/2019:12:36:14 +0200] Calling CreateDevice(cups-DCP1510,temp)
D [29/Apr/2019:12:36:14 +0200] Created device "/org/freedesktop/ColorManager/devices/cups_DCP1510".
D [29/Apr/2019:12:36:14 +0200] Calling /org/freedesktop/ColorManager/devices/cups_DCP1510:AddProfile(/org/freedesktop/ColorManager/profiles/DCP1510_Gray__) [soft]
I [29/Apr/2019:12:36:15 +0200] Listening to [v1.::1]:631 on fd 7...
I [29/Apr/2019:12:36:15 +0200] Listening to 127.0.0.1:631 on fd 8...
I [29/Apr/2019:12:36:15 +0200] Listening to /var/run/cups/cups.sock on fd 9...
I [29/Apr/2019:12:36:15 +0200] Resuming new connection processing...
D [29/Apr/2019:12:36:15 +0200] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [29/Apr/2019:12:36:15 +0200] Notifier dbus started - PID = 8429
D [29/Apr/2019:12:36:15 +0200] cupsdMarkDirty(----S)
D [29/Apr/2019:12:36:15 +0200] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [29/Apr/2019:12:36:15 +0200] [Notifier] state=3
I [29/Apr/2019:12:36:15 +0200] Expiring subscriptions...
D [29/Apr/2019:12:36:15 +0200] Report: clients=0
D [29/Apr/2019:12:36:15 +0200] Report: jobs=4
D [29/Apr/2019:12:36:15 +0200] Report: jobs-active=4
D [29/Apr/2019:12:36:15 +0200] Report: printers=1
D [29/Apr/2019:12:36:15 +0200] Report: stringpool-string-count=784
D [29/Apr/2019:12:36:15 +0200] Report: stringpool-alloc-bytes=8768
D [29/Apr/2019:12:36:15 +0200] Report: stringpool-total-bytes=13592
D [29/Apr/2019:12:36:15 +0200] PID 8214 (/usr/lib/cups/notifier/dbus) exited with no errors.
D [29/Apr/2019:12:36:15 +0200] [Notifier] Connected to D-BUS
D [29/Apr/2019:12:36:15 +0200] [Notifier] ServerRestarted
D [29/Apr/2019:12:36:15 +0200] [Job 1] libusb_get_device_list=10
D [29/Apr/2019:12:36:15 +0200] [Job 1] Waiting for printer to become available.
I [29/Apr/2019:12:36:16 +0200] Expiring subscriptions...
D [29/Apr/2019:12:36:20 +0200] [Job 1] libusb_get_device_list=10
I [29/Apr/2019:12:36:20 +0200] Expiring subscriptions...
D [29/Apr/2019:12:36:20 +0200] [Job 1] Waiting for printer to become available.
I [29/Apr/2019:12:36:21 +0200] Expiring subscriptions...
D [29/Apr/2019:12:36:25 +0200] [Job 1] libusb_get_device_list=10
I [29/Apr/2019:12:36:25 +0200] Expiring subscriptions...
D [29/Apr/2019:12:36:25 +0200] [Job 1] Waiting for printer to become available.
I [29/Apr/2019:12:36:26 +0200] Expiring subscriptions...
D [29/Apr/2019:12:36:30 +0200] [Job 1] libusb_get_device_list=10
I [29/Apr/2019:12:36:30 +0200] Expiring subscriptions...
D [29/Apr/2019:12:36:30 +0200] [Job 1] Waiting for printer to become available.
I [29/Apr/2019:12:36:31 +0200] Expiring subscriptions...
D [29/Apr/2019:12:36:35 +0200] [Job 1] libusb_get_device_list=10
I [29/Apr/2019:12:36:35 +0200] Expiring subscriptions...
D [29/Apr/2019:12:36:35 +0200] [Job 1] Waiting for printer to become available.
I [29/Apr/2019:12:36:36 +0200] Expiring subscriptions...
D [29/Apr/2019:12:36:40 +0200] [Job 1] libusb_get_device_list=10
I [29/Apr/2019:12:36:40 +0200] Expiring subscriptions...
D [29/Apr/2019:12:36:40 +0200] [Job 1] Waiting for printer to become available.
I [29/Apr/2019:12:36:41 +0200] Expiring subscriptions...
D [29/Apr/2019:12:36:45 +0200] [Job 1] libusb_get_device_list=10
I [29/Apr/2019:12:36:45 +0200] Generating printcap /var/run/cups/printcap...
I [29/Apr/2019:12:36:45 +0200] Saving subscriptions.conf...
D [29/Apr/2019:12:36:46 +0200] cupsdSetBusyState: newbusy="Printing jobs", busy="Printing jobs and dirty files"
I [29/Apr/2019:12:36:46 +0200] Expiring subscriptions...
D [29/Apr/2019:12:36:46 +0200] [Job 1] Waiting for printer to become available.
I [29/Apr/2019:12:36:46 +0200] Expiring subscriptions...
I [29/Apr/2019:12:36:47 +0200] Expiring subscriptions...
D [29/Apr/2019:12:36:50 +0200] [Job 1] libusb_get_device_list=10
I [29/Apr/2019:12:36:50 +0200] Expiring subscriptions...
D [29/Apr/2019:12:36:50 +0200] [Job 1] Waiting for printer to become available.
I [29/Apr/2019:12:36:51 +0200] Expiring subscriptions...
D [29/Apr/2019:12:36:54 +0200] [Client 44] Server address is "/var/run/cups/cups.sock".
D [29/Apr/2019:12:36:54 +0200] [Client 44] Accepted from localhost (Domain)
D [29/Apr/2019:12:36:54 +0200] [Client 44] Waiting for request.
I [29/Apr/2019:12:36:54 +0200] Expiring subscriptions...
D [29/Apr/2019:12:36:54 +0200] cupsdAddCert: Adding certificate for PID 0
D [29/Apr/2019:12:36:54 +0200] [Client 44] POST / HTTP/1.1
D [29/Apr/2019:12:36:54 +0200] cupsdSetBusyState: newbusy="Active clients and printing jobs", busy="Printing jobs"
D [29/Apr/2019:12:36:54 +0200] [Client 44] Read: status=200
D [29/Apr/2019:12:36:54 +0200] [Client 44] No authentication data provided.
D [29/Apr/2019:12:36:54 +0200] [Client 44] 2.0 Get-Notifications 12
D [29/Apr/2019:12:36:54 +0200] Get-Notifications /
D [29/Apr/2019:12:36:54 +0200] cupsdIsAuthorized: requesting-user-name="mx"
D [29/Apr/2019:12:36:54 +0200] [Client 44] Returning IPP successful-ok for Get-Notifications (/) from localhost
D [29/Apr/2019:12:36:54 +0200] [Client 44] Content-Length: 127
D [29/Apr/2019:12:36:54 +0200] [Client 44] cupsdSendHeader: code=200, type="application/ipp", auth_type=0
D [29/Apr/2019:12:36:54 +0200] [Client 44] con->http=0x555be757a070
D [29/Apr/2019:12:36:54 +0200] [Client 44] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=127, response=0x555be75765b0(IPP_STATE_DATA), pipe_pid=0, file=-1
D [29/Apr/2019:12:36:54 +0200] [Client 44] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [29/Apr/2019:12:36:54 +0200] [Client 44] bytes=0, http_state=0, data_remaining=127
D [29/Apr/2019:12:36:54 +0200] [Client 44] Flushing write buffer.
D [29/Apr/2019:12:36:54 +0200] [Client 44] New state is HTTP_STATE_WAITING
D [29/Apr/2019:12:36:54 +0200] [Client 44] Waiting for request.
D [29/Apr/2019:12:36:54 +0200] cupsdSetBusyState: newbusy="Printing jobs", busy="Active clients and printing jobs"
D [29/Apr/2019:12:36:54 +0200] [Client 44] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [29/Apr/2019:12:36:54 +0200] [Client 44] Closing connection.
D [29/Apr/2019:12:36:54 +0200] cupsdSetBusyState: newbusy="Printing jobs", busy="Printing jobs"
I [29/Apr/2019:12:36:55 +0200] Expiring subscriptions...
D [29/Apr/2019:12:36:55 +0200] [Job 1] libusb_get_device_list=10
D [29/Apr/2019:12:36:55 +0200] [Job 1] Waiting for printer to become available.
I [29/Apr/2019:12:36:56 +0200] Expiring subscriptions...
D [29/Apr/2019:12:37:00 +0200] [Job 1] libusb_get_device_list=10
I [29/Apr/2019:12:37:00 +0200] Expiring subscriptions...
D [29/Apr/2019:12:37:00 +0200] [Job 1] Waiting for printer to become available.
I [29/Apr/2019:12:37:01 +0200] Expiring subscriptions...
D [29/Apr/2019:12:37:05 +0200] [Job 1] libusb_get_device_list=10
I [29/Apr/2019:12:37:05 +0200] Expiring subscriptions...
D [29/Apr/2019:12:37:05 +0200] [Job 1] Waiting for printer to become available.
I [29/Apr/2019:12:37:06 +0200] Expiring subscriptions...
D [29/Apr/2019:12:37:09 +0200] [Client 45] Server address is "/var/run/cups/cups.sock".
D [29/Apr/2019:12:37:09 +0200] [Client 45] Accepted from localhost (Domain)
D [29/Apr/2019:12:37:09 +0200] [Client 45] Waiting for request.
I [29/Apr/2019:12:37:09 +0200] Expiring subscriptions...
D [29/Apr/2019:12:37:09 +0200] [Client 45] POST / HTTP/1.1
D [29/Apr/2019:12:37:09 +0200] cupsdSetBusyState: newbusy="Active clients and printing jobs", busy="Printing jobs"
D [29/Apr/2019:12:37:09 +0200] [Client 45] Read: status=200
D [29/Apr/2019:12:37:09 +0200] [Client 45] No authentication data provided.
D [29/Apr/2019:12:37:09 +0200] [Client 45] 2.0 CUPS-Get-Printers 1
D [29/Apr/2019:12:37:09 +0200] CUPS-Get-Printers
D [29/Apr/2019:12:37:09 +0200] [Client 45] Returning IPP successful-ok for CUPS-Get-Printers (no URI) from localhost
D [29/Apr/2019:12:37:09 +0200] [Client 45] Content-Length: 8317
D [29/Apr/2019:12:37:09 +0200] [Client 45] cupsdSendHeader: code=200, type="application/ipp", auth_type=0
D [29/Apr/2019:12:37:09 +0200] [Client 45] con->http=0x555be757a070
D [29/Apr/2019:12:37:09 +0200] [Client 45] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=8317, response=0x555be7579f40(IPP_STATE_DATA), pipe_pid=0, file=-1
D [29/Apr/2019:12:37:09 +0200] [Client 45] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [29/Apr/2019:12:37:09 +0200] [Client 45] bytes=0, http_state=0, data_remaining=8317
D [29/Apr/2019:12:37:09 +0200] [Client 45] Flushing write buffer.
D [29/Apr/2019:12:37:09 +0200] [Client 45] New state is HTTP_STATE_WAITING
D [29/Apr/2019:12:37:09 +0200] [Client 45] Waiting for request.
D [29/Apr/2019:12:37:09 +0200] cupsdSetBusyState: newbusy="Printing jobs", busy="Active clients and printing jobs"
D [29/Apr/2019:12:37:09 +0200] [Client 45] POST / HTTP/1.1
D [29/Apr/2019:12:37:09 +0200] cupsdSetBusyState: newbusy="Active clients and printing jobs", busy="Printing jobs"
D [29/Apr/2019:12:37:09 +0200] [Client 45] Read: status=200
D [29/Apr/2019:12:37:09 +0200] [Client 45] No authentication data provided.
D [29/Apr/2019:12:37:09 +0200] [Client 45] 2.0 CUPS-Get-Classes 1
D [29/Apr/2019:12:37:09 +0200] CUPS-Get-Classes
D [29/Apr/2019:12:37:09 +0200] [Client 45] Returning IPP successful-ok for CUPS-Get-Classes (no URI) from localhost
D [29/Apr/2019:12:37:09 +0200] [Client 45] Content-Length: 75
D [29/Apr/2019:12:37:09 +0200] [Client 45] cupsdSendHeader: code=200, type="application/ipp", auth_type=0
D [29/Apr/2019:12:37:09 +0200] [Client 45] con->http=0x555be757a070
D [29/Apr/2019:12:37:09 +0200] [Client 45] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=75, response=0x555be751b900(IPP_STATE_DATA), pipe_pid=0, file=-1
D [29/Apr/2019:12:37:09 +0200] [Client 45] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [29/Apr/2019:12:37:09 +0200] [Client 45] bytes=0, http_state=0, data_remaining=75
D [29/Apr/2019:12:37:09 +0200] [Client 45] Flushing write buffer.
D [29/Apr/2019:12:37:09 +0200] [Client 45] New state is HTTP_STATE_WAITING
D [29/Apr/2019:12:37:09 +0200] [Client 45] Waiting for request.
D [29/Apr/2019:12:37:09 +0200] cupsdSetBusyState: newbusy="Printing jobs", busy="Active clients and printing jobs"
D [29/Apr/2019:12:37:09 +0200] [Client 45] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [29/Apr/2019:12:37:09 +0200] [Client 45] Closing connection.
D [29/Apr/2019:12:37:09 +0200] cupsdSetBusyState: newbusy="Printing jobs", busy="Printing jobs"
I [29/Apr/2019:12:37:10 +0200] Expiring subscriptions...
D [29/Apr/2019:12:37:10 +0200] [Job 1] libusb_get_device_list=10
D [29/Apr/2019:12:37:10 +0200] [Job 1] Waiting for printer to become available.
Thank you Ferrari,
all four commands output are here
thank you for the shell links too

Last edited by hkjz; 04-29-2019 at 06:32 AM.
 
Old 04-29-2019, 09:31 PM   #14
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,805

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Unfortunately, the error_log snippet you've shared doesn't suggest any issues. It doesn't show the filter chain messaging associated with a print job.
 
1 members found this post helpful.
Old 04-30-2019, 03:00 AM   #15
hkjz
Member
 
Registered: Apr 2019
Distribution: MX
Posts: 182

Original Poster
Rep: Reputation: Disabled
What I found helpful,
is the script for installing drivers with packaged, written by usr Felix

https://forum.mxlinux.org/viewtopic....447475#p447475

At the moment
i can print office and pdfs, but cannot print secured pdfs

Last edited by hkjz; 04-30-2019 at 10:23 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Brother DCP-J4110DW printer-Drivers Nuffield Linux - Newbie 2 02-06-2015 06:59 PM
brother dcp-1000 printer prkn8tr Linux - Hardware 6 08-14-2007 03:03 AM
Brother DCP-110C Printer/Scanner Installation Issues Maxwell Rain Mandriva 4 08-08-2005 03:09 PM
New brother DCP 110C printer not working CUPS babil Linux - Hardware 8 07-03-2005 07:24 AM
Brother Printer/Scanner DCP-110C Installation Issues Maxwell Rain Linux - Hardware 1 10-31-2004 05:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration