migrate rdesktop to freerdp - problems with printing

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

migrate rdesktop to freerdp - problems with printing

trentasis
Hi,

We are trying to migrate our rdesktop environment to freerdp, but we have problems with freerdp printing (usb and network)

Now we are using in rdesktop environment with thinstation 5.4 with lprng packages
this:

network printer:
PRINTER_0_NAME=LASER_GINE
PRINTER_0_DEVICE=192.1669.169.57%9100           #printer_id%9100
PRINTER_0_TYPE=N

SESSION_0_RDESKTOP_OPTIONS="-k es -a 24 -u '' -d domain-r printer:LASER_='Brother PCL5e Driver' -r scard"

or usb printer:

SESSION_0_RDESKTOP_OPTIONS="-k es -a 16 -u '' -d domain-r printer:usb='Brother PCL5e Driver' -r scard"

And this works perfect with rdesktop


Now, we are trying to migrate to freerdp but we have many problems with printers in freerdp, in any situation (usb or network printer) printer is redirected but when we try tyo print a message is showed in windows ts session that can't be printed, we have tried with:


usb printer with driver
# xfreerdp /printer:usb /v:server
[10:17:36:403] [6271:6272] [INFO][com.freerdp.client.common.cmdline] - loading channel rdpdr
[10:17:36:403] [6271:6272] [INFO][com.freerdp.client.common.cmdline] - loading channel rdpsnd
[10:17:36:404] [6271:6272] [INFO][com.freerdp.client.x11] - No user name set. - Using login name: root
[10:17:36:418] [6271:6272] [WARN][com.freerdp.core.nego] - Error: SSL_NOT_ALLOWED_BY_SERVER
[10:17:36:421] [6271:6272] [WARN][com.freerdp.core.nego] - Error: SSL_NOT_ALLOWED_BY_SERVER
[10:17:36:522] [6271:6273] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service printer (static)
[10:17:36:523] [6271:6273] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service printer (static)
[10:17:52:716] [6271:6273] [INFO][com.freerdp.channels.rdpdr.client] - registered device #1: PRN1 (type=4 id=1)
[10:18:25:253] [6271:6273] [ERROR][com.freerdp.channels.rdpdr.client] - Ignoring unhandled message PAKID_PRN_CACHE_DATA (EventID: 0x0002)
[10:21:22:572] [6271:6273] [ERROR][com.freerdp.channels.rdpdr.client] - Ignoring unhandled message PAKID_PRN_CACHE_DATA (EventID: 0x0002)
[10:21:24:083] [6271:6272] [ERROR][com.freerdp.core] - ERRINFO_LOGOFF_BY_USER (0x0000000C):The disconnection was initiated by the user logging off his or her session on the server.
[10:21:24:084] [6271:6272] [ERROR][com.freerdp.core.rdp] - DisconnectProviderUltimatum: reason: 3

network printer with driver
ts:~# xfreerdp /printer:NETWORK-PRINTER /v:server
[10:28:07:778] [6390:6391] [INFO][com.freerdp.client.common.cmdline] - loading channel rdpdr
[10:28:07:778] [6390:6391] [INFO][com.freerdp.client.common.cmdline] - loading channel rdpsnd
[10:28:07:780] [6390:6391] [INFO][com.freerdp.client.x11] - No user name set. - Using login name: root
[10:28:07:791] [6390:6391] [WARN][com.freerdp.core.nego] - Error: SSL_NOT_ALLOWED_BY_SERVER
[10:28:07:793] [6390:6391] [WARN][com.freerdp.core.nego] - Error: SSL_NOT_ALLOWED_BY_SERVER
[10:28:07:884] [6390:6392] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service printer (static)
[10:28:07:884] [6390:6392] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service printer (static)
[10:28:13:969] [6390:6392] [INFO][com.freerdp.channels.rdpdr.client] - registered device #1: PRN1 (type=4 id=1)
[10:28:46:057] [6390:6392] [ERROR][com.freerdp.channels.rdpdr.client] - Ignoring unhandled message PAKID_PRN_CACHE_DATA (EventID: 0x0002)
[10:30:13:464] [6390:6391] [ERROR][com.freerdp.core] - ERRINFO_LOGOFF_BY_USER (0x0000000C):The disconnection was initiated by the user logging off his or her session on the server.
[10:30:13:464] [6390:6391] [ERROR][com.freerdp.core.rdp] - DisconnectProviderUltimatum: reason: 3

usb printer with driver
ts:~# xfreerdp /printer:usb,'Brother PCL5e Driver' /v:server /f
[12:03:58:681] [6566:6567] [INFO][com.freerdp.client.common.cmdline] - loading channel rdpdr
[12:03:58:681] [6566:6567] [INFO][com.freerdp.client.common.cmdline] - loading channel rdpsnd
[12:03:58:683] [6566:6567] [INFO][com.freerdp.client.x11] - No user name set. - Using login name: root
[12:03:58:692] [6566:6567] [WARN][com.freerdp.core.nego] - Error: SSL_NOT_ALLOWED_BY_SERVER
[12:03:58:695] [6566:6567] [WARN][com.freerdp.core.nego] - Error: SSL_NOT_ALLOWED_BY_SERVER
[12:03:58:798] [6566:6568] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service printer (static)
[12:03:58:799] [6566:6568] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service printer (static)
[12:04:04:752] [6566:6568] [INFO][com.freerdp.channels.rdpdr.client] - registered device #1: PRN1 (type=4 id=1)
[12:04:27:677] [6566:6567] [ERROR][com.freerdp.core] - ERRINFO_LOGOFF_BY_USER (0x0000000C):The disconnection was initiated by the user logging off his or her session on the server.
[12:04:27:677] [6566:6567] [ERROR][com.freerdp.core.rdp] - DisconnectProviderUltimatum: reason: 3

network printer with driver
ts:~#  xfreerdp /printer:NETWORK-PRINTER,'Brother PCL5e Driver' /v:server /f
[12:08:18:839] [6385:6386] [INFO][com.freerdp.client.common.cmdline] - loading channel rdpdr
[12:08:18:839] [6385:6386] [INFO][com.freerdp.client.common.cmdline] - loading channel rdpsnd
[12:08:18:840] [6385:6386] [INFO][com.freerdp.client.x11] - No user name set. - Using login name: root
[12:08:18:850] [6385:6386] [WARN][com.freerdp.core.nego] - Error: SSL_NOT_ALLOWED_BY_SERVER
[12:08:18:853] [6385:6386] [WARN][com.freerdp.core.nego] - Error: SSL_NOT_ALLOWED_BY_SERVER
[12:08:18:934] [6385:6387] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service printer (static)
[12:08:18:935] [6385:6387] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service printer (static)
[12:08:27:548] [6385:6387] [INFO][com.freerdp.channels.rdpdr.client] - registered device #1: PRN1 (type=4 id=1)
[12:08:52:101] [6385:6386] [ERROR][com.freerdp.core] - ERRINFO_LOGOFF_BY_USER (0x0000000C):The disconnection was initiated by the user logging off his or her session on the server.
[12:08:52:101] [6385:6386] [ERROR][com.freerdp.core.rdp] - DisconnectProviderUltimatum: reason: 3


What can I do allow printer with freerdp and thinstation as it was used with rdesktop?

Thanks


------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Thinstation-general mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/thinstation-general
Reply | Threaded
Open this post in threaded view
|

Fwd: migrate rdesktop to freerdp - problems with printing

trentasis
Hi,

We are trying to migrate our rdesktop environment to freerdp, but we have problems with freerdp printing (usb and network)

Now we are using in rdesktop environment with thinstation 5.4 with lprng packages
this:

network printer:
PRINTER_0_NAME=LASER_GINE
PRINTER_0_DEVICE=192.169.169.57%9100           #printer_id%9100
PRINTER_0_TYPE=N

SESSION_0_RDESKTOP_OPTIONS="-k es -a 24 -u '' -d domain-r printer:LASER_='Brother PCL5e Driver' -r scard"

or usb printer:

SESSION_0_RDESKTOP_OPTIONS="-k es -a 16 -u '' -d domain-r printer:usb='Brother PCL5e Driver' -r scard"

And this works perfect with rdesktop


Now, we are trying to migrate to freerdp but we have many problems with printers in freerdp, in any situation (usb or network printer) printer is redirected but when we try tyo print a message is showed in windows ts session that can't be printed, we have tried with:


usb printer with driver
# xfreerdp /printer:usb /v:server
[10:17:36:403] [6271:6272] [INFO][com.freerdp.client.common.cmdline] - loading channel rdpdr
[10:17:36:403] [6271:6272] [INFO][com.freerdp.client.common.cmdline] - loading channel rdpsnd
[10:17:36:404] [6271:6272] [INFO][com.freerdp.client.x11] - No user name set. - Using login name: root
[10:17:36:418] [6271:6272] [WARN][com.freerdp.core.nego] - Error: SSL_NOT_ALLOWED_BY_SERVER
[10:17:36:421] [6271:6272] [WARN][com.freerdp.core.nego] - Error: SSL_NOT_ALLOWED_BY_SERVER
[10:17:36:522] [6271:6273] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service printer (static)
[10:17:36:523] [6271:6273] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service printer (static)
[10:17:52:716] [6271:6273] [INFO][com.freerdp.channels.rdpdr.client] - registered device #1: PRN1 (type=4 id=1)
[10:18:25:253] [6271:6273] [ERROR][com.freerdp.channels.rdpdr.client] - Ignoring unhandled message PAKID_PRN_CACHE_DATA (EventID: 0x0002)
[10:21:22:572] [6271:6273] [ERROR][com.freerdp.channels.rdpdr.client] - Ignoring unhandled message PAKID_PRN_CACHE_DATA (EventID: 0x0002)
[10:21:24:083] [6271:6272] [ERROR][com.freerdp.core] - ERRINFO_LOGOFF_BY_USER (0x0000000C):The disconnection was initiated by the user logging off his or her session on the server.
[10:21:24:084] [6271:6272] [ERROR][com.freerdp.core.rdp] - DisconnectProviderUltimatum: reason: 3

