Barcode printing problem

Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Barcode printing problem
# 1  
Old 10-10-2002
Question Barcode printing problem

i need help regarding barcode printing.
previously running foxpro under windows, im able to print barcode by opening the com port directly to the printer (Epson)
now, with unix environment, using Recital, im unable to print barcode to the printer directly. pls help.

barcode format required - code 3 of 9
# 2  
Old 10-11-2002
FoxPro under Windows? Boy. It's been a while since I worked with that.

Anyhoo, how about some more information. Are you running under CLI or under X? Are TrueTypeFonts availabe to your application? Is your printer postscript compatible?
# 3  
Old 10-11-2002
im running SCO unix v3.2 through TINY Term.
the printer using EPSON LQ-2180... it supports barcode printing

previously in windows, i manipulated the EPSON printer code i.e. chr(27) + 'M' etc and same goes to the barcode printing.

but now in this environment, it somehow does not output the barcode. pls adv
# 4  
Old 10-13-2002
printer code


im new here so i need help on printer commands. see if any of u guys can help here.

im running SCO Unix v3.2 and programming language is Recital using the Vi Editor. i have a direct printer Epson LQ2170 connected to my PC. my problem is, i need to send barcode printer commands (for Code39) to the Epson LQ2170. according to the Epson LQ2170 printer manual, the command is as follow:
ESC ( B n1 n2 k m s v1 v2 c data

i applied the same formulae under Windows environment using foxpro and the code works perfectly. it is able to print barcode to the printer directly. however, when running Unix environment, it doesn't seem to work.

pls help. tq.
# 5  
Old 10-14-2002
I am not real sure how to go forward with this one. I am thinking that something is filtering out the control characters.

That is where I would start first (but it's been a while since I have done any printer setup under any Unices).
# 6  
Old 10-14-2002
You shouldn't really split off threads - you could have brought this up in your other one, but what the hey...

How exactly are you sending these characters? Do they need to be escaped? What do each of the variables "stand for"?

Can you provide all the information you know about it? Maybe then someone can help you.

merged threads --oombera

Last edited by oombera; 02-17-2004 at 03:34 PM..
# 7  
Old 10-15-2002
I have never heard of Recital nor foxpro. But maybe we can check to see if the printer is working. Using vi, create a file with a line of text in it and see if you print the text. I assume some command like "lp text". Should do this .

If that worked, use vi to create a file with one of your barcode escape sequence in it. To type the escape character, you will type control V, then hit the Esc key. Vi should display this as "^[". Keep going and enter the rest of your escape sequence. Now try to print this new file. "lp barcode" should do it.

If you get your barcode, unix is able to send escape sequences to the printer when asked. That will point the finger at the Recital thing. But if you don't get your barcode, your unix print software is not able to handle escape sequences.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Problem with printing

Hi, i am writing a script to generate a summary report for my data text file my data in my text file goes like this: MacOS:Mary Abraham:53.48:88:38 Windows in lala:Mary Abraham:22.30:23:22 lala in Windows:John Goodman:33.60:121:12 Hello world:Mr Tian:23.30:23:10 Windows in 31 days:John... (2 Replies)
Discussion started by: Cheranime
2 Replies

2. SCO

Problem with printing

Does anybody know how I can stop the system slewing pages when a spool file has finished printing. I need to set up a method where all users are printing to the same printer to produce labels. The problem is that when the first users file has been printed the pages are slewed and the label is not... (2 Replies)
Discussion started by: rongrout
2 Replies

3. HP-UX

Printing problem

I have scheduled to print a numerous of report in mid-night. But, I found that some reports have not been printed out. Then, I checked the file /var/spool/lp/log and found that all reports have been submitted to print queue. Could anyone tell me what can be done to ensure all print jobs can be... (2 Replies)
Discussion started by: alfredo
2 Replies

4. UNIX for Advanced & Expert Users

Printing Problem

I am trying to print to an hp printer. i configured it using the hp configuration, entry is in the /etc/hosts file, i can telnet into it using port 9100, ping it and send jobs to it. it just won't print. the jobs stay in the spooler. its telling me to add the printer to the canaccess list. ... (0 Replies)
Discussion started by: Rosario
0 Replies

5. UNIX for Dummies Questions & Answers

Printing problem

Hello, Not sure where to begin on describing the issue; please try to understand that I am not very familiar with SCO UNIXWARE. I am a newbie... We have a SCO UNIXWARE version 7.4 when we restart the computer we are required to enter the command lpstart, without it; people cannot print. ... (1 Reply)
Discussion started by: Yorgy
1 Replies

6. UNIX for Dummies Questions & Answers

printing Problem

When I print a file from an application it never stops printing. Any ideas? (2 Replies)
Discussion started by: 744eagle
2 Replies

7. UNIX for Advanced & Expert Users

Barcode Printing

How can you pull up a list of print drivers loaded at the Unix level? I am trying to get an HP LaserJet 2300 using the PCL5e driver to print barcode labels. I believe the PCL5e driver needs to be loaded somewhere at the Unix level but am at a loss as to where. Thanks (2 Replies)
Discussion started by: llepley
2 Replies

8. IP Networking

Printing Problem

I have a printer installed on sun solaris m/c sun os 5.8. It doesn't print more than 52 files i.e if a give lp *.txt and the curent folder contains more than 52 files then it doesn't print them but if print in batches , each containing 52 files then it prints them properly. How do i increase the... (3 Replies)
Discussion started by: kapilv
3 Replies

9. UNIX for Dummies Questions & Answers

printing problem

i can only print from unix when I am logged in as host. When any user logs in (even myself as a user who has root priviledges) I cannot print. Has anyone heard of this problem before and are there any troubleshooting tips out there. HELP......... (3 Replies)
Discussion started by: acarroll
3 Replies

10. UNIX for Dummies Questions & Answers

Problem with printing

Hi , Can somebody Please help me in finding out where I am going wrong. Suppose i have a file called r_wer which contains files. for ex : LMN20001 LMN20002 LMN20003 Now I want to print them. The way I am doing is $ for a in `cat '/r_wer'` > do > lp -d printername $a > done But... (3 Replies)
Discussion started by: rooh
3 Replies
Login or Register to Ask a Question