Skip to content

Stripped PDF #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
MrHassanTariq opened this issue Feb 16, 2021 · 1 comment
Open

Stripped PDF #2

MrHassanTariq opened this issue Feb 16, 2021 · 1 comment

Comments

@MrHassanTariq
Copy link

MrHassanTariq commented Feb 16, 2021

I am always getting a stripped PDF. Some part of pdf from header and footer is always missing. However pdf file opens properly. It is not giving any sort of file corrupt error. But it just shows a stripped pdf.

Can any one help on that?

@MrHassanTariq MrHassanTariq changed the title Incomplete PDF View Stripped PDF Feb 16, 2021
@blubbi321
Copy link

seems like the script does not detect which paper format fits.

i fixed the issue by changing the line with the paper orientation manually like so:

m_Ctrl.SetPageSetupOptions(EMVPrintOrientation.ePortrait, CInt(PaperKind.A4), 0, 0, 1, AUTO_SOURCE, PRINTER_NAME, 0, 0, 0, 0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants