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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problem printout to printer epson tm-t88iv

Status
Not open for further replies.

binhpham

Programmer
Oct 12, 1999
33
US
Hi all
I use printer epson tm-t88iv, paralell port.
I don't know why it print only first document, second printout always is stucked in print pool. I look in print pool, it shows status is printing, but it never prints to printer. Any help would be appreciated.
 
Is this problem specific to the Epson printer, or do you see it with other printers?

Also, is the problem specific to VFP? What happens when you print with other apps. And, if VFP-specific, what method are you using to print?

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

My Visual FoxPro site: www.ml-consult.co.uk
 

Hi Mike
thanks for the answer.
i set a switch inside the printer , and it solved the problem.
It works ok now, i can print a test print ok.
Here is another problem. This is a problem with my program in visial fox pro 9.(not problem with the printer).
I try to send a ESC code to printer to open a cash drawer.

FUNCTION open_drawer
SET DEVICE TO printer
SET PRINTER on
SET CONSOLE OFF
? "This is a test"
? "This is a test"
? "This is a test"

? "A" font "control",10
?
EJECT page

SET PRINTER off
SET DEVICE TO screen
RETURN

I run this function it did not send to printer right away but put it in print spool and when exit the application it print (print 3 lines :"this is a test" and open the drawer).
Are there any command to force it send to printer right away and not wait until the application end.
Thanks
 
You'll need to start a new thread for this new problem.

Also, you might be better posting it in the "VFP General Coding Issues" forum. That will help people find the question, and you will get better answers.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

My Visual FoxPro site: www.ml-consult.co.uk
 
I have always had to use a class called RAWPRINT to send printer codes to a printer bypassing the windows printer driver. It works very effectively but takes coding a print job handler for it. and the code for opening the cash drawer on an Epson POS printer would be chr(27)+'p'+chr(0)+chr(250)+chr(250) ... (to the best of my memory)

Andy Snyder
SnyAc Software Services
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top