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 |
|
Klugier
Messages: 1085 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
|
|
|
|
|
|
Goto Forum:
Current Time: Fri Dec 13 21:42:02 CET 2024
Total time taken to generate the page: 0.03676 seconds
|