Equisys technical notes

Technical guidance, explanations and fixes for our products

PRB: Hard copy printer always set to Zetadocs PDF

Print

ZTN4082

ID: ZTN4082

This Zetadocs technical note applies to:

  • Zetadocs for NAV 3.0 and earlier

Symptom

When printing a report from NAV to the Zetadocs PDF printer, if the delivery method is resolved as “Hard Copy” the hard copy printer will always be “Zetadocs PDF”, not the default system printer.

Cause

The cause of this problem is that the Zetadocs PDF printer has been set as the default printer for this report in the Printer Selections form in NAV and this is being checked when choosing the hard copy printer to use.

Resolution

The behaviour for selecting the hard copy printer can be changed by opening the Zetadocs-Integration codeunit and changing the code in the GetHardCopyPrinter function from this:

// Return the printer that will be used for Hard-Copy delivery of this record

CLEAR(PrinterSelection);

 

IF USERID < > '' THEN

  IF NOT PrinterSelection.GET(USERID,ReportID) THEN

    IF NOT PrinterSelection.GET(USERID,0) THEN;

 

IF (PrinterSelection." Printer Name" < > '' ) THEN

  EXIT(PrinterSelection." Printer Name" )

ELSE

  EXIT(ZdUtilities.GetUserDefaultPrinter);

To this:

  EXIT(ZdUtilities.GetUserDefaultPrinter);

Status

This has been identified by Equisys as a problem with the software versions given above.

Last updated: 13th September 2010 (JW/MW)

Equisys Logo, Document Management and Expense Management for Business Central
 

Replaced by script
Recent news

The sudden rush towards remote working practices in 2020 led many organizations to implement changes to upgrade their document capture processes on Microsoft Dynamics 365 Business Central or ...

Company credit cards are often seen as the most convenient way to incur travel & entertainment expenses, however it can be a very different story when it comes to the administration of these ...

North America
 
Equisys Inc
30000 Mill Creek Avenue
Suite 335
Alpharetta, GA 30022
USA
(770) 772 7201
Europe
 
Equisys Ltd
91 Southwark Bridge Road
London
SE1 0AX
United Kingdom
+44 (0)20 7203 4000
 

© Equisys Ltd
All rights reserved

© Equisys Ltd    All rights reserved    Contact    Privacy policy    Cookies