size

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
nbnelson
Posts: 11
Joined: Thu Nov 13 2003

size

Post by nbnelson »

Hi again,

I have finally got the PDF Converter to create a PDF file for me. However, I have a new issue. When I open the document with Adobe reader, (after successfully creating the PDF), the file is zoomed to the max 1600% and it is still only the size of a quarter. There isn't any text written or anything. Just a blank page. I checked the page settings, and it states that the size is .04 inches X .04 inches.
I have changed the length and width using SetPaperLength and SetPaperWidth, but this doesn't seem to work.

I am using a printdocument in C#.Net. The document that I send to the PDF Converter is already set the way I want it. If I choose a regular printer the page prints fine.

Any help is greatly appreciated...
Thanks,
nick
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello,

Are you calling SetDefaultConfig() after changing the page size? If not, please call it.

Thanks.
nbnelson
Posts: 11
Joined: Thu Nov 13 2003

Post by nbnelson »

Hi Joan,

Thank you so much for your reply. The call did allow me to create the PDF file that I was looking for.

Thanks again...
Nick
nbnelson
Posts: 11
Joined: Thu Nov 13 2003

One more quicky

Post by nbnelson »

One more quick question. What if I already have a document that is set to the dimensions that I want to print. Do I have to still configure the printing settings (page length, width, etc.) and call the SetDefaultConfig?

If I do, how could I defne a page that has the following dimensions:
6.5 inches X 6.5 inches?

c#

If these were the dimensions, all I should have to do is PrintDocument.Print...correct?

Thanks again for all of the support. The Amyuni techs are very helpful
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello,

In general the printer will take the page size defined by the application.

You can define you page size either from inside your application, which is recommended, or using the SetPaperSize() or set the height and the width of the page in case you have a custom page size.

I am not very good in C# myself so I am not sure how to define the page size from inside C#, If you couldn't find the needed information in the help of C#, you may send your sample code to support@amyuni.com and our engineers will try to help you.

Have a nice day!
nbnelson
Posts: 11
Joined: Thu Nov 13 2003

Sweet

Post by nbnelson »

Joan,

I did in fact get the pdf to work. What I had to do was convert the page settings to centimeters rather than the inches that my document used. I also had to convert from DPI (dots per inch) to DPC (dots per centimeter).

Thanks for all of your help.

Nick
Post Reply