On Sun, Nov 22, 2009 at 10:19:10PM -0700, Boyd Lynn Gerber wrote:
In SUSE Linux Professioan 10.1 I used this script to get the red hat program to run on openSUSE 10.1.
-------------------------------Start-Program------------------------------- COMPANY=WHITE;export COMPANY dd_report=">/usr/bin/lpr -Plaser";export dd_report dd_tray3=">/usr/bin/lpr -Plaser_tray3";export dd_tray3 dd_tom=">/usr/bin/lpr -Plexmark";export dd_tom dd_local=">./local";export dd_local dd_samsung=">/usr/bin/lpr -PML-1750";export dd_samsung dd_cathy="/home/cathy/REPORT";export dd_cathy dd_barcode=">/usr/bin/lpr -Pbarcode";export dd_barcode trap ' '20
TERM=ansi; export TERM -------------------------------End-Program---------------------------------
Nown on openSUSE 11.2 I get the message
trap: usage: trap [-lp] [[arg] signal_spec ...]
any ideas on how the trap command on linux has changed that I get this error instead of the program running. removeing allow the program to run but then they are unable to print local or on the samba printers.
Any Ideas on how to fix this?
It seems like a typo of: trap '' 20 However, it's a curious thing; what happens if you just remove the trap call altogether? Petr "Pasky" Baudis -- To unsubscribe, e-mail: opensuse-programming+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-programming+help@opensuse.org