Article View: borland.public.cppbuilder.nativeapi
Article #15269Re: More Printing Help Needed
From: Bob Gonder
Date: Mon, 14 Jul 2003 20:15
Date: Mon, 14 Jul 2003 20:15
20 lines
1921 bytes
1921 bytes
"Anthony" <awhitesell@attbi.com> wrote: >Hey that was a neat idea but unfortuneately it doesn't work. I get proper >width but no pagination. Ain't no pages to "paginate". > It looks like I was printing without regard to the >label separations (which I was). Then fix your code to fill the label vertically. >Doesn't this code give me the correct HDC? > >Printer()->PrinterIndex=selected_printer; // not default printer >width = GetDeviceCaps(Printer()->Handle, PHYSICALWIDTH); // page size x > >It prints to the correct printer... Don't know. I don't do VCL.
Technical Details
Message-ID:
<dn36hv84ko7g4elapdnfmjvso869v42bet@4ax.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<3f0e1961$1@newsgroups.borland.com> <3f0ea18e$1@newsgroups.borland.com> <3f0f1830@newsgroups.borland.com> <3f11be9b@newsgroups.borland.com> <02h3hv021dm4mireqbhnndpd2tra9r9874@4ax.com> <3f11d845@newsgroups.borland.com> <bgg4hvsnj87lvkvu85oh0oq6i29kginmam@4ax.com> <3f130272@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,82770ce634808d90 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-07-14 13:36:43 PST From: Bob Gonder <notbg@notmindspring.invalid> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: More Printing Help Needed Date: Mon, 14 Jul 2003 13:15:54 -0700 Organization: MindSpring Enterprises, Inc. Reply-To: notbg@notmindspring.invalid Message-ID: <dn36hv84ko7g4elapdnfmjvso869v42bet@4ax.com> References: <3f0e1961$1@newsgroups.borland.com> <3f0ea18e$1@newsgroups.borland.com> <3f0f1830@newsgroups.borland.com> <3f11be9b@newsgroups.borland.com> <02h3hv021dm4mireqbhnndpd2tra9r9874@4ax.com> <3f11d845@newsgroups.borland.com> <bgg4hvsnj87lvkvu85oh0oq6i29kginmam@4ax.com> <3f130272@newsgroups.borland.com> X-Newsreader: Forte Agent 1.91/32.564 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 67.31.165.63 X-Trace: newsgroups.borland.com 1058213755 67.31.165.63 (14 Jul 2003 13:15:55 -0700) Lines: 22 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail