If you can, email the user a pdf :-)

I went to a lot of trouble many years ago printing via samba on AIX to local 
windows printers, and while it worked, it was painful to support (and then the 
requirements changed to have remote users with ssh but not vpn access).

You can do some amazing things in those custom printing scripts though...

dsir...@x04ifl01:/usr/local/bin ->cat spoolmail
#!/bin/sh

# Email the spooled file to the current user
# Parameters: 2 = full path to file


if [ "$1" == "TXT" ]; then
    file=/tmp/report.$$.txt
    # Leave things alone
    perl -p -e 's/\n$/\r\n/;' $2 > $file
else
    # RTF is the default
    file=/tmp/report.$$.rtf
    # Copy the header to a working copy
    cp /usr/local/lib/TEMPLATE.RTF $file
    # Append the report to the working copy
    cat $2 >> $file
    # Swap page breaks ^L for \\page and \n for \\par
    perl -i -n -e 's{^L}{\\page }g;chomp;print $_,q(\\par );' $file
    # Add a final paragraph marker to the end
    echo \\par }} >> $file
fi

# Figure out who to send to
TO=`getalias $LOGNAME`
FROM=$TO

# Check for addresses that should be sent confidential
SUBJECT="Your report"
expr match $TO .\*customer.com > /dev/null
if [ $? -eq 0 ]; then
    SUBJECT="Confidential: $SUBJECT"
fi

# Send it, already
/usr/local/bin/uuenview -b -f $FROM -m $TO -s "$SUBJECT" $file

rm $file


-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of [email protected]
Sent: Friday, April 30, 2010 9:12 AM
To: U2-Users
Subject: [U2] Remote Printing




We are looking for remote printing options from Unidata for VPN users. 
Currently using a remote print manager called RPM by Brooks. 



Cisco VPN 

RS6000/AIX 

Unidata 7.1 

Primac business software 



What are other companies using for this purpose? 



Thanks. Steve 


Steve Kunzman 
Andover, MN
_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

IMPORTANT NOTICE: This message is intended only for the addressee
and may contain confidential, privileged information. If you are
not the intended recipient, you may not use, copy or disclose any
information contained in the message. If you have received this
message in error, please notify the sender by reply e-mail and
delete the message.
_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to