[Date Prev][Date Next][Subject Prev][Subject Next][
Date Index][
Subject Index]
Re: Printer question
- Subject: Re: Printer question
- From: "Daniel L. De Hainaut" Young_DeHainaut@xxxxxxxx
- Date: Fri, 7 Aug 1998 22:47:56 -0400
Joseph:
I may have woke up late in this discussion--I don't even remember what
printer you're using--but as long as you're using XyDos 4 take a peek at
your printer file.
Look for the printer control table, which starts with "PC:" and a carriage
return, followed by a series of numbers between 1 and 243, each followed by
a comma, some code that probably begins with an escape character [ASCII 27
decimal], and a carriage return. Look at the code numbered 141, which is
what XyWrite sends the printer at the beginning of a file if you embed the
OR 1 command.
Is the printer old enough that it came with documentation of its control
codes, but not so old that you've lost said documentation? If so, see if
the printer manual's code sequence for landscape printing matches the
printer file's. If not, try modifying the printer file by substituting a
new code for # 141 in the PC table.
You'll have to modify the printer file and store and reload it before
printing--tedious, but hopefully it won't take much trial and error. In my
experience just popping in a landscape control code with a PI
command--which sounds like a less cumbersome way to test things--won't work
because the printer wants to see the orientation code nearly first thing
and XyWrite sends its File Begin string and some codes to make the top and
left margins before it sends a PI that you put at the top of a file.
Good luck.
Dan De Hainaut
103105.1262@xxxxxxxx