Hello bryan,
We do it using the passtrough Accuterm print sequence (AUX Printer)
On Universe side,
We have a uvprinter called "auxport" associate to a spool-script (device
/dev/null)
SETPTR charge USEROPT with @TTY var (/dev/pts/xx) ('SETPTR ....USEROPT
"':@TTY:'" ')
# SCHEMA OF THE SCRIPT ...
The spool-script receive the uvspool arguments
uv_uid=$1 ; shift
uv_jobnr=$1 ; shift
uv_jobsize=$1; shift
uv_banner=$1; shift
uv_form=$1 ; shift
uv_printer=$1 ; shift
uv_7=$1 ; shift
uv_8=$1 ; shift
uv_9=$1 ; shift
uv_10=$1 ; shift
uv_useropts=$* ; shift
# get spool-data into a temp file
tmpfile="$tmp_path/spool_$$.tmp"
cat > tmpfile
AccutermAuxPrinterOpen = check accuterm doc ? esc[5i
AccutermAuxPrinterClose = check accuterm doc ? esc [4i
if uv_printer = auxport
echo $AccutermAuxPrinterOpen >> $useropt
cat tmpfile >> $useropt
echo $AccutermAuxPrinterClose >>$useropt
end
I hope this help.
Manu
> -----Message d'origine-----
> De : [email protected] [mailto:u2-users-
> [email protected]] De la part de Bryan Evans
> Envoyé : mercredi 25 mai 2011 23:23
> À : U2 Users List
> Objet : [U2] Printing to Remote Warehouse
>
> I apologize upfront if this is more related to Unix rather than UniVerse.
> We have a remote warehouse that connects to us via telent on a dumb
> terminal. They have a line printer hooked up to the dumb terminal. When
> we print packing lists, we open up the aux port and send the print job to the
> printer. We are looking to eliminate the dumb terminal, but we are stuck on
> how to send a print job to a local printer hooked to a PC. Has anyone done
> this before? Is it possible? The remote warehouse is not on our network -
> the only way they can connect is via telent.
>
> We are running UniVerse 10.2 on HP-UX and use AccuTerm as our emulation
> software.
>
> Thanks in advance,
>
> Bryan Evans
> _______________________________________________
> U2-Users mailing list
> [email protected]
> http://listserver.u2ug.org/mailman/listinfo/u2-users
_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users