GWBasic: printing CHR$ codes to laser printer? 
Author Message
 GWBasic: printing CHR$ codes to laser printer?

Someone here has written a program in GWBasic which prints CHR$
graphics codes (to create boxes, make text larger ,etc).  The program
works fine on dot matrix printers but not very well (to put it nicely)
on laser printers.  Is there some sort of code which can be sent to
the laser to make it recognize these graphic codes?

TIA

____
Mike E. Fullerton   | UNIX, Computers, Science, Skepticism

 |



Sun, 30 May 1999 03:00:00 GMT  
 GWBasic: printing CHR$ codes to laser printer?


: Someone here has written a program in GWBasic which prints CHR$
: graphics codes (to create boxes, make text larger ,etc).  The program
: works fine on dot matrix printers but not very well (to put it nicely)
: on laser printers.  Is there some sort of code which can be sent to
: the laser to make it recognize these graphic codes?

What kind of laser printer do you want to print to?  There are at least
two popular standards, PCL (LaserJet and compatibles), and postscript.  
Some laser printers will also emulate an Epson dot matrix printer.

Programming a PCL printer to do what you want is not very hard, but you
will need to get some documentation.  I've done it before myself, but I
don't own the manuals (which were HP LaserJet manuals) because I did
this while working for someone else.

Programming a PostScript printer is a much more complicated matter, as it
requires learning a whole new programming language called PostScript.

You also have to make sure that the laser printer in question has the
font you need to print the lines and boxes.  Of course, it is sometimes
true that a dot matrix printer might not have these either, so this is
general printer issue, and not just an issue with laser printers.

Regards,

Carl

--
------------------------------------------------------------------

 author of Liberty BASIC, a 1996 PC Magazine Awards Finalist!
 http://world.std.com/~carlg/basic.html



Sun, 30 May 1999 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Help: VB4: Print Method: How use true type fonts when printing to Laser Printers

2. Print very slow on Laser Printer

3. printing with an Epson laser printer

4. Print text on gray background on HP laser printer

5. Printers graphics in laser printers.

6. Printer.Print and printer control codes?

7. Get/Set Laser Printer Memory

8. Laser Printer Form Files

9. Is the printer a laser one?

10. printer objects, inkjets, and lasers???

11. Get/Set Laser Printer Memory

12. problem drawing lines on Brother laser printer

 

 
Powered by phpBB® Forum Software