Article View: borland.public.cppbuilder.nativeapi
Article #15351Re: Setting page size progmatically
From: Alan Bellingham
Date: Sun, 06 Jul 2003 21:22
Date: Sun, 06 Jul 2003 21:22
20 lines
2162 bytes
2162 bytes
"Midnight Programmer" <nospam@nospam.com> wrote: >There are fields for controlling the page height and width but I don't know >what happens if you play with those and don't have the paper size set right. >(eg... DMPAPER_LETTER with a height and width NOT set to 8.5 and 11). The papersize field usually overrides the actual width and height set - probably on the principle that if a client wants A4, it's not reasonable to ask it also to set the exact dimensions. Otherwise, why have a papersize field at all. There's usually some custom paper size setting that allows the width and height to be set explicitly. 65535 seems to be what the Acrobat Distiller driver uses. Alan Bellingham -- Me <url:mailto:alanb@episys.com> <url:http://www.doughnut.demon.co.uk/> ACCU - C, C++ and Java programming <url:http://accu.org/> The 2004 Discworld Convention <url:http://dwcon.org/>
Technical Details
Message-ID:
<qluggv4m43h3kjb6d2ls3i442aptm7bukj@4ax.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3f045222$1@newsgroups.borland.com> <3f0459d8@newsgroups.borland.com> <3f04aaa7@newsgroups.borland.com> <3f04acd9$1@newsgroups.borland.com> <3f04d39f$1@newsgroups.borland.com> <3f079969@newsgroups.borland.com> <3f085b22$1@newsgroups.borland.com> <3f086907$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,163c42dfba190846 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-07-06 14:40:03 PST From: Alan Bellingham <alanb@episys.com> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Setting page size progmatically Date: Sun, 06 Jul 2003 22:22:35 +0100 Reply-To: alanb@episys.com Message-ID: <qluggv4m43h3kjb6d2ls3i442aptm7bukj@4ax.com> References: <3f045222$1@newsgroups.borland.com> <3f0459d8@newsgroups.borland.com> <3f04aaa7@newsgroups.borland.com> <3f04acd9$1@newsgroups.borland.com> <3f04d39f$1@newsgroups.borland.com> <3f079969@newsgroups.borland.com> <3f085b22$1@newsgroups.borland.com> <3f086907$1@newsgroups.borland.com> X-Newsreader: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 62.49.31.105 X-Trace: newsgroups.borland.com 1057526528 62.49.31.105 (6 Jul 2003 14:22:08 -0700) Lines: 20 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail