Text not printing from web browsers using Turboprint

Questions on Installation
broadstairs
Posts: 85
Joined: Thu Nov 04, 2010 11:50 am

Text not printing from web browsers using Turboprint

Post by broadstairs »

Not sure yet if this is TP or Linux issue. I have been trying to print web pages from Firefox, Waterfox and Chromium but on every occasion I try all that shows up are an odd image but no text at all so nothing seems to work. I can print OK from Ocular and Libreoffice etc. I am using the latest TP on openSUSE Tumbleweed which is completely up to date.

Anyone else seen this please?

Stuart
broadstairs
Posts: 85
Joined: Thu Nov 04, 2010 11:50 am

Re: Text not printing from web browsers using Turboprint

Post by broadstairs »

I have just tested this issue again having removed Turboprint and deleted the printer. Using CUPS defined printer alone the printing from Thunderbird altough it does not resolve the issue with Waterfox in that the printing keeps pausing.

It seems like TP is at least partly responsible for this issue in that Thunderbird printing works fine without it.

Stuart
zedonet
Site Admin
Posts: 2156
Joined: Fri Oct 06, 2006 8:02 am

Re: Text not printing from web browsers using Turboprint

Post by zedonet »

Hello broadstairs,

one reason for the missing text in prints may be that no black ink is applied (ink cartridge empty, nozzles clogged, etc). Please print a nozzle test page to see if all ink nozzles work. Note that there must be two different sections with black ink.
Depending on the selected print mode, either the pigmented black or the photo black ink is used. Try switching the paper type from standard copy paper to special ink jet paper in the print dialog - standard mode uses the pigmented black ink, inkjet paper mode addresses the photo black ink. The CUPS driver might have used the alternate black ink cartridge.

If this does not solve (or explain) your printing problem, please post a photo or scan of your prints to illustrate what you mean with "odd images".
broadstairs
Posts: 85
Joined: Thu Nov 04, 2010 11:50 am

Re: Text not printing from web browsers using Turboprint

Post by broadstairs »

The problem is not one of ink, anything printed from say Libreoffice prints just fine however printing from Thunderbird may show a blank page if the email is only text when I get to the Turboprint preview although the Thunderbird preview is fine showing the text. If the email contains images then usually the images show in the Turboprint preview. I have attached a screen shot showing the Thunderbird print preview screen and a Turboprint preview screen along side it which shows the same page apparently!

Stuart
Attachments
turboprint.png
turboprint.png (167.37 KiB) Viewed 12661 times
zedonet
Site Admin
Posts: 2156
Joined: Fri Oct 06, 2006 8:02 am

Re: Text not printing from web browsers using Turboprint

Post by zedonet »

Can you please send the log file /var/log/turboprint/print.log after printing a blank/incomplete page (viewing it in the preview window should be sufficient)?
Please send by email to mail (at) zedonet (dot) com .
broadstairs
Posts: 85
Joined: Thu Nov 04, 2010 11:50 am

Re: Text not printing from web browsers using Turboprint

Post by broadstairs »

OK will do.

I have just tested this on a laptop using openSUSE LEAP 15 (fully updated) and the problem does not happen in any web server or Thunderbird. So it is related to openSUSE Tumbleweed which is of course very leading edge.

Stuart
zedonet
Site Admin
Posts: 2156
Joined: Fri Oct 06, 2006 8:02 am

Re: Text not printing from web browsers using Turboprint

Post by zedonet »

Hello,

I received your log file - an error is reported by the postscript interpreter Ghostscript.

This is a known problem - on some Linux distributions, the preinstalled version of Ghostscript is complaining about print jobs:
**** This file had errors that were repaired or ignored.
**** Please notify the author of the software that produced this
**** file that it does not conform to Adobe's published PDF
**** specification.
The solution is to use the version of Ghostscript that is included with TurboPrint:

1) when installing TurboPrint, make sure that GPL Ghostscript is also installed
- select "Use GPL Ghostscript with extensions for TurboPrint"
- on the page "Optional GPL Software" select "GPL Ghostscript"

2) in TurboPrint Control, please also check in the dialog "Preferences":
- "Use GPL Ghostscript with extensions for TurboPrint" must be selected
broadstairs
Posts: 85
Joined: Thu Nov 04, 2010 11:50 am

Re: Text not printing from web browsers using Turboprint

Post by broadstairs »

I have that option for ghostscript ticked but still have the problem.

Stuart
broadstairs
Posts: 85
Joined: Thu Nov 04, 2010 11:50 am

Re: Text not printing from web browsers using Turboprint

Post by broadstairs »

Do you know what version of Ghostscript fixes the problem. My system has Ghostscript installed.

Stuart
broadstairs
Posts: 85
Joined: Thu Nov 04, 2010 11:50 am

Re: Text not printing from web browsers using Turboprint

Post by broadstairs »

I just deleted Turboprint and Ghostscript and some other dependencies from my system, the did a fresh install of Turboprint and as part of that install it pulled in Ghostscript from the openSUSE repositories. So I dont understand how you force your own libraries to be used, are they linked in?

By the way this has only started happening recently but not sure when as I dont normally print from the web or email often.

Stuart
zedonet
Site Admin
Posts: 2156
Joined: Fri Oct 06, 2006 8:02 am

Re: Text not printing from web browsers using Turboprint

Post by zedonet »

Ghostscript is used as a command line tool - either the version of Ghostscript that is part of the Linux distribution or the TurboPrint version is called depending on your settings.

The regular version is usually located in /usr/bin/gs, the TurboPrint version is /usr/bin/gszedo

Ghostscript 9.25 which is preinstalled on Tumbleweed doesn't accept PDF print jobs that were printed correctly in previous versions. That's why we use the older version 9.05.
broadstairs
Posts: 85
Joined: Thu Nov 04, 2010 11:50 am

Re: Text not printing from web browsers using Turboprint

Post by broadstairs »

So how do I solve this issue. I have the correct settings in Turboprint and have to have the Tumbleweed version of Ghostscript for a number of other things to install (Okular is one).

Stuart
broadstairs
Posts: 85
Joined: Thu Nov 04, 2010 11:50 am

Re: Text not printing from web browsers using Turboprint

Post by broadstairs »

I have no /usr/bin/gs or /usr/bin/gszedo directories in my system. YAST shows Ghostscript files in /usr/bin and /usr/lin64/ghostscript.

Stuart
zedonet
Site Admin
Posts: 2156
Joined: Fri Oct 06, 2006 8:02 am

Re: Text not printing from web browsers using Turboprint

Post by zedonet »

Extract gszedo from /usr/share/turboprint/gplsoftware/gszedo.tar.gz to /usr/bin

File permissions should be

Code: Select all

-rwxr-xr-x 1 root root ... /usr/bin/gszedo
broadstairs
Posts: 85
Joined: Thu Nov 04, 2010 11:50 am

Re: Text not printing from web browsers using Turboprint

Post by broadstairs »

OK having now tried this I can see what is there. I have two executables on /usr/bin one called gs and one called gszedo so neither are in sub-directories in /usr/bin. Is this what is causing the problem? Both executables have identical permissions.

Stuart

PS. Just checked my laptop with Tumbleweed and it has the same issue and the same files in /usr/bin. Will check my other laptop which has leap 15 installed and see what happens.
Post Reply