Loading...

Shrink to Fit?

Support for GdViewer OCX and GdViewer Pro ActiveX/SDK.

Shrink to Fit?

Postby jvanlaar » Thu Apr 28, 2011 11:45 pm

I am using some very simple Foxpro code to print out PDFS that may exist for a table record

if file(lcjpgfullpath)
imagefile = oGdviewer.DisplayFromPDFFile(lcjpgfullpath)
oGdviewer.PrintImage()
oGdviewer.CloseImage()
endif

The documents print but even though they are 8.5 x 11 documents scanned to PDF files, when they print we are not getting the full document.... it seems they are enlarged. When these documents are viewed and printed from adobe they print fine. When the properties for the docs are examined they report 8.53 x 11.01 ....

Anyway, is there some command or setting I should issue to make sure the documents will print within the print area on the printer??
jvanlaar
 
Posts: 5
Joined: Mon Apr 14, 2008 7:47 pm

Re: Shrink to Fit?

Postby Loïc » Sun May 01, 2011 6:33 pm

Hi,

Just use PrintImageFit()

Kind regards,

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4442
Joined: Tue Oct 17, 2006 10:48 pm
Location: France


Return to GdViewer [Pro] ActiveX

Who is online

Users browsing this forum: No registered users and 1 guest