?
Solved

PCX Fornat -> send graphics to Zebra 2844 thermal printer

Posted on 2009-04-13
9
Medium Priority
?
1,766 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
Automating Terraform w Jenkins & AWS CodeCommit

How to configure Jenkins and CodeCommit to allow users to easily create and destroy infrastructure using Terraform code.

 
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 2000 total points
ID: 24139342
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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.
Suggested Courses
Course of the Month14 days, 6 hours left to enroll

770 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