You are not logged in.

#1 2020-03-30 17:08:26

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,129

Cannot print "some" PDF files

System:    Host: sector11 Kernel: 5.5.13-xanmod1 x86_64 bits: 64 compiler: gcc v: 9.3.0 
           Desktop: Openbox 3.6.1 dm: startx Distro: Debian GNU/Linux 10 (buster)

Printer is a Brother HL-1100

 30 Mar 20 @ 13:39:44 ~
   $ ser brlaser
alias ser = aptitude search
i   printer-driver-brlaser                         - printer driver for (some) Brother laser printers         
 
 30 Mar 20 @ 13:39:52 ~
   $ sho printer-driver-brlaser
alias = aptitude show filename
Package: printer-driver-brlaser   
Version: 4-1
State: installed
Automatically installed: no
Priority: optional
Section: text
Maintainer: Debian Printing Team <debian-printing@lists.debian.org>
Architecture: amd64
Uncompressed Size: 66.6 k
Depends: libc6 (>= 2.14), libcups2 (>= 1.4.0), libcupsimage2 (>= 1.4.0), libgcc1 (>= 1:3.0), libstdc++6 (>=
         5.2)
Description: printer driver for (some) Brother laser printers
 CUPS filter driver supporting (some) Brother laser printer. 
 
 This driver is known to support these printers: 
 * Brother DCP-7030 
 * Brother DCP-7065DN 
   
 This package contains the CUPS filter driver for the supported laser printers.
Homepage: https://github.com/pdewacht/brlaser

Actually that driver supports more printers than that.

My printer can print: text files, LO files, and most PDF files.

However lately my bills that come in PDF forum will not print.

Older ones do so just fine or PDF's I create.

Any ideas / help appreciated.

======================================
EDIT:  Oh for the Sid driver:

Package: printer-driver-brlaser (6-1 and others)

printer driver for (some) Brother laser printers
CUPS filter driver supporting (some) Brother laser printer.
This driver has been reported to work with these printers:

* Brother DCP-1510
* Brother DCP-1602
* Brother DCP-7030
* Brother DCP-7040
* Brother DCP-7055
* Brother DCP-7055W
* Brother DCP-7060D
* Brother DCP-7065DN
* Brother DCP-7080
* Brother DCP-L2500D
* Brother DCP-L2540DW
* Brother HL-1110 series
* Brother HL-1200 series
* Brother HL-L2300D series
* Brother HL-L2320D series
* Brother HL-L2340D series
* Brother HL-L2360D series
* Brother MFC-1910W
* Brother MFC-7240
* Brother MFC-7360N
* Brother MFC-7365DN
* Brother MFC-7840W
* Brother MFC-L2710DW
* Lenovo M7605D

Last edited by Sector11 (2020-03-30 17:12:04)


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.

Offline

#2 2020-03-30 18:58:16

DeepDayze
Member
From: In Linux Land
Registered: 2017-05-28
Posts: 860

Re: Cannot print "some" PDF files

Have you tried opening the PDFs in Document Viewer and printing from there?


Real Men Use Linux

Offline

#3 2020-03-30 19:04:14

unklar
Member
Registered: 2015-10-31
Posts: 1,143

Re: Cannot print "some" PDF files

^You can try to get an error message.
Terminal:

sudo journalctl -af

ENTER and leave open

Then you open an old, working pdf file and send it to the printer for printing. Copy the for this purpose in addition incoming messages.

Then do the same with one of the non-functioning pdf-files.
Compare the messages appearing here with the messages from above.

Last edited by unklar (2020-03-30 19:08:38)

Offline

#4 2020-03-30 19:06:02

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,129

Re: Cannot print "some" PDF files

DeepDayze wrote:

Have you tried opening the PDFs in Document Viewer and printing from there?

What is "Document Viewer" ?


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.

Offline

#5 2020-03-30 19:18:45

