Solved

PCX Fornat -> send graphics to Zebra 2844 thermal printer

Posted on 2009-04-13
9
1,760 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
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 
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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

740 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