[ic] lpr within a usertag

Grant emailgrant at gmail.com
Fri Feb 1 21:03:24 EST 2008


> >> You should use system() instead of backticks for readability, and to
> >> help avoid this sort of problem.
> >
> > Is that:
> >
> > system(lpr file.pdf);
> >
> > I couldn't get that to work.
>
> you have to quote your strings in Perl:
> system('lpr file.pdf');

Got it, thank you.

> Again, consider the use of Net::Printer for this, you'll be much better off.

Alright will do.

- Grant


More information about the interchange-users mailing list