Article View: borland.public.cppbuilder.nativeapi
Article #7663Re: Disable printer form feed
From: Bob Gonder
Date: Tue, 04 Jan 2005 17:45
Date: Tue, 04 Jan 2005 17:45
21 lines
1770 bytes
1770 bytes
Manuel Correa wrote: > >I hope this is in the proper news group. I am trying to print a label to a dot matrix printer. This I have accomplished. Where I am having a problem is: I don't want the printer to form feed after the job is printed. I have tried native API calls, VCL calls nothing works. There are 3 ways to print. Which one do you use? DOS method 1) CreateFile() WriteFile() RAW method 2) OpenPrinter() StartDocPrinter() StartPagePrinter() WritePrinter() DC method 3) OpenPrinter() CreateDC() StartDoc() StartPage() ExtTextOut() Method 1 shouldn't FF unless you send one. Method 2...maybe you can get away without the StartPagePrinter? Method 3..I think will always FF.
Technical Details
Message-ID:
<trklt0db1sfe5advj70mnnd7gidpc7cgcq@4ax.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<41daaac8$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,48560476d65906db X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: Bob Gonder <notbg@notmindspring.invalid> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Disable printer form feed Date: Tue, 04 Jan 2005 09:45:45 -0800 Organization: MindSpring Enterprises, Inc. Reply-To: notbg@notmindspring.invalid Message-ID: <trklt0db1sfe5advj70mnnd7gidpc7cgcq@4ax.com> References: <41daaac8$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: 69.69.91.241 X-Trace: newsgroups.borland.com 1104860745 69.69.91.241 (4 Jan 2005 09:45:45 -0800) Lines: 23 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail