Page 4 of 4

Re: Printing

Posted: 19 Mar 2013, 21:59
by cttan
Hi francois,

Yes. I am using Porteus 2.0 64bit to print.

Code: Select all

# uname -a
Linux a10b23c45d67 3.7.8-porteus #1 SMP PREEMPT Fri Feb 15 11:30:14 UTC 2013 x86_64 Intel(R) Core(TM)2 Duo CPU     T5670  @ 1.80GHz GenuineIntel GNU/Linux
# cat /etc/slackware-version 
Slackware 14.0
# cat /etc/porteus-version 
Gutenprint and Ghostscript downloaded from PPM. Now available from my box.
Gutenprint 5.2.9

Ghostscript 9.05

Ghostscript fonts

Add printer:-
1. Goto localhost:631/admin from your browser
2. Click Add Printer. Enter username root and its password.
3. Click your detected local printer.
4. Select the driver that suit your printer or you may click Select Another Make/Manufacturer.
5. Click Add Printer.

Printer driver selection:-

Printer manufacturer selection:-

My printer script for copy2ram mode:-
Note: Ghostscript modules in /porteus/modules

Code: Select all

if !(grep devpts -A 500 /proc/mounts | grep .xzm | cut -d " " -f2 | grep gutenprint-5.2.9-x86_64-1.xzm) then
  activate /mnt/sdb1/useful_mods_xzm/gutenprint-5.2.9-x86_64-1.xzm
echo blacklist usblp >> /etc/modprobe.d/blacklist.conf
cp -a /mnt/sdb1/20-canon-mp145.rules /etc/udev/rules.d
cp -a /mnt/sdb1/Canon_MP140_series.ppd /usr/share/cups/model
rmmod usblp
modprobe lp
modprobe parport
modprobe parport_pc
lpadmin -p Canon_MP145 -P /usr/share/cups/model/Canon_MP140_series.ppd -v usb://Canon/MP140%20series?serial=D19ABA&interface=1
sleep 2 
lpoptions -d Canon_MP145
/etc/rc.d/rc.cups restart
sleep 2 
cupsenable Canon_MP145
cupsaccept Canon_MP145
opera localhost:631/printers
Note: huawei is only label and adapted from 3G broadband script.

Code: Select all

ACTION!="add", GOTO="huawei_zerocd_end"

SUBSYSTEM=="usb", ATTR{bDeviceClass}!="ff" ,ENV{DEVTYPE}=="usb_device", GOTO="huawei_zerocd_disable"
SUBSYSTEM=="scsi", ENV{DEVTYPE}=="scsi_device", GOTO="huawei_zerocd_disable"

ATTR{idVendor}=="04a9", ATTR{idProduct}=="172b", MODE:="0660", GROUP:="lp"

Note: copy out from system after successfully added the printer.

Re: Printing

Posted: 20 Mar 2013, 17:13
by francois
I confirm that the the gutenprint and ghostscript packages that you use (gutenprint-5.2.9-x86_64-1, ghostscript-9.05-x86_64-3, ghostscript-fonts-std-8.11-noarch-1) work on my toshiba z930 for porteus 64 bit. There is no problem setting up the printer whether usb wise or network wise. I was using older versions of these modules ( gutenprint-5.2.6-x86_64-1, ghostscript-9.02-x86_64, ghostscript-fonts-std-8.11-noarch-1). I imagine that this was the problem.

Clearly, it was not CUPS.

I have updated the modules for porteus 2.0 on the HOWTO: Universal printer solution: gutenprint-ghostscript: ... 6289#p6289

I am going to test the 32 bit modules too for EdP.


Tested on 32 bit porteus v. 2.0. There is no problem setting up the printer whether usb wise or network wise.

@cttan: Good to have you on the forum for printer issues. :D


1) Maybe there is an error due to the use of a gutenprint version for 64 bit. You mention that you have a 32 bit installation, that is:
cttan wrote:Hi EdP,

PPM 64bit has the Ghostscript Fonts module
Here is the link:-

2) Would you please try the URL method with the most recent versions of gutenprint and ghostscript modules, I have updated the thread to point to the compatible porteus 2.0 version for the 32 bit edition see:

This would troubleshoot your printer before we get straight the printer network installation.

3) If you have the impression with all you have tried that correctly the gutenprint and ghostscript drivers, try the system-config-printer method (I just updated it): ... 635#p13635
This method is somewhat different and might yield interesting results.

As this is a complicated printer case, lets start a specific thread if you don't mind. This will leave a cleaner trace for posterity , see:

I would really like to get your printer to function. :)

Re: Printing

Posted: 24 Mar 2013, 11:44
by francois
Amradman wrote:To complicated for me. I only know a few of the Linux skills and this is my first experience with a Slackware based system. But THANKS for the assistance. I do appreciate it.
We have adapted recently a printer system package for you amongst others, to simplify the task of installing your printer: ... 635#p13635

Please mention your printer manufacturer and model. I will check if the approach will easily work for you, that is I will verify if your printer is in the database. And then we will help you install the appropriate software.

Thanks. :)

Re: Printing

Posted: 25 Apr 2013, 18:08
by Ed_P
francois wrote:I would really like to get your printer to function. :)
Thank you francois. At this point it's not important but when things free up I would like to take you up on your offer.