As Gerhard said, you could use put statements but getting all of the fonts and sizes right would be a lot of work, not to mention creating the boxes on the form. To me the real question is how exact a copy of a 1040 do you want. Can you get by with a single font, no boxes, and simply the line number, text, and $$.
Do you need real form 1040s that a human would read or do you need the electronic format that is transmitted to the IRS. The latter should be simple.
Thinking further, there is a package called Omniform that lets you create a fillable form. When I played with it some 10+ years ago, it was supposedly ODBC compliant so you could presumably have SAS populate the cells and then use a PDF converter. There may be commercially templates written in Excel that you could populate and save as a PDF.
From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of Abc Unha
Sent: Friday, September 04, 2009 10:01 AM
Subject: Re: fill PDF FORMS from SAS
I was referring to IRS 1040 (Individual tax return). Is there anyway to
create like that form (IRS 1040 ) in SAS?
CONFIDENTIALITY NOTICE: This electronic message contains
information which may be legally confidential and or privileged and
does not in any case represent a firm ENERGY COMMODITY bid or offer
relating thereto which binds the sender without an additional
express written confirmation to that effect. The information is
intended solely for the individual or entity named above and access
by anyone else is unauthorized. If you are not the intended
recipient, any disclosure, copying, distribution, or use of the
contents of this information is prohibited and may be unlawful. If
you have received this electronic transmission in error, please
reply immediately to the sender that you have received the message
in error, and delete it. Thank you.