Duplex Minolta

Posted by: brian_sil on 4 August 2017, 3:12 pm EST

  • Posted 4 August 2017, 3:12 pm EST

    Repost from 3.0 DotNet:



    I have no problem printing to other printers across the network and using PageSetting.Duplex.



    Have a client who can not print duplex (any mode) on their networked Minolta Di351/251/200 PCL6 printer. Attached is a PDF output of their printer.



    Code used:



    Dim myActiveReport As New ActiveReport1



    myActiveReport.PageSettings.Duplex = 2

    myActiveReport.Printer.Duplex = 2 myActiveReport.Printer.DeviceName = Me.cboPrinters.Text

    myActiveReport.Run True

    myActiveReport.PrintReport False



    - obviously the combobox with available printers is the devicename of the testing printer.



    Note: below comes back as False - function for seeing if printer has duplex available. It has duplex capabilities, does the AR component try to figure out if duplexing is available using DeviceCapabilities?



    If DeviceCapabilities(P.DeviceName, P.Port, DM_DUPLEX, ByVal vbNullString, 0)

    Then

    IsPrinterDuplexAvailable = True

    End If



    Any known issues with Minolta?



  • Replied 4 August 2017, 3:12 pm EST

    Thats what I thought to, about 'DeviceCapabilities', though some printers dont support that API call. Not sure about this Minolta printer.



    The client can print duplex from all Micosoft products and PDFs on that printer. Other clients are printing duplexing with their printers just fine. This is the only printer I've heard of having a problem duplexing through AR (on our forums).



    I use the PageSettings.Duplex and PrinterDevice.Duplex methods to set the duplex. I have a networked Richo that does duplex correctly with PageSettings.Duplex, but alone - PrinterDevice.Duplex does not - I believe due to rights access to change that property of the print driver. Richo does come back with a True - for the API call.



    Any other suggestions?



    Thanks
  • Replied 4 August 2017, 3:12 pm EST

    It's likely that we are using a similar approach to retrieve the supported settings of a printer.  If the printer is incorrectly reporting it's capabilities, then we will not be able to determine the actual supported settings of the printer.

    If you call rpt.Printer.SetupDialog and then choose Properties, are you able to change the duplexing property for the printer?
  • Replied 4 August 2017, 3:12 pm EST

    I sent the client an App that uses the prints a duplexed test report. Buttons for testing API calls, the DeviceCapabilities, and the SetupDialog.



    The SetupDialog worked on our Richo, changing it to duplex in dialog properties then just printing the report - w/o changing any report properties, outside of the DeviceName.



    I'll post the client feedback from the Minolta printer using the same test.



    Thanks
  • Replied 4 August 2017, 3:12 pm EST

    Minolta client feedback. They got to the Minolta properties from the myReport.Printer.SetupDialog and changed to duplex. Clicked okay and app printed myReport. It printed two pages - non-duplexed.



    This is very odd indeed, why other apps can print duplex but AR reports can not. All of the other clients are working fine with duplex, so I know its not the code that is failing here. More of a Minolta printer driver issue, but they have the lastest installed. I am lost as of what to do, outside of 'go buy a new printer', which unfortunately is not an option.



    Anything else you can think of? If your development team is truely using the API call DeviceCapabilities, then it will never work. So, if that is the case, I can stop beating my head against the wall..



    I zipped the app I sent to the client that is having the issue, for your reference, see what the code is doing.



    Thanks again

    B
    2008/08/APIPrinterDevice.zip
  • Replied 4 August 2017, 3:12 pm EST

    I've taken a look at the code, and we are using the DeviceCapabilities call.  I would recommend contacting Minolta to see if they have any suggestions/fixes for this behavior.
  • Replied 4 August 2017, 3:12 pm EST

    Is the client able to print from other applications using duplexing? 
    From what I have been able to find, the duplexing feature is an
    additional option for that printer.  Therefore, it may not have the
    duplexing capability.  Also, it seems that if your DeviceCapabilities
    method returns false for duplexing, then it would not be an available
    feature for that printer.
Need extra support?

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

Learn More

Forum Channels