iMBeCil
WAAAT?
From: Edrychwch o'ch cwmpas
Registered: 2015-09-29
Posts: 767

Re: Cannot print "some" PDF files

To chime in: 'Document Viewer' is actually synonym for Evince, at least most of the time ...


Postpone all your duties; if you die, you won't have to do them ..

Offline

#6 2020-03-30 19:20:33

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,129

Re: Cannot print "some" PDF files

unklar wrote:

^You can try to get an error message.
Terminal:

sudo journalctl -af

ENTER and leave open

OH OH!  That opened a can of worms:

-- Logs begin at Mon 2020-03-30 14:59:06 -03. --
Mar 30 16:11:03 sector11 kernel: evbug: Event. Dev: input7, Type: 1, Code: 9, Value: 1
Mar 30 16:11:03 sector11 kernel: evbug: Event. Dev: input7, Type: 0, Code: 0, Value: 0
Mar 30 16:11:03 sector11 kernel: evbug: Event. Dev: input7, Type: 4, Code: 4, Value: 458789
Mar 30 16:11:03 sector11 kernel: evbug: Event. Dev: input7, Type: 1, Code: 9, Value: 0
Mar 30 16:11:03 sector11 kernel: evbug: Event. Dev: input7, Type: 0, Code: 0, Value: 0
Mar 30 16:11:04 sector11 kernel: evbug: Event. Dev: input7, Type: 4, Code: 4, Value: 458792
Mar 30 16:11:04 sector11 kernel: evbug: Event. Dev: input7, Type: 1, Code: 28, Value: 1
Mar 30 16:11:04 sector11 kernel: evbug: Event. Dev: input7, Type: 0, Code: 0, Value: 0
Mar 30 16:11:04 sector11 sudo[4442]: sector11 : TTY=pts/0 ; PWD=/home/sector11 ; USER=root ; COMMAND=/bin/journalctl -af
Mar 30 16:11:04 sector11 sudo[4442]: pam_unix(sudo:session): session opened for user root by (uid=0)
Mar 30 16:11:04 sector11 kernel: evbug: Event. Dev: input7, Type: 4, Code: 4, Value: 458792
Mar 30 16:11:04 sector11 kernel: evbug: Event. Dev: input7, Type: 1, Code: 28, Value: 0
Mar 30 16:11:04 sector11 kernel: evbug: Event. Dev: input7, Type: 0, Code: 0, Value: 0
Mar 30 16:11:04 sector11 brltty[696]: DBus error: send message: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service file
Mar 30 16:11:04 sector11 brltty[696]: brltty: DBus error: send message: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service file
Mar 30 16:11:09 sector11 brltty[696]: DBus error: send message: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service file
Mar 30 16:11:09 sector11 brltty[696]: brltty: DBus error: send message: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service file
Mar 30 16:11:14 sector11 brltty[696]: DBus error: send message: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service file
Mar 30 16:11:14 sector11 brltty[696]: brltty: DBus error: send message: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service file
Mar 30 16:11:19 sector11 brltty[696]: DBus error: send message: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service file
Mar 30 16:11:19 sector11 brltty[696]: brltty: DBus error: send message: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service file
Mar 30 16:11:24 sector11 brltty[696]: DBus error: send message: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service file
Mar 30 16:11:24 sector11 brltty[696]: brltty: DBus error: send message: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service file
Mar 30 16:11:29 sector11 brltty[696]: DBus error: send message: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service file
Mar 30 16:11:29 sector11 brltty[696]: brltty: DBus error: send message: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service file
Mar 30 16:11:34 sector11 brltty[696]: DBus error: send message: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service file
Mar 30 16:11:34 sector11 brltty[696]: brltty: DBus error: send message: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service file
Mar 30 16:11:39 sector11 kernel: evbug: Event. Dev: input2, Type: 2, Code: 0, Value: 1
Mar 30 16:11:39 sector11 kernel: evbug: Event. Dev: input2, Type: 2, Code: 1, Value: 1
Mar 30 16:11:39 sector11 kernel: evbug: Event. Dev: input2, Type: 0, Code: 0, Value: 0
Mar 30 16:11:39 sector11 kernel: evbug: Event. Dev: input2, Type: 2, Code: 0, Value: 1

