· Регистрация 
софт скрипты драйвера форумы блоги  
Пример: windows
Софт
Новости софта
Обзоры
Статьи
Авторам
Софт
Mac Linux PDA/Mobile
Linux Офис Печать

Страница программы cupsfax 0.4

cupsfax project contains a set of two scripts to integrate a fax server into the CUPS printing system.


  Описание программы   Комментарии (0)   Скриншоты (0)   Файлы (1)  
АвторOlaf Titz
СайтПерейти
Обновление25.01.2007, 06:12
Названиеcupsfax
Версияcupsfax 0.4
ЯзыкиАнглийский
ЛицензияPublic Domain
СтоимостьБесплатно
СистемыLinux
Размер?
Рейтинг
Голосов: 1

Скачать бесплатно cupsfax
Закачек: 1
найти или купить на Allsoft.ru
софт в Allsoft.ru 




Описание программы cupsfax
cupsfax project contains a set of two scripts to integrate a fax server into the CUPS printing system. To send a fax, the user prints it to the designated printer queue. He will then receive a mail with a link to a web form. In this web form, the user may enter additional parameters - most importantly, the receiving fax number.
This way, there are no additional conditions on what can be printed, like fax numbers embedded into the file or job name. This can also be fully integrated into a samba/CUPS configuration, enabling Windows clients to send arbitrary documents as fax. It also gives the full power of the CUPS print processing pipeline to sending faxes.
· Ключевые особенности и характеристики cupsfax 0.4
Не определены
· Ограничения cupsfax 0.4
Ограничения не определены
· Специальные требования cupsfax 0.4
· CUPS (tested with 1.2.4)
· HylaFAX (tested with 4.3)
· For other fax programs the CGI script would have to be adapted.
· perl (tested with 5.8) with the CGI and MIME::Base64 modules.
· Any CGI-capable webserver.

How to install:

Edit the parameters at the top of the Makefile as needed.

Run "make install" as root.

This installs the programs and creates a spool directory. It also installs a cron.daily script if your system has the cron.daily directory. If not, it is advisable to install this manually somewhere and have it run regularly. (This cron script simply removes old spool files left over from errors or abandoned jobs.)

Note: the spool directory must be on a filesystem which supports case-sensitive filenames with a length of up to 30 characters. Do not use the existing CUPS spool directory.

Restart cupsd. Create a printer definition on CUPS with the following characteristics:

Device: "Require user response"
Device URI: userresponse: followed by the CGI link.

E.g. userresponse:http://printserver/cgi-bin/cupsfax

Provide a PPD file: use the PostscriptFAX.ppd found in this package.

How it works:

The userresponse backend writes two files in the spool directory. The job file name is random (see below why). This file contains one line with parameters. The print data is written into a second file, named like the first with "_d" appendend.

Then the backend sends a mail to the job owner, containing a link to the cupsfax CGI program with the job file name as parameter. If no error has happened so far, the job is completed in the CUPS system.

When called by the user with the right parameters, the CGI program reads the job file. It emits a form to fill out. After the form gets submitted, the CGI program calls sendfax. When sendfax finishes without errors, it removes the spool files and the job is completed.

The userresponse is actually a generic program which can be used for arbitrary post-processing of print jobs. It just writes the spool files and notifies the user. Further processing happens via the CGI program.

Security

The spool files are written and read under the job owner's ID with mode 600, so only the job owner can access the job. For this purpose, both scripts are installed setuid root and assume the user's identity when necessary. Because the CGI script has access to all jobs - as given by the job filename - the job filename is a random string. The spool directory is not world-readable, so it is not possible for a user to find out the right parameters to manipulate another user's jobs.

This can be made still more secure by protecting the CGI script with HTTP authentication, where the user name must match the print job owner name. See the comment in cupsfax.in. This requires appropriate configuration of the webserver.

The spool files

The job file contains, on one line, the printer name, job ID, user name, creation time and job title. The fields are separated by TAB. The time is give in UNIX seconds. The data file contains the print data, which gets passed to the sendfax program on standard input.
· История версий и изменений cupsfax
История пуста
· Описание и дополнения от редакторов и пользователей сайта
Пока нет
Связанные статьи, обзоры и новости
Нет относящихся к программе статей и обзоров.


Другие программы от Olaf Titz

dgnetload 1.2
dgnetload is a distributed network load meter and control.
23.01.2007, 02:27 | ? | GPL (GNU GPL) | 0


gnetload network load meter 1.2
gnetload network load meter is a network and ISDN load meter that is similar to xisdnload.
25.01.2007, 04:37 | ? | GPL (GNU GPL) | 0


CIPE 1.6.0
CIPE is a Crypto IP Encapsulation.
25.01.2007, 04:40 | ? | Public Domain | 6


c-nocem 3.7
c-nocem project is a program for the easy and efficient application of the NoCeM protocol on the news spool.
25.01.2007, 04:49 | ? | Public Domain | 0


squid-filter 0.9
squid-filter project was designed to build filtering capabilities comparable to those of Muffin into Squid.
25.01.2007, 04:55 | ? | Public Domain | 3

     
Похожие программы

Stoqdrivers 0.7.0
Stoqdrivers package contains useful drivers for Stoq and retail systems.
24.05.2007, 01:13 | ? | LGPL | 2


system-config-printer 0.7.66
system-config-printer purpose is to configure a CUPS server (often the local machine) using the CUPS API.
23.05.2007, 04:11 | ? | GPL (GNU GPL) | 0


qLabels 0.2
qLabels is business card/label creation and printing software for Linux and Windows.
01.05.2007, 11:08 | ? | GPL (GNU GPL) | 12


p910nd 0.9
p910nd project is a small printer daemon intended for diskless workstations.
18.04.2007, 04:06 | ? | GPL (GNU GPL) | 0


RepTool 0.0.4
RepTool is a reporting/printing tool.
13.04.2007, 21:35 | ? | LGPL | 0

Разделы