Printing

Post here if you are a new Porteus member and you're looking for some help.
cttan
Shogun
Shogun
Posts: 333
Joined: 26 Jan 2011, 16:15
Distribution: Porteus 3.2 and 4.0 64bit KDE
Location: Malaysia

Re: Printing

Post#31 by cttan » 12 Mar 2013, 05:54

Hi EdP,

Use PPM to search for the module you want before searching in the Google.

gutenprint-5.2.6-i486-1.xzm
http://ponce.cc/porteus/i486/modules-14 ... i486-1.xzm

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Re: Printing

Post#32 by Ed_P » 12 Mar 2013, 06:27

I found the module on PPM and "installed" it but I get the banner error with the two drivers that I tried.

Code: Select all

Print Test Page HP_printer Error

Unable to print test page:

    Unsupported format "application/vnd.cups-banner".
Ed

cttan
Shogun
Shogun
Posts: 333
Joined: 26 Jan 2011, 16:15
Distribution: Porteus 3.2 and 4.0 64bit KDE
Location: Malaysia

Re: Printing

Post#33 by cttan » 12 Mar 2013, 06:54

Hi EdP,

Pls follow francois guide and download these module as well:-
1. ghostscript-9.05-i486-3
2. ghostscript-fonts-std-8.11

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Re: Printing

Post#34 by Ed_P » 12 Mar 2013, 17:52

Thanks cttan but according to francois there is a bug in 2.0.
Ed

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Re: Printing

Post#35 by Ed_P » 12 Mar 2013, 19:02

francois

FYI I tried printing with the HP printer on Porteus 1.2, using various drivers, including Generic. In each case I got the missing banner file error.
Ed

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: Printing

Post#36 by francois » 12 Mar 2013, 23:12

@Bjornar:
Thanks for reporting your experience. You give us food for thought. Maybe I was on the wrong path, but I am not that sure. It might be possible that gutenprint-ghjostscript is not compatible with the actual cups version. Some more testing will be needed. Unless we get testimonies from others, and this might be the case for cttan.

Bjornar observation would mean that the (HOW TO) CUPS: adding lpr and cupswrapper drivers is still the way to go for now with porteus 2.0:
http://forum.porteus.org/viewtopic.php? ... +LPR#p7510

Until the issue with gutenprint-ghostscript method with CUPS could be debugged. On my part, I will not be able to look at it before the weekend.

@cttan:
Have you been able to install some printer with the gutenprint and ghostscript packages using porteus version 2.0?
Prendre son temps, profiter de celui qui passe.

cttan
Shogun
Shogun
Posts: 333
Joined: 26 Jan 2011, 16:15
Distribution: Porteus 3.2 and 4.0 64bit KDE
Location: Malaysia

Re: Printing

Post#37 by cttan » 13 Mar 2013, 02:32

Hi francois,

Yes. I am still able to use gutenprint driver and ghostscript to print to my Canon MP145 USB printer.
As for my office printer, currently it is Konica Minolta C420 copier+printer which I use the driver from Konica Minolta website. The step to insert the printer is shown in above post.

Konica Minolta driver:-
https://www.box.com/s/phrvgytvqt6fj4g8kggp


Hi EdP,

Pls post the log files in /var/log/cups/
Another suggestion is to ignore test print and just print the file to the printer.

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Re: Printing

Post#38 by Ed_P » 13 Mar 2013, 04:24

cttan wrote: Pls follow francois guide and download these module as well:-

2. ghostscript-fonts-std-8.11
Did not find in PPM.
Ed

cttan
Shogun
Shogun
Posts: 333
Joined: 26 Jan 2011, 16:15
Distribution: Porteus 3.2 and 4.0 64bit KDE
Location: Malaysia

Re: Printing

Post#39 by cttan » 13 Mar 2013, 07:18

Hi EdP,

PPM 64bit has the Ghostscript Fonts module
Here is the link:-
https://www.box.com/s/ud2n3qvt475notc5jj2m

cttan
Shogun
Shogun
Posts: 333
Joined: 26 Jan 2011, 16:15
Distribution: Porteus 3.2 and 4.0 64bit KDE
Location: Malaysia

Re: Printing

Post#40 by cttan » 13 Mar 2013, 08:06

