🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Feed Control of a Printer

#7610
From: Grety
Date: Fri, 14 Jan 2005 01:36
58 lines
3161 bytes
Bob ! Thanks !!
First for your guide
second for my mistake correction of Role and Roll :">

I tried some of your ways for printing and it make me some good exprience
then
For peoples that may have problem with TQuickRep
there is a way to change the size of printing paper
(My Problem solving)
QuickRep1->Page->PaperSize and more changes can helps :-)

Thanks  again
be happy
Grety

"Bob Gonder" <notbg@notmindspring.invalid> wrote in message
news:j9vfu090l3lamfr0rmecfa2q566q24qstm@4ax.com...
> Grety wrote:
>
> >Is there any API (or a guide at all) to Feed Up/Down a Paper in Role
> >Printer?
>
> No.
> There is no standard for moving backwards.
> Every printer (if it even has that capability) has it's own set of
> codes for non-standard activities.
> Check with the manufacturer's web site for their codes.
>
> >When I command Printer to print via QuickRep it feeds a A4 size paper
> >although I want only 15 cm of Feeding.
> >How can I send a design paper to this Role Paper without any Auto
feeding?
> >I *HAVE TO* put a designed paper into Only 15 cm not a A4 (30 cm).
>
> Several methods exist......
>
> First, don't send form-feeds.
> Keep track of the number of lines you print, and just send enough
> Line-Feeds to complete the form.
> This should work for all non-page-printers.
>
> Second, find the control codes on the manufacturer's site to set form
> length. That way, the form feed will be the right length. Note that
> some printers only support a few page sizes, so you might not be able
> to set them to your particular size.
>
> Third, if you are using the Win API calls StartPage/EndPage, set the
> paper size in the DEVMODE. (That's a bit complex, so if you need to do
> this, and need help on it, ask about it.) Also, note that there are
> only a limited number of page sizes available through Windows.
>
> >In my current project there is a Printer with Role Paper...
>
> Ummm...just wanted to mention that "role" is what an actor plays in a
> movie.  "Roll" is what you do to a stone so it won't gather moss.
> So it should be a paper roll, or "a Printer with Roll Paper..."
>
>
Technical Details
Message-ID: <41e92b12@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news2.euro.net!216.196.110.149.MISMATCH!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
References: <41e793c8@newsgroups.borland.com> <j9vfu090l3lamfr0rmecfa2q566q24qstm@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,493775d0abffce7d
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Grety" <valid@emailaddress.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <41e793c8@newsgroups.borland.com> <j9vfu090l3lamfr0rmecfa2q566q24qstm@4ax.com>
Subject: Re: Feed Control of a Printer
Date: Fri, 14 Jan 2005 05:06:14 +0330
Lines: 60
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2479.0006
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2479.0006
NNTP-Posting-Host: 213.165.107.128
Message-ID: <41e92b12@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1105799954 213.165.107.128 (15 Jan 2005 06:39:14 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news2.euro.net!216.196.110.149.MISMATCH!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