Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automated printing 1

Status
Not open for further replies.

GeorgiK

Programmer
Mar 10, 1999
17
MK
I am new to Corel. I want to print tickets on my HP5 laser printer.<br>
All of them are same except two things: the serial number and the<br>
bar code which have to increment by one on each next ticket printed.<br>
How can I 'automatize' this ? May I use other tools outside of Corel<br>
to direct Corel to do the job ?
 
I'm not sure about the Barcode thing but the command "Print merge"<br>
is the answer to your serial # needs.<br>
<br>
Print Merge lets you print the same document many times using different text each time you print. For example, if you are printing invitations, you can personalize each invitation by merging in different text.<br>
<br>
Print merge works by combining a specially formatted text file with a CorelDRAW file. The CorelDRAW file must contain text that will be replaced by words (or numbers) from the text file during the print merge. Each time the CorelDRAW file is printed, words from the text file are substituted in the printed version. see the corel help file on this command for a step by step guide.<br>
<br>
Later,<br>
Mitsu<br>

 
Sorry for the looong delay in my reply.<br>
I hadn't internet connection meanwhile.<br>
Thanks for the answer Mitsu. Unfortunantely<br>
it doesn't work with the bar codes!<br>
GeorgiK
 
How are you generating your inital bar codes? Is it a Corel plug-in of some sort, or are you creating them in another application? What version of Corel are you using?<br>
<br>
As far as the serial # goes, another fairly simple way to do it is:<br>
<br>
1. Record a Corel Macro in which you type the serial number, and then print the ticket.<br>
<br>
2. Open the text to the macro in Excel with no line breaks, split the command into different cells so that the serial number is in its own cell, then use Excel's autofill feature to generate as many lines with incremented serial numbers as you want. Save the Excel file as a text file, space delimited, and use that as your Corel script.<br>
<br>
For your bar code:<br>
<br>
1. Something like the above might also work with your bar code if you are creating it in Corel.<br>
<br>
2. If your bar code generator can save a series of graphics representing the incremented numbers, then the above approach can include the 'paste from file' command to include the bar codes.<br>
<br>
3. If you are using Corel 9, which I don't have yet, it uses VBA as it's macro recording language, which let's it make calls to other programs, eg. your bar code generator.
 
Thanks Rycamor.<br>
<br>
I am using Corel 8. I tried with Corel embedded<br>
bar-codes (macro didn't accept them).<br>
I'll try your advise.<br>
In the mean time I realized that small project<br>
with Access. I used bar-code font I2of5 instead<br>
of creating large 'database' with serial bar-code<br>
images. Report was doing fine.<br>
<br>
Georgik
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top