Printing PDF Silently

Discussions about document printing in GdPicture.NET using GdPictureImaging.
Post Reply
maher
Posts: 1
Joined: Tue Jan 10, 2012 8:42 pm

Printing PDF Silently

Post by maher » Tue Jan 10, 2012 8:49 pm

I am working on printing PDF Files Silently

I tried this

Code: Select all

Dim imaging As GdPictureImaging = New GdPictureImaging()
imaging.SetLicenseNumber("xxxxxxxxxxxxxxxxxxxxxxx")
imaging.PdfNewPdf("C:\1.pdf")
imaging.PrintSetActivePrinter("-Printer name-")
imaging.Print(1)

but every time i got only one blank paper

if you may help please

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

Re: Printing PDF Silently

Post by Loïc » Tue Jan 10, 2012 9:14 pm

Hi,

You have to use the GdPicturePDF class for such purpose.

Kind regards,

Loïc

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest