Question

Printing to USB Zebra TLP 2844 Label Printer?

Asked by: perkley

I am using Delphi 7 and I want to print a label out on the Zebra TLP 2844 Label Printer.

I am wanting to use the EPL2 Language that it understands.

According to the Programming Manual it says that I can type 'Copy "Filename.ext" LPT1' or 'Copy "Filename.ext" Com1'.  This will print the file with the code to the printer.  However, I am using USB, so no port is found.  Now, I know it can be done because it comes with a program called "Create-a-Label 3" that prints to it no problem.

So, I tried something like this.

procedure TForm1.Button1Click(Sender: TObject);
begin
  if PrintDialog1.Execute then
  begin
    RichEdit1.Print(Chr(10)+'N'+Chr(10)+'A50,0,0,1,1,1,N,"Example 1"'
      +Chr(10)+'P1'+Chr(10));
  end;
end;

which I choose the correct printer and it should print the language that it wants.  But it doesn't print correctly, instead it just ejects 1 label and sometimes it prints some weird character.

To have a better idea of what I am trying to do see this link:

http://support.zebra.com/cpws/docs/eltron/common/epl2_samp.htm

and Visual Basic examples: http://support.zebra.com/cpws/docs/eltron/common/vb_examples.htm

so now I just need to know how to do it in Delphi and get the printer to understand and print the label correctly.

Anybody have any ideas for me?  I would really appreciate it.

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2003-07-14 at 17:16:17ID20678459
Tags

zebra

,

2844

,

tlp

,

printer

Topic

Delphi Programming

Participating Experts
1
Points
150
Comments
16

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Page Eject
    Dear Experts, Please have a look at this program uses printers ; procedure TForm1.Button1Click( Sender : TObject ) ; var f : textFile ; begin AssignPrn(f) ; try Rewrite(f) ; Writeln(f,'Print the output.....') ; finally CloseFile(f) ; end ; end ; The...
  2. Changing printer port from LPT2 to LPT1
    Dear experts, I am looking for a quick, politically correct (that is, using approved standard win API calls), reliable and compatible way to programmatically change currently installed printer driver's port from, say, LPT1 to LPT2, or from a network queue to LPTx... This m...
  3. LPT1:
    I have a P3 running win98se I have not used my printer recently and now I find that it will not work.After trying to use it I sometimes get a message saying can not connect with lpt1 some other application may be useing it. Nothing else is useing it. My printer is an HP 710C ...
  4. copy formlines lpt1 on usb printer
    Hello, I need to set a printer to 66 lines per page and small font. In the past, I've been able to set an HP lj 1100 just fine, via the parallel port, by copying this file to lpt1: %-12345X@PJL DEFAULT FORMLINES=66 %-12345X (the squares above should be ctrl-P left arrows) ...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: billiousPosted on 2003-07-14 at 20:25:06ID: 8922314

Good choice of printer. Nice & reliable.

Generally, I've found that if you drive ELP2 printers (I haven't actually used the 2844 - I use the 2742, etc.) as a pure generic/text-only printer, and forget any drivers supplied then they work wonderfully.

I ended up using something like (This was for a Zebra220xiii, but same principle...)

type
  TPassThroughData = Record
  nLen : Integer;
  Data : Array[0..655350] of char;
end;

var
  PTBlock              : TPassThroughData;


Procedure DirectPrint(s : String);
var
  pt_s                  : integer;
Begin
  if length(s) > 0 then
    for pt_s := 1 to length(s) do
    begin
      ptblock.data[ptblock.nlen] := s[pt_s];
      inc(PTBlock.nLen);
      if PTBlock.nLen > 64000 then
      begin
        inc(PTBlock.nLen,2); {add in length of structure overhead}
        Escape(printer.handle, PASSTHROUGH,0,@PTBlock,nil);
        PTBlock.nLen := 0;
      end;
    end;
End;

... main procedure...
      ptblock.nLen := 0;
      Printer.BeginDoc;
...
          directprint(strings_of_data);
...
      if PTBlock.nLen > 0 then
      begin
        inc(PTBlock.nLen,2); {add in length of structure overhead}
        Escape(printer.handle, PASSTHROUGH,0,@PTBlock,nil);
      end;
      Printer.EndDoc;


naturally, using  
  shellapi,
  printers,
  winspool

in the interface.

(It was a while ago, and might be a mite clumsy, but it worked!)

HTH

...Bill



 

by: billiousPosted on 2003-07-14 at 20:27:21ID: 8922319

BTW...start with a REALLY simple label. I've found a single dot outside of the label-window expected can cause chaos.

One you've got it working though - never have to touch it again. Just clean the printer periodically!

...Bill

 

by: perkleyPosted on 2003-07-14 at 22:06:29ID: 8922701

Okay, this is what I have found.  If I use the Generic/Text driver then Create-A-Label won't let me use their program with the printer because it is not recognized.  With the Zebra drivers it prints fine.

So, I set to Generic/Text anyway.  It prints text great, but I cannot get it to do Graphics, which I am guessing because the driver is a text driver.

I try to set to Zebra Drivers and the Create-A-Label works perfect, but I cannot get your code to do anything but eject a label and maybe print a weird character.

What I am trying to do involves graphics, so it must be able to do graphics and therefore I need a solution that will work with the Zebra drivers.

Anybody else have any ideas?

 

by: billiousPosted on 2003-07-15 at 07:40:10ID: 8925844

You leave both the Generic AND Zebra drivers installed.

With CAL, you select the printer you require with 'Select Printer' from the File drop-down. This should be your Zebra driver.

On the File drop-down, you'll also see "Generate EPL Source File"

If you select this, you'll find you can convert your label to EPL source code (normally as 2 files, the main EPL source and another for the graphics)

All you need to do from there is to send the appropriate graphics & EPL source through your Delphi App to the Generic driver associated with your printer. This has the advantage of allowing you to manipulate the EPL for substituting batch numbers, barcode numbers, etc. through Delphi rather than through CAL.

...Bill

 

by: perkleyPosted on 2003-07-15 at 08:51:39ID: 8926616

ok, I will try it later tonight.  Just so everyone else that reads this post will know, this is what Zebra technical support wrote back to me.

The reason you can't use our driver is our driver converts whatever your sending into text and prints the text. If you send EPL it will print the code on the label.

You use a generic text driver to pass the data to the port without (hopefully) changing anything in the code. The problem with the generic text driver is it often chops off characters, making the code useless.  See link: http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B328894

You can send the data to the printer while it is in dump mode and see if the data is being corrupted passing through the generic text driver.  There are work arounds depending on what operating system and patches installed. Sometimes you just pad the code to get all the data to the printer. Also check your page setup, remove all headers, footers, boarders, etc.

Microsoft also has a link explaining how to bi-pass the driver functions and
print directly to the port: http://support.microsoft.com/default.aspx?scid=kb;EN-US;138594

 

by: billiousPosted on 2003-07-15 at 09:38:26ID: 8927021

Yeah - I've dealt with Zebra ts before. The Eltron guys know what they're talking about, but unfortunately the Zebra people aren't quite up to scratch - or weren't when I asked them about EAN128 AI Human-readable decoding, about which they hadn't got the first clue.

I hope that since they've absorbed Eltron the Eltron people have been able to enlighten them.

...Bill

 

by: perkleyPosted on 2003-07-15 at 09:50:02ID: 8927102

Just as a question when trying to print graphics.  Where do I store the graphics.pcx file.  I have it in my application directory, and maybe it was not printing because it can't find the graphics file.  Can you give me any insight on this, as the programmers manual does not seem to give very much detail in this area?

 

by: billiousPosted on 2003-07-15 at 11:44:56ID: 8928025

It's really left over from the DOS days - some "advances" are such in name only.

If you use the command
GM"NAME"size