{snip a couple of thoousand lines}

-- Logs begin at Mon 2020-03-30 14:59:06 -03. --
Mar 30 16:11:03 sector11 kernel: evbug: Event. Dev: input7, Type: 1, Code: 9, Value: 1
Mar 30 16:11:03 sector11 kernel: evbug: Event. Dev: input7, Type: 0, Code: 0, Value: 0
Mar 30 16:11:03 sector11 kernel: evbug: Event. Dev: input7, Type: 4, Code: 4, Value: 458789
Mar 30 16:11:03 sector11 kernel: evbug: Event. Dev: input7, Type: 1, Code: 9, Value: 0
Mar 30 16:11:03 sector11 kernel: evbug: Event. Dev: input7, Type: 0, Code: 0, Value: 0
Mar 30 16:11:04 sector11 kernel: evbug: Event. Dev: input7, Type: 4, Code: 4, Value: 458792
Mar 30 16:11:04 sector11 kernel: evbug: Event. Dev: input7, Type: 1, Code: 28, Value: 1
Mar 30 16:11:04 sector11 kernel: evbug: Event. Dev: input7, Type: 0, Code: 0, Value: 0
Mar 30 16:11:04 sector11 sudo[4442]: sector11 : TTY=pts/0 ; PWD=/home/sector11 ; USER=root ; COMMAND=/bin/journalctl -af
Mar 30 16:11:04 sector11 sudo[4442]: pam_unix(sudo:session): session opened for user root by (uid=0)
Mar 30 16:11:04 sector11 kernel: evbug: Event. Dev: input7, Type: 4, Code: 4, Value: 458792
Mar 30 16:11:04 sector11 kernel: evbug: Event. Dev: input7, Type: 1, Code: 28, Value: 0
Mar 30 16:11:04 sector11 kernel: evbug: Event. Dev: input7, Type: 0, Code: 0, Value: 0
Mar 30 16:11:04 sector11 brltty[696]: DBus error: send message: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service file
Mar 30 16:11:04 sector11 brltty[696]: brltty: DBus error: send message: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service file
Mar 30 16:11:09 sector11 brltty[696]: DBus error: send message: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service file
Mar 30 16:11:09 sector11 brltty[696]: brltty: DBus error: send message: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service file
Mar 30 16:11:14 sector11 brltty[696]: DBus error: send message: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service file
Mar 30 16:11:14 sector11 brltty[696]: brltty: DBus error: send message: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service file
Mar 30 16:11:19 sector11 brltty[696]: DBus error: send message: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service file
Mar 30 16:11:19 sector11 brltty[696]: brltty: DBus error: send message: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service file
Mar 30 16:11:24 sector11 brltty[696]: DBus error: send message: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service file
Mar 30 16:11:24 sector11 brltty[696]: brltty: DBus error: send message: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service file
Mar 30 16:11:29 sector11 brltty[696]: DBus error: send message: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service file
Mar 30 16:11:29 sector11 brltty[696]: brltty: DBus error: send message: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service file
Mar 30 16:11:34 sector11 brltty[696]: DBus error: send message: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service file
Mar 30 16:11:34 sector11 brltty[696]: brltty: DBus error: send message: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service file
Mar 30 16:11:39 sector11 kernel: evbug: Event. Dev: input2, Type: 2, Code: 0, Value: 1
Mar 30 16:11:39 sector11 kernel: evbug: Event. Dev: input2, Type: 2, Code: 1, Value: 1
Mar 30 16:11:39 sector11 kernel: evbug: Event. Dev: input2, Type: 0, Code: 0, Value: 0
Mar 30 16:11:39 sector11 kernel: evbug: Event. Dev: input2, Type: 2, Code: 0, Value: 1

