QTCUPS is printing frontend, not a configuration frontend, to make it
compatible to lpr (to use it as printing command in applications) it
reads the data to print from standard input and when there is no data,
it hangs. So use it only with a filename or with the output of another
program piped in when you use it on the command line. In applications
you can simply enter "qtcups" as printing command. All applications
supply the printer data either through standard input or by adding a
file name at the end of the entered command line.
The qtcups in the menu under Configuration/Printing is called by the
following command line:
echo '%!' | /usr/bin/qtcups -j none
This supplies an empty PostScript file as data to print (so the printer
does nothing) and the "-j none" avoids the "Job sent" window popping up
after clicking OK. So the program does not freeze when one calls it from
the menu and clicks OK. The sense of calling qtcups from the menu is
that the user can set up and save his personal default options for the
printers.
XPP allows also printing from standard input so that one can use it in
applications. So it freezes, too, when there is no information for being
printed. But XPP has a facility to choose a file to print inside its
main dialog.
Till
junfan wrote:
>
> qtcups won't exit after I hit ok it just sticks around
> F UID PID PPID PRI NI VSZ RSS WCHAN STAT TTY TIME
> COMMAND
> 000 501 11002 10974 0 0 12220 6876 read_c S pts/2 0:00
> qtcups
>