Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2490
UltraPrintDocument
posted

I use PrintDialog and UltraPrintDocument for load and save setting printer to SQL.

The problem I have, Is not save my DUPLEX properties ? on SaveAsXML because when I'm load XML the Duplex property is on default setting not what the users selected.

Is this normal ?

How I can save all information on UPD.PrinterSetting ?

 

Francois.

Parents
  • 469350
    Offline posted

    Hi,

    Does it work if you save/load to a file? If so, then my guess is that something is happening to the XML in the process of going to or from the SQL field. You might be modifying the encoding along the way.

     

  • 2490
    posted in reply to Mike Saltzman

    Hi Mike,

    Is same.

    I think I have the wrong method between PrintDialog and UltraPrintDocument

    my code is

     

    UPD.PrinterSettings = PD.PrinterSettings

    UPD.SaveAsXml(

     

     

    All information on UPD.PrinterSetting was good, but not on xlm file.

    Francois

    "C:\1\s.xlm")

     

     

     

Reply Children
No Data