Solved

foxpro ???printer commands

Posted on 1998-06-11
1
1,162 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:
bbao earned 100 total points
ID: 1564222
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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Nslookup is a command line driven utility supplied as part of most Windows operating systems that can reveal information related to domain names and the Internet Protocol (IP) addresses associated with them. In simple terms, it is a tool that can …
Downtime reduced, data recovered by utilizing an Experts Exchange Business Account Challenge The United States Marine Corps employs more than 200,000 active-duty Marines with operations in four continents, all requiring complex networking system…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

776 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