Solved

HP Deskjet 697c problem with Pascal

Posted on 2000-02-28
12
290 Views
Last Modified: 2013-12-15
I have a HP Deskjet 697c and I've tried printing my Pascal programs with it. Each time I've tried it only prints one line at a time (or two).
0
Comment
Question by:kazooie21
  • 5
  • 3
  • 3
  • +1
12 Comments
 
LVL 3

Expert Comment

by:vikiing
Comment Utility
Please, ¿could you tell us how do you do to print your Pascal source?
0
 

Author Comment

by:kazooie21
Comment Utility
I don't understand the question.
0
 
LVL 3

Expert Comment

by:vikiing
Comment Utility
You've said: "I've tried printing my Pascal programs with it"

I deduct you're trying to print the source code of your programs, and you don't success.

Now, if you're trying to print FROM WITHIN your programs, that's quite different.

As I now figure out you mean the second variant, then I ask you:

1) ¿what are you trying to print (graphs or text)?

2) ¿what is what you guess to print and what is what you really get printed, if anything?
0
 
LVL 10

Expert Comment

by:tonnybrandt
Comment Utility
In your program you have to control the printer yourself. You have to provide carriage return and line feed. That's probably why you only see on or two lines.
happy hunting
0
 

Author Comment

by:kazooie21
Comment Utility
I'm trying to print the code of my program.
0
 
LVL 10

Expert Comment

by:tonnybrandt
Comment Utility
Ups that's another matter.
What editor are you using and are you trying to print from within the editor ?.
Try these commands in dos

copy <path to sourcefile> prn
copy <path to sourcefile> lpt1

if these prints ok then your editor makes the garbage.
Could you tell us the programs name (editor) and if you printing from dos or windows.
Tonny
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 3

Expert Comment

by:vikiing
Comment Utility
If you're working into IDE, in the "File" option of upper menu bar, you have the "Print" option.

But, as the default printer driver (to use bold letters and other things) is for Epson, you must tell IDE to NOT send escape sequences: in the "Printer setup" option, check out the flag "Send highlighting escape codes".

0
 

Author Comment

by:kazooie21
Comment Utility
The editor if Turbo Pascal v7.0 for DOS.
0
 
LVL 10

Expert Comment

by:tonnybrandt
Comment Utility
Sorry never worked with that editor, i don't think i can be of much assistance to you.
good luck
0
 
LVL 3

Expert Comment

by:vikiing
Comment Utility
>>The editor if Turbo Pascal v7.0 for DOS

Then, you must do as I've indicated.
0
 
LVL 1

Accepted Solution

by:
Whitewolf earned 5 total points
Comment Utility
Save the pascal file, and then go to the diretory in the dos prompt before you compile the file and type:

type filname >prn


that should print out the source code...

Hope this helps,
Whitewolf
0
 
LVL 3

Expert Comment

by:vikiing
Comment Utility
Just only for curiosity: ¿what were the results when you tried to print your program from within the IDE?
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
printing in ubuntu 16 81
source code to scan multiple images 6 75
USB Error 20 89
Zebra label printing - keeps defaulting to 11" height 3 38
How to solve seemingly unsolvable printer issues. Users sometimes run into printing issues where all the normal steps do not seem to work. Well the steps below can show users how to take one extra step beyond the normal steps needed to remove old…
Causes of paper jams:The following are the main causes of paper jams. Guides:If the guides for the paper are not set correctly they may cause the paper to enter at an angle. You should ensure that the guides are set correctly for the paper type a…
This video discusses moving either the default database or any database to a new volume.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now