Print job issue

Posted by: rrgibson on 4 August 2017, 6:17 am EST

  • Posted 4 August 2017, 6:17 am EST

    We have upgraged a VB6 program from Activereports1 to Activereports2.



    We are having a print job issue when the user does a duplex print job, which is set in the windows print dialog, not in Activereports.







    The users are sending multiple print jobs, each printing different amounts of copies.







    For example printing a 3 page document with 4 copies:



    With AR1 when you look at the print queue for each print job, it shows the number of pages (3) for the document.



    With AR2 it show the number of pages for the total job(12). This causes it to print as a single job not as a document.







    It is using the same code, we just upsized the reports to AR2.







    Any ideas why the print jobs are doing this?







  • Posted 4 August 2017, 6:17 am EST

    Hello,



    I was able to observe this issue. But could you let us know how it is affecting your users. Also, could you share the code that you are using to print to use the windows print dialog.



    Regards,

    Prantik

  • Posted 4 August 2017, 6:17 am EST

    The majority of our users are having no problems, but some have decided to save paper and print the documents with the printer set to duplex all print jobs under the printers printing preferences.



    Let’s say the user prints a 3 page document with 4 copies. They will print in order without starting a new page for each new document, the windows printer job window will show 12 pages when using AR2.



    Sending the same print job in AR1, they will print 3 pages, start a new page, print 3 pages, start a new job and so on. Here the widows printer job window shows 3 pages.



    Here is the code I am using.







    ARrpt.Printer.Copies = iCopies



    ARrpt.PrintReport False







    It always uses the default printer.



    The only parameter I am passing is the copies to print.







    Thanks for your help,



    Reed



  • Posted 4 August 2017, 6:17 am EST - Updated 15 February 2023, 1:51 am EST

    Hello,



    I observe the issue that you encounter. You may use the printpage method of ActiveReports to make each new copy of the report print on a new page. Please take a look at the attached example.



    Regards,

    Prantik





    2010/02/PrintMultiplecopiestoduplexprinter.zip

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels