printing from kiosk

Post bug reports related to either the kiosk ISO or the kiosk wizard here.
Forum rules
Porteus Kiosk section of the forum is unmaintained now. Its kept in a 'read only' mode for archival purposes.
Please use the kiosk contact page for directing your queries: https://porteus-kiosk.org/contact.html
kimlop
White ninja
White ninja
Posts: 18
Joined: 14 Aug 2013, 20:25
Distribution: poerteus-kiosk
Location: italy

printing from kiosk

Post#1 by kimlop » 14 Aug 2013, 20:38

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

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 from kiosk

Post#2 by francois » 14 Aug 2013, 21:58

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
Prendre son temps, profiter de celui qui passe.

kimlop
White ninja
White ninja
Posts: 18
Joined: 14 Aug 2013, 20:25
Distribution: poerteus-kiosk
Location: italy

Re: printing from kiosk

Post#3 by kimlop » 14 Aug 2013, 22:38

thank you for answer!

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

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 from kiosk

Post#4 by francois » 14 Aug 2013, 22:42

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. :)
Last edited by francois on 15 Aug 2013, 00:00, edited 1 time in total.
Prendre son temps, profiter de celui qui passe.

kimlop
White ninja
White ninja
Posts: 18
Joined: 14 Aug 2013, 20:25
Distribution: poerteus-kiosk
Location: italy

Re: printing from kiosk

Post#5 by kimlop » 14 Aug 2013, 22:47

I solved the problem: normally Porteus, open pcman, right click on the desired file and convert to. XZM

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 from kiosk

Post#6 by francois » 15 Aug 2013, 00:02

Good for you. But as you may notice, I just answered to your question. Keep us informed of your progress. :)
Prendre son temps, profiter de celui qui passe.

kimlop
White ninja
White ninja
Posts: 18
Joined: 14 Aug 2013, 20:25
Distribution: poerteus-kiosk
Location: italy

Re: printing from kiosk

Post#7 by kimlop » 15 Aug 2013, 17:20

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!

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 from kiosk

Post#8 by francois » 15 Aug 2013, 18:55

Clan you put the iso on mediafire or some download site. I or somebody else will have a look at it.

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

User avatar
Ahau
King of Docs
King of Docs
Posts: 1331
Joined: 28 Dec 2010, 15:18
Distribution: LXDE & Xfce 32/64-bit
Location: USA

Re: printing from kiosk

Post#9 by Ahau » 15 Aug 2013, 19:00

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.
Please take a look at our online documentation, here. Suggestions are welcome!

kimlop
White ninja
White ninja
Posts: 18
Joined: 14 Aug 2013, 20:25
Distribution: poerteus-kiosk
Location: italy

Re: printing from kiosk

Post#10 by kimlop » 15 Aug 2013, 23:30

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?

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 from kiosk

Post#11 by francois » 16 Aug 2013, 01:49

@kimlop:
With ahau, you are really in good hands. He is the printer package developper. 8)
Prendre son temps, profiter de celui qui passe.

kimlop
White ninja
White ninja
Posts: 18
Joined: 14 Aug 2013, 20:25
Distribution: poerteus-kiosk
Location: italy

Re: printing from kiosk

Post#12 by kimlop » 16 Aug 2013, 18:05

ok, thanks for help, but I would like to work in some way the printing. Any other suggestions?

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 from kiosk

Post#13 by francois » 16 Aug 2013, 19:08

@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).
Prendre son temps, profiter de celui qui passe.

kimlop
White ninja
White ninja
Posts: 18
Joined: 14 Aug 2013, 20:25
Distribution: poerteus-kiosk
Location: italy

Re: printing from kiosk

Post#14 by kimlop » 17 Aug 2013, 15:00

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?

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 from kiosk

Post#15 by francois » 17 Aug 2013, 17:55

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. :)
Prendre son temps, profiter de celui qui passe.

Locked