Page 1 of 4

printing from kiosk

Posted: 14 Aug 2013, 20:38
by kimlop
Hi, I have added module of printing in modules/07-printing.xzm
create iso with make_iso.sh, isohybrid, dd for create usb disk, boot in my hardware (Hp Thin Client tc5730 http://h20000.www2.hp.com/bizsupport/Te ... 3634720#A1)

with normal distro of porteus I haven't problem with my usb printer (Hp LaserJet 4250), with my custom porteus kiosk not print and not start Firefox when the os is started, I see short flashes for Firefox start, but then the browser crashes.

Tips to resolve the problem?
What is the correct way to insert the print module in kiosk ISO?
thanks

Re: printing from kiosk

Posted: 14 Aug 2013, 21:58
by francois
Welcome to porteus forum kimlop. :)

1.0 On the porteus os (non kiosk) with the functional printing module:
1.1 go to the /etc/cups/ppd/ and see if there is a ppd corresponding to your Hp LaserJet 4250. If its there is copy as is in the same folder on kiosk system.
1.2 download, convert to xzm and install in kiosk foomatic the following files or packages according to your architecture:
- foomatic-filter
http://slackware.cs.utah.edu/pub/slackw ... i486-1.txz
http://slackware.cs.utah.edu/pub/slackw ... 6_64-1.txz
-ghostscript:
http://pkgs.org/download/ghostscript
-ghostscript-fonts
http://pkgs.org/slackware-14.0/slackwar ... 1.txz.html
-cups
. 32bit
http://www.mediafire.com/download/x1v2o ... 20-cups.sb (here only change the .sb to .xzm, sb from slax are lzma2 files, cups is no more on the porteus repos)
. 64bit (you have to download it thru slax module on their website, sorry i am on 32bit, I have no access, don`t forget to change .sb to .xzm):


2.0 Remove printing.xzm on kiosk
:D

Re: printing from kiosk

Posted: 14 Aug 2013, 22:38
by kimlop
thank you for answer!

I need more help, how can I convert a package from txz to xzm?
I'm on 32-bit
thanks

Re: printing from kiosk

Posted: 14 Aug 2013, 22:42
by francois
To convert a slackware package or .txz in porteus, just right click on it an choose convert tgz/txz to xzm. Be patient. Depending on the size of the module, it could take some time and ressource. Wait until the package is converted message appears. :)

Re: printing from kiosk

Posted: 14 Aug 2013, 22:47
by kimlop
I solved the problem: normally Porteus, open pcman, right click on the desired file and convert to. XZM

Re: printing from kiosk

Posted: 15 Aug 2013, 00:02
by francois
Good for you. But as you may notice, I just answered to your question. Keep us informed of your progress. :)

Re: printing from kiosk

Posted: 15 Aug 2013, 17:20
by kimlop
I have create iso with your instruction, insert etc/cups/ppd in folder: rootcopy and new module for print in folder: modules

In virtualbox iso start correctly, but in my hardware not start...

I not understand the problem!

Re: printing from kiosk

Posted: 15 Aug 2013, 18:55
by francois
Clan you put the iso on mediafire or some download site. I or somebody else will have a look at it.

Thanks.

Re: printing from kiosk

Posted: 15 Aug 2013, 19:00
by Ahau
The print module was built to run with the standard edition. Many libraries and utilities have been stripped from the kiosk edition (only what's needed for firefox is there). So more than likely, the problem is missing dependencies for the print module, and there are likely several. I'll work on sorting out what's missing and put together an add-on module so users can add 07-printing.xzm and kiosk-print-addon.xzm (or whatever I call it) to get things functional under the kiosk.

Re: printing from kiosk

Posted: 15 Aug 2013, 23:30
by kimlop
here mi iso: http://ubuntuone.com/3CDsnnuI6KbWJ1Wau812xg

I have modified the package 003-settings.xzm : I add direct print to pref.js of Firefox

thanks for the explanation Ahau, but when is ready the new module?

Re: printing from kiosk

Posted: 16 Aug 2013, 01:49
by francois
@kimlop:
With ahau, you are really in good hands. He is the printer package developper. 8)

Re: printing from kiosk

Posted: 16 Aug 2013, 18:05
by kimlop
ok, thanks for help, but I would like to work in some way the printing. Any other suggestions?

Re: printing from kiosk

Posted: 16 Aug 2013, 19:08
by francois
@kimlop:
I even never booted up kiosk edition yet. Though I might boot your iso tonight. If still, you want to try a few things lets go. We could do this while ahau is coming back with the kiosk print pack.

In virtualbox, where you able to get the printer work with the changes that I proposed?

If you are able to bootup that iso that works in virtualbox with the added packages, see if slackyd (-u is to sync with the slackware repository, and -d is for looking for the dependencies) works to be able to find the missing dependencies. For that you have to boot kiosk in text mode. Then in command line:

Code: Select all

root@porteus:~# slackyd -u
root@porteus:~# slackyd -d cups
Then if some dependencies are missing, use slackyd -g missing-package.

When you will have all missing dependencies which will be located in /var/slackyd folder. Transform them from txz to xzm and install them in the /porteus/modules folder. If slackyd is unable to fetch some packages, see if you can't get them on pkgs.org (pick the 14.0 version if possible and if not 13.37).

Re: printing from kiosk

Posted: 17 Aug 2013, 15:00
by kimlop
I had test my iso in virtualbox with my hp printer but is not working. All the changes that you proposed are in the iso.

I boot new iso in text mode but slackyd is not working. I launch cupsd and system show this error: libssl.so.1: cannot open shared object file: No such file or directory

any idea?

Re: printing from kiosk

Posted: 17 Aug 2013, 17:55
by francois
You will have to wait for ahau. Sorry. :(

But you surely can count on him. In fact, he will be pleased that you test the printer pack for kiosk. :)