Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.postscript > #3075

Re: duplex ?

Newsgroups comp.lang.postscript
From Peter Billam <peter@www.pjb.com.au>
Subject Re: duplex ?
References <slrnoht13h.2hh.peter@box8.pjb.com.au> <MPG.3388a79feaca7ad8989919@usenet.plus.net>
Message-ID <slrnohtmcq.17r.peter@box8.pjb.com.au> (permalink)
Date 2017-05-19 11:40 +0000
Organization Unlimited download news at news.astraweb.com

Show all headers | View raw


On 2017-05-19, ken <ken@spamcop.net> wrote:
>
> Its unfortunate that you find the PLRM difficult to work with,
> in my experience its one of the best specifications I've read.

Yes, it's pretty good.  The best I've ever seen is Programming in Lua,
but that is a totally unfair comparison because Lua is so much leaner.

> Duplexing is clearly defined in the PLRM, assuming your printer conforms 
> to the specification in this regard (which is by no means certain) you 
> would need to send something like :
>    <</Duplex true>> setpagedevice

That itself was very helpful :-) I had been stuck in the DSC section.
So this is my current best-effort test-file :

%!PS-Adobe-3.0
% PLRM ed.2  p. 674
%%Requirements: duplex
%%IncludeFeature: duplex
%%BeginFeature: duplex
%%EndComments
%%BeginProlog
%%EndProlog

% printer description files see pp. 227, 229, 251, 613
% p.235 p.669
%%BeginSetup
%%BeginFeature *Duplex True
<< /Duplex true >> setpagedevice
%%EndFeature
%%EndSetup

%%Page: 1 1
%%BeginPageSetup
%%EndPageSetup
298 421 40 0 360 arc fill
showpage

%%Page: 2 2
%%BeginPageSetup
%%EndPageSetup
298 421 40 0 360 arc stroke
showpage

%%EOF

but it still doesn't print duplex :-(
lpd does see the printer correctly as a HL5440D.

Peter

-- 

Peter Billam    www.pjb.com.au    www.pjb.com.au/comp/contact.html

Back to comp.lang.postscript | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

duplex ? Peter Billam <peter@www.pjb.com.au> - 2017-05-19 05:36 +0000
  Re: duplex ? ken <ken@spamcop.net> - 2017-05-19 07:57 +0100
    Re: duplex ? Peter Billam <peter@www.pjb.com.au> - 2017-05-19 11:40 +0000
      Re: duplex ? ken <ken@spamcop.net> - 2017-05-19 19:19 +0100
        Re: duplex ? tlvp <mPiOsUcB.EtLlLvEp@att.net> - 2017-05-19 21:26 -0400
          Re: duplex ? Peter Billam <peter@www.pjb.com.au> - 2017-05-21 07:18 +0000
            Re: duplex ? John Reiser <jreiserfl@comcast.net> - 2017-05-23 21:40 -0700

csiph-web