Binnicol
11th January 2006, 10:21
Hello
I have installed CUPS in a Linux System (SUSE) for print the reports of Baan, but when I print a report in the device appear the message:
Ttstps0014 No hay datos existentes en la selección
But is false.
The command thar use the printer is : /usr/bin/lp -c -d q215 -n%d %s
I check the permissions of tmp directory and its Ok.
Any Idea?
norwim
11th January 2006, 11:34
Hi there,
strange ... the error signals that there is no data to be printed .. has nothing to do with the device you want to print it on ...
sooo
1) what happens if you choose another printer (for instance D isplay)?
2) what happens if you say 'echo HHHHHH | lp -d q215' in a unix shell?
good luck
Norbert
Binnicol
11th January 2006, 11:46
1) what happens if you choose another printer (for instance D isplay)?
The report appears in the display. Ok
2) what happens if you say 'echo HHHHHH | lp -d q215' in a unix shell?
The command execute correctly, and print the job.
Thanks.
Norbert
norwim
11th January 2006, 14:16
what kind of printer did you choose in Baan? 'direct' should be correct.
what kind of driver did you choose? Are the permissions ok in $BSE/printinf/[First_letter_of_printername]/ ? Have you tried to use 'lp ..etc.' instead of /usr/bin/lp? Or have you tried to use the lpr-command? (lpr -P device file_to_be_printed). If the data should be sent raw to the printer, it would be 'lpr -l -P device file_with_raw_data'.
Have you tried to use the printer without the -n%d option?
If you can use the printer from unix-shell, then you should be able to use it via Baan too ....
good luck
Norbert
Binnicol
11th January 2006, 16:29
what kind of printer did you choose in Baan? 'direct' should be correct.
I choose direct
what kind of driver did you choose?
None
Are the permissions ok in $BSE/printinf/[First_letter_of_printername]/ ?
This is the problem, the permissions are incorrect. Thanks a lot.
Binnicol
11th January 2006, 17:06
I have another question,
The report doesn't print caracters with accent. What's the problem?
Thanks.