Have you ever heard about the $NATTMP environment variable?. The things is that I’ve been receiving a NAT1583 when I try ti print a report online from Natural. I found into the ServLine24 a report which mentions that environment variable.
So when I use the ‘sag’ user to login I can generate the online report but when I use another kind of user to login I receive the NAT1583.
The NATPARM definitions is at the device/report assignments:
LPT1 AUTO 80 132 32767 $SAG/Procesos/imprime D. Where imprime is the following shell script:
cat > $HOME/Reportes/filexxx.txt
exit 0The Natural program is:
define printer (ors=1) output ‘LPT1’
write (ors) ‘Esta es una prueba’
I really appreciate your help. Thanks in advanced.