Hi,
I have a PDF file that I want to print in landscape , but when I use print it gets printed in portrait. This is my code. What do I need to do so that the PDF gets printed in the format that it was saved in.
Dim PDF1 As New ACPDFCREACTIVEX.PDFCreactiveX
On Error Resume Next
With PDF1
.SetLicenseKey "Applianz Technologies, Inc.", "XYZAS"
.Open path, ""
' for print,the first argument is the printer name ( if none is provided it uses the default printer )
' the second argument is a boolean , if set to true it opens up the print dialog box
.ScaleToPrinter = acScaleBoth
If sendToDefault = True Then
.Print "", False
Else
.Print "", True
End If
End With
Set PDF1 = Nothing
portrait printing not wroking
Hi,
I guess this is the opposit of what you posted in the VB forum.
You are printing using the PDF Creator and not the PDF Converter so this should have been posted in the PDF Creator forum or the VB forum.
Are you generating your pdf document using the PDF Converter or using another PDF tool? If it is using the PDF Converter, which version are you using and what is the code you are using the generate the file?
Please reply to the post in the VB forum only so there will not be cross posting.
Thanks.
I guess this is the opposit of what you posted in the VB forum.
You are printing using the PDF Creator and not the PDF Converter so this should have been posted in the PDF Creator forum or the VB forum.
Are you generating your pdf document using the PDF Converter or using another PDF tool? If it is using the PDF Converter, which version are you using and what is the code you are using the generate the file?
Please reply to the post in the VB forum only so there will not be cross posting.
Thanks.