xppr.1


NAME

xppr, xpprstat, xpprgrant - File manager interface for PPR


SYNOPSIS

xppr destination file1 ... fileN

xpprstat destination


DESCRIPTION

These two shell scripts and the xpprgrant program are designed to be used with the X-Windows file managers such as Xfm and TkDesk.

To use them, 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/ppr/bin/xpprstat destname''. The ``Drop action'' should be ``exec /usr/ppr/bin/xppr 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 xppr, the responder ``xwin'' is used. This will not work unless the user ``ppr'' has permission to pop up X-Windows on your display. You could use the xhost command to allow all processes on the computer to pop up windows, but on a multi-user system it is probably better to run xpprgrant to copy the magic cookie from your .Xauthority file to ppr's .Xauthority file. That way, an unnecessarily broad grant of permission is avoided.

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/ppr/bin/xppr 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, 1994, 1995, and 1996. It was first released to the public on 26 April 1995.


AUTHOR

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