Ubuntu 18.04: Duplex Long Edge printing mode selected but not working

If i choose to print a document (pdf, txt) with more than one page with Duplex “Long Edge” enable with Evince, Gedit, … on Ubuntu 18.04.x, it still print with Duplex Off.

It was working with Ubuntu 16.04 LTS and i also tested on Ubuntu 19.04 and it’s works. So the problem is on 18.04 LTS.

We use a remote printer on a Ubuntu print server 19.04.

It’s like the file sent by Ubuntu 18.04 to print server are not interpreted correctly by the print server..

Any help would be appreciated, i don’t know if the problem is with ubuntu, cups, poppler, … Thanks!

LOGS

Filetype: PDF
Neither PDF renderer command line nor Ghostscript-based renderer command line found
Driver does not understand PDF input, converting to PostScript
Storing temporary files in /var/spool/cups/tmp
Starting process \”pdf-to-ps\” (generation 1)
Printer make and model: NRG MP 2352 PS3

Running command line for pstops: pstops 44555 john testfile.pdf 1 \’ cups-browsed cups-browsed-dest-printer=37\ xxx.xxx.xxx.xxx:631/MP-2352\ Duplex=DuplexNoTumble finishings=0 InputSlot=Auto job-uuid=urn:uuid:8023a1dd-8f1f-3e58-58b2-eb77f271e0d5 JobType=Normal MediaType=Auto OutputBin=Default PageSize=A4 Password=None print-quality=0 StapleLocation=None UserCode=None pdftops-max-image-resolution=300 pdftops-renderer=pdftops job-originating-host-name=xxx.xxx.xxx.xxx date-time-at-creation= date-time-at-processing= time-at-creation=1566373945 time-at-processing=1566373945\’

Found: %%BeginFeature: *Duplex None
Option: Duplex=None
Setting option
Found: %% FoomaticRIPOptionSetting: Duplex=None
Option: Duplex=None
Setting option

@PJL SET DUPLEX=OFF …

Unable to connect to ethernet. ethtool reports unknown speed and unknown duplex

I am trying to receive an internet connection through ethernet. My desktop is running Ubuntu 16.04.

The network manager applet reports as having connected to enp0s31f6, yet my computer has not received a DHCP address.

dhclient output seems to indicate that no DHCPOFFERs are being received from the server (more DHCPDISCOVER requests are sent with no change in the output):

~$   sudo dhclient -v enp0s31f6 Internet Systems Consortium DHCP Client 4.3.3 Copyright 2004-2015 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/  Listening on LPF/enp0s31f6/0c:9d:92:bd:9b:57 Sending on   LPF/enp0s31f6/0c:9d:92:bd:9b:57 Sending on   Socket/fallback DHCPDISCOVER on enp0s31f6 to 255.255.255.255 port 67 interval 3 (xid=0xfff5a066) DHCPDISCOVER on enp0s31f6 to 255.255.255.255 port 67 interval 8 (xid=0xfff5a066) DHCPDISCOVER on enp0s31f6 to 255.255.255.255 port 67 interval 13 (xid=0xfff5a066) DHCPDISCOVER on enp0s31f6 to 255.255.255.255 port 67 interval 13 (xid=0xfff5a066) 

ethtool reports the following information. The value of Unknown! for the Speed and Duplex attributes seems suspect. Will I ever be able to connect when these values are unknown? If not, how can I fix this unknown values problem?

~$   sudo ethtool enp0s31f6 Settings for enp0s31f6:     Supported ports: [ TP ]     Supported link modes:   10baseT/Half 10baseT/Full                              100baseT/Half 100baseT/Full                              1000baseT/Full      Supported pause frame use: No     Supports auto-negotiation: Yes     Advertised link modes:  10baseT/Half 10baseT/Full                              100baseT/Half 100baseT/Full                              1000baseT/Full      Advertised pause frame use: No     Advertised auto-negotiation: Yes     Speed: Unknown!     Duplex: Unknown! (255)     Port: Twisted Pair     PHYAD: 2     Transceiver: internal     Auto-negotiation: on     MDI-X: Unknown (auto)     Supports Wake-on: pumbg     Wake-on: g     Current message level: 0x00000007 (7)                    drv probe link     Link detected: no 

I’ve tried to set their values manually, to no avail:

~$   sudo ethtool -s enp0s31f6 speed 1000 duplex full ~$   sudo ethtool enp0s31f6 Settings for enp0s31f6:     Supported ports: [ TP ]     Supported link modes:   10baseT/Half 10baseT/Full                              100baseT/Half 100baseT/Full                              1000baseT/Full      Supported pause frame use: No     Supports auto-negotiation: Yes     Advertised link modes:  1000baseT/Full      Advertised pause frame use: No     Advertised auto-negotiation: Yes     Speed: Unknown!     Duplex: Unknown! (255)     Port: Twisted Pair     PHYAD: 2     Transceiver: internal     Auto-negotiation: on     MDI-X: Unknown (auto)     Supports Wake-on: pumbg     Wake-on: g     Current message level: 0x00000007 (7)                    drv probe link     Link detected: no 

Here’s some snippets filtered from dmesg, in case they’re relevant:

~$   dmesg | grep enp [    1.719930] e1000e 0000:00:1f.6 enp0s31f6: renamed from eth0 [    7.980215] IPv6: ADDRCONF(NETDEV_UP): enp0s31f6: link is not ready [    8.221865] IPv6: ADDRCONF(NETDEV_UP): enp0s31f6: link is not ready [  314.654059] IPv6: ADDRCONF(NETDEV_UP): enp0s31f6: link is not ready   ~$   dmesg | grep e1000e [    1.339047] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k [    1.339047] e1000e: Copyright(c) 1999 - 2015 Intel Corporation. [    1.406037] e1000e 0000:00:1f.6: Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode [    1.651130] e1000e 0000:00:1f.6 0000:00:1f.6 (uninitialized): registered PHC clock [    1.719235] e1000e 0000:00:1f.6 eth0: (PCI Express:2.5GT/s:Width x1) 0c:9d:92:bd:9b:57 [    1.719236] e1000e 0000:00:1f.6 eth0: Intel(R) PRO/1000 Network Connection [    1.719304] e1000e 0000:00:1f.6 eth0: MAC: 12, PHY: 12, PBA No: FFFFFF-0FF [    1.719930] e1000e 0000:00:1f.6 enp0s31f6: renamed from eth0 

The Ubuntu Network Manager GUI reports that the ‘Wired’ connection is ‘Connected’, but there’s no assigned address.

I’ve rebooted the machine at various points through the debugging so far, which did not fix the problem.

unity mono android wcf duplex

I’m trying to make an android app with unity. I’m trying to use wcf duplex communication.

Client = new Client(new InstanceContext(new ClientCallbackHandler()), new NetTcpBinding(), new EndpointAddress("net.tcp://IP:port")); 

This code conn’t work. DDM shows “NotImplementedException: The method or operation is not implemented.” “at System.ServiceModel.DuplexClientBase`1[TChannel].CreateChannel () [0x00000] in <00000000000000000000000000000000>:0 “

Any help will do. Thanks