Justin,

There is an lpconfig command in linux that allows you to
set the default printer.  If your Java program does not
give you the option to set the printer, use lpconfig to set
the printer, then run the java program and proceed to print.

Use "man lpconfig" to see the syntax.

Dan


Quoting JDW Consulting <[EMAIL PROTECTED]>:

> Hi Jennifer,
>
> The application is a Java application. As I recall, the sysadmin had me use
> the printconf TUI to set up the printers. Not sure about CUPS and lp. I will
> see if the server is still available and try it again.
>
> Thanks,
> Justin
>
> -----Original Message-----
> From: Discussion list for Java 2D API
> [mailto:[EMAIL PROTECTED] Behalf Of Jennifer Godinez
> Sent: Wednesday, February 16, 2005 1:24 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [JAVA2D] Print Spool Issue
>
>
> Hi Justin,
>
> Just a few questions regarding your RedHat printing issue.
>
> JDW Consulting wrote:
>
> > Originally had the server set up on RedHat Enterprise. Application would
> not
> > print to a printer other than the default. I'm not a Linux guru like I
> would
> > like to be, so I suppose our sysadmin could have configured it
> incorrectly.
> > They would prefer that I use RedHat. Any thoughts?
>
> Can you print to a printer other than default using 'lp' command? Is
> your RedHat configured with CUPS? Is the application you mentioned a
> Java application?
>
> Thanks.
>
> Jennifer
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff JAVA2D-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff JAVA2D-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to