🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Printing Help Needed

#15256
From: Vladimir Afanasyev
Date: Mon, 14 Jul 2003 08:22
27 lines
1781 bytes
Hi Anthony,

"Anthony" <awhitesell@attbi.com> wrote:
>Vladimir,
>
>It did not work.  Both NewPage() and EndDoc() feed 11 inches before printing
>the next label.
>
>Any one have any more ideas?
>

May be we do not understand your problem.
So again from begin.
You have printer with standard size (A4) and try to 
print labels on it, right?
Or you have "ribbon" printer?

In first case you can set size of page as standard and 
print labels on page without EndDoc and NewPage (just as 
Bob suggested).

In second you can try to use WritePrinter Win32 API function 
that sends data directly on printer (including escape function 
as JD said).

Vladimir.
Technical Details
Message-ID: <3f12685b$1@newsgroups.borland.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!news-hog.berkeley.edu!ucberkeley!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3f0e1961$1@newsgroups.borland.com> <3f0ea18e$1@newsgroups.borland.com> <3f0f1830@newsgroups.borland.com> <3f11c5bc$1@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 01:27:11 PST
From: "Vladimir Afanasyev" <avv@systema.kiev.ua>
Sender: "Vladimir Afanasyev" <avv@systema.kiev.ua>
Reply-To: "Vladimir Afanasyev" <avv@systema.kiev.ua>
Subject: Re: Printing Help Needed
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 212.82.216.226 212.82.216.226    
X-Forwarded-For: 192.168.0.147
References:  <3f0e1961$1@newsgroups.borland.com> <3f0ea18e$1@newsgroups.borland.com> <3f0f1830@newsgroups.borland.com> <3f11c5bc$1@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.65
Message-ID: <3f12685b$1@newsgroups.borland.com>
Date: 14 Jul 2003 01:22:51 -0700
X-Trace: newsgroups.borland.com 1058170971 207.105.83.65 (14 Jul 2003 01:22:51 -0700)
Lines: 27
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!news-hog.berkeley.edu!ucberkeley!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail