Jump to content
  • Problem with Default and USERDEFAULT printer in UNIX env


    tcloonan
    Assigned User teodord
    CategoryBug report
    PriorityLow
    ReproducibilityAlways
    ResolutionFixed
    SeverityTrivial
    StatusClosed

    Issue moved from:

    https://sourceforge.net/tracker/index.php?func=detail&aid=1155646&group_id=36382&atid=416705

     

    Consult original issue for any attachments.

     

    [ 1155646 ] Problem with Default and USERDEFAULT printer in UNIX env

     

    Submitted By: Milan Madzia - habrdak

    Date Submitted: 2005-03-03 00:07

    Last Updated By: teodord - Comment added

    Date Last Updated: 2006-02-22 05:47

    Number of Comments: 2

    Number of Attachments: 1

     

    Assigned To: Nobody/Anonymous

    Priority: 5

     

    Summary:

    Problem with Default and USERDEFAULT printer in UNIX env We use X terminal clients on one Linux server. Default printer for system is PRINTER1. You can change default printer per user by settting environment variable PRINTER=PRINTER2. Neither JVM nor jasperreport accept this ENV variable.

     

    attached file includes all what you need to solve this problem.

     

    Comments

     

    Date: 2006-02-22 05:47

    Sender: teodordProject Admin

    Logged In: YES

    user_id=332465

     

    Hi,

     

    Anything new on this one? We are about to close it.

     

    Thank you,

    Teodor

     

    Date: 2005-08-30 00:46

    Sender: teodordProject Admin

    Logged In: YES

    user_id=332465

     

    Hi,

     

    Why is that you cannot use the JRPrintServiceExporter and supply the name of the printer using an instance of the javax.print.attribute.standard.PrinterName class added to the print service attribute set.

     

    Look at the provided "printservice" sample and see the two lines commented out. Those were for passing the name of the printer.

     

    I hope this helps.

    Teodor

     

    Attached Files:

    Name

    printerjob.tar.gz


    Attachments: printerjob1.tar.gz

    User Feedback

    Recommended Comments

    There are no comments to display.


×
×
  • Create New...