<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head><body><div data-crea="font-wrapper" style="font-family: Tahoma; font-size: 16px; direction: ltr"><div>Greetings,</div><div><br></div><div>I just installed Ubuntu 20.04 LTS on a linux-only desktop, and everything works except these</div><div>two things,for which I have not found usable/proper matches online.</div><div><br></div><div>Printing: the computer has attached an Epson XP-305 printer/scanner. As scanner, is detected</div><div>and works fine with simple-scan, and sane says:</div><div><br></div><div>#> sudo sane-find-scanner:</div><div><br></div><div>could not fetch string descriptor: Pipe error<br>could not fetch string descriptor: Pipe error<br>found USB scanner (vendor=0x04b8, product=0x0898) at libusb:001:005<br>could not fetch string descriptor: Pipe error<br>could not fetch string descriptor: Pipe error<br><br></div><div>As printer, it is detected, and shows up both in the CUPS web panel and in the Ubuntu</div><div>settings panel, as connected and working... but nothing happens. If I try to print a test</div><div>page from the Ubuntu settings,it says page sent, and after some seconds "test completed"</div><div>(IIRC) but NOTHING happens in the printer. If I try to print a self-test page from the CUPS web</div><div>panel, instead, I get:</div><div><br></div><div><div class="body">
      <div class="row">
        


Unable to send command to printer driver:<br><blockquote>Not allowed to print.<br></blockquote><span><br></span></div><div class="row"><span>What next?</span></div><div class="row"><span><br></span></div><div class="row"><span>The monitor is a samsung syncmaster 226BW, which has maximum resolution of 1680x1050.</span></div><div class="row"><span>But during the installation maximum resolution was set at 1024x768, and the control panel</span></div><div class="row"><span>has no 1680x1050 option. I can get the maximum resolution with this shell script, that I adapted</span></div><div class="row"><span>from somewhere online years ago, when I had the same problem with another distro:</span></div><div class="row"><span><br></span></div><div class="row"><span></span>xrandr --newmode "1680x1050_60.00" 147.14  1680 1784 1968 2256  1050 1051 1054 1087  -HSync +Vsync<br>xrandr --addmode HDMI-0 "1680x1050_60.00"<br>xrandr --output HDMI-0 --mode "1680x1050_60.00"<br></div><div class="row"><br></div><div class="row">and of course this patch only lasts as long as the session. How to make the change permanent,</div><div class="row">and make Ubuntu remember the correct max resolution for this monitor? I know I could add the</div><div class="row">lines above to .Xsession or similarf iles, but isn't there a... more modern solution?</div><div class="row"><br></div><div class="row">TIA,</div><div class="row">Marco<br><blockquote></blockquote>
      </div>
    </div></div><div><br></div><div><br></div><br><div></div><br></div></body></html>