Linux rdp printer redirection

Linux rdp printer redirection

Что и как делаете, каким клиентом пользуетесь, что именно не получается вы предлагаете выяснить местным телепатам?

И rdesktop, и freerdp умеют проброс шар и принтеров.

-r Enable redirection of the specified device on the client, such that it appears on the server. Note that the allowed redirections may be restricted by the server configuration. Following devices are currently supported: -r comport:=. Redirects serial devices on your client to the server. Note that if you need to change any settings on the serial device(s), do so with an appropriate tool before starting rdesktop. In most OSes you would use stty. Bidirectional/Read support requires Windows XP or newer. In Windows 2000 it will create a port, but it's not seamless, most shell programs will not work with it. -r disk:=. Redirects a path to the share \\tsclient\ on the server (requires Windows XP or newer). The share name is limited to 8 characters. -r lptport:=. Redirects parallel devices on your client to the server. Bidirectional/Read support requires Windows XP or newer. In Windows 2000 it will create a port, but it's not seamless, most shell programs will not work with it. -r printer:[=]. Redirects a printer queue on the client to the server. The is the name of the queue in your local system. defaults to a simple PS- driver unless you specify one. Keep in mind that you need a 100% match in the server environment, or the driver will fail. The first printer on the com‐ mand line will be set as your default printer.

На клиенте должен быть установлен CUPS и настроен хотя бы один принтер, имена доступных принтеров, которые указываются в ключах редиректа можно посмотреть командой lpstat -p -d

Читайте также:  Как посмотреть порты в линуксе

Источник

Linux rdp printer redirection

Что и как делаете, каким клиентом пользуетесь, что именно не получается вы предлагаете выяснить местным телепатам?

И rdesktop, и freerdp умеют проброс шар и принтеров.

-r Enable redirection of the specified device on the client, such that it appears on the server. Note that the allowed redirections may be restricted by the server configuration. Following devices are currently supported: -r comport:=. Redirects serial devices on your client to the server. Note that if you need to change any settings on the serial device(s), do so with an appropriate tool before starting rdesktop. In most OSes you would use stty. Bidirectional/Read support requires Windows XP or newer. In Windows 2000 it will create a port, but it's not seamless, most shell programs will not work with it. -r disk:=. Redirects a path to the share \\tsclient\ on the server (requires Windows XP or newer). The share name is limited to 8 characters. -r lptport:=. Redirects parallel devices on your client to the server. Bidirectional/Read support requires Windows XP or newer. In Windows 2000 it will create a port, but it's not seamless, most shell programs will not work with it. -r printer:[=]. Redirects a printer queue on the client to the server. The is the name of the queue in your local system. defaults to a simple PS- driver unless you specify one. Keep in mind that you need a 100% match in the server environment, or the driver will fail. The first printer on the com‐ mand line will be set as your default printer.

На клиенте должен быть установлен CUPS и настроен хотя бы один принтер, имена доступных принтеров, которые указываются в ключах редиректа можно посмотреть командой lpstat -p -d

Читайте также:  Linux dd посмотреть прогресс

Источник

Printer redirection with FreeRDP in debian

disclaimer: Just learning Linux here so I know my knowledge is lacking.

Okay, I’ve started a project to see if running an RDP session using a Raspberry Pi 2 is feasible. It definitely is [pretty fantastic actually] but I’ve run into an issue. How do I install a Generic/Text Only printer on the Pi and have it redirect to the RDP session?

I have installed the printer using CUPS, but I’m not sure if it should be a Generic text only or a RAW printer. None-the-less, I can get the printer to redirect using «/printer» but it uses the wrong driver [MS Publisher Imagesetter]. I try to force the driver by using «/printer:»epson»,»Generic / Text Only», but the FreeRDP session will not launch with the «/» in there. How can I force the driver if Windows uses the «/»?

I’m not sure I have the printer set up properly within CUPS, so please feel free to question my setup.

Enter to win a Stack Overflow T-Shirt AND $100 Amazon GC

Contest ends 2023-07-21 Contests Complete the steps to receive a t-shirt! Tell your IT Hero story, and you could also receive a $100 Amazon GC Contest Details View all contests

  • Created printer within RPiTC as Generic Text Only with name of «Generic_Text_Only»
  • Set the connection string in xfreerdp to «/printer:»Generic_Text_Only»,»Generic_Text_Only»
  • Used the below guide to create a printer redirection within Windows Server

In essence, the xfreerdp string tells Windows Server that the local printer uses driver «Generic_Text_Only» and the printer redirect within Windows Server says to redirect «Generic_Text_Only» to «Generic/Text Only».

;NTPRINTSUBS.INF ;Printer mapping file for client-side to server-side drivers [Printers] "Generic_Text_Only" = "Generic/Text Only"

Источник

Читайте также:  Samsung 970 evo linux

Linux rdp printer redirection

Computer 1. Windows Server 2012 Std with RDP Terminal Server Computer 2. Ubuntu Linux 13.04 with RDP client Remmina and HP LaserJet 1020 Printer Computers isn’t located in one local network. When I connected to the Windows by RDP — I couldnt see any printers (e.g. HP LJ 1020). What should I do to make visible my printers when I connect thru Remmina to Windows 2012 Server? May be add some components or roles? By the way, when I use Windows 7 to connect to Server 2012, I could see my printer like Remote Desktop Easy Print.
—- Windows Server 2012 и клиент на Ubuntu не находятся в одной локальной сети, поэтому подключить принтер из под терминальной сессии по локальной сети не получится. Нужно прокидывать принтер с Ubuntu в терминальную сессию через RDP. Так вот, если я подключаюсь из под Windows 7, то принтер виден, Easy Print отрабатывает нормально, а если из под Ubuntu, то нет ни одного принтера. Как я понял, это особенность Windows 2012, то что они отключили там устаревшие компоненты, потому что подключаюсь к Windows 2008R2 и там принтер из Ubuntu виден.

All replies

(SOLVED) Problem with printer redirection between Ubuntu Linux 12.04 and Windows 2012R2

Server — Windows 2012R2
Clients — Linux Ubuntu 12.04/14.04
RDP client — Remmina Remote Desktop Client (Stable release: 1.0.0).

It turned out that for some strange logic in the connection settings to the server in the RDP client — Remmina must specify sound «local».

Then Printer redirection works and print remotely without problems.

Special thanks to the user with the nickname «nechik_uk» from forum.oszone.net.

Источник

Оцените статью
Adblock
detector