Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2002-02

Re: [fpc-print command?]

3 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Charles Prince
Sorry if this is a dumb question,what is the print command in Free Pascal?
I believe it was in Turbo Pascal this way;
    Writeln(lst,filename or variable);

This does not work when I use it with Free Pascal on Windows 98, I get a message
Escape 101 and nothing prints on the printer!

What am I doing wrong?

Charles Prince

Michael Van Canneyt
to Charles Prince
Charles Prince wrote 10 lines
Sorry if this is a dumb question,what is the print command in Free Pascal? I believe it was in Turbo Pascal this way; Writeln(lst,filename or variable); This does not work when I use it with Free Pascal on Windows 98, I get a message Escape 101 and nothing prints on the printer! What am I doing wrong?

You should make sure that the printer is known locally on port 1, you can check this in the printer properties.

Michael.