Printer Brother DCP-T525W no printing PDF files

Hi All,
The above printer prints all other files like odt, DOCX, Jpg ets except the PDF files. The PDF software such as evince etc are all loaded.
Need help to solve this problem.
Regards,

RSP2

Hi, I use gscan2pdf on my brother printer.

If you print the original document to PDF (saving as a file), and then attempt to print that file, does it succeed?

Hi deano_ferrari,
Thanks for your reply.
Yes, if I directly print from my e-mail, via the browser, two destinations are given: ‘save to pdf’ & ‘print by the named printer’. If I select the printer, it prints the document.
Taking a cue from this, I emailed a pdf file, from desktop, to myself and printed it via the email. It succeeded. But other wise, directly from the desktop it does not print and throws out a blank sheet.
I do not know what to make out of this. You may be able to suggest a solution.
Regards,

RSP2

I’m speculating that it may be something in the source PDF that is causing issues here. By printing to PDF file first, it gets processed by ghostscript IIRC.

Maybe pdfinfo might tell us a little bit about this…examine one of the problematic source files…

pdfinfo source.pdf

Hi deano_ferrari,
It says:

*Couldn't open file 'source.pdf': No such file or directory.*

Regards,
RSP2

That’s because you needed to substitute it for the actual name (and path) of your problem PDF file. :wink:

Could you clarify this further? Do you mean when trying to print from evince, or via something else?

Get your exact printer name using

lpstat -a

then try printing a pdf file from the terminal like this…

lp -d name_of_printer /path/to/foo.pdf

Remember to substitute the printer name, file and path accordingly.

Does that print the pdf file of interest ok? If so, we can focus on the application that causes the issue perhaps.

Hi deano_ferrari,

The following code is displayed:

rsp@dell-linux:~> pdfinfo Desktop/G67B-NOC.pdf
Producer:        cairo 1.16.0 (https://cairographics.org)
CreationDate:    Thu Mar 14 14:17:29 2024 IST
Custom Metadata: no
Metadata Stream: no
Tagged:          no
UserProperties:  no
Suspects:        no
Form:            none
JavaScript:      no
Pages:           1
Encrypted:       no
Page size:       228.96 x 316.32 pts
Page rot:        0
File size:       473760 bytes
Optimized:       no
PDF version:     1.5
rsp@dell-linux:~> lpstat -a
DCPT525W accepting requests since Fri 15 Mar 2024 12:04:35 PM IST
rsp@dell-linux:~> lp -d DCPT525W Desktop/G67B-NOC.pdf
request id is DCPT525W-176 (1 file(s))
rsp@dell-linux:~>
 

It did print a miniature size, (about 1/4th size) of the original file, in one corner of the paper.

RSP2

That size is small: 80.77 x 111.59mm, and not scaled during printing, so that is consistent with what was printed.

BTW, you still didn’t explain to us how you are trying to print your PDF document explicitly. Via which application?

The printer is attached to the computer via USB cable. To print a pdf file from the Desktop or any other folder, I send it to my email address as an attachment. Once received in the email, I click on the attachment to open it. The file opens in a page which displays the URL as: [https://mail.google.com/mail/u/0/#inbox/QgrcJHsHmZfTsrwmRXKLBCzqcQmCbBcwVWq?projector=1&messagePartId=0.1].
On this page, the pdf document’s name is displayed as ‘G67B-NOC.pdf’ in left hand top corner and in the center top is ‘Open with’ with an arrow to select options. On clicking at the arrow, the options displayed are: 'connected applications are - ‘Cloud Convert’, ‘Google Docs’, suggested third part application is ‘Lunin pdf-edit or sign documents’. Then it continues: + connect more apps. Finally at the bottom is the remark: Opening this item will add it to your Drive.
Then, at the right hand top corner are choice symbols: ‘Add to my Drive’, ‘Print’, ‘Download’ & 'More actions.
On clicking ‘Print’, the document opens in a new tab with a new URL. There is also a print menu displayed on the right hand side. Items on the menu are ‘number of copies’ and other printing adjustment such as size of paper etc. Right at the bottom are choices ‘Cancel’ & ‘Print’. ‘Print’ is highlighted. On clicking 'Print, the printer prints the document normally.

RSP2

That seems like a convoluted way to print a document? Why not just open it with a PDF reader, and print from there? Or even via a terminal? For example…

lp -d DCPT525W -o fit-to-page Desktop/G67B-NOC.pdf

It has printed full page size from the command line with the command as given by you. But when I open the document at the Desktop by clicking it and try to print, the printer prints a blank page.
Which PDF reader should I use?
RSP2

I’m not a Gnome user, and cannot guess what application you open it with before printing it. I assume that you have Evince installed?

Yes. The installed packages include evince-plugin-pdfdocument; fbpdf; ghostscript; lekha (PDF Reader) and such other packages.
RSP2

Ok, so try lekha for example.

‘lekha’ is already installed. How to try it?

RSP2

Hi deano,
No reply from you. Is there a solution or none?
RSP2

Open the application. Surely it is in your desktop menu?