‎2009 May 20 6:06 PM
I need to retrieve the default printer. If I save it in the user profile, I can retrieve it with FM SUSR_USER_LOGONDATA_GET.
I want to avoid having to set default parameter for large user base. Is there a function module that can read default printer when it is not saved in user profile.
Thanks
‎2009 May 21 1:32 AM
Hello Raynald,
If you are using access method F (Frontend printing) for your output device, you don't need to default the printer in the user master record. The system will determine the default printer set at the OS level.
Thanks & regards,
Hadiman Ngoei
‎2009 May 21 1:24 PM
I can't use LOCL because there is a batch job that does the printing and it does not know how to find the users default printer. Which is why I am trying to find alternative to put printer in user profile.
‎2009 Jun 01 7:21 PM
Method:
CL_GUI_FRONTEND_SERVICES->REGISTRY_GET_VALUE(
ROOT = 1
KEY = Software\Microsoft\Windows NT\CurrentVersion\Windows
VALUE = Device
)