NAME

ppr-xfm - Simple file manager interface for PPR


SYNOPSIS

ppr-xfm destination [file1 ... fileN]


DESCRIPTION

The shell script ppr-xfm and the ppr-xgrant program are designed to be used with the X-Windows file managers such as Xfm.

To use ppr-xfm with Xfm, you should create one item in the Applications window for each printer. The icon ``printer.xpm'' is a good one to use. The ``Push action'' should be ``exec /usr/lib/ppr/bin/ppr-xfm destname''. The ``Drop action'' should be ``exec /usr/lib/ppr/bin/ppr-xfm destname $*''.

If you drop files into the icon in the Applications window, they will be printed. If you double click on the icon, a queue listing will be presented.

When jobs are submitted through ppr-xfm, the responder ``xwin'' is used. The xwin responder will not work unless the user ``ppr'' has permission to pop up windows on your X-Windows display. In order to grant the permission, you should run the program /usr/lib/ppr/bin/xpprgrant at the start of your X session.

Some versions of Bash do not work with Xfm. If the files you drop into the printer icon are not printed, install the shell Ash (included as ``/bin/sh'' in NetBSD and as ``/bin/ash'' in some Linux distributions) and start Xfm with the command

SHELL=/bin/ash xfm &

These scripts could be useful even when you are not using a file manager. For instance, you could type the command:

/usr/lib/ppr/bin/ppr-xfm myprinter somefile &

to submit a file for printing. A window would pop up on your X display to inform you when the job is done.


SEE ALSO

/usr/doc/xfm-1.3/README (Linux Slackware), ppop(1), ppr(1) ``PPR, a PostScript Print Spooler''.


HISTORY

PPR was written at Trinity College during 1993--2000. It was first released to the public on 26 April 1995.


AUTHOR

David Chappell, Trinity College Computing Center, Hartford, Connecticut.