Page 3 of 4

Re: Printing

Posted: 12 Mar 2013, 05:54
by cttan
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

Re: Printing

Posted: 12 Mar 2013, 06:27
by Ed_P
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".

Re: Printing

Posted: 12 Mar 2013, 06:54
by cttan
Hi EdP,

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

Re: Printing

Posted: 12 Mar 2013, 17:52
by Ed_P
Thanks cttan but according to francois there is a bug in 2.0.

Re: Printing

Posted: 12 Mar 2013, 19:02
by Ed_P
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.

Re: Printing

Posted: 12 Mar 2013, 23:12
by francois
@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?

Re: Printing

Posted: 13 Mar 2013, 02:32
by cttan
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.

Re: Printing

Posted: 13 Mar 2013, 04:24
by Ed_P
cttan wrote: Pls follow francois guide and download these module as well:-

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

Re: Printing

Posted: 13 Mar 2013, 07:18
by cttan
Hi EdP,

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

Re: Printing

Posted: 13 Mar 2013, 08:06
by cttan
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/

Re: Printing

Posted: 14 Mar 2013, 00:34
by cttan
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.

Re: Printing

Posted: 15 Mar 2013, 04:43
by Ed_P
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

Re: Printing

Posted: 15 Mar 2013, 07:05
by cttan
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

Re: Printing

Posted: 19 Mar 2013, 21:20
by francois
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. :)

Re: Printing

Posted: 19 Mar 2013, 21:35
by francois
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?