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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VFP 6 & PCL-6 Printing Problem

Status
Not open for further replies.

taysys

Programmer
Dec 7, 2001
41
US
I have an application that was printing a report fine with PCL-4 HP driver. The tech staff upgraded the printer to a 4100N using PCL-6 and now the report hangs or starts over without ever going to completion. They tried PCL-5e which also failed the print. I had them re-install the PCL-4 driver and all was happy again.

Has anyone had similar experiences and what were your solution(s)?

Thanks

Bob Taylor
 
Install the most recent service pack for 6. That should fix it.

If not you may be stuck using the older HP drivers on the new printers.
 
Thanks for the reply... I am on SP5 which is supposed to be the latest. The PCL-4 driver is working.

Thanks

Bob Taylor
 
HP printer are well know to cause trouble with VFP applications. Try this API call to see if it helps clean-up the floating point.
DECLARE _fpreset in MSVCRT && Pu this in your main program.


=_fpreset() && and use this BEFORE and AFTER you print a report.

Hope that helps
 
HI TaySys,
Hack the printer drivers from the report headers. In all probability this will solve your problem. :)
As to how you can hack the printer driver info from the report files, look in this link...

How to hack FRX file to strip printer driver information
faq184-581

Hope this solves your problem :)

ramani :)
(Subramanian.G),FoxAcc, ramani_g@yahoo.com
 
Thanks to both of you for your responses.

mgagnon: I have modified the program with your fixes to see how they work for us. I'll let you know how the analysts's test go later today.

ramani: Very interesting FAQ and have printed it out. If the patch above does not fix the problem, I will apply your fix next. I have put your information on file though... thanks and will let you know how the testing goes today.

Bob Taylor
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top