After a bit of trial and error and some fantastic support from Tomasz J. I finally managed
to get a printer driver installed and working. The existing tutorial wasn't quite as plain
sailing so I thought I'd knock up my own little guide for anyone else who might be struggling.
I will be installing a KonicaMinolta C203/C253/C353 printer in this example but the procedure
should be the same for your own printer - remember to get your PPD file and filter as appropriate.
First of all, when you are mastering your own module or the kiosk ISO do not do so on a drive
formatted as FAT - file permissions/ownership won't play nicely and your printer won't work -
as I found out.
I built my stuff on Porteus Desktop (I needed to install the nano editor as well as syslinux tools)
Find yourself a partition with enough room - issue a df -H command to see what drives you have
available.
Change directory to the partition you are going to build your stuff on:
Code: Select all
mkdir remaster
cd remaster
wget http://porteus-kiosk.org/public/4.0/Porteus-Kiosk-4.0.0-x86_64.iso
mkdir /mnt/cdrom
mkdir kiosk_ISO
mkdir fakeroot
Code: Select all
mkdir PPD
mount -o loop Porteus-Kiosk-4.0.0-x86_64.iso /mnt/cdrom
cp -a -v /mnt/cdrom/* kiosk_ISO/
cd fakeroot
# - the konica folder can be any name you like
Code: Select all
mkdir -p usr/share/cups/model/konica
mkdir -p usr/libexec/cups/filter
mkdir -p opt/scripts/files/wizard/printers.d
cp -v ../PPD/pbhc203psc200en.ppd usr/share/cups/model/konica/
cp -v ../PPD/femperonpsc250mu.pl usr/libexec/cups/filter/
# *ModelName, *ShortNickName, *NickName which you will need
#
# whilst you are there checkout other options which you might like to change - I was able
# to change the default from color printing to grayscale printing and also toner economy model
# You might be able to change to default A4 size too if it isn't the default.
#
# put those values into a text file - I used nano to create mine, and saved when I'd done
Code: Select all
nano opt/scripts/files/wizard/printers.d/konica
My 'konica' file looked like this:
KonicaMinolta C203/C253/C353 PS/P
KonicaMinolta C203/C253/C353 PS
KonicaMinolta C203/C253/C353 PS(P)
At this point you are ready to squash into a xzm module!
Code: Select all
cd ..
Code: Select all
mksquashfs fakeroot/ konica.xzm -comp xz -b 256K -Xbcj x86 -noappend
Code: Select all
cp -v konica.xzm kiosk_ISO/xzm/
cd kiosk_ISO
./make_iso.sh
cd ..
#I 'burn' mine to a usb so you need to isohybrid it
Code: Select all
isohybrid Porteus-Kiosk.iso
#now you're almost ready for burning
At this point I plugin the usb I want to burn to - Porteus Desktop mounts it
automatically - so you might find it is at /mnt/sdd1 or similar
I unmount it with umount /mnt/sdd1 - remembering the 'sdd' bit
Burn time
Code: Select all
dd if=Porteus-Kiosk.iso of=/dev/sdd
That's it! You should be able to use the wizard to add your printer. You'll
need its IP address no doubt
Mark VB, http://www.all-tech-plus.com