Solved

foxpro ???printer commands

Posted on 1998-06-11
1
1,216 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

Question has a verified solution.

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

Many of us in IT utilize a combination of roaming profiles and folder redirection to ensure user information carries over from one workstation to another; in my environment, it was to enable virtualization without needing a separate desktop for each…
We recently endured a series of broadcast storms that caused our ISP to shut us down for brief periods of time. After going through a multitude of tests, we determined that the issue was related to Intel NIC drivers on some new HP desktop computers …
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Suggested Courses

624 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