Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

HP Deskjet 697c problem with Pascal

Posted on 2000-02-28
12
Medium Priority
?
304 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
  • 3
  • +1
12 Comments
 
LVL 3

Expert Comment

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

Author Comment

by:kazooie21
ID: 2570267
I don't understand the question.
0
 
LVL 3

Expert Comment

by:vikiing
ID: 2572309
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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 10

Expert Comment

by:tonnybrandt
ID: 2574524
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
ID: 2574608
I'm trying to print the code of my program.
0
 
LVL 10

Expert Comment

by:tonnybrandt
ID: 2574658
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
 
LVL 3

Expert Comment

by:vikiing
ID: 2575917
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
ID: 2577642
The editor if Turbo Pascal v7.0 for DOS.
0
 
LVL 10

Expert Comment

by:tonnybrandt
ID: 2577963
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
ID: 2581697
>>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 20 total points
ID: 2591096
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
ID: 2595502
Just only for curiosity: ¿what were the results when you tried to print your program from within the IDE?
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This seems to be a very common error related to the Samsung printer driver. First, this is the error we're talking about: Log: System Type: Error Event: 7000 Agent Time: 3:37:24 am 22-Apr-09 Event Time: 6:07:24 pm 21-Apr-09 UTC Source: Se…
Printers have changed substantially in the last 30 or so years, not just in technical capabilities but in cost and usage as well.  Printers were originally used for interfacing with the operator, not necessarily for printing copy or pictures. In …
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
Suggested Courses

670 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