Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Ken Murphy
  Where is Ken Murphy?
 Springhill
 Canada
 Ken Murphy
 To: Ferenc Richard
  Where is Ferenc Richard?
 warsaw
 Poland
 Ferenc Richard
 Tags
Subject: RE: Printing on fiscal priner
Thread ID: 112270 Message ID: 112284 # Views: 2 # Ratings: 0
Version: Visual FoxPro 9 Category: Reports and Printers
Date: Tuesday, November 07, 2006 2:11:38 AM         
   


> 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


Richard,

I have absolutely no idea what a "Fiscal" printer is, but take a look at the following in help:

SET PRINTER TO
This command will allow you to select the correct printer without user intervention. For example,
SET PRINTER TO [\\Computer\SharedPrinter]
SET PRINTER TO NAME WindowsPrinterName

REPORT FORM ... PROMPT
Take a look at the PROMPT clause in the REPORT FORM command. This displays the printer dialog for you and your user can use it to select the appropriate printer. For example,
REPORT FORM [Path2\MyReport] PREVIEW PROMPT

GETPRINTER()
This allows the user to select a printer from a dropdown.

APRINTERS()
Stores information about available printers to an array

Hope this helps,

Ken
You shall know the truth - and the truth shall set you free. (John 8:33)

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