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

which font should i used to print

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
to print .rpt on dot matrix printer & for getting speed like dos which font i have to use .

because for speed i am converting .rpt into paginated text.
but it does not give me same format as in .rpt into text file.
like in .rpt i see 150 character in one line , but when i export into text file it gives me only 110 chacter in one line. & otjer characters are lossed.

pls send reply
nobody sent me reply my previous question.

 
The best you'll get will be a non-proportional font such as courier, but it will still be of variable quality.
Try playing with the following registry settings, they affect both paginated text and simple text export:

[HKEY_CURRENT_USER\Software\Seagate Software\Crystal Reports\Export\TextExport]
"CharPerInch"=dword:00000032
"UseSysDefaultCPI"=dword:00000000
"PromptAgain"=dword:00000001

Andrew Baines
Chase International
 
Your font list should show those specific to the printer. They are the non-TT types and are identified by a printer icon next to them in Windows 2K, can't recall if all OS's had that, but they are differentiated.

If you have any graphics in the report, a dot matrix will switch to graphics mode and your performance will drop.

I'd stay clear of the registry settings, the above don't seem to change the font anyway, rather the properties of the font.

There's a somewhat helpful FAQ on the Crystal Decisions site referring to CR 6:


-k kai@informeddatadecisions.com
 
I think Pradeep is trying to print in dos mode by dumping the report into some form of text file then sending the text file to the printer to avoid it printing in graphics mode.
Changing the font in the report will ensure that the report appears more like the final printed output. Changing the registry settings does nothing more than change the maximum number of characters that can appear on each line.
They're the values that you are prompted for when you first export to text, lots of people tick the 'do not ask again' box. The only way to undo this is in the registry.
Printing a report from within windows will always force the printer into graphics slow mode. The only way around this is to use the text output option that Pradeep has tried. Andrew Baines
Chase International
 
I haven't had to work with dot matrix printers since Windows 3.11 or so, and I recall printing to a line printer at full speed from within Windows, not sure if I used Crystal...

I saw this on CD's site about CR6:

Synopsis

A issue with printing speed is encountered when printing to a dot matrix printer using Seagate Crystal Reports (SCR) 6. As SCR produces a meta file prior to printing, the graphics mode printing is required, which will always be in operation when the printer prints the report. This will reduce the printing performance when compared to the high speed draft modes of which these printers are capable.

Solution

If Microsoft Window's generic printer driver is installed, and the Fonts tab of the generic printer is selected, control codes may be sent to the specific printer to change modes and select font sizes, etc.

If the generic printer is used in the creation of a report containing no graphics, the dot matrix printer will print at its optimum speed.

Perhaps this metafile approach still plagues CR, but I'd be surprised.

I installed the Epson FX-105 driver to check the options, and it offers print directly to the printer, which I would hope means that it would not select the graphics mode inappropriately.

I'll pose the question on my next CR tech call.

Anyway, it seems that the generic driver will allow you to send along a start of job text mode string, which would allow for full speed.

-k kai@informeddatadecisions.com
 
Andrew: I got to pondering this - why would they show native fonts if they don't use them (always switching to graphics mode)?

Something sounds very odd hereabouts...

A Microsquish buddy is down from Seattle today, if what you say is true, I'll demand that he fix it immediately ;)

-k kai@informeddatadecisions.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top