Large Documents ( over 10 meter )

The Amyuni PDF Converter is our Printer Driver that enables you to convert any documents to PDF format. If you have any questions about installing and using the Amyuni PDF Converter please post them here.
Post Reply
Untoter
Posts: 22
Joined: Tue Nov 04 2014

Large Documents ( over 10 meter )

Post by Untoter »

Hey,

iam looking for experiance with large PDF-Documents. When iam try to create a

Width 14.750,0mm
Length 10.500,0mm

Document iam init with

[INIT and set Licence of Amyuni PDF Printer]

Code: Select all

double dScale = 1.0;
long lPaperWidth  = 14750 * dScale * 10; // we want the tenth of mm
long lPaperLength = 10500 * dScale * 10;

SetPaperSize(cPrinter, 256);

if (0 == SetPaperWidth(cPrinter, lPaperWidth) )
{
	SHOULD_BE_UNREACHABLE;
}
auto ActualPaperWidth = GetPaperWidth(cPrinter);
if (ActualPaperWidth != lPaperWidth)
{
	SHOULD_BE_UNREACHABLE;
}
if (0 == SetPaperLength(cPrinter, lPaperLength))
{
	SHOULD_BE_UNREACHABLE;
}
auto ActualPaperLength = GetPaperLength(cPrinter);
if (ActualPaperLength != lPaperLength)
{
	SHOULD_BE_UNREACHABLE;
}
There are no Errors on SetPaperLength/Width but the returnvalue of GetPaperLength and GetPaperWidth arent the same like i put in
Here are the Values:

i put in -> Width 147500, length 105000 and got actually with GetPaperWidth returned: "+16428" + GetPaperLength returned: "-26072"

When i open the PDF i get a Page with size of: 1642,8mmx3946,4mm. Far away from what i set
What iam doing wrong here?


Amyuni Version from last Year. 5.0
Untoter
Posts: 22
Joined: Tue Nov 04 2014

Re: Large Documents ( over 10 meter )

Post by Untoter »

Any further Informations needed? I want to resolve this case.
Jose
Amyuni Team
Posts: 553
Joined: Tue Oct 01 2002
Contact:

Re: Large Documents ( over 10 meter )

Post by Jose »

Hi,

It looks like you are missing the call to SetDefaultConfig().

The SetDefaultConfig and SetDefaultConfigEx methods are used set the current printer configuration as default for all applications. These calls are need when modifying some of the printer properties so that applications can take these properties into account. The document of all printer parameters or properties specifies when this call is needed.

https://www.amyuni.com/WebHelp/Amyuni_D ... Config.htm

Code: Select all

	//Set PaperLength
	SetPaperLength(hPrinter, 10500);  //in mm

	//Set PaperWidth
	SetPaperWidth(hPrinter, 14750); //in mm
	SetPaperSize(hPrinter, 256);

	//Apply Settings
	SetDefaultConfig(hPrinter);
Thanks
Get PDF Suite, the expert .NET developer toolkit for PDF conversion, creation and editing - www.amyuni.com/pdfsuite
Untoter
Posts: 22
Joined: Tue Nov 04 2014

Re: Large Documents ( over 10 meter )

Post by Untoter »

Code: Select all

double dScale = 1.0;
long lPaperWidth  = 14750 * dScale * 10; // we want the tenth of mm
long lPaperLength = 10500 * dScale * 10;

SetPaperSize(cPrinter, 256);

if (0 == SetPaperWidth(cPrinter, lPaperWidth) )
{
   SHOULD_BE_UNREACHABLE;
}
if (0 == SetPaperLength(cPrinter, lPaperLength))
{
   SHOULD_BE_UNREACHABLE;
}
SetDefaultConfig(cPrinter);

auto ActualPaperWidth = GetPaperWidth(cPrinter);
if (ActualPaperWidth != lPaperWidth)
{
   SHOULD_BE_UNREACHABLE;
}

auto ActualPaperLength = GetPaperLength(cPrinter);
if (ActualPaperLength != lPaperLength)
{
   SHOULD_BE_UNREACHABLE;
}




size is tottaly wrong. I set 15x14m and get the document included.

Maybe fixed in 5.5? should i upgrade?
Untoter
Posts: 22
Joined: Tue Nov 04 2014

Re: Large Documents ( over 10 meter )

Post by Untoter »

Attachment was not included



--
Could not upload attachment to ./files/17577_1dc029470140836d48ec3e0e05030526.
Jose
Amyuni Team
Posts: 553
Joined: Tue Oct 01 2002
Contact:

Re: Large Documents ( over 10 meter )

Post by Jose »

Hi,

Sorry but I wasn’t reading your question correctly.

It appears that you want to create PDF files with a custom page size of 15 X 14 meters. If this is the case them this is not possible to generate these dimensions through a printer driver. The maximum size of a page is 128 inches.

Can you elaborate on why you need such a large PDF document?

Thanks
Get PDF Suite, the expert .NET developer toolkit for PDF conversion, creation and editing - www.amyuni.com/pdfsuite
Untoter
Posts: 22
Joined: Tue Nov 04 2014

Re: Large Documents ( over 10 meter )

Post by Untoter »

Our customers are creating pages with these sizes wish to use it on pdf export too. Why u say in your FAQ and Documentation that Pagesize is unlimited???


I can create Printerpages with other Drivers with Pagesize over 10m. These are Plotter for printing pages with long length.
Jose
Amyuni Team
Posts: 553
Joined: Tue Oct 01 2002
Contact:

Re: Large Documents ( over 10 meter )

Post by Jose »

Hi,

I am referring to the maximum size of a page is 128 inches in a PDF file.

Thanks
Untoter
Posts: 22
Joined: Tue Nov 04 2014

Re: Large Documents ( over 10 meter )

Post by Untoter »

Please add this feature to future releases.
Untoter
Posts: 22
Joined: Tue Nov 04 2014

Re: Large Documents ( over 10 meter )

Post by Untoter »

Any updates on this Feature Request? We need huge Pages for our customers who print out CAD Drawings to a Plotter.

First they print out to PDF to see everything is perfect inside, then they print to their Plotter (HP T510).
Jose
Amyuni Team
Posts: 553
Joined: Tue Oct 01 2002
Contact:

Re: Large Documents ( over 10 meter )

Post by Jose »

Hello,

I would also like to point out that our PDF Converter does not have a limitation on the length of the PDF file it creates but Adobe Reader cannot open a PDF file that is longer that 120 inches.

I such you try printing your large PDF documents through our Amyuni PDF Creator product

Thanks
Get PDF Suite, the expert .NET developer toolkit for PDF conversion, creation and editing - www.amyuni.com/pdfsuite
Post Reply