ROX AppDir wrapper for XFPrint4
Matthew Weier OPhinney
matthew-lists at weierophinney.net
Sun Jun 8 22:53:34 CEST 2003
-- Chuck Mead <csm at MoonGroup.com> wrote
(on Sunday, 08 June 2003, 12:47 PM -0400):
> On Sun, 2003-06-08 at 00:38, Matthew Weier OPhinney wrote:
> > -- Chuck Mead <csm at MoonGroup.com> wrote
> > (on Sunday, 08 June 2003, 12:20 AM -0400):
> > > On Sat, 2003-06-07 at 22:50, Matthew Weier OPhinney wrote:
> > > > Don't know how many of you are using ROX with xfwm4, but if you are and
> > > > you want to use xfprint such that you get drag and drop similar to using
> > > > it with xffm, I've put together a very rudimentary AppDir. I'm attaching
> > > > the AppRun and AppInfo.xml documents (feel free to modify and use per
> > > > the GPL); I simply linked the appropriate print icon for the theme I'm
> > > > using to the AppDir's .DirIcon. Make sure to make the AppRun file
> > > > executable.
> > > >
> > > > If I get a chance in the next day or so, I'll package it up and throw it
> > > > on my website. Until then, enjoy.
> > >
> > > I am not using ROX but after trying everything to get xfprint4 to work I
> > > gave up and simply changed the command from xfprint4 to lpr $1
> >
> > Hmmm... how were you sending files to xfprint4? My understanding, and
> > the way the AppDir I created works, is that it accepts filenames as
> > arguments, and then sends these to the printer.
> >
> > The script I attached is idiomatic to ROX. However, it should probably
> > work with any DND launcher.
>
> With xfprint4 listed in the applet I would drag a simple text file to
> the icon and drop it... the dialogue would pop up and I would click
> print and it would say it could not connect to the printer. lpr < $file
> works fine from the command line.
Then it sounds like you don't have xfprint-manager set up with the
appropriate printers. Check your $PRINTER environment variable, and
create a printer in xfprint-manager that maps to that printer.
I've read your other posts in the thread; the printer I tested with is
also on a network. I have the local machine set up to print to this
remote printer using lpr, and it works fine. I've also tested it with a
locally connected USB printer, and, again, it works fine -- as long as I
set up xfprint-manager with the appropriate printers.
By the way, ROXers... Another nice application for this AppDir is to
link to it in your SendTo menu...
--
Matthew Weier O'Phinney
matthew at weierophinney.net
http://matthew.weierophinney.net
More information about the Xfce4-dev
mailing list