Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

foxpro ???printer commands

Posted on 1998-06-11
1
Medium Priority
?
1,249 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 200 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

Simple, centralized multimedia control

Watch and learn to see how ATEN provided an easy and effective way for three jointly-owned pubs to control the 60 televisions located across their three venues utilizing the ATEN Control System, Modular Matrix Switch and HDBaseT extenders.

Question has a verified solution.

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

FIPS stands for the Federal Information Processing Standardisation and FIPS 140-2 is a collection of standards that are generically associated with hardware and software cryptography. In most cases, people can refer to this as the method of encrypti…
Are you one of those front-line IT Service Desk staff fielding calls, replying to emails, all-the-while working to resolve end-user technological nightmares? I am! That's why I have put together this brief overview of tools and techniques I use in o…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
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…

660 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