Local printer on remote desktop via RDP
Bug #233784 reported by
Procion
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tsclient |
Fix Committed
|
Undecided
|
Unassigned | ||
tsclient (Baltix) |
New
|
Undecided
|
Unassigned | ||
tsclient (Ubuntu) |
Won't Fix
|
Low
|
Unassigned | ||
Bug Description
Binary package hint: tsclient
I have a local printer at lan, and I want to map it on a remote terminal server in my session, but tsclient don't provide such option. Rdesktop can do this from command line (... -r printer:
Changed in tsclient (Ubuntu): | |
importance: | Undecided → Low |
To post a comment you must log in.
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
sprintf( buffer, "-r printer:%s", prnline);
c_argv[ c_argc+ +] = g_strdup (buffer);
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) ;
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.