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

MS-DOS Font size or page orientation 1

Status
Not open for further replies.

klabaza

MIS
Aug 3, 2005
59
Hi people.

I have a issue with a old program, that we still cannot remove, soon will be but for now I need to give support.

This program is cut planner 3.x

This old software runs in ms-dos and u can just print over LPT. The problem right now is that the printer we use there is dying, cannon bubble jet 4400.

We still cannot find any other available, but we have 2 printers, hp deskjet 960c and a hp 4000.

We have been trying to make this 2 printers to work with this old software, but exist a issue that the old bubble jet do very well.

Went we send to print some reports, for reason, both printers 960 && hp 4k they eat some portion of the data, about 1 inch of the right side.

Looks like they use the same font size.

The bubble jet use smaller font, this is why it prints all the information without losing anything.

The only print option I see in the app is the "6 lpi", there we have 27,50.

I have move to 27,60 but I still have the same issue.

I want to know if is possible in DOS to change the font size or page orientation?

How can make this possible, this really very critic for us, normally I never use the word "citric", but in this case is really really urgent to fix this.

If u have any tips about please let me know, I will appreciated any tip u could give, thanks again!!!

 
Normally done by issuing the pcl control codes to use a different pitch.
On a 2P:
esc ( s 0 p for p values of 8,10,12,& 17 IIRC

no spaces in the string and it is a zero

Your printer may not have all available. Take a look at the machine specs at the manufacturer's website to see what they are capable of.

Ed Fair
Give the wrong symptoms, get the wrong solutions.
 
Thanks edfair.

I have read about PCL commans, my doubts and I'm googling is how to send those commands to my DOS session.

Reading about, I see that I need a Hex editor, save the commands and give to my printer?

Hope some could give a clue on how to send this commands to my printer.

Thanks again edfair.
 
I use basic and print them. Sometime embedded in the text I'm sending and other times when it is to my advantage I set up a single line basic program to change the fonts for the duration.

In setting up pretty print for a phone directory one of the commands (all on one line) were:
lprint chr$(27)"(8U"chr$(27)"(s0p16.67h8.5v0s0b0T"chr$(27)"&l1o"

You'll notice the 16.67 as pitch. The 8U part was font type, the rest was spacing. Found part of the program folded up in my HPII manual.

Ed Fair
Give the wrong symptoms, get the wrong solutions.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top