Shrink to Fit?

Discussions about document viewing.
Post Reply
jvanlaar
Posts: 6
Joined: Mon Apr 14, 2008 7:47 pm

Shrink to Fit?

Post by 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??

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: Shrink to Fit?

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

Hi,

Just use PrintImageFit()

Kind regards,

Loïc

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests