home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.emacs
- Path: sparky!uunet!panther!mothost!lmpsbbs!mcil.comm.mot.com!avishaiy
- From: avishaiy@mcil.comm.mot.com (Avishai Yacobi)
- Subject: Re: changing the printer that lpr-region sends to
- Organization: Motorola Communications Israel Ltd., Tel Aviv
- Date: Wed, 27 Jan 1993 07:17:25 GMT
- Message-ID: <1993Jan27.071725.11363@lmpsbbs.comm.mot.com>
- References: <EJH.93Jan21151724@khonshu.colorado.edu>
- Sender: avishaiy@comm.mot.com (Avishai Yacobi)
- Nntp-Posting-Host: 145.9.71.3
- Lines: 42
-
- 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"))
- ----------------------
- __ _ _ _ __ ____ __ _
- | | | | | | | \/
- |/_/ ___|_ | \
-