where NAME is up to 8 characters, case-sensitive and simply attaches that name to the graphic data received by the printer (so that you can delete/print only a particular graphic by referring to the graphic's NAME)

then the SIZE bytes received following the newline after the GM command is the PCX-format graphic itself.

With DOS batch, you'd upload a (series of) graphic(s) using
echo GM"NAME1"size1>lpt1:
copy c:\path\to\graphic1.pcx lpt1:
echo GM"NAME2"size2>lpt1:
copy c:\path\to\graphic2.pcx lpt1:

THEN you'd select as appropriate.

Naturally, this continues to work under Windows, even if the latest versions insist that you use graphics interface gobbledegook (and hence drivers that were initially designed to make the o/p of OFFICE-type applications transmissable to pick-your-printer.) In fact, you get transmitted-filesize reductions of typically 98% using DOS methods.


So, simply slurp in the files created by CAL (I forget the extensions - one is .BIN) and transmit them as part of your character stream to the printer, simulating what DOS used to do.

It doesn't surprise me that it's not part of the manual. I don't suppose Zebra really wants to be part of retraining graphics-users to use DOS methods, despite the relative efficiency and stability of the DOS methodology.

...Bill

 

by: perkleyPosted on 2003-07-15 at 12:17:12ID: 8928300

Hmm, I will play around with it.  I am not completely confident in how to do what you say, especially sending it as a stream in my character stream to the printer.  Any more code examples would be welcome.

I did just have one more question - Why does CAL let me print graphics and everything using the Zebra drivers?  Are they using a language that would work better like Visual Basic, or API?  I am not sure why they can use the Zebra Drivers just fine and you and Zebra Technical support tell me that I must use the Generic Text Driver.

 

by: perkleyPosted on 2003-07-16 at 16:16:42ID: 8938676

Boy, I can't seem to get things to work.  I found this unit:

unit rawprint;

// {$ASSERTIONS OFF}

interface

uses
  Windows, WinSpool, Printers, Dialogs, Classes;

type
  TError = procedure(Sender: TObject; var ErrorMessage: String) of object;
  Trawprint = class(TComponent)
private
  { Private declarations }
  MyDeviceName: String;
  MyJobName: String;
  MyError: TError;
  hPrinter: Cardinal;
  IsOpenDevice: Boolean;
  IsOpenPage: Boolean;
protected
  { Protected declarations }
  function GetLastErrMsg: String;
  procedure RaiseError(ErrMsg: String);
  public
  { Public declarations }
  function OpenDevice: Boolean;
  function CloseDevice: Boolean;
  function WriteString(Text: String): Boolean;
  function NewPage: Boolean;
  procedure SelectPrinter;
  constructor Create(AOwner : TComponent); override;
  destructor Destroy; override;
published
  { Published declarations }
  property DeviceName: String read MyDeviceName write MyDeviceName;
  property JobName: String read MyJobName write MyJobName;
  property OnError: TError read MyError write MyError;
end;

procedure Register;

implementation

constructor Trawprint.Create(AOwner : TComponent);
begin
  inherited;
  MyDeviceName := Printer.Printers.Strings[Printer.PrinterIndex];
  MyJobName := 'rawprint';
  IsOpenDevice := False;
  IsOpenPage := False;
end;

destructor Trawprint.Destroy;
begin
  if IsOpenDevice then CloseDevice;
  inherited;
end;

procedure Register;
begin
  RegisterComponents('MyStuff', [Trawprint]);
end;

function Trawprint.OpenDevice: Boolean;
  type _DocInfo = record
    pDocName: PAnsiChar;
    pOutputFile: PAnsiChar;
    pDatatype: PAnsiChar;
  end;
  var DocInfo: _DocInfo;
begin
  Result := True;
  if not OpenPrinter(PChar(DeviceName), hPrinter, nil) then begin
    RaiseError(GetLastErrMsg);
    Result := False;
  end else begin
    DocInfo.pDocName := pChar(JobName);
    DocInfo.pOutputFile := pChar(#0);
    DocInfo.pDatatype := pChar(#0);
    if StartDocPrinter(hPrinter, 1, @DocInfo) = 0 then begin
      RaiseError(GetLastErrMsg);
      ClosePrinter(hPrinter);
      Result := False;
    end else begin
      IsOpenDevice := True;
      NewPage;
    end;
  end;
end;

function Trawprint.NewPage: Boolean;
begin
  Result := True;
  if IsOpenDevice then begin
    if IsOpenPage then begin
      if not EndPagePrinter(hPrinter) then begin
        RaiseError(GetLastErrMsg);
      end;
    end;

    if not StartPagePrinter(hPrinter) then begin
      RaiseError(GetLastErrMsg);
      Result := False;
    end else begin
      IsOpenPage := True;
    end;
  end;
end;

function Trawprint.WriteString(Text: String): Boolean;
var
  WrittenChars: Cardinal;
begin
  Result := False;
  if IsOpenDevice then begin
    Result := True;
    if not WritePrinter(hPrinter, PChar(Text), Length(Text), WrittenChars) then
    begin
      RaiseError(GetLastErrMsg);
      Result := False;
    end;
  end;
end;

function Trawprint.CloseDevice: Boolean;
begin
  Result := True;
  if IsOpenDevice then begin
    if IsOpenPage then begin;
      if not EndPagePrinter(hPrinter) then begin
        RaiseError(GetLastErrMsg);
      end;
    end;

    if not EndDocPrinter(hPrinter) then begin
      RaiseError(GetLastErrMsg);
      Result := False;
    end else begin
      if not ClosePrinter(hPrinter) then begin
        RaiseError(GetLastErrMsg);
        Result := False;
      end else begin
        Result := True;
        IsOpenDevice := False;
      end;
    end;
  end;
end;

procedure Trawprint.RaiseError(ErrMsg: String);
begin
  if Assigned(OnError) then MyError(Self,ErrMsg);
end;

function Trawprint.GetLastErrMsg: String;
var
  Buf: Array[0..499] of char;
  BufLen: Integer;
begin
  BufLen := FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM, nil, GetLastError, 0,
  Buf, SizeOf(Buf), nil);
  Result := Copy(Buf, 1, BufLen);
end;

Procedure Trawprint.SelectPrinter;
var
  PrtDlg: TPrintDialog;
begin
  PrtDlg := TPrintDialog.Create(Self);
  prtdlg.Options := [poPrintToFile];

  if PrtDlg.Execute then begin
    DeviceName := Printer.Printers.Strings[Printer.PrinterIndex];
  end;

  PrtDlg.Free;
end;

end.

which I installed and sent the following:

procedure TfTestUnit.Button1Click(Sender: TObject);
var
  L: String;
begin
  L := Chr(10);
  RawPrint.SelectPrinter;
  RawPrint.OpenDevice;
  try
    RawPrint.WriteString(L+'N'+L+'A200,0,0,1,1,1,N,"Example 1"'+L+'P1'+L);
  finally
    RawPrint.CloseDevice;
  end;
end;

and it prints just like it says it should in the book.  However, I try just a simple line of text "hello world" in CAL and try to send the .EJF file:


OD
FK"TUGOR"
FS"TUGOR"
q816
Q507,24+0
S3
D8
ZT
TTh:m
TDy2.mn.dd
A8,32,0,5,1,4,N,"HELLO WORLD"
FE

and it does not print, but it prints from CAL.  I don't know what is different.  I went through each ORD value and nothing is extra, just a Linefeed and the characters.  So why won't it print.  The .BIN file was empty so I did not send that.  They were both called TUGOR.EFJ and TUGOR.BIN.  I don't know how to send the .BIN file along with it.  I tried, but no success.

I need help!!!!

 

by: billiousPosted on 2003-07-16 at 18:51:10ID: 8939383

The .EFJ file simply establishes the FORMAT of the label.

You will notice that in your working sample

L+'N'+L+'A200,0,0,1,1,1,N,"Example 1"'+L+'P1'+L

That there's a

P1

at the end. That says "Print 1 label" (see the "P" command in the EPL2 manual.) If you don't tell the printer how many labels to print, well ... it has the form, but doesn't know and waits for you to tell it. Simple as that!

...Bill

 

by: perkleyPosted on 2003-07-16 at 19:13:32ID: 8939453

I have been doing some DUMP MODE comparisons with Create A Label and the EPL
language it exports.  When it prints it shows up like this as coming to the
printer:

N
q816
Q507,24+0
S3
D8
ZT
TTh:m
TDy2.mn.dd
OD
A83,72,0,1,1,1,N,"Hello World"
P1

If I Generate EPL Source File and send that to the printer, then it sends
the following:


OD
FK"TEST"
FS"TEST"
q816
Q507,24+0
S3
D8
ZT
TTh:m
TDy2.mn.dd
A83,72,0,1,1,1,N,"Hello World"
FE

So if I modify it then it will print, but now comes the hardest part, and that is the .BIN file.  When I dump the code coming to the printer when printing out a font that is a true type, then it turns the font into a graphic.  It shows some of the code in between the binary file.  I don't know how to reproduce it.  I have tried all sorts of ways.

Anyway, I finally decided to look into the command file and let CAL do the printing, but even that is dumb- it opens a new instance of the software each time you run the command file.  If I put in the "QUITAPP" then it closes the program, but it opens and closes each time it prints, now that is not very fun.  If I ever figure this out I plan on making a newbie tutorial for Delphi and hopefully Zebra will post it to their site.

 

by: perkleyPosted on 2003-07-21 at 12:24:34ID: 8970150

I finally got my program to print.  I did the following.  I exported the .EJF and .BIN from CAL (Create A Label), and then I did the following code:

procedure TfTestUnit.Button1Click(Sender: TObject);
var
  L, tmp: String;
  tmpBin: WideString;
  i: integer;
  h: Thandle;
begin
  L := Chr(10);
  RawPrint.SelectPrinter;
  if RawPrint.DeviceName = '' then exit;
  RawPrint.OpenDevice;
  try
    tmp := Memo1.Lines.Text;
    tmp := tmp;
    readfiletostring('C:\Program Files\CreateALabel3\test.BIN', tmpbin);
    RawPrint.WriteString(tmp+tmpbin+L+'P1'+L);
  finally
    RawPrint.CloseDevice;
  end;
end;

function TfTestUnit.readfiletostring (fname:string; var sbuf:Widestring): boolean;
var
  f: file;
  buf: array[0..4095] of char;
  bytesread: cardinal;
  i: integer;
begin
  result:=false;
  {$i-}
  assignfile(f,fname);
  reset(f, 1);
  {$i+}
  if ioresult<>0 then exit;
  sbuf:='';
  repeat
    blockRead(f, buf,sizeof(buf),bytesread);
    for i:=0 to bytesread-1 do
      sbuf:=sbuf+buf[i];
  until bytesread=0;
  closefile(f);
  result:=true;
end;

And when I click on the button then it prints the graphic, on condition that I only have 1 graphic.  I tried some text with a true type font with the graphic and that did not work.  I noticed in dump mode when printing from CAL that it put some of the binary, then another line of the regular EPL2 language then some binary.  I am not sure where to split up the binary in the file.

I would really like some help here.  I have increased the points to 500.

My program will be printing a complicated label (full of graphics and text) and each time it prints it will be a little different, so I don't really want to store images into the memory, but just send the new label each time.  Please Help!

I do not really want external files either, so I plan on putting all the graphics in as a resource file and using them when needed.

 

by: perkleyPosted on 2003-07-21 at 22:31:07ID: 8973577

Well now, I finally have got somewhere.  Finally figured out that my graphics files had to be 1 bit depth in order for the program to convert it correctly.  I finally learned that I just had to send the .BIN file by itself only once, just to upload the graphics and font information- then I just had to send the .EJF whenever I wanted to print, well, I modified it so that I was not uploading a form, but rather just sending the entire form across when I wanted to print.

Anyway, everything looks really good except one thing.

In the manual (EPL2 programming manual) it says the following under the "A" reference:

"Use the LE command to create reverse print text instead of the "R" in the A command parameter P7.  This is the recommend method because it provides the best size, position and centering of the black line (rectangle) bordering the reversed text."

I do not understand this statement, as if I use LE then nothing shows up.  If I use "R" then it does the reverse but it leaves a white border around it.  How I know is that I am having it print above a black box so that the box is always the same width and height and gives the text more margining.

When I print from CAL then it prints great, without a white border, but printing with their supplied .EJF file, it prints a white border.  Not sure why yet.  If anyone happens to know, please inform me.

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...