I suggest dirty solve for the problem. At sources of tsclient in
support.c file, add something like:

      // Added support for mapping local printers to remote desktop
      FILE* fptr;
      gchar *prn_filename = g_build_path ("/", tsc_home_path(), 
"printers.list", NULL);
        if ((fptr = fopen(prn_filename, "rd")) != NULL) {
         gchar *prnline = fgets(fptr) ;
         sprintf(buffer, "-r printer:%s", prnline);
         c_argv[c_argc++] = g_strdup (buffer);  
         fclose (fptr);
        }   

I don't have time to find out how to get printers list from system. If somebody 
can help with it, it would be great!
I'am just new in linux and for now have problem with compilation of tsclient 
sources. I just dont understand why ./configure don't create makefile.

-- 
Local printer on remote desktop via RDP
https://bugs.launchpad.net/bugs/233784
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to