Barcode Code128 with pipe and cr
Hi all,
how could I create barcode code128 with pipe ("|") and cr in the same barcode.
I'm using Code128A, code128A allows me to put cr but not allows pipe "|".
Code128B allows pipe but not cr.
I insert ASCII symbology to represent cr and pipe.
I try code128 auto, unfortunately the result is not what i want. it places "-" instead of cr.
Does anyone familiar with barcode code128? Please give me the advise. Thanks in advance.
Cheers,
Peerasit
Well good to know, it would be great if you can share the solution as well.
Chintan
Similar Messages
-
A long time ago, I purchased as add-on to LV that had some rendered 2D and 3D pipes and pumps setup as custom boolean controls. I can not find my old ones. Are they still available somewhere?
Solved!
Go to Solution.Just to add to Paul's answer, the LabVIEW Datalogging and Supervisory Control (LV DSC) still distributing the libraries. After installing, you can go to 'Tools' menu and under the DSC Module, you can find the "Image Navigator" which launch the UI to choose the pictures.
Barp - Control and Simulation Group - LabVIEW R&D - National Instruments -
I'm having a problem piping the date to dzen2 using the date command in a while loop in bash.
In my startup script I have this line to start the panel and the script to pipe the info:
statusbar | dzen2 -h $PANEL_HEIGHT -dock -ta l -title-name panel -fn $FONT -fg $PANEL_TEXT_LIGHT -bg $PANEL_BG &
and then the statusbar script looks like this:
while true ; do
echo "$(date +%I:%M %p)"
sleep 1
done
That isn't the complete statusbar script, but i've identified the date command as the problem. For whatever reason, when the date command is in the loop, there is no output to the panel, and if I monitor my system resources I can see that my computer's memory is getting used up extremely quickly. It seems like it spawning a bunch of instances of the script. I'm not extremely experienced with linux, and definitely not with bash, so I have absolutely no clue whats going on here.Raynman wrote:
$ echo "$(date +%I:%M %p)"
date: extra operand ‘%p’
Try 'date --help' for more information.
Edit: since you're basically saying you're a newbie (and this also probably fits better in the Newbie Corner), I'll add that you should put the formatting string in (single) quotes to turn it into a single argument.
I'm not saying I'm a newbie at all. The issue occurs even without any parameters to the date command. -
What's wrong with my AND??
New to SQL, here's my code:<br><br>
if ( :P2_FILE_NAME is not null ) then<br>
insert into DBA_PATCH_LOG(REMEDY_PARENT, LINK, FILE_NAME, SUBJECT, TASK_NAME, BLOB_CONTENT, MIME_TYPE)<br>
select <br>:P2_REMEDY_PARENT,id,:P2_FILE_NAME,:P2_SUBJECT,:P2_TASK_NAME,blob_content,mime_type<br>
from wwv_flow_files where name = :P2_FILE_NAME;<br><br>
delete wwv_flow_files where name = :P2_FILE_NAME;<br>
end if;<br>
and<br>
if ( :P2_FILE_NAME_TWO is not null ) then <br>
insert into DBA_PATCH_LOG(LINK_TWO, FILE_NAME_TWO, SUBJECT_TWO, BLOB_CONTENT_TWO, MIME_TYPE_TWO) <br>
select id,:P2_FILE_NAME_TWO,:P2_SUBJECT_TWO,blob_content,mime_type<br>
from wwv_flow_files where name = :P2_FILE_NAME_TWO;<br><br>
delete wwv_flow_files where name = :P2_FILE_NAME_TWO;<br>
end if;<br><br>
ERROR MESSAGE RECEIVED: ORA-06550: line 8, column 1: PLS-00103: Encountered the symbol "AND" when expecting one of the following: begin case declare else elsif end exit for goto if loop mod null pragma raise return select update while with << close current delete fetch lock insert open rollback savepoint set sql execute commit forall merge pipe
Message was edited by:
LeoG
Message was edited by:
LeoGLeo,
What are you trying to do with the "and"? It does not seem to fit in between the two if statements. Just remove the "and".
Shakti
http://www.impact-sol.com
Developers of Guggi Oracle - Tool for DBAs and Developers -
How to pass runtime process a commmand with pipes?
I have this java program to run commands, but it ignore any command with pipes (e.g., ps -ef | grep -v grep | grep defunct). Any ideas on how to do this?
It tries to pass every after -ef into ps as part of a ps command instead of directing output down the pipe chain...
David
import java.io.*;
public class RunExec {
public static void main(String [] args) {
try {
System.out.println("cmd: " + args[0]);
Runtime r = Runtime.getRuntime();
Process p = r.exec(args[0]);
BufferedReader err = new BufferedReader (
new InputStreamReader(p.getErrorStream())
BufferedReader in = new BufferedReader(
new InputStreamReader(p.getInputStream())
for(;;) {
String line = in.readLine();
if ( line == null ) {
break;
} else {
System.out.println(line);
String errors;
while ((errors = err.readLine ())!= null) {
System.out.println (errors);
err.close();
in.close();
} catch(IOException e) {
System.out.println(e);
}I'm sure you realize this has nothing to do with java, and everything to do with your shell. You must escape all shell-sensitive characters for them to ever reach java:
$ java RunExec ps -ef\|grep -v grep \|grep defunct -
I�m graduating in IT and todo so my group has to provide a software that establishes communication with a barcode reader.
Is it possible in java, which classes could I use, where can I get more information about integrating java with barcode readers?
I�d be very grateful if u help me. anything is welcome
charlles cuba
brazilResults from googling on the net:
- Java Barcode Linear Package
http://downloads-zdnet.com.com/Java-Barcode-Linear-Package/3000-2412_2-10320737.html
- Java Barcode Applets, Servlets, JavaBeans and Bar Code Class Libraries
http://www.idautomation.com/java/
- Java Plug-In for Barcodes
http://www.i-fax.com/g/java/java_barcode.html -
I have written a package which imports data into my database from a file whose information is delimited by pipes. I use a function that separates the data delimited by the pipes and treats it like different information as Name, Surname, Age, Location.
Below the example(1):
Paul|Simon|33|Scotland
Rachel|Smith|28|EnglandThe package compiles correctly, but when I debug it, it erros with the following:
Oracle Error :: ORA-06533
Subscript beyond countI have noticed that if I add a pipe at the end of each line, the error does not occur and everything gets imported as I want it to.
Example(2):
Paul|Simon|33|Scotland|
Rachel|Smith|28|England|Unfortunately, the files comes in from an external source and cannot be modified with the extra pipe.
Can anyone suggest a way to fix this issue, please?
Thanks
PS: I am using collections.
The split function was found on this website http://www.orafaq.com/forum/t/11692/0/ in the last reply from Barbara BoehmerIf I use external tables, I suppose I can point the
second part of the package to the external table and
do the upload from there?Yes, of course, did you already use external tables ? See this example :
$ cat names.dat
Paul|Simon|33|Scotland
Rachel|Smith|28|England
$ sqlplus test/test
SQL*Plus: Release 10.2.0.3.0 - Production on Sun Nov 25 23:05:46 2007
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production
With the Partitioning, OLAP and Data Mining options
TEST@db102 > CREATE TABLE ext_tab (
2 name varchar2(20),
3 surname varchar2(20),
4 age number,
5 location varchar2(30)
6 )
7 ORGANIZATION EXTERNAL
8 ( TYPE ORACLE_LOADER
9 DEFAULT DIRECTORY work
10 ACCESS PARAMETERS ( RECORDS DELIMITED BY NEWLINE
11 fields terminated by '|'
12 )
13 LOCATION ( 'names.dat' ))
14 REJECT LIMIT UNLIMITED
TEST@db102 > /
Table created.
TEST@db102 > select * from ext_tab;
NAME SURNAME AGE LOCATION
Paul Simon 33 Scotland
Rachel Smith 28 England
TEST@db102 > -
Hi,
I want to make an utility that reads from a Unix pipe and prodouce an output to the screen. i.e. there is a "input.log" file to be processed as:
# tail -f input.log | java myprog | console
this time, "myprog" should take last few lines from "input.log" and process it in some way and prints the result to the shell.
Please suggest me possible solution.
Sumitif you want to create your java program in such way that it could take input from pipe and produce output to pipe, then you actually have to get input ftom System.in and produce output to System.out
but what you mean by that | console after java myprog, that i don't understand...
actually, what you decribe to be your problem, could be solved with cat or furthermore, it could be solved with not touching anything...
since when you pipe progs together, then first progs output would be connected to seconds' input and so forth...
maybe this helps a bit... -
What is the relation between BW, PIPE and POS DM? Is there any training about that?
The POS Workbench contains the following functions:
· Check data transfer
You can check, for example, whether all the data from the stores has been transferred or you can display stores from which no data has been transferred.
· Analyze errors and messages
You can:
¡ Check the quality of the data (for example, missing master data in the system)
¡ Check the processing steps (immediate processing and subsequent processing)
The processing status is aggregated at posting data, store, and business transaction level and enables navigation to POS transaction level.
· Control POS processing
¡ Process POS data
¡ Status change of POS data
¡ Display, change, and create POS data
· Display the processing history
You can follow the document flow in two directions:
¡ For each receipt, you can see when particular processing steps ran and which documents and data were created.
¡ Alternatively, you can take a document and see which receipts it has come from.
All processing steps, (for example, changes to the transaction data itself or processing of tasks) are logged and can be traced.
· Balancing of totals records and transaction details
¡ You can check whether the total of the sales from the receipt data balances with the totals transferred from the cash desks.
You can carry out the balancing at the following levels depending on the degree of detail in which the cash desk totals are transferred: store, cashier, cash desk, means of payment, transaction type, item type.
Have a look at POS Inbound Processing Engine
http://help.sap.com/saphelp_nw04/helpdata/en/b7/b6d59344e93443a7ac8934d2acfb55/content.htm
/people/uwe.beister/blog/2006/05/02/sap-pos-dm-which-type-of-idoc-should-be-used-in-pos-dm-inbound
http://help.sap.com/saphelp_erp2005vp/helpdata/en/12/084110470311d1894a0000e8323352/frameset.htm
http://help.sap.com/saphelp_erp2005vp/helpdata/en/0f/7af634b576bc4ee10000009b38f83b/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/0d/e4813e77d46245e10000000a114084/frameset.htm
Hope it helps
Regards
Bala -
How to connect scanner or printer or barcode reader with java
hello friends
How to conncect printer ,scanner or barcode reader with java program directly .
please send some suggestion .
Thanks in advance
Nitin922264 wrote:
Thanks for the feedback. I'm having trouble getting my getText method to return the actual value, but here is my updated code:
BufferedReader br = new BufferedReader( new StringReader( getText() ) );....
public void getText(Document doc)
Element e = doc.getDocumentElement();
NodeList nodeList = doc.getElementsByTagName("Interface");
for (int i = 0; i < nodeList.getLength(); i++)
Node node = nodeList.item(i);
if (node.getNodeType() == Node.ELEMENT_NODE)
Element element = (Element) node;
NodeList nodelist = element.getElementsByTagName("Description");
Element element1 = (Element) nodelist.item(0);
NodeList ndLst = element1.getChildNodes();
//System.out.print((ndLst.item(0)).getNodeValue());
return doc;
}Here is the compiler error I am getting:
ImportDesc.java:32: error: method getText in class ImportDesc cannot be applied
to given types;
BufferedReader br = new BufferedReader( new StringReader
( getText() ) );
^
required: Document
found: no arguments
reason: actual and formal argument lists differ in length
Note: ImportDesc.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 errorThoughts?
Edited by: 922264 on Mar 21, 2012 10:33 AMYour getText method is not returning anything. -
How to make barcode interface with SAP B1
Hi all,
I need an interface code to make an interface between barcode printer with SAP B1. i got a scenario from the barcode people. that they are using EPL coding only for Barcode printer print, there they need to run this EPL code in Dos mode, for that .bat file is needed. hope you might got some idea that how a barcode printer is working. now how to make an interface of SAP B1 with Barcode printer.
how to generate a code which will put the bar code and price with the AP invoice of the item in EPL code which is in a text format. so that by .bat format txt file should be run in dos mode.
if you have any other process to run the EPL code, kindly send me the details as soon as possible....its very urgent.
regards
sandipSandip,
I think what you may be more concerned about, rather than the printer "language" (ZPL, EPL, etc...) is the symbology that you require for barcodes. Like 3of9, code 128, etc.
The standard B1 PLD will input a barcode image for whatever field you specify, but only in a couple of symbologies. The Advanced Layout Designer apparently supports a lot more. I have read that it may be requested from you partner, or if on 2007, it is part of the standard install.
B1 should pass the bar code to the printer, where the printer's language will decode and print it out. Bypass the .bat file, bypass DOS, let B1 do it.
Is your Epson printer supported under Windows? -
Does anyone have any experience using the Oracle pipes facility from an Oracle
stored procedure to talk to a Forte Service Object. We believe its possible, but
would like to hear some war stories.
Thanks,
Ty
[email protected]G'Day Tom
FWIW, as of three days ago we have:
OpenVMS v7.1
Oracle v7.3.2.3.2
Forte v30G2
The local Forte apps are limited and small to date. Testing (including Y2K)
failed to show any problems with Forte and Oracle.
I'd be interested to know about any specific problem you have with Oracle
v73232 and Forte (30G2).
TIA
Dirk Haben, Perth WA
BTW: Absence of evidence is NOT evidence of absence ...
-----Original Message-----
From: Thomas R Wyant_III [mailto:[email protected]]
Sent: Monday, 19 October 1998 20:55
To: [email protected]
Subject: Oracle, VMS, and Forte
What is the most recent version of Oracle in use with Forte
under VMS, and
what version of Forte are you using with it? We're at Forte
3.0.G.2, but
still at Oracle 7.3.2.3.0, because when we tried 7.3.2.3.2 it
wouldn't link
(and no, I don't remember the version of Forte - sorry!).
Forte support
keeps telling us the current version "should work", but I'd
like to know
what "will work".
Thanks,
Tom Wyant
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive
<URL:http://pinehurst.sageit.com/listarchive/>
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/> -
Corrected amd web site on new heat sink with pipes
http://forums.amd.com/index.php?showtopic=30520 foudn by doing yahoo search. amd + heat pipes.
and cant get the following to work, yet that was up for a while.
could be because it is a protected website. no idea what that means.
http://www.amd.com/us-en/Processors/ComputingSolutions/0,,30_288_13265_13295^13332,00.html
i found this and am curious it this will be available for amd processors that we have already purchased? Would be worth while if using amd parts would not void warrenty.It isn't gone, the link was just wrong. It ships with FX processors only if you read further down. Probably with the newer ones that are running warmer.
As for warranty, you do not have to remain with the Stock Heat Sink to retain warranty, although if the heatsink goes bad and causes a CPU failure using a non-stock heatsink that will void warranty. :-/ -
Newbie: how to handle pipes and semicolons while launching UNIX commands?
Good afternoon,
I am trying to write a Java class that can launch UNIX commands.
Launching simple commands (date, ps -ef) works fine, but when I start using pipes and semicolons, it goes wrong:
Java code (pipe example):
String command = "ps -ef | grep config";
Process child = Runtime.getRuntime().exec(command);Result:
usage: ps [ -aAdeflcjLPy ] [ -o format ] [ -t termlist ]
[ -u userlist ] [ -U userlist ] [ -G grouplist ]
[ -p proclist ] [ -g pgrplist ] [ -s sidlist ]
'format' is one or more of:
user ruser group rgroup uid ruid gid rgid pid ppid pgid sid taskid
pri opri pcpu pmem vsz rss osz nice class time etime stime
f s c lwp nlwp psr tty addr wchan fname comm args projid projectJava code (semicolon example):
String command = "date;ps -ef";
Process child = Runtime.getRuntime().exec(command);Result:
date;ps: not foundClearly the pipes and the semicolons are handled by the UNIX shell and cannot be put in the Java source code as such.
Does anybody know a way around this?
Thanks
DominiquePipes and semicolons are interpreted by a shell (bash, csh etc) and when one executes as you are doing no shell is involved. This is easy to solve by using the alternate version of exec() which takes an array as an argument and to use your shell of choice. For example :-
String[] command = {"bash", "-c", "date;ps -ef"};Note that the third argument is the whole of the command to be interpreted.
Two points to consider. First you should read, digest and implement all the recommendations in http://www.javaworld.com/jw-12-2000/jw-1229-traps.html; failure to do so will at some point lead to significant loss of hair. Second you should probably use ProcessBuilder rather than Runtime.exec(). Behind the scenes Runtime.exec() uses ProcessBuilder but ProcessBuilder provides a better interface with more features. -
Can I use a barcode scanner with LR?
Hello -
I am taking some school photographs and need to change the file name of each image to the registration number of the pupil. Is there a way of using a barcode scanner with LR to scan the code of the pupil's reg no and then automatically change the filename?
I saw a thread here http://forums.adobe.com/thread/799772 - but couldn't find the fields etc referred to.
While I'm here - can I download LR 4 SDK as part of Creative Cloud subscription?
Many thanksI beleive you can download the SDK here: http://www.adobe.com/devnet/photoshoplightroom/sdk/eula_lr4.html The link is at the ens after the EULA
Maybe you are looking for
-
How can I keep from losing apps, data and photos with iTunes?
I am setting up an iPhone for the first time on iTunes. I am trying to prepare for moving to the iCloud from me.com. - I authorized the computer running iTunes>>> successful, I think - transferred purchases to iTunes>>> successful, I think - I sync
-
2g Shuffle crashes wireless adapter
Hello, I'm a dell machine with windows xp and whenever I plug in my new 2g shuffle I get an error message saying windows does not recognize my device and then it crashes my wireless internet connection. I am using a Linksys wireless adapter on my hom
-
HI all, Can somebody tell me what ABAP exactly is required for WEBDYNPRO.I mean OO ABAP or module pool or....etc. Also i will be thankful if somebody tell me which one is more better between web dynpro for java and web dynpro for abap marketwise. Tha
-
What is causing panics on Macbook Pro 4,1
Hello, My Dad was having very frequent crashes on his Mabook Pro 4,1 runing Snow Leopard. Below is one of the reports I was hoping someone could interpret. His computer will not start anymore now. Can't even boot to single user mode. Thinking it's a
-
[CS6] Bug in opening CS4 IDML in CS6
Hello, all! I just came accross a serious bug after opening an IDML file from InDesign CS4 v6.0.6 in CS6 v8.0.0. Objects of a master page "B" that is based on master "A" were moved! Watch out especially for page 4. Here a screen grab of the pages pal