all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* ps-lpr-switches has no effect
@ 2007-10-30 22:39 Leo
  2007-10-31  0:14 ` Vinicius Jose Latorre
  0 siblings, 1 reply; 8+ messages in thread
From: Leo @ 2007-10-30 22:39 UTC (permalink / raw)
  To: emacs-devel

Hi there,

I use lpr "-o Duplex=DuplexNoTumble" in shell and I can print a document
on both sides of the paper.

However, if I set ps-lpr-switches to "-o Duplex=DuplexNoTumble", and
print a document within Emacs using 'M-x ps-print-buffer', it is only
one sided. I wonder if there is a bug in ps-print.

HTH,
-- 
.:  Leo  :.  [ sdl.web AT gmail.com ]  .:  [ GPG Key: 9283AA3F ]  :.

       Use the most powerful email client -- http://gnus.org/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: ps-lpr-switches has no effect
  2007-10-31  0:14 ` Vinicius Jose Latorre
@ 2007-10-30 23:46   ` Leo
  2007-11-09  3:59     ` Vinicius Jose Latorre
  0 siblings, 1 reply; 8+ messages in thread
From: Leo @ 2007-10-30 23:46 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 566 bytes --]

On 2007-10-31 00:14 +0000, Vinicius Jose Latorre wrote:
> Leo wrote:
>> Hi there,
>>
>> I use lpr "-o Duplex=DuplexNoTumble" in shell and I can print a document
>
>> on both sides of the paper.
>>
>> However, if I set ps-lpr-switches to "-o Duplex=DuplexNoTumble", and
>> print a document within Emacs using 'M-x ps-print-buffer', it is only
>> one sided. I wonder if there is a bug in ps-print.
>>
>> HTH,
>>   
>
> Please, execute the following command in *scratch* buffer:
>
>    M-: (insert (ps-setup)) RET
>
> Save *scratch* buffer in a file and send me back.


