Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Guido Diemer
  Where is Guido Diemer?
 Alkmaar
 Netherlands
 Guido Diemer
 To: Michael Kopljan
  Where is Michael Kopljan?
 Novi Sad
 Serbia
 Michael Kopljan
 Tags
Subject: RE: Printing on fiscal priner
Thread ID: 112270 Message ID: 112587 # Views: 2 # Ratings: 0
Version: Visual FoxPro 9 Category: Reports and Printers
Date: Thursday, November 09, 2006 9:30:44 PM         
   


> > Hello,
> > I have a problem with printing on a fiscal printer from vfp aplication. Can you advice me on how to bypass a default system printer setting in order to be able to run standard printouts on a default printer and fiscal printouts on a fiscal one.
> > Regards
> > Richard

>
>
> you can't.
>
> Only way is low level comunication thru COM port and you must know printer commands that create new bill, send articles, money and close bill.


Sorry Michel, but I must disagree on this.

As I mentioned in this thread you can print on more than 1 printer using the NAME clause.

Actually, this is the situtation I am using now.

I have a Canon Laser on the network, named CANON, and a local Epson label-printer on LPT1: named EPSON.
Moreover there is a shared DELL Colorprinter on antoher PC that I named DELL.
(re)Naming is done in Windows Printer Control.

And I just switch with :
SET PRINTER TO NAME CANON

SET PRINTER TO && sets printer back to default.

same for:
SET PRINTER TO NAME EPSON
SET PRINTER TO NAME DELL

gr. Guido Diemer

OOPs, I did it again in VFP...

ENTIRE THREAD

Printing on fiscal priner Posted by Ferenc Richard @ 11/7/2006 12:21:09 AM
RE: Printing on fiscal priner Posted by Ken Murphy @ 11/7/2006 2:11:38 AM
RE: Printing on fiscal priner Posted by Guido Diemer @ 11/8/2006 7:27:44 PM
RE: Printing on fiscal priner Posted by Michael Kopljan @ 11/9/2006 6:58:35 AM
RE: Printing on fiscal priner Posted by Guido Diemer @ 11/9/2006 9:30:44 PM
RE: Printing on fiscal priner Posted by Borislav Borissov @ 11/9/2006 9:44:05 PM
RE: Printing on fiscal priner Posted by Guido Diemer @ 11/9/2006 10:05:29 PM