Seriously that last like was line 2001 in the text file

I have NO bluez ... ripped it out not needed!

 30 Mar 20 @ 16:16:07 ~
   $ ser bluez
alias ser = aptitude search
p   bluez                                          - Bluetooth tools and daemons                              
p   bluez-cups                                     - Bluetooth printer driver for CUPS                        
p   bluez-firmware                                 - Firmware for Bluetooth devices                           
p   bluez-hcidump                                  - Analyses Bluetooth HCI packets                           
p   bluez-obexd                                    - bluez obex daemon                                        
p   bluez-test-scripts                             - test scripts of bluez                                    
p   bluez-test-tools                               - test tools of bluez                                      
p   bluez-tools                                    - Set of tools to manage Bluetooth devices for linux       
p   libkf5bluezqt-data                             - data files for bluez-qt                                  
p   libkf5bluezqt-dev                              - development files for bluez-qt                           
p   libkf5bluezqt-doc                              - documentation files for bluez-qt                         
p   libkf5bluezqt6                                 - Qt wrapper for bluez                                     
p   python-bluez                                   - Python 2 wrappers around BlueZ for rapid bluetooth develo
v   python2.7-bluez                                -                                                          
p   python3-bluez                                  - Python 3 wrappers around BlueZ for rapid bluetooth develo
v   python3.6-bluez                                -                                                          
v   python3.7-bluez                                -                                                          
p   qml-module-org-kde-bluezqt                     - QML wrapper for bluez                                    
 
 30 Mar 20 @ 16:16:21 ~
   $ 

The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.

Offline

#7 2020-03-30 19:37:09

iMBeCil
WAAAT?
From: Edrychwch o'ch cwmpas
Registered: 2015-09-29
Posts: 767

Re: Cannot print "some" PDF files

@Sector: to try to help you on your original question ... As your printer is printing most of the PDFs, I would blame the actual PDF which cannot be printed, instead of the printer driver.

I have had several such cases, and often the solution included performing a few conversion like 'pdf -> ps -> pdf', something like this:

$ pdf2ps unprintable.pdf tmp.ps
$ ps2pdf tmp.ps printable.pdf

and, voila, you should have the 'printable.pdf' file, hopefully printable on your printer. ('pdf2ps' and 'ps2pdf' are little programs included in ghostscript suite, which you should already have installed with linux printer system.)

