Resolution

About the programming interface for the virtual PDF printer driver.

Moderator: jr

Resolution

Postby Newbie » Fri Sep 26, 2008 4:37 pm

Hi

I've just downloaded the free version of the PDF Printer for evaluation and have a problem setting the Resolution of the PDF - no matter what I set Res or ResX/ResY to, the quality of the PDF doesn't change (and the file size is identical).

Anyone come across this before - my code is pasted below.

Any help gratefully received.

Bullzip.PDFPrinterSettings bullZip = new PDFPrinterSettings();

bullZip.SetValue("output", outFile);
bullZip.SetValue("ShowSettings", "never");
bullZip.SetValue("ShowPDF", "no");
bullZip.SetValue("ShowSaveAS", "nofile");
bullZip.SetValue("ConfirmOverwrite", "no");
bullZip.SetValue("Res", "1000");
//or
// bullZip.SetValue("ResX", "1000");
// bullZip.SetValue("ResY", "1000");

bullZip.WriteSettings(true);
Newbie
 
Posts: 2
Joined: Fri Sep 26, 2008 4:30 pm

Re: Resolution

Postby jr » Sat Sep 27, 2008 3:06 pm

Does your PDF contain any graphics? Is the graphics bitmap images or vector based images?

Regards,
Jacob
jr
Site Admin
 
Posts: 491
Joined: Sun Mar 26, 2006 12:28 pm

Re: Resolution

Postby Newbie » Tue Sep 30, 2008 9:53 am

Hi Jacob

I have bitmap images in the PDF.

Regards
Newbie
 
Posts: 2
Joined: Fri Sep 26, 2008 4:30 pm


Return to Programming

Who is online

Users browsing this forum: No registered users and 1 guest

cron