×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Box characters for konica printing machines

Box characters for konica printing machines

Box characters for konica printing machines

(OP)
I need the characters to print boxes in Konica machines.if any one can help please.

RE: Box characters for konica printing machines

If it is HP compatible and recognizes PCL 5 or below, you
can use (in basic lang)
print #1,chr$(27);"(10U" 'PC-8 character with box char.
print #1,chr$(27);"(s0p10h12v0s0b0T" '10CPI typeface up to u
example characters
print #1,chr$(196) 'approx equiv to -
print #1,chr$(205) 'approx equiv to =
etc.

RE: Box characters for konica printing machines

(OP)
Thanks buff1

my next issue is that my horisontal double lines prints
as a solid lines like i want it, but my vertical double lines have spaces like the following ===. Any ideas on how to rectify it?

Thanks in advance

RE: Box characters for konica printing machines

If you want to draw lines using 'box draw' characters from a font, you will have to use an appropriate combination of font typeface, font size and line spacing in order to prevent gaps between vertically adjacent characters.

But changing the line spacing might cause problems with other text if this is contained within the same set of sequences.

Instead of using 'box draw' characters from a font, you could use the PCL 'Rectangular Area Fill Graphics' sequences. For example:

CODE

<Esc>&l0O         Orientation: Portrait
<Esc>&u600D       Unit-of-Measure (PCL units per inch)
<Esc>&a0L         Left Margin (columns)
<Esc>&l0E         Top Margin (lines)
<Esc>*p218x       Cursor Position (PCL units): Horizontal
       300Y       Cursor Position (PCL units): Vertical
<Esc>*c4320a      Rectangle Size (PCL units): Horizontal
       3b         Rectangle Size (PCL units): Vertical
       0P         Fill Rectangular Area: Solid Area
<Esc>*c3a         Rectangle Size (PCL units): Horizontal
       6360b      Rectangle Size (PCL units): Vertical
       0P         Fill Rectangular Area: Solid Area
<Esc>*p218x       Cursor Position (PCL units): Horizontal
       6660Y      Cursor Position (PCL units): Vertical
<Esc>*c4323a      Rectangle Size (PCL units): Horizontal
       3b         Rectangle Size (PCL units): Vertical
       0P         Fill Rectangular Area: Solid Area
<Esc>*p4538x      Cursor Position (PCL units): Horizontal
       300Y       Cursor Position (PCL units): Vertical
<Esc>*c3a         Rectangle Size (PCL units): Horizontal
       6360b      Rectangle Size (PCL units): Vertical
       0P         Fill Rectangular Area: Solid Area
<Esc>*p218x       Cursor Position (PCL units): Horizontal
       300Y       Cursor Position (PCL units): Vertical
<Esc>*c20G        Assign Pattern ID
<Esc>*c4320a      Rectangle Size (PCL units): Horizontal
       6360b      Rectangle Size (PCL units): Vertical
       2P         Fill Rectangular Area: Shading
will draw a (large) box, with shading fill, on a Portrait page.

RE: Box characters for konica printing machines

You'll have to make sure you are using fixed spacing.
10CPI should work but you could increase it to 12 CPI if
you need to.

Ec(s0p10h12v0s0b0T
0p means fixed pitch, 0b medium weight, 0T line printer
10h = 10CPI use 12v with 10h.

12 cpi would be like
Ec(s0p12h10v...

16.66 cpi woult be
Ec(s0p16.66h8.5v...

These are the three most common fixed cpi used for reports.

RE: Box characters for konica printing machines

There is no 10pitch or 12pitch lineprinter font. FYI...

The problem is that at 10pitch and 6lpi, a typical setup, the "|" characters are simply not tall enough to connect.
You have 3 choices.

1. Tighten up the linespacing.
2. Somehow double print those characters with a cursor move.
3. As Dan's Dad suggested, use PCL graphic commands to draw the box.

This wasn't a problem with the bitmap Courier fonts on the LJ3. But the scalable fonts with the LJ4 and later do not connect at 10cpi or greater at 6 lpi.

I think you will find that it works OK at 12cpi and 8 lpi.

Boxes drawn with PCL-HP-GL/2 commands are MUCH more flexible than those from line draw characters. Better looking too.



Jim Asman
jlasman@telus.net

RE: Box characters for konica printing machines

Another possibility would be to use the Tax Line Draw
(0B
if you are using a Laserjet, you could upload it to the
printer. That might work better than box characters at (10U

Also using 3b or 4b weight might help at 6lpi.

I use the Ec*c statements to draw lots of lines too.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close