Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Foxpro 2.5 Report Writer
Message
From
05/01/1998 07:49:58
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
03/01/1998 13:15:03
Carmen Gassi
Perseus Software Systems
Oakville, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00069093
Message ID:
00069471
Views:
63
>>>>>I have created a cheque writing report using Foxpro 2.5 report writer. I have selected the HP Laser III printer driver ( I am actually using the HP 6P but the older driver should work. ) The problem is that a) the printer is printing a control character each time it issues a form feed ( usually on the last page of the cheques ), the character is the double vertical arrow ( arrow head at top and bottom). I can't seem to get rid of it. Any suggestions.
>>>>>Thanks
>>>>Since you're using FP 2.5 and as far as I know there is not a windows version of it your reports are in plain ASCII. Than instead of using HP Laser III printer driver you could use "no printer" setup and do a DOS print. For embedding special codes such as font size, bold, condensed etc you could add the codes to your report (codes are in HP manual). If you use only one font type and style than set it as deafult through control panel (HP 6P could be controlled through a software as far as I know).
>>>>Another way (I think you'll prefer) is to add an entry to p_codes.dbf for HP Lasetjet 6P and write the codes as appropriate. P_CODES.DBF keeps the codes like fontsize, bold setting etc.
>>>
>>>Thanks for your suggestion, I will try to manipulate the P_Codes.dbf. Any ideas as to why the control code is showing up in the left margin every time a form feed is generated? Any ideas as to how to get rid of it? By the way this program is running in a WIN 95 environment but it is a FOX 2.5 app.
>>>Thanks
>>Than it's nice. Just send without any printer setup. That doubleheaded arrow (hex 17) is a control code (at least it should be) and couldn't find a corresponding command in PCL3 if not missed. Maybe new to PCL4 or later (most likely and would print as is).
>Thanks again Cetin, I will try sending it without any print drivers. I'll let you know how it turns out.
>Carmen
Hi Carmen,
There are two double headed arrows one with hex 12 and the other with hex 17. I looked up in PCL5 set also but couldn't find a control code using it so I think it is a parameter rather than a command. What is the result without a printer driver ?
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform