Page 1 of 1

Terminal-server problem

PostPosted: Sat Oct 07, 2017 6:21 pm
by Marc Vanzegbroeck
Hi,

I have a very strange problem.
I have a program running on a Terminal-server.
If I print to the 'Adobe PDF' printer with the command 'Print ... FROM USER and select 'Adobe PDF', it works.
If I use PRINTER ... TO 'Adobe PDF', I get an error, printer not installed.
If I list al the printers with the function aGetPrinters(), I can't see 'Adobe PDF', but the other installed printer , and a lot of printers that are not installed anymore.
It seems that GetProfString(), that is called from PRINTER, does not see the correct printers.
This is the first time that I have this problem, it is also the first time that it is used on Terminal Server.
That version of program is an old version of FWH7.10.

Is there a way to soved this problem?

Re: Terminal-server problem

PostPosted: Sat Oct 07, 2017 9:48 pm
by Otto
Hello Marc ,
sometimes we too have the same problems.
This happens if the printer spooler service is not started and therefore you have no standard printer.

Which account uses the the remote user.
Have you added the RemoteDesktopUser to your useres and have you set the rights.

aGetPrinters()
seems to list the printers from registry entries.
You have to clean your entries.
Best regards,
Otto

Re: Terminal-server problem

PostPosted: Sat Oct 07, 2017 10:21 pm
by Marc Vanzegbroeck
Hi Otto,

I logged it with the same account as the user.
Before he was using PDFCreator-Terminal version. That was working fine, but since he have Adobe Acrobat Pro, he asked me to create the files with Adobe PDF, but that is not working.
It's strange that it work from PRINT ... FROM USER.

Do I have to to delete them from 'HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Devices' ?

Re: Terminal-server problem

PostPosted: Sun Oct 08, 2017 7:53 am
by Otto
Hello Marc,
please Google for:
"Adobe Acrobat Pro Terminal Server Use":
Maybe Adobe Acrobat Pro is not supported on TS.
Best regards,
Otto

Re: Terminal-server problem

PostPosted: Sun Oct 08, 2017 10:49 am
by Marc Vanzegbroeck
Hi Otto,

I deleted the not used printers in the registery, and now it's working :lol:
It seems, if there are to many printers, FWH don't see them all.
A displayed all printers returned with aGetPrinters(), al in the beginning the Adobe PDF was not shown.
After deleted some in the registry, Adobe was also displayed 8)