LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 07-07-2010, 09:02 AM   #1
LogiLinux
LQ Newbie
 
Registered: Jul 2010
Posts: 2

Rep: Reputation: 0
Smile Rdesktop Printer Redirection


Hi,

I am currently having problems trying to redirect locally-attached printers when using rdesktop (v1.6.0) from a Debian (LENNY) HP thin client (T5735) to Windows XP Pro & Windows 7 Pro machines.

When using a Windows RDP client, any locally installed printers automatically appear on the RDP server machine as "redirected" and do not need to be manually installed.

This does not happen for us when using rdesktop.

The printers *do* appear as TSxxx ports when a printer is manually installed on the RDP server machine - and prints come out correctly - so the re-direct partially works, but these installed printers disappear every time the RDP server machine is rebooted.

I have also tried an Ubuntu install and the same happens

HPLIP & CUPS are installed on the Debian installation to make sure that they have correct HP driver .

I have used varying combinations of the following parameters:

-T "Windows 7"
-a 16
-k en-gb
-g 1632x918
-x l
-n TC
-r usbrdr
-r sound:local=alsa
-r disk:usb=/media
-r printer:LP1= "Officejet_Pro_K5400"
-r lptport:LPT1=/dev/bus/usb/006/002
10.1.1.6:3389

Firstly, is rdekstop supposed to wwork in the same manner as the Windows RDP client?

And if so, what am I doing wrong?

Thanks in advance
 
Old 07-08-2010, 02:44 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,005
Blog Entries: 11

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
Not that I ever used rdesktop for this, but ... the man page suggests
a line more like:
Code:
-r printer:local_queue_name
Of course, if LP1 is the queue i have no idea ...
 
Old 07-08-2010, 09:50 AM   #3
LogiLinux
LQ Newbie
 
Registered: Jul 2010
Posts: 2

Original Poster
Rep: Reputation: 0
yep - LP1 is the printer queue

we have tried various combinations, individually and together.

we have just got the printer redirect working using freerdp on an Ubuntu install, but would prefer to use rdesktop as this comes bundled which makes life a lot easier for our Debian setup

Thanks in advance
 
Old 04-19-2011, 04:21 AM   #4
Lexus45
Member
 
Registered: Jan 2010
Location: Kurgan, Russia
Distribution: Slackware, Ubuntu
Posts: 339
Blog Entries: 3

Rep: Reputation: 47
Hi all.

I also have a problem with printer HP LaserJet M1132, it's MFP.
It prints well locally (it's connected to the Ubuntu 11.04 machine).

We tried '... -r printer:<exact printer name as in Ubuntu> ...' and '... -r printer:<exact printer name as in Ubuntu>="<driver's name as it's named in Windows>" ...'
But all in vain. Yes, the driver of this printer is installed on the Win 2003 Server.


Then we tried another tool - Remmina. Since v. 0.8 it uses a new freerdp-protocol, it was written that it works better with printer redirection, etc. There are no any exact setting in Remmina, considered with printers. Just a drop-down menu or a radio button like "redirect local printers". Nothing changed.


Then we tried 'xfreerdp'. It's a command-line tool. It also doesn't wor with this printer. But the parametres were correct.
But! Depending on the order of parametres in the command, the 'mounted' directory and the printer do not appear simultaniously. That's what I mean:
printer. NO disk.
Quote:
xfreerdp -u lexus -a 8 -z -k 0x00000409 --plugin cliprdr --plugin rdpsnd --plugin rdpdr --data disk:lexus:/home/lexus -- --plugin rdpdr --data printer -- ts1
disk. NO printer:
Quote:
xfreerdp -u lexus -a 8 -z -k 0x00000409 --plugin cliprdr --plugin rdpsnd --plugin rdpdr --data printer -- --plugin rdpdr --data disk:lexus:/home/lexus -- ts1
So, printers/disk (folder) depend on the order in the command.

Does anybody know the way to fix this problem?

Last edited by Lexus45; 04-21-2011 at 07:21 AM.
 
Old 05-04-2011, 05:17 AM   #5
Lexus45
Member
 
Registered: Jan 2010
Location: Kurgan, Russia
Distribution: Slackware, Ubuntu
Posts: 339
Blog Entries: 3

Rep: Reputation: 47
SOLVED.
Code:
#!/bin/sh
xfreerdp -u LOGIN -d DOMAIN -a 32 -z -g 1900x1000 -k 0x00000409 --plugin cliprdr --plugin rdpsnd --plugin rdpdr --data disk:${USERNAME}:${HOME} --plugin rdpdr --data printer -- ts.example.com

Last edited by Lexus45; 05-22-2011 at 10:53 PM.
 
  


Reply

Tags
rdesktop


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
rdesktop printer redirect okeyla Linux - Newbie 3 07-06-2009 07:54 PM
Terminal Services Client Printer redirection not working mel_phil Linux - Hardware 5 11-13-2008 04:18 PM
rdesktop - how can I get my local printer to work? ingar Linux - Networking 1 03-10-2006 10:33 AM
rdesktop - how can I get my local printer to work? ingar Linux - General 0 03-07-2006 12:05 PM
keeping printer on at bootup keeps printer from printing (some printer modules loaded TheOneAndOnlySM Slackware 1 10-17-2003 08:39 PM


All times are GMT -5. The time now is 11:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration