lli-baan
21st June 2002, 15:57
Hi!

Does anybody know a system variable for the printer driver or is there only the tablefield ttaad300.devd???

OmeLuuk
24th June 2002, 13:11
No reaction yet ...

Try this one:
Compile the report in debug mode.
When in the debugger, and device chosen, press captial L.
You will get a list with all defined variables. One should contain the device name...

lli-baan
24th June 2002, 15:04
thanx, but ...
... I need the driver and not the spooler/printer name!!!

OmeLuuk
24th June 2002, 15:15
That also should be in one of the variables (or maybe table fields that are also shown).

lli-baan
25th June 2002, 10:43
even with "L" in the debuggermode I can't see a varaible with the printer driver. By the way, I solved the problem in an other way. So thanx for your help!

patvdv
25th June 2002, 11:50
lli-baan,

Could you be so kind as to update the thread with the solution you used to fix the problem. This might be useful for other users in the future. Thanks!

lli-baan
25th June 2002, 12:23
I think, my solution is not very helpful for so many users because in my company we have a special queue for every printer device.

I changed the field ttaad300.pcom for the Printer in my script.

The Problem:
normally I print my report to one defined printer (every user with the authorization prints to the same printer). If the user doesn't have the authorization, he prints to another printer (defined in an extra table). I can recognize that fact too late, that I could create the tmp-report with the "new" device. So I have to put the report into the right queue!!!

Sorry, the description isn't so good but may it help!!!