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 - Access Denied
  FAQ FAQ  Forum Search   Register Register  Login Login

Access Denied

 Post Reply Post Reply
Author
Message Reverse Sort Order
agent86 View Drop Down
Beginner
Beginner


Joined: 06 Feb 10
Location: SF Bay Area
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote agent86 Quote  Post ReplyReply Direct Link To This Post Topic: Access Denied
    Posted: 08 Dec 15 at 8:45PM
Sorry.  The problem was on my side.  For some reason the sharing on the printer was turned off.
Back to Top
agent86 View Drop Down
Beginner
Beginner


Joined: 06 Feb 10
Location: SF Bay Area
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote agent86 Quote  Post ReplyReply Direct Link To This Post Posted: 07 Dec 15 at 7:58PM
Delphi XE3
 
When I try the following procedure I get an Access Denied on the printer control panel status...
 
procedure TMainForm.PrintPDFReportQPDF ;
var
    UnlockResult : integer ;  // used by QuickPDF verify password
    iPrintOptions: Integer;
begin
  if DebugStatus = True then
    DebugStatusMemo.Lines.Add('PrintPDFReportQPDF - Start') ;
//  ShowMessageWindow := True ;
  if ShowMessageWindow = True then
    ShowMessage('PrintPDFReportQPDF - Start') ;
  try
    QPDF := TDebenuPDFLibrary0913.Create ;
    UnlockResult := QPDF.UnlockKey(QPDFKey);
    CreateDisplayPDFName ;
    // load PDF into QPDF
    if QPDF.LoadFromFile(DisplayPDFName, '') = 1 then
    begin
          // Configure print options
          iPrintOptions := QPDF.PrintOptions(0, 0, TempPDFName);
          // Print the current document to the default printing
          // using the options as configured above
          QPDF.PrintDocument(QPDF.GetDefaultPrinterName(), 1, 1, iPrintOptions);
    end ;
  finally
  end ;
  if ShowMessageWindow = True then
    ShowMessage('PrintPDFReportQPDF - End') ;
  if DebugStatus = True then
    DebugStatusMemo.Lines.Add('PrintPDFReportQPDF - End') ;
end;
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