When I take an existing PDF that is in landscape format and run it through the PDF-XChange printer to add page number increases in size from 17Kb to 250Kb and the orientation changes to portrait. Question is why does this happen?
Thanks for any help
Below is code used:
pdfPrinter.ResetDefaults
pdfPrinter.Option("Save.File") = m_fname
pdfPrinter.Option("Save.SaveType") = "Save"
pdfPrinter.Option("Save.ShowSaveDialog") = "No"
pdfPrinter.Option("Save.WhenExists") = "Overwrite"
If (m_bUseCompression = True) Then
With pdfPrinter
.Option("Compression.Graphics") = "Yes"
.Option("Compression.Text") = "Yes"
.Option("Compression.ASCII") = "No"
.Option("Compression.Color.Enabled") = "Yes"
.Option("Compression.Color.Method") = "Auto"
.Option("Compression.Indexed.Enabled") = "Yes"
.Option("Compression.Indexed.Method") = "Auto"
.Option("Compression.Mono.Enabled") = "Yes"
.Option("Compression.Mono.Method") = "Auto"
End With
Else
pdfPrinter.Option("Compression.Graphics") = "No"
pdfPrinter.Option("Compression.Text") = "No"
End If
With pdfPrinter
.Option("Fonts.EmbedAll") = IIf(m_bEmbeddFonts = True, 1, 0)
.Option("Save.RunApp") = m_bRun
.Option("Save.RunCustom") = "No"
.Option("Paper.SheetSizeIndex") = -1
.Option("HeadersFooters.Enabled") = True
.Option("HeadersFooters.FirstPageNumber") = intPageNo
.Option("HeadersFooters.OffsetBottom") = 50
.Option("HeadersFooters.Footer.left.Font") = "Arial"
.Option("HeadersFooters.Footer.left.FontBold") = "No"
.Option("HeadersFooters.Footer.left.FontSize") = 80
.Option("HeadersFooters.Footer.left.color") = 0
.Option("HeadersFooters.Footer.left.Value") = "Page %[Page]"
End With
d = ShellExecute(0, "printto", clsP.PDF_filename, pname, vbNull, SW_MINIMIZE)
Adding page numbers to existing PDF
Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan
- John - Tracker Supp
- Site Admin
- Posts: 5219
- Joined: Tue Jun 29, 2004 10:34 am
- Location: United Kingdom
- Contact:
Re: Adding page numbers to existing PDF
Please supply a sample PDF - before and after. Zipped.
thanks
thanks
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.
Best regards
Tracker Support
http://www.tracker-software.com
Best regards
Tracker Support
http://www.tracker-software.com
Re: Adding page numbers to existing PDF
John,
I've got a solution using another tool. It adds the page numbers and maintains the orientation of the PDF without increasing the result PDF size by such a factor as PDF-XChange does. You may want to research this symptom of your tool.
Thanks
I've got a solution using another tool. It adds the page numbers and maintains the orientation of the PDF without increasing the result PDF size by such a factor as PDF-XChange does. You may want to research this symptom of your tool.
Thanks
- Chris - Tracker Supp
- Site Admin
- Posts: 797
- Joined: Tue Apr 14, 2009 11:33 pm
Re: Adding page numbers to existing PDF
Please zip and attach a sample of the before and after pdfs so we can analyze the reported behaviour.
Thanks,
Chris
Thanks,
Chris
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.
Chris Attrell
Tracker Sales & Support North America
http://www.tracker-software.com
Chris Attrell
Tracker Sales & Support North America
http://www.tracker-software.com
Re: Adding page numbers to existing PDF
Chris,
I do not have sample files to provide - I've deleted them since I have a solution that works for me.
Sorry
I do not have sample files to provide - I've deleted them since I have a solution that works for me.
Sorry
- Chris - Tracker Supp
- Site Admin
- Posts: 797
- Joined: Tue Apr 14, 2009 11:33 pm
Re: Adding page numbers to existing PDF
No Problem
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.
Chris Attrell
Tracker Sales & Support North America
http://www.tracker-software.com
Chris Attrell
Tracker Sales & Support North America
http://www.tracker-software.com