🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: TPrinter Problem

#15113
From: Anthony
Date: Wed, 16 Jul 2003 03:16
37 lines
2248 bytes
I have some final coding to do, but I think I have found solutions to all of
my issues. But I have one last question:

I am printing on address labels that are 1 inch tall.  When I issue
Printers()->NewPage() the printer feeds 10 inches of paper skipping 10
labels. But if I issue StartPage(Hndl) and EndPage(Hndl) then it increments
properly.

Anthony


"Remy Lebeau (TeamB)" <gambit47@yahoo.com> wrote in message
news:3f147649$1@newsgroups.borland.com...
>
> "Anthony" <awhitesell@attbi.com> wrote in message
> news:3f1471c0$1@newsgroups.borland.com...
>
> > I can use both
> >
> >    HDC HPrinterDC = CreateDC(NULL, Device.c_str(), NULL, pdm);
> > and
> >    HDC HPrinterDC = CreateIC(NULL, Device.c_str(), NULL, pdm);
>
> I didn't say to use CreateDC().  That is a different matter.
>
> > and get the correct page sizes.
>
> What does page sizes have to do with anything?  You said you were
receiving
> the same HDC when using Printer()->Handle?  Or did I misread what you said
> originally?  Please clearify EXACTLY what you are trying to do and what
> EXACTLY is not working correctly.
>
>
> Gambit
>
>
Technical Details
Message-ID: <3f14c530$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!peernews3.colt.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3f1460f3$1@newsgroups.borland.com> <3f14693d$1@newsgroups.borland.com> <3f1471c0$1@newsgroups.borland.com> <3f147649$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,d59131589fe63384
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-07-15 20:40:34 PST
From: "Anthony" <awhitesell@attbi.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3f1460f3$1@newsgroups.borland.com> <3f14693d$1@newsgroups.borland.com> <3f1471c0$1@newsgroups.borland.com> <3f147649$1@newsgroups.borland.com>
Subject: Re: TPrinter Problem
Date: Tue, 15 Jul 2003 23:16:43 -0400
Lines: 39
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: <3f14c530$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1058325808 24.128.134.183 (15 Jul 2003 20:23:28 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!peernews3.colt.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail