Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1789
  • Last Modified:

PCX Fornat -> send graphics to Zebra 2844 thermal printer

Using Delphi 7, I've successfully printed labels in batchmode using the 2844's form storing capability. Wonderful!  The problem is I need a company logo printed as well, but I'm having a tricky time getting the 2844 to store the 1bit black and white pcx image.

1) I may need a known working pcx image if someone will share.
2) I may be sending the wrong DATA when sending EPL to store an image (it says in the programming guide to send PCX "binary data" format file). I am opening the pcx using blockread and then assembling a string variable from the blockread data buffer to send as the DATA EPL argument in:
GM"LOGO1"bytesize#13DATA#10

Do I need to translate each byte read to binary (e.g. "c" = 110) to send as the DATA ?
0
Trance47
Asked:
Trance47
  • 5
  • 2
1 Solution
 
Eddie ShipmanAll-around developerCommented:
Don't you think this would be better asked of the printer manufacturer's support group?
0
 
Trance47Author Commented:
Yes, and I have feelers out there too... and this question isn't only in delphi programming in EE.
0
 
bokistCommented:
In our company we are printing few tens of different labels (with lot of graphics) on Zebra printers.
Programming language is D7, reporting tool is QuickReport.
Prepared labels are printed from program or from preview.
Knowing above mentioned I'm suggesting you to use some reporting tool (QuickReport, Rave...) to achieve the goal.
Good luck!
Steve
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
Eddie ShipmanAll-around developerCommented:
Seconded..
0
 
Trance47Author Commented:
Yeah but for what ever reason, my boss didn't want me to design WSYWIG-type software. So I have to use the EPL commands to make the labels.
0
 
Eddie ShipmanAll-around developerCommented:
Tell your boss if he want's it on time then let you do it using a reporting tool otherwise he can do it. ;-)
0
 
Eddie ShipmanAll-around developerCommented:
Did you know that you can do this to send the PCX data to the printer using a batch file and ShellExecute:
COPY LOGO.PCX PRN /b
0
 
Eddie ShipmanAll-around developerCommented:
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

  • 5
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now