ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Vit Zyka <vit.zyka@seznam.cz>
Subject: Re: printing an envelope--solution.
Date: Wed, 01 Jun 2005 16:15:05 +0200	[thread overview]
Message-ID: <429DC2E9.2030202@seznam.cz> (raw)

On Monday 30 May 2005 06:58 pm, John R. Culleton wrote:
> Using my my Ricoh AP2600 printer I want to feed envelopes with
> the narrow side first, which means the the print image must be
> rotated 90 degrees. It is not clear how this can be done in

What about something like:

\definepapersize[env][width=4.25in,height=9.5in]
\papersize[env][env]

\setuplayout
   [topspace=1in,bottomspace=1in,backspace=1.5in,cutspace=.5in,
    header=0pt,footer=0pt,margin=0pt,
    width=middle,height=middle]

\starttext
\rotated
   [rotation=90]
   {\rbox{
      Name\\
      Street\\
      State
   }}%
\stoptext

vit

----------------------------------------------------------------
<snip>

Never mind. I did it in plain TeX with pstricks thus:
------------------------------------------------------------
\input pstricks
\special{papersize=4.25in,9.5in}
\voffset 4.5in
\parindent 0pt
\parskip 0pt
\def\crlf{\hfil\break}
\rput{90}{
\vbox{
John Culleton\crlf
2401 Haight Avenue\crlf
Eldersburg, MD 21784

{
\leftskip 3.75in
\obeylines
\input addr
}
}
}
\bye
----------------------------------------------------------------------------
Instead of printing a horizontal page and rotating the page
I printed a vertical page and rotated the text within it.

Still curious if there is a Context solution to this common
problem.


John Culleton



_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


-- 
Vít Zýka --- http://typokvitek.com
     Automatic document typesetting
     Automaticka sazba dokumentu --
--

             reply	other threads:[~2005-06-01 14:15 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-01 14:15 Vit Zyka [this message]
2005-06-01 13:33 ` John R. Culleton
2005-06-01 19:04   ` Hans Hagen
2005-06-01 19:43   ` Otared Kavian
2005-06-01 19:49   ` Patrick Gundlach
2005-06-01 21:08   ` Otared Kavian
2005-06-10 11:45   ` Otared Kavian
2005-06-10 14:00     ` Hans Hagen
  -- strict thread matches above, loose matches on Subject: below --
2005-05-30 18:58 printing an envelope John R. Culleton
2005-06-01  8:30 ` printing an envelope--solution John R. Culleton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=429DC2E9.2030202@seznam.cz \
    --to=vit.zyka@seznam.cz \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).