Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing from FPD2.6 to HP lasers
Message
De
17/03/1998 17:55:01
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Titre:
Printing from FPD2.6 to HP lasers
Divers
Thread ID:
00085220
Message ID:
00085220
Vues:
76
I have a couple of apps where users stick to FPD2.6 and have laser printers. All of them are either HP 5 or 6, and some are OKI 400, all using the provided Fox driver for HP III. It works well most of the time (if you consider using Courier only can be taken under "well").

I have a slight problem. Sometimes, practically at random, it prints one line overlapped over the previous line. Most of the cases it's the line preceding a line where a horizontal line is drawn using hyphens or equal signs, but I can't take it as a rule. It happens once in ten or twenty pages. Maybe it's because I'm printing into a file and replacing some Epson codes (which were hardcoded into some reports) with appropriate PCL codes, and I replace the font sizes according to font attributes (i.e. if it finds chr(15), it emits a "18 cpi" instead, if it finds bold, it puts larger font and so on).

I've looked at the hex dump and the offending lines look quite normal, having appropriate coordinates before each bit of text, and ending with regular cr+lf. Could it be the PCL is recalculating column/line coordinates into pixels, and miscalculating sometimes? Did anybody have this before?

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform