Generic Text Print Formatting Issue

Hey All,

I've got an issue with a HP OfficeJet (inkjet) 470 printer whereby it's font for Generic / Text only printing is different to the font used by the HP LaserJet printers. There are some particular reports that are fed as "raw" to the printer and they print perfect on any of the LaserJets but the OfficeJet prints the font larger and as such the reports go off the page and don't look the way they should.

Anyone got any ideas on how to change or override the font on the Officejet to match that of the Laserjets?

Cheers
LOFTUSITAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

hdhondtCommented:
When you say the reports are fed "raw" to the printer, are you actually using the Generic / Text Only driver? In that case, why not use the correct driver?

The Generic / Text Only driver knows almost nothing about fonts. It just uses the printer's default font. And so does DOS. You can tell the Generic / Text Only driver how to select fonts (click on the Fonts tab in printer Properties), but you need to know what font you want, and what esc sequence the printer requires to select it.

If you are printing from DOS, the DOS application would need to send the font selection command as part of the print job.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
LOFTUSITAuthor Commented:
By "raw" i mean that the application that does the print (by the looks of it) doesn't include any formatting, it just goes "print 5 spaces, print |, print CUSTOMER, print 10 spaces, print |, print carriage return". So it doesn't matter whether I use the Generic Text driver or the proper driver I still get the same (ok on laserjet, dodgy on inkjet) print out. I suppose it really is the "Font Selection" tab in Printer Properties that needs to be modified but I'm not sure what or what type of values those boxes accept.|
0
hdhondtCommented:
OK, it sounds as if you are printing from a DOS application, sending the job direct to the printer without going through the driver. Hence, changing things in a Windows driver won't make any difference.

I am not familiar with the OficeJet 470, and have been unable to find out what esc sequences it uses. And anyway, unless the application lets you set those parameters, you're out of luck there too.

One thing comes to mind. If you do have a Windows driver for that printer, you can use DOSPRN (download it from http://www.dosprn.com/download.htm ). DOSPRN is designed to take output from DOS programs and print them through the Windows driver, and you can change the print job's fonts.
0
LOFTUSITAuthor Commented:
Cannot find the originator of this question, so no accurate feedback can be given!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Printers and Scanners

From novice to tech pro — start learning today.