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) » PrinterJob prints blank pages in linux
PrinterJob prints blank pages in linux [message #33024] Fri, 01 July 2011 17:17 Go to previous message
Zbych is currently offline  Zbych
Messages: 325
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);
}

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: GetProperty() / SetProperty() for Ctrl
Next Topic: Linking to a .net DLL ?
Goto Forum:
  


Current Time: Thu Apr 25 17:40:08 CEST 2024

Total time taken to generate the page: 0.02631 seconds