Article

From:
To:
Edward
Subject:
Re: Error: "Printer selected is not valid."
Newsgroup:
borland.public.delphi.nativeapi.win32

Re: Error: "Printer selected is not valid."

"Edward" <NOSPAM@NOSPAM.NOSPAM> wrote in news:41332d8f$1
@newsgroups.borland.com:
> 'System Error. Code: 1801. The printer name is invalid'.

Are you running on 2000/XP for the first time?   Write a small app, 
placing a TMemo on the form.  Include the Printer unit.  Then in the 
formcreate event place the following code:

procedure TForm1.FormCreate(Sender: TObject); begin    Memo1.Lines.Assign(Printer.Printers); end;
The naming for printers changed somewhere around Win2000.
-- Iman
FYI: Phrase searches are enclosed in either single or double quotes
 
 
Originally created by
Tamarack Associates
Sat, 23 Nov 2024 04:15:58 UTC
Copyright © 2009-2024
HREF Tools Corp.