Solved

foxpro ???printer commands

Posted on 1998-06-11
1
1,128 Views
Last Modified: 2013-12-23
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.
0
Comment
Question by:finleyjc
1 Comment
 
LVL 37

Accepted Solution

by:
Bing CISM / CISSP earned 100 total points
Comment Utility
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.
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Sometimes you might need to configure routing based not only on destination IP address, but also on a combination of destination IP address (or hostname) and destination port number. I will describe a method how to accomplish this with free tools. …
A common practice in small networks is making file sharing easy which works extremely well when intra-network security is not an issue. In essence, everyone, that is "Everyone", is given access to all of the shared files - often the entire C: drive …
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now