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 » U++ Library : Other (not classified elsewhere) » [BUG & Patch] Printing under POSIX dosen't work.
[BUG & Patch] Printing under POSIX dosen't work. [message #40632] Sat, 24 August 2013 13:06 Go to previous message
Klugier is currently offline  Klugier
Messages: 648
Registered: September 2012
Location: Poland, Kraków
Contributor
Hello,

It seems that POSIX printing dosen't work. The main problem with POSIX printing is that we are creating wrong "lp" command on some configuration. The correct command should look like this:

lp -d network-printer -o media=A5,Default -o number-up=1 -n 1


Insted of:
lp -d network-printer -o media=,Default -o number-up=1 -n 1

what is definitly incorrect.

I enclosed patched source file (CtrlLib/PrinterJob.cpp). What I have changed?
- The printing code is more secure (More logical conditions).
- "A4" is now the default page format in PrinterDlg.
- Minor fixes.

P.S.
"lp" - console utility which is used to print the files.

Sincerely,
Klugier


Ultimate++ - one framework to rule them all.

[Updated on: Sat, 24 August 2013 13:08]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: [bug] Moved UI components on different systems
Next Topic: WString0::Free() crashing
Goto Forum:
  


Current Time: Mon Feb 24 21:02:27 CET 2020

Total time taken to generate the page: 0.01296 seconds