Menu

Print to file?

Help
Ian Adam
2006-10-12
2012-09-23
  • Ian Adam

    Ian Adam - 2006-10-12

    Chrriis,

    I really like UDoc. It's the easiest and fastest way I've found to generate useful class diagrams from code - thanks!

    I have just one issue, which is that if I do "print to file" no file is created, though I can print to a printer. I'm using udoc 1.003 on Suse 9.3 with jdk 1.5.0_08.

    I don't mind poking around to fix it myself, but after trying a couple of code tweaks I realized there's no ant file distributed. I'd be happy to contribute a build.xml but I know you already have it :)

    Cheers, Ian

     
    • Christopher Deckers

      Ian,

      I will have a look to validate the fix, and if everything runs fine it will be part of the next release.

      Thanks a lot for your contribution!

      Cheers,
      -Christopher

       
    • Ian Adam

      Ian Adam - 2006-10-12

      FYI, if I change line 314 in PrintProcessing.java from
      printerJob.print();
      to
      printerJob.print(hashPrintRequestAttributeSet);

      then the "print to file" works correctly for me.

      Cheers, Ian

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.