?
Solved

TEC B-872 Separator Page

Posted on 2005-03-14
9
Medium Priority
?
490 Views
Last Modified: 2012-06-22
Hello,
Does anybody know how to print a separator page for a TEC B-872 Thermal Printer for bar codes.  I sucessfuly gotten the printer to print a blank page in between jobs by using the following code on the commands section for the driver...

^<ESC>T20C52^<LF>^<NUL>

I actually need either the code or a description of how to make a separator page, which actually prints out the letters "SEPARATOR PAGE" for the TEC printer.  If anybody can help me that would be great.

I already tried specifying a separator page, which comes standard with windows, (a *.sep file), but it didn't work.  
0
Comment
Question by:ispcorp
[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
  • 6
  • 3
9 Comments
 
LVL 38

Accepted Solution

by:
hdhondt earned 1500 total points
ID: 13541819
According to the manual (see http://www.teccanada.com/manuals/BX_Ifm_15th.pdf) [Esc]T20[LF][Nul] feeds 20 lines, [Esc]C[LF][Nul] clears the buffer.

If I read the manual correctly, printing "SEPARATOR PAGE" fairly simple, but you do have to specify the font. Try the following:

[Esc]C[LF][Nul][Esc]PC001;50,50,1,1,A,0,B[LF][Nul][Esc]RC001;SEPARATOR PAGE[LF][Nul][Esc]IB[LF][Nul]

This clears the page, prints SEPARATOR PAGE at 50 mm down & right from the top left corner, character size 1, Times Roman font, no rotation, black on white and ejects 1 label.

For more details (and to check my codes) refer to the above manual
0
 
LVL 2

Author Comment

by:ispcorp
ID: 13550020
Didn't work...The printer didn't recognize the codes and just printed as it would normally, so I converted it to the following...

^<ESC>C^<LF>^<NUL>^<ESC>PC001;50,50,1,1,A,0,B^<LF>^<NUL>^<ESC>RC001;SEPARATOR PAGE^<LF>^<NUL>^<ESC>IB^<LF>^<NUL>

It then gave me an error..."PC001;50,50,1,1,A,0", which means nothing to me, but I figure its a syntax error.  I think it has something to do with the semicolons and the commas in between all the commands.  I can't find anything on the proper syntax, though, and its driving me crazy.

I can't beleive there is no documentation for the Windows driver that runs the printer.  The help file for the printer driver doesn't tell me anything, and the internet has nothing.  I'm just hoping one of you guys ever had to work with a command line syntax for the TEC printer.  Its a far shot, but I'd figure I'd try....If I could raise the points to 1000 I would.  Thanks for your anticipated help...


0
 
LVL 38

Expert Comment

by:hdhondt
ID: 13553343
Sorry, I've never worked with a TEC printer. However, the manual should at least point you in the right direction. The PC command positions the subsequent text or graphic (in this case RC001 etc. So your error points to something being wrong with that command. I will have another look at the manual tomorrow when I have time.

When you say my commands did not work and you converted them, just what do you mean? Do you actually send the characters "^", "<", "E", "S", "C" etc?

In my string [Esc] means the Esc character (decimal 27, hex 1B), and so on.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 2

Author Comment

by:ispcorp
ID: 13555197
Yes, the [ESC] command is converted as ^<ESC>, meaning the "^" tells the driver its a function, and the "<ESC>" is equivalent to your "[ESC]".  Its just the way the driver interprets the code.  I actually had a copy of the manual, which gave me the idea of the command for the blank page..."^<ESC>T20C52^<LF>^<NUL>".  I think the only problem is figuring out how the driver interpets semi-colons and commas, and the syntax for it.  Again, I can't find any documentation on it, and the people who invented the driver is no help either.  I think its a matter of trial and error.

I think the command you gave me is correct, its just a matter of getting the syntax right...
0
 
LVL 2

Author Comment

by:ispcorp
ID: 13558095
Ok, I finally got a hold of one the guys from Seagull (the people who make the driver), and he suggested that I download Bartender (there product to print labels for any kind of printer).  So I downloaded the trial version, and success....One problem, though, the trial version doesn't allow me to export the commands unless I have the purchased copy.  I didn't want to spend $795.00 just for one printer and one peice of code that I almost have.  Does any one know of a way that I can capture print commands sent to the spooling service for a printer.  

My theory is that the trial edition software sends these commands automatically and erases them when the printing is done.  So if anybody knows of some networking tool that I can use to capture commands, I would be much appreciative.  Thanks.
0
 
LVL 2

Author Comment

by:ispcorp
ID: 13559446
I got the command...The format is set for Seagull driver, but it prints a separator page, with the actual words "SEPARATOR PAGE" on it... Here it is...

^<ESC>{D0528,1016,0508|}{C|}{PV00;0192,0310,0091,0091,A,-011,00,B|}{PV01;0223,0389,0105,0074,B,00,B|}{RV00;SEPARATOR|}{RV01;PAGE|}{XS;I,0001,0002C4201|}^<LF>^<NUL>
0
 
LVL 2

Author Comment

by:ispcorp
ID: 13559461
Thanks for your help hdhondt...Here are the points for helping me out with this task...
0
 
LVL 38

Expert Comment

by:hdhondt
ID: 13563022
Thanks for the points, but it does look as if you sorted it out yourself!
0
 
LVL 2

Author Comment

by:ispcorp
ID: 13564353
Yeah, but I'll give credit where credit is due....
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

If you use a Brother DCP 130C or similar Brother printer, at some point you might encounter the following problem: after you change the ink cartridge, the printer displays an "ink empty" message. Sometimes you just need to follow the instructions…
Causes of paper jams:The following are the main causes of paper jams. Guides:If the guides for the paper are not set correctly they may cause the paper to enter at an angle. You should ensure that the guides are set correctly for the paper type a…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
Suggested Courses

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