Solved

PCX Fornat -> send graphics to Zebra 2844 thermal printer

Posted on 2009-04-13
9
1,761 Views
Last Modified: 2013-12-15
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
Comment
Question by:Trance47
[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
  • 5
  • 2
9 Comments
 
LVL 26

Expert Comment

by:EddieShipman
ID: 24130942
Don't you think this would be better asked of the printer manufacturer's support group?
0
 

Author Comment

by:Trance47
ID: 24131851
Yes, and I have feelers out there too... and this question isn't only in delphi programming in EE.
0
 
LVL 6

Expert Comment

by:bokist
ID: 24135447
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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 26

Expert Comment

by:EddieShipman
ID: 24137942
Seconded..
0
 

Author Comment

by:Trance47
ID: 24138196
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
 
LVL 26

Expert Comment

by:EddieShipman
ID: 24139195
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
 
LVL 26

Expert Comment

by:EddieShipman
ID: 24139301
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
 
LVL 26

Accepted Solution

by:
EddieShipman earned 500 total points
ID: 24139342
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi, TImage, Png 2 53
Problem working with dynamic array - help 2 47
RPM creation 6 48
apache does not start on Kali linux 4 88
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

737 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