We have a citrix server installation with the following specs: ----------------------------- Operating system: ----------------------------- Windows 2003 server, (AD member) Hotfix: KB 819696 KB 823182 KB 823559 KB 824105 KB 824141 KB 824145 KB 824146 KB 825119 KB 828935 ----------------------------- Citrix software: ----------------------------- Citrix MetFrame XP FR3 Hotfix: XE103W2K3002 - XE103W2K3028 ----------------------------- Other Software: ----------------------------- Windows Support Tools IBM Director Agent 4.10 Sun JRE 1.4.2_03 McAfee Viruscan Enterprice 7.1.0 IBM Server RAID Manager 6.10.24 Adobe Reader 6.0 IDAAutomation AdvC128c font (barcode) ------------------------------------------------------------------------------ I have experienced print problems at 2 different customer sites with different local (at the customer site) environments: The customer environments are : ----------------------------- Site 1 ----------------------------- Server NT4.0 SP6 Workstations : XP and Win2000 Professional Printers : Lexmark Optra, HP 4050 ----------------------------- Site 2 ----------------------------- Server Win2000 Server Workstations : XP and Win2000 Professional Printers : HP4200, HP4050, Canon Laser If I start a Citrix Terminal session and attempt to print a simple report such as the “Chart of Accounts” nothing is printed. I can see that the print job is sent to (from Citrix) and exits the customers local print que and in some cases the printer powers up as if it is preparting to print - however nothing is printed. If i choose the Print Preview button on the report I can see what should be printed. However if after calling the report I choose File,Page Setup in Navision and then attempt Print Preview the report shows a number of blank pages in the preview. (YES there is data in the system inside any filters ) Now it gets strange If I call the same report from the OnRun trigger of a codeunit using the C/AL command: REPORT.RUNMODAL(REPORT::“Chart of Accounts”,FALSE,FALSE,GL); // GL = G/L Account tabel It Works !!! I have attempted this process with different reports at different locations with the same results. All of the following work REPORT.RUNMODAL(REPORT::“Chart of Accounts”,FALSE,FALSE,GL); REPORT.RUN(REPORT::“Chart of Accounts”,FALSE,FALSE,GL); REPORT.RUNMODAL(REPORT::“Chart of Accounts”,FALSE,TRUE,GL); REPORT.RUN(REPORT::“Chart of Accounts”,FALSE,TRUE,GL); However as soon as i want to see the request form at thereby also enter the Navision print dialog it doesn’t work! This doesn’t work: REPORT.RUNMODAL(REPORT::“Chart of Accounts”,TRUE,FALSE,GL); I have read through the support issues regarding Citrix and Navision Print and have implemented the following code i Codeunit 1 in an attempt to solve the problem: ------------------------------------------------------------------------------ FindPrinter(ReportID : Integer) : Text[250] CLEAR(PrinterSelection); IF NOT PrinterSelection.GET(USERID,ReportID) THEN IF NOT PrinterSelection.GET(’’,ReportID) THEN IF NOT PrinterSelection.GET(USERID,0) THEN IF PrinterSelection.GET(’’,0) THEN; //>> MA 120504 AdjustNeNo(PrinterSelection); //<< MA EXIT(PrinterSelection.“Printer Name”); ------------------------------------------------------------------------------ AdjustNeNo(VAR PrinterSelection : Record “Printer Selection”) //Check that printer que exists IF Printer.GET(PrinterSelection.“Printer Name”) THEN EXIT; IF PrinterSelection.“Printer Name” <> ‘’ THEN BEGIN Printer.SETRANGE(Navn,SELECTSTR(1,PrinterSelection.“Printer Name”)); IF Printer.FIND(’-’) THEN PrinterSelection.“Printer Name” := STRSUBSTNO(’%1,%2’,Printer.Navn,Printer.Enhed) ELSE ERROR(‘Printer que %1 does not exist.’,PrinterSelection.“Printer Name”); END; ------------------------------------------------------------------------------ This has had no effect on the problem. I have a strong suspicion that the print dialog window called from navision is somehow affecting the print job. I have tried the same process using Microsoft Word, Notepad and so forth with no problems… I would greatly appreciate any help on this problem as I am currently implementing several different installations over the coming month. Thankyou very much Michael
It sounds as a problem i got a year ago, and i resolved it by installing Microsoft Drivers for the printers instead of the the vendor drivers. Regards,
No the problem is the same even with standard certified drivers… IS anybody having or has anybody solved a similiar problem?
I can now confirm that the problem has been related to the length of the “printer port adresse”. We have shortened our domain name and the name of the customers printer driver at 2 customer sites. After doing so we were able to print at both sites. I have also spoken with a colleague working for another distrubutor in denmark and he has also experianced this problem.