Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » RichText,QTF,RTF... » Possible Bug with Printing under linux (Possible Bug with Printing under linux)
Re: Possible Bug with Printing under linux [message #44667 is a reply to message #44649] Tue, 12 May 2015 16:58 Go to previous messageGo to previous message
woffleys is currently offline  woffleys
Messages: 9
Registered: December 2014
Promising Member
Hi Klugier,

I've done a few tests and the patch works fine. Smile

I've spotted 2 more errors, which are very easy to fix.

The PrinterLayout (in Ctrl.lay) has paper and slot droplists the wrong way around.

and for the printer options, i've changed line 254 from:

	Vector<String> l = Split(System("lpoptions -l -d " + String(~printer)), '\n');


to:

	Vector<String> l = Split(System("lpoptions -d " + String(~printer) + " -l"), '\n');


this way it always lists the selected printer's options, rather than the previously selected printer.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: QTF to ODF (Open Document Format) converter
Next Topic: Clipboard: "RTF" before "IMAGES" format, patch provided
Goto Forum:
  


Current Time: Sat Apr 27 11:52:17 CEST 2024

Total time taken to generate the page: 0.05441 seconds