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!

Labels under VFP8

Status
Not open for further replies.

wgcs

Programmer
Mar 31, 2002
2,056
EC
Does VFP8 no longer support the FoxproDos 2.6 label files?

We have need for CPI-based plain-ascii label output, and we've been using VFP6 with .LBX/LBT files created in Fpd2.6.

Now that we're moving to VFP8, I'm getting the error "Invalid expression in label definition file."

If I convert ("transport") it to be a VFP8 .LBX/LBT file, then it produces the labels fine, and sends them to the printer, demonstrating that the expressions really are valid.

But our program really needs the text output instead.

( The LABEL FORM xxx command does support the "ASCII" clause like the REPORT FORM command does, though it isn't documented, yet, since I need CPI positioning, I REALLY don't want to use the GUI label designer. )

- Bill

Get the best answers to your questions -- See FAQ481-4875.
 
The only way I know to use ASCII fonts on VFP7+ reports & labels is by this way:
* First, inside label editor, go to Page Setup->Print Setup and select an installed dot matrix printer as default.
* Then select the required textbox and go to font type selection (Format->Font). If you search through the font list you'll find printer fonts, on Epson printers ASCII font types are Draft ones.

The drawback of this method is that you need to have the same printer driver on all machines and output the label on the same printer model to work well, otherwise this works quite bad.

Another way is to use the old method and print the labels programatically, this is what I use to print invoices.

Gerardo Czajkowski
ltc.jpg
 
Thanks for the ideas, Gerardo,

The reason we need to output text is that it isn't going to the printer: we need it to create a text file which can then be passed to an external program for additional manipulation.

- Bill

Get the best answers to your questions -- See FAQ481-4875.
 
Mmhhhh, you can try with Windows Generic/Text Only Printer Driver.

Gerardo Czajkowski
ltc.jpg
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top