🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by Edward J. Hartnett Thu, 21 Jan 1993 15:17
changing the printer that lpr-region sends to
#3522
Author: Edward J. Hartnett
Date: Thu, 21 Jan 1993 15:17
32 lines
1596 bytes
I hope this isn't too stupid a question, but I just added a printer to
my Sun ( a thinkjet) and I still have my old connection to the laser
printer over the network, which is where something will be sent if I
use the lpr command. To print on my thinkjet I need to use the command
lpr -Ptj FILE.

What I would like to do is change the way the lpr-buffer prints to
send it to the thinkjet.

From the info section:
   All the hardcopy commands pass extra switches to the `lpr' program
based on the value of the variable `lpr-switches'.  Its value should
be a list of strings, each string a switch starting with `-'.  For
example, the value could be `("-Pfoo")' to print on printer `foo'.

So I tried to add the following line to my .emacs:
(setq lpr-switches ("-Ptj"))

I also tried:
(setq lpr-switches `("-Ptj")')   -- this is what the info file says
(setq lpr-switches `("-Ptj"))    -- this seemd to make sense to me


But none of these worked. Can anyone tell me how to set this string?
Also how would I add the -h option so it doesn't print a banner page?

Thanks.
--
	Don't blame me, I voted against Amendment 2!

Edward Hartnett				ejh@khonshu.colorado.edu
Re: changing the printer that lpr-region sends to
#3582
Author: Avishai Yacobi
Date: Wed, 27 Jan 1993 07:17
42 lines
2079 bytes
In article <EJH.93Jan21151724@khonshu.colorado.edu>, ejh@khonshu.colorado.edu (Edward J. Hartnett) writes:
|> 
|> I hope this isn't too stupid a question, but I just added a printer to
|> my Sun ( a thinkjet) and I still have my old connection to the laser
|> printer over the network, which is where something will be sent if I
|> use the lpr command. To print on my thinkjet I need to use the command
|> lpr -Ptj FILE.
|> 
|> What I would like to do is change the way the lpr-buffer prints to
|> send it to the thinkjet.
|> 
|> From the info section:
|>    All the hardcopy commands pass extra switches to the `lpr' program
|> based on the value of the variable `lpr-switches'.  Its value should
|> be a list of strings, each string a switch starting with `-'.  For
|> example, the value could be `("-Pfoo")' to print on printer `foo'.
|> 
|> So I tried to add the following line to my .emacs:
|> (setq lpr-switches ("-Ptj"))
|> 
|> I also tried:
|> (setq lpr-switches `("-Ptj")')   -- this is what the info file says
|> (setq lpr-switches `("-Ptj"))    -- this seemd to make sense to me
|> 
|> 
|> But none of these worked. Can anyone tell me how to set this string?
|> Also how would I add the -h option so it doesn't print a banner page?
|> 
|> Thanks.
|> --
|> 	Don't blame me, I voted against Amendment 2!
|> 
|> Edward Hartnett				ejh@khonshu.colorado.edu
|> 

-- 
Well, the last thing to try is:
(setq lpr-switches '("-Ptj"))
----------------------
__ _ _ _ __ ____  __ _
 | | | |  |    |  | \/
   |/_/     ___|_ |  \
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads