FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveMac / FivePhone (iPhone, iPad) Selecting a Printer
Posts: 28
Joined: Wed Nov 09, 2005 11:46 AM
Selecting a Printer
Posted: Sun May 21, 2006 01:21 PM

I am wanting to set a specific printer in my program for a printer that has pre-printed forms. I want all other printing to go to another printer. I want to set the form printer in a configuration and all form printing will then go to this printer. All other print outs will go to the default printer.

Can someone tell me how to do this?

Thanks
Dan

Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
Re: Selecting a Printer
Posted: Sun May 21, 2006 03:41 PM

Use TO clause of PRINTER command.

EMG

Posts: 28
Joined: Wed Nov 09, 2005 11:46 AM
Selecting a Printer
Posted: Wed May 24, 2006 01:22 AM

That's not exactly what I had in mind.

I use the FW Report system to generate reports and print outs. What I want to do is change the printer for one print out which is a pre-printed form that will be loaded in a printer dedicated for this purpose and have all the other reports print on the default printer.

I want to do this:
- Use the default printer for all reports but one.
- I want to programmatically set a specific printer for one form print out and then go back to the default printer.
- I don't want to have the operator select a printer each time they do this one particular report.

Dan

Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
Selecting a Printer
Posted: Wed May 24, 2006 06:38 AM

Using TO clause you can specify the exact printer name to use. This is completely transparent for the user.

EMG

Posts: 28
Joined: Wed Nov 09, 2005 11:46 AM
Selecting a Printer
Posted: Sat Jun 10, 2006 11:49 AM

I can't get that to work.

Dan

Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
Selecting a Printer
Posted: Sat Jun 10, 2006 12:20 PM

Sorry, I can't test it with FW++. It works fine with FWH.

EMG

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Selecting a Printer
Posted: Sat Jun 10, 2006 01:36 PM

Dan,

We need a small and self contained sample to reproduce the problem. Thanks,

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion