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 ?
Trance47Asked:
Who is Participating?
 
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
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
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
 
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
All Courses

From novice to tech pro — start learning today.