Re: TZF - Printer Help Needed
| Newsgroups | gmane.comp.lang.delphi.topaz |
|---|---|
| Organization | Lycos Mail (http://www.mail.lycos.com:80) |
| Message-ID | <[email protected]> |
Hmnn... Injecting the CHR(12) will give you the page feed you need, but it will only print the back side of the page if the printer knows to do so. That kind of thing is usually handled by the printer driver. I have used several duplex printers and always had to set the duplex mode in the printer driver. I have never had to do it programatically, but I guess it could be done using the Windows printer API (if enough was known about the driver). Most users have not wanted to duplex print full-time, so they are happy to set that mode in the printer driver only when they need it. Sorry my answer is not very specific, but it gives you an avenue to investigate :-) . Regards, Mike -- --------- Original Message --------- DATE: Fri, 16 May 2003 21:55:31 From: [email protected] To: [email protected] Cc: This is not a Topaz problem, but maybe someone else has experienced this problem. I have a client with a Mita Printer which will print front and back on a piece of paper. Previously, the way I "control" my print needs is to write all the text to a RichEdit object (either visible or invisible) and then to do a RichEdit.Print(''); Of course this creates a new entry into the Windows print queue which always prints to the FRONT of the piece of paper. Soooooo, I tried to inject a Chr(12) into the RichEdit. This did not help. Next, I found the programming manual for this printer and tried to send it the NEW PAGE command of the printer. The command was actually !R1 PAGE; EXIT; Of course, that string above came out on the piece of paper. Can anyone help me understand how to print to a front/back printer and keep things under control. Thanks for any help, Bob Watson Atlanta, GA ____________________________________________________________ Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail! http://login.mail.lycos.com/r/referral?aid=27005 ==^================================================================ This email was sent to: [email protected] EASY UNSUBSCRIBE click here: http://topica.com/u/?clvXPN.a5kvff.Z2NsZHQt Or send an email to: [email protected] TOPICA - Start your own email discussion group. FREE! http://www.topica.com/partner/tag02/create/index2.html ==^================================================================