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: 1075
Registered: September 2012
Location: Poland, Kraków
Senior 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


U++ - 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: Fri Mar 29 00:04:58 CET 2024

Total time taken to generate the page: 0.01313 seconds