[-- Attachment #2: ps-setup.el --]
[-- Type: application/emacs-lisp, Size: 4818 bytes --]

[-- Attachment #3: Type: text/plain, Size: 221 bytes --]


> BTW, did you read the Duplex Printers section in ps-print
> documentation?

Yes.

-- 
.:  Leo  :.  [ sdl.web AT gmail.com ]  .:  [ GPG Key: 9283AA3F ]  :.

       Use the most powerful email client -- http://gnus.org/

[-- Attachment #4: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: ps-lpr-switches has no effect
  2007-10-30 22:39 ps-lpr-switches has no effect Leo
@ 2007-10-31  0:14 ` Vinicius Jose Latorre
  2007-10-30 23:46   ` Leo
  0 siblings, 1 reply; 8+ messages in thread
From: Vinicius Jose Latorre @ 2007-10-31  0:14 UTC (permalink / raw)
  To: Leo; +Cc: emacs-devel

Leo wrote:
> Hi there,
>
> I use lpr "-o Duplex=DuplexNoTumble" in shell and I can print a document
> on both sides of the paper.
>
> However, if I set ps-lpr-switches to "-o Duplex=DuplexNoTumble", and
> print a document within Emacs using 'M-x ps-print-buffer', it is only
> one sided. I wonder if there is a bug in ps-print.
>
> HTH,
>   

Please, execute the following command in *scratch* buffer:

    M-: (insert (ps-setup)) RET

Save *scratch* buffer in a file and send me back.

BTW, did you read the Duplex Printers section in ps-print documentation?

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: ps-lpr-switches has no effect
  2007-10-30 23:46   ` Leo
@ 2007-11-09  3:59     ` Vinicius Jose Latorre
  2007-11-09 17:31       ` Vinicius Jose Latorre
  2007-11-09 18:30       ` Leo
  0 siblings, 2 replies; 8+ messages in thread
From: Vinicius Jose Latorre @ 2007-11-09  3:59 UTC (permalink / raw)
  To: Leo; +Cc: emacs-devel


Sorry for the delay, I was out of city.

Please, test the following setting:

    (setq ps-lpr-switches '("-o Duplex=DuplexNoTumble"))



Leo wrote:
> On 2007-10-31 00:14 +0000, Vinicius Jose Latorre wrote:
>   
>> Leo wrote:
>>     
>>> Hi there,
>>>
>>> I use lpr "-o Duplex=DuplexNoTumble" in shell and I can print a document
>>>       
>>> on both sides of the paper.
>>>
>>> However, if I set ps-lpr-switches to "-o Duplex=DuplexNoTumble", and
>>> print a document within Emacs using 'M-x ps-print-buffer', it is only
>>> one sided. I wonder if there is a bug in ps-print.
>>>
>>> HTH,
>>>   
>>>       
>> Please, execute the following command in *scratch* buffer:
>>
>>    M-: (insert (ps-setup)) RET
>>
>> Save *scratch* buffer in a file and send me back.
>>     
>
>   
> ------------------------------------------------------------------------
>
>
>   
>> BTW, did you read the Duplex Printers section in ps-print
>> documentation?
>>     
>
> Yes.
>
>   

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: ps-lpr-switches has no effect
  2007-11-09  3:59     ` Vinicius Jose Latorre
@ 2007-11-09 17:31       ` Vinicius Jose Latorre
  2007-11-09 18:30       ` Leo
  1 sibling, 0 replies; 8+ messages in thread
From: Vinicius Jose Latorre @ 2007-11-09 17:31 UTC (permalink / raw)
  To: Leo; +Cc: emacs-devel


As I did not receive this email from emacs-devel list, I'm resending 
this email.

Please, ignore this email if you already received it before.


Vinicius Jose Latorre wrote:
>
> Sorry for the delay, I was out of city.
>
> Please, test the following setting:
>
>    (setq ps-lpr-switches '("-o Duplex=DuplexNoTumble"))
>
>
>
> Leo wrote:
>> On 2007-10-31 00:14 +0000, Vinicius Jose Latorre wrote:
>>  
>>> Leo wrote:
>>>    
>>>> Hi there,
>>>>
>>>> I use lpr "-o Duplex=DuplexNoTumble" in shell and I can print a 
>>>> document
>>>>       on both sides of the paper.
>>>>
>>>> However, if I set ps-lpr-switches to "-o Duplex=DuplexNoTumble", and
>>>> print a document within Emacs using 'M-x ps-print-buffer', it is only
>>>> one sided. I wonder if there is a bug in ps-print.
>>>>
>>>> HTH,
>>>>         
>>> Please, execute the following command in *scratch* buffer:
>>>
>>>    M-: (insert (ps-setup)) RET
>>>
>>> Save *scratch* buffer in a file and send me back.
>>>     
>>
>>   
>> ------------------------------------------------------------------------
>>
>>
>>  
>>> BTW, did you read the Duplex Printers section in ps-print
>>> documentation?
>>>     
>>
>> Yes.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: ps-lpr-switches has no effect
  2007-11-09  3:59     ` Vinicius Jose Latorre
  2007-11-09 17:31       ` Vinicius Jose Latorre
@ 2007-11-09 18:30       ` Leo
  2007-11-09 20:50         ` Vinicius Jose Latorre
  1 sibling, 1 reply; 8+ messages in thread
From: Leo @ 2007-11-09 18:30 UTC (permalink / raw)
  To: emacs-devel


On 2007-11-09 03:59 +0000, Vinicius Jose Latorre wrote:
> Sorry for the delay, I was out of city.
>
> Please, test the following setting:
>
>    (setq ps-lpr-switches '("-o Duplex=DuplexNoTumble"))
>

It worked.

I should have read the doc string.

BTW, do you know how to enable this option through `pr-interface'?

-- 
.:  Leo  :.  [ sdl.web AT gmail.com ]  .:  [ GPG Key: 9283AA3F ]  :.

       Use the most powerful email client -- http://gnus.org/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: ps-lpr-switches has no effect
  2007-11-09 18:30       ` Leo
@ 2007-11-09 20:50         ` Vinicius Jose Latorre
  2007-11-09 23:05           ` Leo
  0 siblings, 1 reply; 8+ messages in thread
From: Vinicius Jose Latorre @ 2007-11-09 20:50 UTC (permalink / raw)
  To: Leo; +Cc: emacs-devel

Leo wrote:
> On 2007-11-09 03:59 +0000, Vinicius Jose Latorre wrote:
>   
>> Sorry for the delay, I was out of city.
>>
>> Please, test the following setting:
>>
>>    (setq ps-lpr-switches '("-o Duplex=DuplexNoTumble"))
>>     
>
> It worked.
>   

Cool!

> I should have read the doc string.
>
> BTW, do you know how to enable this option through `pr-interface'?
>   

Hmmm, there is no way to configure ps-lpr-switches via pr-interface.
But I'll try to find a way to do it.

Thanks for the suggestion.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: ps-lpr-switches has no effect
  2007-11-09 20:50         ` Vinicius Jose Latorre
@ 2007-11-09 23:05           ` Leo
  0 siblings, 0 replies; 8+ messages in thread
From: Leo @ 2007-11-09 23:05 UTC (permalink / raw)
  To: emacs-devel

On 2007-11-09 20:50 +0000, Vinicius Jose Latorre wrote:
>> BTW, do you know how to enable this option through `pr-interface'?
>>   
> Hmmm, there is no way to configure ps-lpr-switches via pr-interface.
> But I'll try to find a way to do it.
>
> Thanks for the suggestion.

Thanks.

Modern gui print dialogue for example the one in Evince provides a list
where user can choose one-sided, Long Edge and Short Edge. I think
pr-interface is like the print dialogue for Emacs and might have a
similar feature.

HTH,
-- 
.:  Leo  :.  [ sdl.web AT gmail.com ]  .:  [ GPG Key: 9283AA3F ]  :.

       Use the most powerful email client -- http://gnus.org/

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-11-09 23:05 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-30 22:39 ps-lpr-switches has no effect Leo
2007-10-31  0:14 ` Vinicius Jose Latorre
2007-10-30 23:46   ` Leo
2007-11-09  3:59     ` Vinicius Jose Latorre
2007-11-09 17:31       ` Vinicius Jose Latorre
2007-11-09 18:30       ` Leo
2007-11-09 20:50         ` Vinicius Jose Latorre
2007-11-09 23:05           ` Leo

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.