Hi francois and EdP,

I have done a test print to my office printer(Konica Minolta) with and without the ghostscript modules.
Results is both can print without any error.
Snapshot of the print out here:-
http://postimage.org/image/nlp09kqon/

cttan
Shogun
Shogun
Posts: 333
Joined: 26 Jan 2011, 16:15
Distribution: Porteus 3.2 and 4.0 64bit KDE
Location: Malaysia

Re: Printing

Post#41 by cttan » 14 Mar 2013, 00:34

Hi francois and EdP,

I have done a test print to my home printer Canon MP145.

If you do not activate ghostscript, the error in the browser page is:-

Code: Select all

Unable to print test page:
Unsupported format "application/vnd.cups-banner".
If you do not activate guttenprint, the error in the /var/log/cups/error.log is:-

Code: Select all

Unable to start filter "rastertogutenprint.5.2" - No such file or directory.
Snapshot of the test print output here. Seems like not complete:-
http://postimage.org/image/qxlgx34lt

Snapshot of the test print using libreoffice Writer.
http://postimage.org/image/y5cafyc6d/

Hope this can solve your problem.

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Re: Printing

Post#42 by Ed_P » 15 Mar 2013, 04:43

cttan wrote:PPM 64bit has the Ghostscript Fonts module
Here is the link:-
https://www.box.com/s/ud2n3qvt475notc5jj2m
Thank you cttan but even after adding the fonts doing a test print fails. Here are the entries from the error log.

Code: Select all

E [14/Mar/2013:23:58:56 +0000] HP_printer: File "/usr/lib/cups/filter/rastertogutenprint.5.2" not available: No such file or directory
E [14/Mar/2013:23:58:56 +0000] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
E [15/Mar/2013:00:36:50 +0000] Returning IPP client-error-document-format-not-supported for Print-Job (ipp://localhost:631/printers/HP_printer) from localhost
Ed

cttan
Shogun
Shogun
Posts: 333
Joined: 26 Jan 2011, 16:15
Distribution: Porteus 3.2 and 4.0 64bit KDE
Location: Malaysia

Re: Printing

Post#43 by cttan » 15 Mar 2013, 07:05

Hi EdP,

I am not sure why you use ipp for printing. IPP is Internet Printing Protocol. It may require other software and I have not tested it before.

For my case when using the network printer, I am using socket.
Example as shown in my script:-
socket://<IP address of your printer>

I also notice the rastertogutenprint error in the error log. So pls make sure you have downloaded gutenprint and activate it before printing.

Pls restart cups service if you have done any addition or changes.
/etc/rc.d/rc.cups restart

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: Printing

Post#44 by francois » 19 Mar 2013, 21:20

cttan wrote:Hi francois,

Yes. I am still able to use gutenprint driver and ghostscript to print to my Canon MP145 USB printer.
As for my office printer, currently it is Konica Minolta C420 copier+printer which I use the driver from Konica Minolta website. The step to insert the printer is shown in above post.

Konica Minolta driver:-
https://www.box.com/s/phrvgytvqt6fj4g8kggp


Hi EdP,

Pls post the log files in /var/log/cups/
Another suggestion is to ignore test print and just print the file to the printer.
@cttan:

Could you confirm that you are working with porteus 2.0? What are the original packages of gutenprint and ghostscript that you are using?

Thanks. :)
Prendre son temps, profiter de celui qui passe.

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: Printing

Post#45 by francois » 19 Mar 2013, 21:35

EdP wrote:While my netbook supports 64-bit processing I didn't want my USB stick to be limited to 64-bit machines.
cttan wrote:Maybe you can try the gutenprint package as it provide driver for most of the printers available.
How would I do that?



-update-

:lol: Well I found one way to bypass the banner error. I switched the printer's driver to Generic Postscript. No more banner error. Of course the test printer test emptied the paper tray after printing a single line. :wall:
%!PS-ADOBE-3.0 %%Creator: bannertops/CUPS v1.5.4 %%CreationDate: Tues 12 Mar 2013 0
Sorry, I was too busy to take the time to read those late answers to the post. At last the printer is responding.

Which generic printer did you used, PCL/6 or PCL/5?
Prendre son temps, profiter de celui qui passe.

Post Reply