×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

How Do I Issue PCL Commands in Dbase Program

How Do I Issue PCL Commands in Dbase Program

How Do I Issue PCL Commands in Dbase Program

(OP)
My dbase IV applications used to use an Epson 2170 printer, where i could physically change the character spacing. I now must use an HP 5L.

RE: How Do I Issue PCL Commands in Dbase Program

Am I missing something?

Use HP codes instead of Epson Codes.

Jim Asman

RE: How Do I Issue PCL Commands in Dbase Program

(OP)

  But how do i code this in my dbase program ?
  
  

RE: How Do I Issue PCL Commands in Dbase Program

I'm not familiar with DBase, but can you not put PCL codes into variables on you output format? Does DBase not provide a mechanism to insert printer codes?

Jim Asman

RE: How Do I Issue PCL Commands in Dbase Program

(OP)
I put the PCL commands in my dbase program using the CHR() functions. It is working fine for the Computer using Win2000 but the same program on another computer using Win98 fails to effect the PCL Commands.

Would You know why ??

RE: How Do I Issue PCL Commands in Dbase Program

It would seem to be a DBase issue. Can you route the printer output to a file?

Then run the same code on W98 & W2K and see what difference there may be in the output. Is the DBase run from DOS or from windows? If Windows, then I would assume the output is generated by a Windows printer driver. There could be differences in the printer drivers.

Jim Asman

RE: How Do I Issue PCL Commands in Dbase Program

(OP)
You scaled down my problem to Drivers ! I switched off the printer connected to the computer with win98 then back on.
Run the program and it worked !

I quess i have to switch the printer off then back on again if i want to overide the printer settings.

Thanks.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close