Reason for this is that the pdf original creator (probably some home-made software) creates not-quite-proper pdf, and this can confuse printer driver (which in your case includes the so called 'ghostscript' 'filter' - don't ask, this is printer drivers and CUPS lingo I have been forced to understand some time ago).

Of course, I can offer you to inspect the PDF file in question by myself, but I suspect it includes sensitive information you are not willing to share with me (which is completely understandable).


Postpone all your duties; if you die, you won't have to do them ..

Offline

#8 2020-03-30 19:38:00

unklar
Member
Registered: 2015-10-31
Posts: 1,143

Re: Cannot print "some" PDF files

Sector11 wrote:
{snip a couple of thoousand lines}

lol  lol  at my come only adding four or six lines  a time...   



and, no, bluez has nothing to do with printing a pdf, unless your printer is a bluetooth

So, unfortunately, no error message.  hmm
Have you, who does NOT print, taken a close look at their properties ?


ps: Ah, just what the good, old iMBeCiL says...   big_smile

Last edited by unklar (2020-03-30 19:43:19)

Offline

#9 2020-03-30 19:59:13

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 1,205

Re: Cannot print "some" PDF files

Sector11 wrote:

However lately my bills that come in PDF forum will not print.

Sector11 wrote:
DeepDayze wrote:

Have you tried opening the PDFs in Document Viewer and printing from there?

What is "Document Viewer" ?

Just how are you trying to print them then? Which application?

These pdf's are being emailed to you?

You can always save the file and try printing from the command line:

lpr -P <printer name> file.pdf

<printer name> will be whatever you named the printer when you installed it.


You must unlearn what you have learned.
    -- yoda

Offline

#10 2020-03-30 20:34:56

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,129

Re: Cannot print "some" PDF files

iMBeCil wrote:

To chime in: 'Document Viewer' is actually synonym for Evince, at least most of the time ...

Tried:
Evince
Atrilxpdf
muPDF
Okular - yes even installed that hoping
LO - Presentation I believe
ImageMagick

nothing will print out my phone bill nor my medical provider bill.
I have a feeling when Endenor or others come it it will be the same thing.


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.

Offline

#11 2020-03-30 20:57:52

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,129

Re: Cannot print "some" PDF files

PackRat wrote:
Sector11 wrote:

However lately my bills that come in PDF forum will not print.

Sector11 wrote:
DeepDayze wrote:

Have you tried opening the PDFs in Document Viewer and printing from there?

What is "Document Viewer" ?

Just how are you trying to print them then? Which application?

These pdf's are being emailed to you?

You can always save the file and try printing from the command line:

lpr -P <printer name> file.pdf

<printer name> will be whatever you named the printer when you installed it.

Files are either:

1 sent as attachments in email - open and print - normally it works
2. link to a file on the web - pop up says Open with [Atril] and print
- - or save to disk, then open and save.




 30 Mar 20 @ 17:45:21 ~
   $ lpr -P Brother-HL-1110 lprtest.txt
lpr: Brother-HL-1110: unknown printer
 
 30 Mar 20 @ 17:45:30 ~
   $ 

lpr is installed
2020-03-30-174741-S11.jpg

As I said: It will print text files, LO files and a lot of old PDFs.

IF I import the PDF to an LO file (Draw) and save it, then open it  - it will not print that file.
Printer does a "tick" sound and nothing


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.

Offline

#12 2020-03-30 22:26:33

damo
....moderator....
Registered: 2015-08-20
Posts: 5,988

Re: Cannot print "some" PDF files

You can get the name of the printer with

lpstat -e

Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#13 2020-03-30 22:36:48

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,129

Re: Cannot print "some" PDF files

iMBeCil wrote:

@Sector: to try to help you on your original question ... As your printer is printing most of the PDFs, I would blame the actual PDF which cannot be printed, instead of the printer driver.

I have had several such cases, and often the solution included performing a few conversion like 'pdf -> ps -> pdf', something like this:

$ pdf2ps unprintable.pdf tmp.ps
$ ps2pdf tmp.ps printable.pdf

and, voila, you should have the 'printable.pdf' file, hopefully printable on your printer. ('pdf2ps' and 'ps2pdf' are little programs included in ghostscript suite, which you should already have installed with linux printer system.)

Reason for this is that the pdf original creator (probably some home-made software) creates not-quite-proper pdf, and this can confuse printer driver (which in your case includes the so called 'ghostscript' 'filter' - don't ask, this is printer drivers and CUPS lingo I have been forced to understand some time ago).

Of course, I can offer you to inspect the PDF file in question by myself, but I suspect it includes sensitive information you are not willing to share with me (which is completely understandable).

did it twice

 30 Mar 20 @ 19:17:39 ~
   $ pdf2ps Personal.pdf personal-tmp.ps
 
 30 Mar 20 @ 19:18:45 ~
   $ ps2pdf personal-tmp.ps personal.pdf

tried Atril:  atril personal.pdf

printer went "tick" green light blinked a few times - stopped ... did not print

Rried a second time:

 30 Mar 20 @ 19:19:54 ~
   $ pdf2ps personal.pdf person-tmp.ps
 
 30 Mar 20 @ 19:21:57 ~
   $ ps2pdf person-tmp.ps personall.pdf

then: atril personall.pdf

printer went "tick" green light blinked a few times - stopped ... did not print

GRRRRR ... it's my phone bill not something I want public and the other my Health insurance.  big_smile

I think it has to do with the "limitations of the driver"  my actual printer is not listed in there ... but it is in SIDs driver.  And adding the "386 architecture" and running the drivers from brother does not work well with buster.  sad


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.

Offline

#14 2020-03-30 22:39:04

damo
....moderator....
Registered: 2015-08-20
Posts: 5,988

Re: Cannot print "some" PDF files

How about printing a screenshot of the pdfs?


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#15 2020-03-31 03:03:02

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,129

Re: Cannot print "some" PDF files

damo wrote:

You can get the name of the printer with

lpstat -e

But I already know it:

 31 Mar 20 @ 00:00:57 ~
   $ lpstat -e
Brother-HL-1110
PDF
 
 31 Mar 20 @ 00:00:59 ~
   $ 

The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.

Offline

#16 2020-03-31 03:05:51

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,129

Re: Cannot print "some" PDF files

damo wrote:

How about printing a screenshot of the pdfs?

will not print.

Put screen captures in an OO file and try printing - no go.

Other images in an OO file print fine

I think I'm haunted.


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.

Offline

#17 2020-03-31 04:41:11

damo
....moderator....
Registered: 2015-08-20
Posts: 5,988

Re: Cannot print "some" PDF files

I think printing is voodoo. In the past when I have got that ominous "click", I delete the printer and add it again. That usually works for me hmm


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#18 2020-03-31 18:30:39

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,129

Re: Cannot print "some" PDF files

damo wrote:

I think printing is voodoo. In the past when I have got that ominous "click", I delete the printer and add it again. That usually works for me hmm

At least half a dozen times and quite possibly more.   sad


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.

Offline

#19 2020-03-31 19:11:42

DeepDayze
Member
From: In Linux Land
Registered: 2017-05-28
Posts: 860

Re: Cannot print "some" PDF files

Those Brother drivers are hit or miss in my opinion, as once owned a Brother MFC465CN printer and the driver for that model sometimes segfaults when printing pdf's.


Real Men Use Linux

Offline

#20 2020-03-31 21:02:09

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,129

Re: Cannot print "some" PDF files

Yea, I'm getting to the point I'm sure I'll hear: "OH, brother, don't tell me you actually bought a Brother printer!"

HP would have cost more but I bet I would not have had this problem.


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.

Offline

#21 2020-03-31 22:09:59

twoion
ほやほや
Registered: 2015-08-10
Posts: 2,780

Re: Cannot print "some" PDF files

This looks like the CUPS filter or PPD shipped by Brother is broken in some way by the PDF documents you're submitting to it. Likely the company who bills you changed their method of making PDFs. Unless you want to dive deep into debugging consumer-level printer "drivers"/CUPS filters/PPDs, you could rasterize the PDF to an image yourself and print the image. Does this work:

pdftocairo -png your.pdf # pdftocairo is from the poppler package and will render all PDF pages to PNG
convert *.png out.pdf # join all PNGs into a single PDF file, from imagemagick

The disadvantage of course is that you might have to tweak "pdftocairo" and "convert" page sizes / dpi numbers as rasterizing makes the document lose the advantages of vector fonts and vector graphics. But you might have a chance of printing the modified PDF. THe tools have simple help texts, check them out.


Out of curiosity: When it does not print, what does /var/log/cups/error_log have to say on the matter?

The only real way to tell if the PDFs themselves are somehow funny or wrong would be using a preflight tool on the PDFs, for example Adobe Acrobat Preflight.


Per aspera ad astra.

Offline

#22 2020-04-01 20:07:09

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,129

Re: Cannot print "some" PDF files

^^^^ OOPS!  Hit [Preview] vs [Submit] thank goodness for textarea cache
==================================
@ twoion

Thanks will check it out

Out of curiosity: When it does not print, what does /var/log/cups/error_log have to say on the matter?

W [01/Apr/2020:00:00:35 -0300] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [01/Apr/2020:00:00:35 -0300] CreateDevice failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [01/Apr/2020:00:00:35 -0300] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [01/Apr/2020:00:00:35 -0300] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [01/Apr/2020:00:00:35 -0300] CreateDevice failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [01/Apr/2020:09:34:31 -0300] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [01/Apr/2020:09:34:31 -0300] CreateDevice failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [01/Apr/2020:09:34:31 -0300] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [01/Apr/2020:09:34:31 -0300] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [01/Apr/2020:09:34:31 -0300] CreateDevice failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files

?? ColorManager ??

=============================================

And now look at this.  Will GUGL how to fix this OOPS! and see what happens:
S11-2020-04-01-165837.jpg


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.

Offline

#23 2020-04-01 20:11:27

DeepDayze
Member
From: In Linux Land
Registered: 2017-05-28
Posts: 860

Re: Cannot print "some" PDF files

Sector11 wrote:

Yea, I'm getting to the point I'm sure I'll hear: "OH, brother, don't tell me you actually bought a Brother printer!"

HP would have cost more but I bet I would not have had this problem.

I own an HP printer now and it has been flawlessly printing PDF's as their CUPS printer driver is more robust than Brother's. Perhaps your next printer should be an HP wink


Real Men Use Linux

Offline

#24 2020-04-01 20:42:47

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,129

Re: Cannot print "some" PDF files

My next printer WILL BE an HP.  I switched from HP to Epson back in the 19's and was Epson all the way until I realized almost I always printed in B&W, but paying a fortune for colour cartridges so decided on a monochrome laser printer.

The difference in price between an HP and a Brother was about 35-40% less for Brother.  It's been working fine since early BL days.  Added 386 architecture and used Brother drivers from their site.  Did not work in Buster.  Downloaded the Debian file:  printer-driver-brlaser  worked fine for a while then  OOPS!


W [01/Apr/2020:00:00:35 -0300] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [01/Apr/2020:00:00:35 -0300] CreateDevice failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [01/Apr/2020:00:00:35 -0300] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [01/Apr/2020:00:00:35 -0300] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [01/Apr/2020:00:00:35 -0300] CreateDevice failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [01/Apr/2020:09:34:31 -0300] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [01/Apr/2020:09:34:31 -0300] CreateDevice failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [01/Apr/2020:09:34:31 -0300] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [01/Apr/2020:09:34:31 -0300] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [01/Apr/2020:09:34:31 -0300] CreateDevice failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
E [01/Apr/2020:17:14:01 -0300] [Client 105] Returning HTTP Forbidden for CUPS-Set-Default (ipp://localhost/printers/Brother-HL-1110) from localhost
W [01/Apr/2020:17:25:26 -0300] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [01/Apr/2020:17:25:26 -0300] CreateDevice failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [01/Apr/2020:17:25:26 -0300] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [01/Apr/2020:17:25:26 -0300] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [01/Apr/2020:17:25:26 -0300] CreateDevice failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files

Getting ready to throw my brother out the window
No, not you Tom!


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.

Offline

#25 2020-04-01 22:08:46

DeepDayze
Member
From: In Linux Land
Registered: 2017-05-28
Posts: 860

Re: Cannot print "some" PDF files

Ah, funny you mention Epson...their drivers are a pita to set up on Linux. As for laser printers, HP does have some monochrome laser printer models around and I may eventually take the plunge to laser myself. I owned HP for a good few years after I ditched that old Brother multifunction I had...can't really go wrong with HP's.

Last edited by DeepDayze (2020-04-01 22:10:38)


Real Men Use Linux

Offline

Board footer

Powered by FluxBB