|
Question : foxpro ???printer commands
|
|
I am having trouble with initialization commands to the printer for FOXPRO2.5 DOS report forms. the commands are preceeded with the "???" send directly to printer. We are using a HPlj4 printer and an Epson dot matrix printer. The user has the option of selecting the printer. A typical printer commands reads: ??? CHR(27) + "(S16.6H0B" && courier-condensed print ??? CHR(27) + "&L10" && Landscape or ??? CHR(27) + "&L0O" && portrait What is happening is I still get landscape when I request portrait or vice versa. Our system does not let the individual operator to use the Foxpro Printer Setup.
|
Answer : foxpro ???printer commands
|
|
Foxpro for DOS has built-in print setup with a printer setting profile, you may custom this file in order to print document with your printer. AFAIK, HPLJ is supported with its default printer list.
With this way, you dont need to manually put printer commands to print port, just sepecify what printer profile you need. All the settings such as Lanscape and others all are included in the profile settings.
|
|
|