[ic] lpr within a usertag

Peter peter at pajamian.dhs.org
Fri Feb 1 19:00:10 EST 2008

On 02/01/2008 03:31 PM, Grant wrote:
> I'm able to print from my remote IC machine to my local printer server
> with 'lpr file.pdf' but I'm having trouble making it work within an IC
> usertag.  I'm using the following to test it:
> Usertag print Order
> Usertag print Routine <<EOR
> sub {
>         'lpr /catalogpath/file.pdf';
> }
> I've also tried specifying just file.pdf without the absolute path but
> neither works.  There is nothing in either error.log.  Does anyone see
> what's wrong here?

Not that this is a great way to do this, but try using backticks (`) 
instead of single quotes (').

See Net::Printer 
for a better solution.


More information about the interchange-users mailing list