1849358 Members
6004 Online
104043 Solutions
New Discussion

Re: dtpad printing

 
Yan Berube_1
Advisor

dtpad printing

I try to configure TPS with no success. I have changed the /etc/rc.config.d/desktop with DTPRTSVR=LP. Now, I'm able to print with dtpab as root but not with a user. Someone can help me to find why ? When I try to print with a user I have this error msg: "No printer defined or no printer is enabled.
4 REPLIES 4
Yan Berube_1
Advisor

Re: dtpad printing

I have already read theses thread but they don't give me an answer about my questions...

My question is why users are not able to print ? Why only root is able to print in dtpad ?

Thanks to help me to fix my issue.
Rick Beldin
HPE Pro

Re: dtpad printing

The DTPRTSVR environment variable is set in the /etc/rc.config.d/desktop file where it is expected to be read in by the startup script /sbin/init.d/dtlogin.rc. Because the script is actually *read* (NOT SOURCED) all users MUST be able to READ this file. Make sure that the permissions are 644.

The other problem that could be plaguing you is that dtpad has a funny client/server setup. A background copy of dtpad is started on a per-user basis and that thing actually contains much of the logic behind reading and writing files. If that it is already started and you change the permissions on the file, you won't see a change.

Ensure that the users logout completely from CDE after changing permissions.
Necessary questions: Why? What? How? When?
Yan Berube_1
Advisor

Re: dtpad printing

Thanks