As is often the case, I found a solution to the problem shortly after
posting to the mailing list.

I was failing to understand how ghostview uses the PRINTER env
variable - it looks like if changes this *before* sending the job, and
so specifying to ghostview that PRINTER was indeed the env variable
used fixed the problem.  I put the following two lines in the system
wide Xdefaults file:

Ghostview*printCommand: lpr
Ghostview*printerVariable: PRINTER

Cheers
Toby

> We have recently moved from Solaris lp to LPRng.
> 
> We're seeing a problem where ghostview 1.5 under Solaris will ignore
> whichever printer name you enter and instead print to the default
> printer (defined by the PRINTER environment variable).
> 
> Has anyone else seen this problem?  I have searched and have only
> managed to find something that suggested setting
> 
> Ghostview*printCommand: /usr/local/bin/lpr
> 
> in ~/.Xdefaults and then doing an xrdb -merge, but this makes no
> difference.

-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address

If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------

Reply via email to