You are not logged in.

#1 2018-10-28 10:11:30

tapia
Member
Registered: 2013-03-13
Posts: 56

Configuring tea4cups. Anyone has experience with it?

Hi,

I was trying to configure tea4cups [1], a program that allows to do all kinds of cool things with cups, but I cannot get it to work. I installed it using the AUR package [2].

I want to have a virtual printer where I can run some scripts to generate a pdf and send it somewhere else. So, following thie wiki [3], I started with creating a virtual printer, like this:

lpadmin -p virtq -v tea4cups:// -E -m raw

And then I add the following lines to the /etc/cups/tea4cups.conf file:

[virtq]
prehook_test : echo test > /tmp/test.txt

This is a simple test that should write "test" to the /tmp/test.txt file. However, when I print something using virtq nothing happens.
Does anyone have an idea of what might be the problem?

[1] http://www.pykota.com/software/tea4cups/
[2] https://aur.archlinux.org/packages/tea4cups-svn/
[3] https://wiki.debian.org/Tea4CUPS

Offline

#2 2018-10-31 17:01:18

tapia
Member
Registered: 2013-03-13
Posts: 56

Re: Configuring tea4cups. Anyone has experience with it?

A small update:

I tested the same configuration under Ubuntu 18.04 and it worked without a problem. So maybe this is a problem with the AUR package (bad permission in a file or something maybe)?

Offline

Board footer

Powered by FluxBB