🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #15271

Re: More Printing Help Needed

#15271
From: Anthony
Date: Mon, 14 Jul 2003 20:57
33 lines
2349 bytes
That's is difficult, almost inpossible to do with WSIWYG fonts.  The labels
will fit 6 lines of the old DOS type 6 lines per inch printer fonts.  But
the variable height of the fonts makes line feeding to fill the labels
impossible.

Thank you for your help.

"Bob Gonder" <notbg@notmindspring.invalid> wrote in message
news:dn36hv84ko7g4elapdnfmjvso869v42bet@4ax.com...
> "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: <3f131ae3@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-05!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
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> <dn36hv84ko7g4elapdnfmjvso869v42bet@4ax.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 14:10:27 PST
From: "Anthony" <awhitesell@attbi.com>
Newsgroups: borland.public.cppbuilder.nativeapi
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> <dn36hv84ko7g4elapdnfmjvso869v42bet@4ax.com>
Subject: Re: More Printing Help Needed
Date: Mon, 14 Jul 2003 16:57:52 -0400
Lines: 35
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 24.128.134.183
Message-ID: <3f131ae3@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1058216675 24.128.134.183 (14 Jul 2003 14:04:35 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-05!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail