[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: Duplex Printing II



Marlon,

I think I may actually be able to help here -

Here are the commands that I used to finally get my duplex output correct:
        (thanks to help from the list)

-In the declare layout section, make sure you have:
          formfeed=yes

-Then use the following commands to set up duplex printing:

        encode '<27>&l1S' into $duplex
        print-direct printer=hplaserjet $duplex

-Use the 'new-page' command to page break (if you're not already breaking
  with some other method).

-Then, when you want to switch back to simplex printing, use:

        encode '<27>&l0S' into $simplex (that's a small L and a zero)
        print-direct printer=hplaserjet $simplex

Hope this helps!

Shawn

>Hi!
>
>I have the same dilemma as Shawn for printing in duplex form.
>I am using SQR v. 3.0.12.2 on ORACLE-VAX platform.
>The printer is capable of printing in duplex form and
>the SQR output is a postscript file.
>
>The requirement for the output report is:
>
>   Page 1
>   Page 2      --> should be printed on the back of page 1
>
>   Page 3      --> separate paper
>   Page 4      --> separate paper
>   ...
>   to Page N   --> separate paper
>
>   Only the first paper has page 1 and page 2 on the front and back
>   respectively.
>
>   What print commands will I use to print the first and second page
>   on the same paper?
>   What print commands can I then use to print normally (for the rest
>   of the pages) ?
>
>   Thanks !
>
>marlon ;)

-------------------------------
Shawn Dunn - SDUNN@MIT.EDU
Analyst/Programmer III - MIT Bursar's Office, Cambridge, MA
http://web.mit.edu/sdunn/www/