Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

slowness Printer

Status
Not open for further replies.

fifa

Programmer
Jan 28, 2002
10
CA
Hello,
I wishes to have your opinion dear sir for my printer's speed " Eposon LQ-570 / P2 ", it is too slow during the impression of an invoice validated by my program developed in VISUAL FOX PRO 6.0, is there a solution in order to avoid this slowness?
Thank you for any service and especially for your attention.
 
Unless there is a Window's driver for this printer that supports "character" mode (rather than the default graphics mode), the best way to speed things up is to install and switch to a Generic / Text Only printer driver. You will now have to send any control codes necessary, just like you did(?) back in DOS days. Note: You may have have to get updated versions of this driver, as some (e.g. the original NT 4.0) took the name "text" a bit too seriously, and wouldn't pass through any non-text characters (like most of
the control characters!).

Rick

 
Hi,
Thanks for your reply but I don't understand u clearly that u suggest to converte code to Dos or only use what exactly?
 
1) In your Printer folder, check to see if a "Generic / Text Only" printer driver is installed for the printer you are sending the Invoice to. If not install one from your OS CD (or hard disk if the CD was mirrored there).

2) Before printing the invoice, switch to this "printer" (switch back to the other printer driver unless you are only printing invoices on this printer).

3) If the original windows printer driver was sending any specific set up codes, you may need to now programmatically send them.

Bottom line is that when using Windows printer drivers, everthing is converted to "graphics", and dot-matrix printers take a long time to print these. By using the Text Ony printer driver, you are just sending ASCII characters to the printer. This is quicker because characters take much less space than the graphic images of characters, and the printer uses a standard "font" to print characters rather than "pictures".

Rick
 
Hello.

To be a little more clear: the control codes are some nonprinting characters (between CHR(0)-CHR(31)). Some of them are generally valable, such as CHR(15). Sending this character to the printer - using the ??? CHR(15) command, forces the printer to switch to the condensed font.

Other are printer specific, especially the Escape codes - some codes beginning with CHR(27). Take a look in the printer user's manual.

Hope this helps.
Grigore Dolghin
 
Hi,
Thanks for your attention and reply but can u give me any exemple of programm in which use this if it is possible?
 
Hi,
Try this solution,
Set printer property to print directly to printer, not use spooling but you have to wait until it finishs printing

&quot;CONTROL PANNEL\Printers\<printer>\Property\Detail\Spool Setting&quot;

I dont know whether this helps

Jimmy
Jimmy Le
nhan_tiags@yahoo.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top