Hi Guys,
I just replaced an old comp that was running win xp pro 32bit and it is capable to run a prg file from foxpro 2.0 Dos, that
runs a report that prints a form with text and some barcodes, the printer is an HP LASERJET 2100 with a parallel port interface and connected to the xp machine parallel port
the new machine is running Windows 7 32bit and i can run the Foxpro dos prg file no problem but the new machine does not have a parallel port so i just got a new cable that goes from the parallel printer port to the USB port in the computer and also running a program named "DOSprn 1.79" Version, this will allow the dos program to print, the problem is, that is not printing the barcodes and it is printing a lot of ascii codes, in other words it is not working as suppose to be, of course inside the prg file there are a lot of code escape sequences to print, type of differents fonts, etc, also i run the prg file, by running a batch file that has a utility to convert some of the text in barcode, think the problem resides on the barcode that is too old for be able to run in Win 7.
The utility is named "BARCODE LEADER from Laurel System" and the batch file is composed as this
rem bl it is actually a bl.com that can accept this parameters below /p3 /l3 the P3 is for hp laserjet and l3 is 3 line height
bl /p3/l3
f:\foxpro2\foxprol -t mfg_all
rem the mfg_all is the prg file
i just installed the hp laserjet 2100 pcl6 driver but some text are printing correctly from the foxpro dos report but some part of the report is not printing correctly and the barcode it is not printing at all and i am getting like 4 pages of garbage ascii codes printed.
I am worndering if i need to have a parallel port in the new computer or if it is a driver issue, or i need another utitlity to interpret the text to be barcode cause of windows 7 ?
I actually did something else, i just shared the printer on the xp machine, then i installed that printer in windows 7 by selecting the shared printer and printing there but still the result is the same no barcode and a lot of garbage printed.
I know it is an old dos prg file but it is extense an no way to change it to another version for now.
any one have experienced something like this ?
Thanks in advance
I just replaced an old comp that was running win xp pro 32bit and it is capable to run a prg file from foxpro 2.0 Dos, that
runs a report that prints a form with text and some barcodes, the printer is an HP LASERJET 2100 with a parallel port interface and connected to the xp machine parallel port
the new machine is running Windows 7 32bit and i can run the Foxpro dos prg file no problem but the new machine does not have a parallel port so i just got a new cable that goes from the parallel printer port to the USB port in the computer and also running a program named "DOSprn 1.79" Version, this will allow the dos program to print, the problem is, that is not printing the barcodes and it is printing a lot of ascii codes, in other words it is not working as suppose to be, of course inside the prg file there are a lot of code escape sequences to print, type of differents fonts, etc, also i run the prg file, by running a batch file that has a utility to convert some of the text in barcode, think the problem resides on the barcode that is too old for be able to run in Win 7.
The utility is named "BARCODE LEADER from Laurel System" and the batch file is composed as this
rem bl it is actually a bl.com that can accept this parameters below /p3 /l3 the P3 is for hp laserjet and l3 is 3 line height
bl /p3/l3
f:\foxpro2\foxprol -t mfg_all
rem the mfg_all is the prg file
i just installed the hp laserjet 2100 pcl6 driver but some text are printing correctly from the foxpro dos report but some part of the report is not printing correctly and the barcode it is not printing at all and i am getting like 4 pages of garbage ascii codes printed.
I am worndering if i need to have a parallel port in the new computer or if it is a driver issue, or i need another utitlity to interpret the text to be barcode cause of windows 7 ?
I actually did something else, i just shared the printer on the xp machine, then i installed that printer in windows 7 by selecting the shared printer and printing there but still the result is the same no barcode and a lot of garbage printed.
I know it is an old dos prg file but it is extense an no way to change it to another version for now.
any one have experienced something like this ?
Thanks in advance