TIP: Click on subject to list as thread! ANSI
echo: delphi
to: BRYAN SMITH
from: ALESSANDRO ANTONINI
date: 1998-01-25 17:28:00
subject: TPrinter

Hello Bryan!
07 Jan 98, 22:53, Bryan Smith wrote to All:
> Using the Printer object and its BeginDoc and EndDoc methods seems to be
> slow if BeginDoc and EndDoc are used to start and end every page of a
> multi-page job. Is there any way to speed things up by sending a
> page-eject to "Printer" without having to use EndDoc ?
AFAIK BeginDoc and EndDoc should only be used at start printing and end
printing. Don't know which Delphi version you using, with D3 there is
a TPrinter.NewPage method that print on the successive page and also 
increments
PageNumber one step. Check on line help, don't have Delphi handy now.
> are normally printing one page only - i.e. without looping back and
> sending down several individual copies of the same page ?
Again with D3, there is a TPrinter.Copies property, just set it to the number
of copies you want, it'll do the rest automatically.
C U!
Alessandro Antonini - p0010838@www.leonet.it
--- GEcho/32 1.20/Pro
---------------
* Origin: Home Page: members.tripod.com/~theflyguy/ (2:332/617.43)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.