0

I'm using xpra on lubuntu16.04 , I used below command to start xpra

xpra start :5007 --start-child=leafpad --html=on --bind-tcp=0.0.0.0:44444 -d printing --encoding=jpeg 

After starting xpra, when I connect from chrome using 192.168.x.x:44444 ip in urlbar, leafpad application shows on chrome tab but when I press ctrl + p on same tab it shows list of default printers of lubuntu16.04 machine but don't show printers of my machine

also when I tried to connect using simple xpra desktop client from my windows machine with 192.168.x.x:44444 ip , leafpad opens with new window on my windows desktop & on press of ctrl + p it shows my local windows machine printers as expected.

So my question why in webbrowser (html5 client) cant show local machine printer and why xpra desktop client shows its , what is difference between this two html5 client and xpra desktop client?

Can any one explain if i want to list client's local printer in html5 client than what are necessary steps for it ?

1

The HTML5 client uses the Javascript API which does not expose anything about printers available on the client. The way the HTML5 xpra client handles printing is by sending a PDF file to the browser. The xpra server should have configured a "default" PDF printer for your HTML5 client. If that's not the case, then please file a bug as per reporting bugs and make sure to include full version details and the server log file with "-d printing" debug enabled.

  • ok noted. But can you tell me that how xpra client(windows specially) lists client's printer in xpra server for that socket connection..? I am just curious to know that without installing python on windows how xpra client works. It would be very helpfull to know how its work. – Rahul_Dange Jul 6 '17 at 9:48
  • I don't understand the question, you are asking now. Which is a different question from your original one. – totaam Jul 6 '17 at 11:35
  • hi @totaam can you come in chat room for discussion here chat.stackexchange.com/rooms/61687/xpra , i will explain you my scenario ! – Rahul_Dange Jul 6 '17 at 11:54
  • No, there is an xpra IRC channel and a mailing list, and a bug tracker. – totaam Jul 6 '17 at 13:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.