Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] remote desktop and local printer
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Vieri
l33t
l33t


Joined: 18 Dec 2005
Posts: 871

PostPosted: Tue Mar 11, 2014 1:51 pm    Post subject: [SOLVED] remote desktop and local printer Reply with quote

Hi,

I'm unable to redirect my local USB printer when connecting with xfreerdp.

According to CUPS, these are my printer details:

HP_LaserJet_Professional_P1606dn (Idle, Accepting Jobs, Not Shared, Server Default)
Description: HP LaserJet Professional P1606dn
Location:
Driver: HP LaserJet Pro P1606dn Foomatic/foo2zjs-z2 (recommended) (grayscale, 2-sided printing)
Connection: usb://HP/LaserJet%20Professional%20P1606dn?serial=000000000QA74ZP0PR1a
Defaults: job-sheets=none, none media=iso_a4_210x297mm sides=one-sided

I launched xfreerdp in different ways:

Code:

xfreerdp /f /usb:id,dev:03f0:0a2a /v:RDPserver

xfreerdp /f /printer:HP_LaserJet_Professional_P1606dn /v:RDPserver

xfreerdp /f /printer:usb://HP/LaserJet%20Professional%20P1606dn?serial=000000000QA74ZP0PR1a /v:RDPserver

xfreerdp /f /printer:HP_LaserJet_Professional_P1606dn,HP LaserJet Pro P1606dn Foomatic/foo2zjs-z2 /v:RDPserver

xfreerdp /f /printer:HP_LaserJet_Professional_P1606dn,"HP LaserJet Pro P1606dn Foomatic/foo2zjs-z2" /v:RDPserver


Neither of these actually allowed my to see the printer from my Terminal Server.

I'm using 1.1.0_beta1_p20130710.

I also tried the latest remmina and tried to "attach local printers" but X crashed each time I tried that.

The only case where I can actually see my local printer in Terminal Server and print to it is when I run:

Code:
rdesktop -r printer:HP_LaserJet_Professional_P1606dn RDPserver


The only glitch with rdesktop is that I get a thin black stripe at the end of each page printed from Terminal Server. I DO NOT get this artifact when printing locally with the same driver. I'm using version 1.8.1.

Since freerdp seems to be a more active project than rdesktop I was wondering if someone could tell me how to correctly redirect to local printer from the command line (with xfreerdp).

Thanks,

Vieri


Last edited by Vieri on Mon Mar 17, 2014 7:05 am; edited 1 time in total
Back to top
View user's profile Send private message
honp
Guru
Guru


Joined: 25 Sep 2006
Posts: 355
Location: Good old Prague, Czech rep.

PostPosted: Fri Mar 14, 2014 12:28 pm    Post subject: Reply with quote

And you want it in this way? Samba is not solution for you?
Back to top
View user's profile Send private message
Vieri
l33t
l33t


Joined: 18 Dec 2005
Posts: 871

PostPosted: Mon Mar 17, 2014 7:05 am    Post subject: Reply with quote

Hi,

I'm making a Gentoo iso image to be loaded via PXE and I'd like it to be as light as possible. That's why I'd rather avoid installing samba.
I'm currently using cups + rdesktop with the following command:

rdesktop -r printer:HP_LaserJet_Professional_P1606dn="HP LaserJet Professional P1606dn" RDPserver

and it actually works after installing the Windows driver on the RDPserver host.

Printing is fine now.

Thanks,

Vieri
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum