Solved

PCX Fornat -> send graphics to Zebra 2844 thermal printer

Posted on 2009-04-13
9
1,743 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
  • 5
  • 2
9 Comments
 
LVL 26

Expert Comment

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

Author Comment

by:Trance47
Comment Utility
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
Comment Utility
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
 
LVL 26

Expert Comment

by:EddieShipman
Comment Utility
Seconded..
0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

by:Trance47
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

763 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now