Printing To File With Graphics Does Not Work Properly フォローする

0
Avatar
Legacy Poster

Hi,

 

I'm new BarTender user and trying to print out label data into the file.

So I'm trying to print labels by Toshiba TEC SX5 printer. Label data into printer is coming from OMRON PLC and I'm using serial connection(RS-232). Actually in my case there's no any other change than serial connection.

 

I'm using BarTender to form my label, and to print out label data as a commend line pipe as the following simple example :

{D2520,1000,2500|}
{AX;+000,-065,+00|}
{C|}
{PV00;0040,0220,0036,0042,B,00,B=COMP XXX,Tel: xxxxxxxxxxxx, Address : XXXXXXXX|}
{LC;0020,0278,0980,0278,0,4|}

{XS;I,0001,0002E5201|}

 

OK, this works and no problem anymore. I'm abe to send it and it works fine.

 

But, in case that I'm adding etc bitmap file(Create ---> Picture(from file) and printing it out to file, it looks like :  

 

{D0564,0986,0544|}
{C|}
{SG;0348,0108,0352,0300,3,×€lÿÿÀÿ€ðÿÿÿÀ  €Hÿ€ÿà  €H0ÿ€ à  €H@€  €HÀ€0à  €È€à`ð   €ˆø@ü  €ˆ€  €ˆà€x  €˜€€  € øà  €   €üàÿÿÀÿ€8ðÿÿÿÀ  €Ø þÀü  €Hàð  €Ø80€ à  €Ø0À`ààð   €Ø @p  €HÀ€à  €Ø à€ü8   €ˆ`€  €˜AxÀ@      €˜C8€@à  €ˆ€  €ÀÀà  €ˆà€x      €˜„!€€     €x     €€à 8  €ÿÿÿÿÿÿÿÿÿ€€   €€ €                                  €œ €ÿÿÿÿÿÿÿÿÿ€€  €€à 8     €x     €˜„!€€      €ˆà€x  €ÀÀà  €ˆ€  €˜C8€@à      €˜AxÀ@  €ˆ`€  €Ø à€à8 p  €HÀ€0à  €Ø @p   €Ø0À`ààð  €X0€ à  €È8~€  €ØÿðÀü  €üàÿÿÀÿ€8ðÿÿÿÀ  €   € €à  €˜x€€  €ˆà€x  €ˆ€  €ˆø@ü   €È€à`ð  €HÀ€0à  €H@€  €H0ÿ€ à  €Hüþ  |}
{XS;I,0001,0000C5201|}
 

So, file format in SG command line is totally messed and I'm not capable to write it into the serial port...it will be failed.

Any idea, is this a bug or only some parameters chance issue?

I have tried also gif and jpeg format, but same problem as well.

 

Br,

Jouni

 

2 コメント

0
Avatar
Ian Cummings
モデレータ
コメントアクション Permalink

The data you see in the print file is encoded data produced by the driver for the SG graphics command.  The file format for the picture in the BarTender document is irrelevant in this respect.  In the BarTender document open the "Print" dialog and click the "Document Properties" button.  In the driver dialog that opens select the "Options" tab and try using one of the uncompressed "Transfer Mode" options as I guess you're not getting on well with the default TOPIX compression mode.

0
Avatar
Legacy Poster
コメントアクション Permalink

There´s no problem to work from BarTender with SX5, you can work with TOPIX or whatever you want
You´ll have a Syntax Error if you print to file and open it with notepad to print it with a Generic Text file. Notepad add al LF CR and it corrupt the graphic. If you follow Ian´s instructions you´ll be able to work with notepad

サインインしてコメントを残してください。