Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - Problem to print pdf files Vb.net
  FAQ FAQ  Forum Search   Register Register  Login Login

Problem to print pdf files Vb.net

 Post Reply Post Reply
Author
Message
Marco View Drop Down
Team Player
Team Player


Joined: 09 Nov 10
Location: Livorno
Status: Offline
Points: 40
Post Options Post Options   Thanks (0) Thanks(0)   Quote Marco Quote  Post ReplyReply Direct Link To This Post Topic: Problem to print pdf files Vb.net
    Posted: 09 Nov 10 at 2:11PM

Hello,

I've some problem to print pdf files (of few kb) in Vb.net:

- If i use PrintDocument method, spool file is too big and the printer prints (after some time) the message "Insufficient Memory..File: zedgec.c Line number: 91".
- If i use the PrintDocumentToFile method, the printer is called but doesn't print nothing.
How can i do?

Thanks for the support!
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3530
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 09 Nov 10 at 4:02PM
Hi Marco!

I'm doing it this way with success:
//    . . .
       QP.LoadFromFile(Edit1.text);
       prName     := QP.GetDefaultPrinterName();
       prOptions  := QP.PrintOptions(2, 0, Edit1.Text);
       QP.PrintDocument(prName, p1, p2, prOptions);
//     . . .

Cheers, Ingo


Back to Top
Marco View Drop Down
Team Player
Team Player


Joined: 09 Nov 10
Location: Livorno
Status: Offline
Points: 40
Post Options Post Options   Thanks (0) Thanks(0)   Quote Marco Quote  Post ReplyReply Direct Link To This Post Posted: 10 Nov 10 at 10:05AM
Originally posted by Ingo Ingo wrote:

Hi Marco!

I'm doing it this way with success:
//    . . .
       QP.LoadFromFile(Edit1.text);
       prName     := QP.GetDefaultPrinterName();
       prOptions  := QP.PrintOptions(2, 0, Edit1.Text);
       QP.PrintDocument(prName, p1, p2, prOptions);
//     . . .

Cheers, Ingo

Hi,
 
before in my code the method LoadFromFile was between options definition and the PrintDocument..can that command order change something?
 
Thanks
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store