Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printer Selection
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00000757
Message ID:
00000882
Views:
50
Warren

The only way I could 'really' get seperate printers to work
was to do the APRINTERS() thing along with a INI read. I set
the Printer name to the task, read it on startup & then assign
it.

IE:

if type('gcCheckPrinter') # 'C'
=readprinterini()
endif

The reason I check the var is mainly for development work. I
put the routine in the Load of the base form -- this way I can
run a single copy of a form instead of running the entire app
just to test one form.

Now the global var has the name of the Check Printer & I can
use it anywhere.

Hope this helps,
Tom


>I'm looking for some help in writing a routine
>that will
>allow the programatic change of printers (one for
>reports and
>the other for checks). I'm sure this can be done
>through the
>API's, but I have no experience in "C". I'd
>appreciate any
>help
Tom
--------------------------------
Tom O'Hare
407-299-4268 -- tom@redtile.com -- http://www.redtile.com/
Independent Programmer Using Visual FoxPro, Visual Basic & more...
Operations Manager -- Virtual FoxPro User Group (VFUG)
http://www.vfug.org/ -- tom@vfug.org
President -- Central Florida FoxPro User Group (CFFUG)
http://www.redtile.com/foxpro/
Universal Thread Most Valued Professional (MVP)
http://www.transformation.com/foxpro/
Previous
Reply
Map
View

Click here to load this message in the networking platform