Home » U++ Library support » U++ Library : Other (not classified elsewhere) » PrinterJob prints blank pages in linux
PrinterJob prints blank pages in linux [message #33024] |
Fri, 01 July 2011 17:17 |
Zbych
Messages: 327 Registered: July 2009
|
Senior Member |
|
|
Hi,
Linux version of PrinterJob doesn't initialize page size (pgsz), landscape and prints empty pages when printer dialog is not executed.
PrinterJob.cpp, line 245:
PrinterJob::PrinterJob(const char *_name)
{
name = _name;
landscape = false;
from = to = 1;
current = 1;
//default page size A4
pgsz = Size(6000 * 210 / 254, 6000 * 297 / 254);
}
|
|
|
|
|
|
|
Goto Forum:
Current Time: Fri Sep 20 12:33:36 CEST 2024
Total time taken to generate the page: 0.04488 seconds
|