network printer with driver
ts:~# xfreerdp /printer:NETWORK-PRINTER /v:server
[10:28:07:778] [6390:6391] [INFO][com.freerdp.client.common.cmdline] - loading channel rdpdr
[10:28:07:778] [6390:6391] [INFO][com.freerdp.client.common.cmdline] - loading channel rdpsnd
[10:28:07:780] [6390:6391] [INFO][com.freerdp.client.x11] - No user name set. - Using login name: root
[10:28:07:791] [6390:6391] [WARN][com.freerdp.core.nego] - Error: SSL_NOT_ALLOWED_BY_SERVER
[10:28:07:793] [6390:6391] [WARN][com.freerdp.core.nego] - Error: SSL_NOT_ALLOWED_BY_SERVER
[10:28:07:884] [6390:6392] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service printer (static)
[10:28:07:884] [6390:6392] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service printer (static)
[10:28:13:969] [6390:6392] [INFO][com.freerdp.channels.rdpdr.client] - registered device #1: PRN1 (type=4 id=1)
[10:28:46:057] [6390:6392] [ERROR][com.freerdp.channels.rdpdr.client] - Ignoring unhandled message PAKID_PRN_CACHE_DATA (EventID: 0x0002)
[10:30:13:464] [6390:6391] [ERROR][com.freerdp.core] - ERRINFO_LOGOFF_BY_USER (0x0000000C):The disconnection was initiated by the user logging off his or her session on the server.
[10:30:13:464] [6390:6391] [ERROR][com.freerdp.core.rdp] - DisconnectProviderUltimatum: reason: 3

usb printer with driver
ts:~# xfreerdp /printer:usb,'Brother PCL5e Driver' /v:server /f
[12:03:58:681] [6566:6567] [INFO][com.freerdp.client.common.cmdline] - loading channel rdpdr
[12:03:58:681] [6566:6567] [INFO][com.freerdp.client.common.cmdline] - loading channel rdpsnd
[12:03:58:683] [6566:6567] [INFO][com.freerdp.client.x11] - No user name set. - Using login name: root
[12:03:58:692] [6566:6567] [WARN][com.freerdp.core.nego] - Error: SSL_NOT_ALLOWED_BY_SERVER
[12:03:58:695] [6566:6567] [WARN][com.freerdp.core.nego] - Error: SSL_NOT_ALLOWED_BY_SERVER
[12:03:58:798] [6566:6568] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service printer (static)
[12:03:58:799] [6566:6568] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service printer (static)
[12:04:04:752] [6566:6568] [INFO][com.freerdp.channels.rdpdr.client] - registered device #1: PRN1 (type=4 id=1)
[12:04:27:677] [6566:6567] [ERROR][com.freerdp.core] - ERRINFO_LOGOFF_BY_USER (0x0000000C):The disconnection was initiated by the user logging off his or her session on the server.
[12:04:27:677] [6566:6567] [ERROR][com.freerdp.core.rdp] - DisconnectProviderUltimatum: reason: 3

network printer with driver
ts:~#  xfreerdp /printer:NETWORK-PRINTER,'Brother PCL5e Driver' /v:server /f
[12:08:18:839] [6385:6386] [INFO][com.freerdp.client.common.cmdline] - loading channel rdpdr
[12:08:18:839] [6385:6386] [INFO][com.freerdp.client.common.cmdline] - loading channel rdpsnd
[12:08:18:840] [6385:6386] [INFO][com.freerdp.client.x11] - No user name set. - Using login name: root
[12:08:18:850] [6385:6386] [WARN][com.freerdp.core.nego] - Error: SSL_NOT_ALLOWED_BY_SERVER
[12:08:18:853] [6385:6386] [WARN][com.freerdp.core.nego] - Error: SSL_NOT_ALLOWED_BY_SERVER
[12:08:18:934] [6385:6387] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service printer (static)
[12:08:18:935] [6385:6387] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service printer (static)
[12:08:27:548] [6385:6387] [INFO][com.freerdp.channels.rdpdr.client] - registered device #1: PRN1 (type=4 id=1)
[12:08:52:101] [6385:6386] [ERROR][com.freerdp.core] - ERRINFO_LOGOFF_BY_USER (0x0000000C):The disconnection was initiated by the user logging off his or her session on the server.
[12:08:52:101] [6385:6386] [ERROR][com.freerdp.core.rdp] - DisconnectProviderUltimatum: reason: 3


What can I do allow printer with freerdp and thinstation as it was used with rdesktop?

Thanks



------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Thinstation-general mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/thinstation-general